Commit Graph

452 Commits

Author SHA1 Message Date
Michelle Linington
dea35199b2 Clean up ConversationAvatarView data sources
Creates a special data source enum for ConversationAvatarView data
providers. Before, ContactCell and ConversationAvatarView used the data
source, neither applying to each perfectly
2021-11-09 14:25:55 -08:00
Michelle Linington
ff3d21ff0e Minor tweaks to recent badging changes
- Optionals are now SDSSwiftSerializable as long as their wrapped type
  conforms
- Avatar file writes are now performed outside of a write transaction
- Various rebase cleanup
2021-11-09 14:25:53 -08:00
Michelle Linington
ebadb12dad Minor comment tweaks, schema adjustments 2021-11-09 14:25:42 -08:00
Michelle Linington
fa0d10f047 Firm up database schema 2021-11-09 14:25:42 -08:00
Michelle Linington
5f6ee31e68 Most of badge fetching and persistence
Saving progress before running database codegen
2021-11-09 14:25:42 -08:00
Michelle Linington
500bc216a4 A handful of tiny changes
- GiphyAPI kept no internal state, no need to instantiate a singleton
  for it
- Better logging of what prevented us from completing our NSE wake
- Fixes a bug where we fail to generate sync messages in the NSE while
  locked
2021-11-02 14:46:00 -07:00
Matthew Chen
153095a500 Reduce statics. 2021-11-02 10:36:25 -03:00
Matthew Chen
91ad7d1df7 Respond to CR. 2021-10-21 09:21:31 -03:00
Matthew Chen
5d780d1589 Apply script to normalize includes and imports. 2021-10-21 09:21:10 -03:00
Matthew Chen
1b655d63f5 Reduce async work done on NSE launch. 2021-10-21 08:53:15 -03:00
Matthew Chen
dfdc6984b7 Remove TSRequest.customHost in favor of new services vended by OWSSignalService. 2021-10-21 08:51:15 -03:00
Matthew Chen
d648582aab Respond to CR. 2021-10-15 14:09:49 -03:00
Matthew Chen
f9b0b32720 Clean up HTTP error metadata accessors. 2021-10-15 11:52:31 -03:00
Matthew Chen
64a8c4f368 Clean up HTTP error metadata accessors. 2021-10-15 11:39:48 -03:00
Matthew Chen
c260ee7735 Clean up HTTP error metadata accessors. 2021-10-15 11:14:53 -03:00
Matthew Chen
9e318421b0 Simplify AFNetworking usage. 2021-10-15 10:50:37 -03:00
Matthew Chen
3c887b3877 Simplify AFNetworking usage. 2021-10-15 10:50:36 -03:00
Matthew Chen
aca85a6d34 Simplify AFNetworking usage. 2021-10-15 10:50:36 -03:00
Matthew Chen
d402636225 Simplify AFNetworking usage. 2021-10-15 10:50:35 -03:00
Michelle Linington
887c10206d Parital revert "Update l10n strings."
This reverts commit 14f4c7005b.
2021-10-13 01:08:41 -07:00
Matthew Chen
14f4c7005b Update l10n strings. 2021-10-12 19:21:38 -03:00
Matthew Chen
15393f034e Take profile changes from linked devices. 2021-10-12 16:46:12 -03:00
Matthew Chen
0cd10e9a17 Improve logging around main app launch detection. 2021-10-06 16:41:14 -03:00
Matthew Chen
71ca6d7b2e Fix edge cases around short video. 2021-10-05 10:06:01 -03:00
Matthew Chen
c01b04c3c8 Improve logging around message processing. 2021-09-28 17:22:17 -03:00
Matthew Chen
b0fcd14a8c Tweak "deprecate REST" logic. 2021-09-23 10:28:42 -03:00
Matthew Chen
6283ac704c Fix build break. 2021-09-20 20:40:15 -03:00
Matthew Chen
8a9627503f Expire REST session manager pool when enabling/disabling CC. 2021-09-20 17:48:43 -03:00
Matthew Chen
1e9528cd0e Expire REST session manager pool when enabling/disabling CC. 2021-09-20 17:48:43 -03:00
Matthew Chen
3c5de11bc1 Default HTTP headers. 2021-09-20 17:46:09 -03:00
Matthew Chen
976fbace2e Whitelist sender key requests for websocket. 2021-09-09 16:04:50 -03:00
Michelle Linington
371a1bdc51 Lint 2021-09-09 11:18:04 -07:00
Michelle Linington
40ae8177d8 Migrate sender key to NetworkManager 2021-09-09 11:18:04 -07:00
Matthew Chen
1fa8fef610 Streamline websocket requests. 2021-09-09 14:41:38 -03:00
Matthew Chen
12e5b2a3fa Port OWSWebSocket to Swift. 2021-09-08 14:59:41 -03:00
Matthew Chen
4e7fa0e069 Merge branch 'release/5.19.1' 2021-09-07 08:51:57 -03:00
Michelle Linington
0aadc2d0c1 Re-add the CC host to RESTNetworkManager 2021-09-07 08:32:17 -03:00
Nora Trapp
2814ab7629 Convert to new Promise library 2021-09-03 11:41:34 -07:00
Michelle Linington
94726b3dad Enable sender key 2021-08-27 16:13:48 -07:00
Matthew Chen
c184139478 Clean up remote config and feature flags. 2021-08-24 20:39:26 -03:00
Matthew Chen
65fa97cbdc Fix over-zealous asserts. 2021-08-23 13:02:07 -03:00
Nora Trapp
7044030497 Always use the NSE on iOS 15, never on iOS 14 outside of development 2021-08-20 15:28:40 -07:00
Matthew Chen
2b8b92dc77 Clean up ahead of PR. 2021-08-18 14:26:20 -03:00
Matthew Chen
cc83178d10 Clean up ahead of PR. 2021-08-18 14:26:19 -03:00
Matthew Chen
e7ac736f7d Clean up ahead of PR. 2021-08-18 14:26:19 -03:00
Matthew Chen
f32064dcdb Update host names for main service. 2021-08-18 14:26:19 -03:00
Matthew Chen
63019922f5 Clean up ahead of PR. 2021-08-18 14:26:18 -03:00
Matthew Chen
fd7a363bd9 Clean up ahead of PR. 2021-08-18 14:26:18 -03:00
Matthew Chen
4682248117 Clean up ahead of PR. 2021-08-18 14:26:18 -03:00
Matthew Chen
67d9eeab5b Clean up ahead of PR. 2021-08-18 14:26:18 -03:00