Commit Graph

4151 Commits

Author SHA1 Message Date
Matthew Chen 50381cc94c Add typing indicators in home view. 2018-11-01 16:44:47 -04:00
Michael Kirk d9a4c6e837 typing indicator upgrade screen 2018-11-01 14:31:25 -06:00
Michael Kirk 77bd9b8852 Extract most Gallery functionality from the gallery NavigationController.
By not overriding the initializer for an OWSNavigationController subclass,
we can use the dynamic disaptch intialization chain.

The root difficulty here is that super.init(navBarClass:) wants to call
self.init(nibNam)
2018-11-01 12:53:59 -06:00
Michael Kirk 6d8a7ed800 things working 2018-11-01 12:53:59 -06:00
Michael Kirk 1af750363a fix media-gallery doesn't respect call banner 2018-11-01 12:53:59 -06:00
Matthew Chen 834bba8880 Respond to CR. 2018-11-01 14:51:47 -04:00
Matthew Chen 32d3eed7ba Add ConversationViewModel. 2018-11-01 14:51:47 -04:00
Matthew Chen a09cb16e74 Add typing indicators setting. 2018-11-01 14:28:39 -04:00
Michael Kirk f24ef7a0e8 separate title view for landscape 2018-11-01 08:43:59 -06:00
Michael Kirk 432fcc016c Gallery tile landscape 2018-11-01 08:43:59 -06:00
Michael Kirk 19f2d0db48 WIP: Media Landscape Mode 2018-11-01 08:43:59 -06:00
Matthew Chen 3d0e7386a4 Respond to CR. 2018-10-31 12:19:07 -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
Michael Kirk 82d64405d0 fixup blogpost url 2018-10-30 17:08:02 -06:00
Matthew Chen 2541be1619 Apply refinements to UD logic. 2018-10-30 16:18:22 -04:00
Michael Kirk 3d9cd4f4ed CR: comments and code clarity 2018-10-30 11:35:34 -06: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 5535abd01b Update "sealed sender" blog post URL. 2018-10-30 10:55:30 -04:00
Matthew Chen 9fa16cc66f Fix small bug in the re-registration flow. 2018-10-29 16:41:43 -04:00
Michael Kirk b0a6d18576 leave proximity enabled as long as CallViewController exists 2018-10-26 15:32:12 -06:00
Michael Kirk 5632bd2d83 Use reference counting to disable proximity monitoring after audio message
Multiple overlapping activities require proximity monitoring (namely,
CallViewController and listening to audio messages).

These activities can overlap arbitrarily, so we use a reference counting
strategy to keep proximity monitoring on as long as one of these activities is
active.
2018-10-26 15:32:12 -06:00
Matthew Chen ed4fa2e8cb Respond to CR. 2018-10-26 14:44:53 -04:00
Matthew Chen 38f3321e9a Improve startup logging. 2018-10-26 14:44:53 -04:00
Michael Kirk 0c2bb439f9 kick-queue upon reachability 2018-10-25 11:56:39 -06:00
Michael Kirk 54c63c7a2e Reachability Singleton 2018-10-25 11:56:39 -06:00
Michael Kirk b8e4bfff86 shuffle isReady->isSetup, centralize starting workStep 2018-10-25 11:56:39 -06:00
Michael Kirk 037bdebfab clarify backoff delay examples 2018-10-25 11:54:59 -06:00
Michael Kirk 86a0efedc6 Don't delete session upon starting retry 2018-10-25 11:54:59 -06: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
Michael Kirk e20df022c8 always show footer for in-progress sending 2018-10-25 11:54:58 -06:00
Michael Kirk 3a1769c81a unrelated swift fix 2018-10-25 11:54:58 -06:00
Matthew Chen 25ed886e72 Update home and group cells' dependencies. 2018-10-25 09:48:58 -04:00
Matthew Chen 28f37a7a34 Update contacts cells' dependencies. 2018-10-25 09:48:57 -04:00
Matthew Chen 8e1103c28f Log WebRTC version. 2018-10-24 16:58:45 -04:00
Matthew Chen 81d6b60ad5 Fix icon layout in privacy settings. 2018-10-24 11:43:28 -04:00
Michael Kirk ce9ca1bdaa audio player type 2018-10-24 07:46:27 -06:00
Michael Kirk 3b4188f34b hoist audio session singleton to Environment 2018-10-24 07:46:25 -06:00
Michael Kirk 3d022adf4e WIP: audio activities 2018-10-24 07:44:50 -06:00
Matthew Chen 55ab6c39d4 Rework UD settings. 2018-10-23 15:08:02 -04:00
Matthew Chen f765c6c1bb Update UD settings copy. 2018-10-23 15:08:02 -04:00
Matthew Chen 1a53005e08 Respond to CR. 2018-10-22 14:43:07 -04:00
Matthew Chen 8fec73dda5 Fix edge cases around UD v. linked devices. 2018-10-22 12:33:09 -04:00
Matthew Chen d656ae1017 Fix edge cases around UD v. linked devices. 2018-10-22 12:31:28 -04:00
Matthew Chen 94c7b72361 Only send "sent message transcript" sync messages using UD. 2018-10-19 16:45:50 -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 a746874391 Improve the debug logs email template. 2018-10-18 16:18:58 -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