Commit graph

173 commits

Author SHA1 Message Date
Michael Kirk 92dd77779c Merge tag '2.32.0.19' 2018-12-03 16:39:06 -05:00
Michael Kirk 9eeed99708 fix formatting after merge 2018-12-03 16:28:44 -05:00
Michael Kirk 156302acc7 Merge tag '2.31.2.0' into release/2.32.0 2018-12-03 16:24:24 -05:00
Matthew Chen 0955ab8662 Refine envelope processing. 2018-12-02 17:30:31 -05:00
Matthew Chen 036c6dca41 Merge branch 'release/2.32.0' 2018-11-30 09:30:56 -05:00
Matthew Chen 973afd041d Merge branch 'hotfix/2.31.1' into release/2.32.0 2018-11-30 09:25:34 -05:00
Matthew Chen a6cef1c4cc Update UD indicators. 2018-11-29 14:30:03 -05:00
Matthew Chen 8110e0c765 Clean up usage of TSAccountManager. 2018-11-27 09:21:44 -05:00
Matthew Chen 81f234f6a0 Fix breakage in share extension. 2018-11-15 12:42:48 -05:00
Matthew Chen 860eb44edc Fix breakage in share extension. 2018-11-13 13:15:11 -05:00
Matthew Chen 3daf7d4744 Add OWSAttachmentDownloads. 2018-11-08 15:31:00 -05:00
Michael Kirk 42bf267607 fixup plumbing for incoming messages/synced transcripts 2018-11-08 12:52:09 -06:00
Michael Kirk 27cb91e9c8 Plumb through messageAlbumId so an Attachment knows what album (if any) it
belongs to.
2018-11-08 12:52:08 -06:00
Matthew Chen b7fd48ec40 Respond to CR. 2018-11-07 10:56:40 -05:00
Matthew Chen 9cdf8d06fd Ignore typing indicators from self. 2018-11-07 10:56:19 -05:00
Matthew Chen 57de089118 Add support for album captions to models. 2018-11-07 10:54:17 -05:00
Matthew Chen cdfd2779a3 Fix a couple small bugs in the typing indicators. 2018-11-06 17:21:24 -05:00
Matthew Chen eb2e16872e Distinguish 'app will/did become ready' events. 2018-11-05 09:04:57 -05:00
Matthew Chen 47fda2e377 Add debug UI for multi-image sends. 2018-11-02 13:04:05 -04:00
Matthew Chen b90fee08bd Merge remote-tracking branch 'origin/release/2.31.0' 2018-11-01 16:59:54 -04:00
Matthew Chen 3011175cef Fix "413 on prekey fetch" errors. 2018-11-01 15:59:11 -04:00
Michael Kirk fe15a260ef Merge branch 'release/2.31.0' 2018-10-31 16:13:54 -06:00
Matthew Chen 3729398507 Request profile fetches on main thread. 2018-10-31 15:01:33 -04:00
Matthew Chen a98c82645c Start work on typing indicators.
* Update proto schema to reflect typing indicators.
* Sketch out OWSTypingIndicatorMessage.
* Add "online" to the service message params.
* Sketch out logic to send typing indicator messages.
* Sketch out OWSTypingIndicators class.
2018-10-31 12:11:29 -04:00
Matthew Chen 40aa78e001 Merge remote-tracking branch 'origin/release/2.31.0' 2018-10-31 11:42:41 -04:00
Matthew Chen 698e48f2d8 Respond to security review. 2018-10-30 16:18:23 -04:00
Matthew Chen 44f6774396 Apply refinements to UD logic. 2018-10-30 16:18:22 -04:00
Matthew Chen 2541be1619 Apply refinements to UD logic. 2018-10-30 16:18:22 -04:00
Michael Kirk cb9aa6304c find -E . -type f -regex ".*\.(m|h)" -exec sed -i "" -e "s/try_/throws_/" {} \; 2018-10-30 11:35:34 -06:00
Michael Kirk 3a6aafc454 Swift Exception wrap NSData+keyVersionByte 2018-10-30 11:35:34 -06:00
Matthew Chen f26241ebd0 Avoid deadlocks in contact manager. 2018-10-26 14:10:58 -04:00
Michael Kirk 3560f3be5c Durable send operation
TODO
-[x] respect order of queue
-[x] replacements
  -[x] those w/o completion handler
  -[x] basic send+log operation persists
  -[x] send+ui completion
  -[x] share extension
  -[x] update state jobs
-[x] App Lifecyle
  -[x] settable
  -[x] Mark as ready on startup
  -[x] Fail appropriate jobs on startup

NICE TO HAVE
-[x] concurrent per senders
-[ ] longer retry (e.g. 24hrs)
-[ ] App Lifecyle
  -[x] retry failed jobs on startup?
  -[ ] reachability

DONE
-[x] basic passing test
-[x] datamodel
-[x] queue/classes
2018-10-25 11:54:59 -06:00
Matthew Chen b83299888f Fix edge cases around UD v. linked devices. 2018-10-22 12:44:34 -04:00
Matthew Chen d656ae1017 Fix edge cases around UD v. linked devices. 2018-10-22 12:31:28 -04:00
Matthew Chen 99d0495ec7 Respond to CR. 2018-10-18 16:58:02 -04:00
Matthew Chen bbcbbafaab Sync local profile key after rotating it. 2018-10-18 16:47:18 -04:00
Matthew Chen 693b3e13a9 Revert "Sync local profile key after rotating it."
This reverts commit ddbd20e706.
2018-10-18 16:00:48 -04:00
Matthew Chen ddbd20e706 Sync local profile key after rotating it. 2018-10-18 15:59:43 -04:00
Matthew Chen 275414cbda Respond to CR. 2018-10-16 17:42:54 -04:00
Matthew Chen 7c1f1882d8 Sync "show UD indicators" setting. 2018-10-16 17:42:54 -04:00
Michael Kirk 3e85c8c023 clang-format branch changes 2018-10-12 13:52:46 -04:00
Matthew Chen 010ce1f6c2 Rename to OWSOutgoingReceiptManager. 2018-10-12 13:52:46 -04:00
Matthew Chen 2b45a8348e Clean up ahead of PR. 2018-10-12 13:52:46 -04:00
Matthew Chen de7bffa593 Send delivery receipts. 2018-10-12 13:52:46 -04:00
Matthew Chen 13373db3bc Send delivery receipts. 2018-10-12 13:52:46 -04:00
Matthew Chen cba8c67983 Add 'is ud' property to incoming messages. 2018-10-10 14:29:40 -04:00
Matthew Chen 21b383f4e2 Remove server GUID from TSIncomingMessage. 2018-10-05 13:02:35 -04:00
Matthew Chen f9e90215b3 Respond to CR. 2018-10-05 09:28:53 -04:00
Matthew Chen ccb67f49a3 Fix issues in UD send & receive. 2018-10-04 11:56:37 -04:00
Matthew Chen 580d0486b6 Respond to CR. 2018-10-03 09:15:51 -04:00