Commit Graph

4088 Commits

Author SHA1 Message Date
Nora Trapp
16f0a35346 Merge branch 'release/3.4.0' 2020-02-03 18:05:20 -08:00
Nora Trapp
ed58a395bc Show PIN setup during onboarding regardless of feature flags. 2020-02-03 09:48:02 -08:00
Nora Trapp
7274aa0fb0 Keep footers at the screen edges 2020-02-02 21:16:08 -08:00
Nora Trapp
c46dfbb308 Redesigned reaction view 2020-02-02 21:16:08 -08:00
Michael Kirk
d024ed99c0 Use appropriate sender certificate depending on capabilities 2020-01-31 20:33:57 -07:00
Nora Trapp
b268d7f201 Add latching KBS remote feature flag 2020-01-30 20:29:28 -08:00
Nora Trapp
6598d3b586 Clear experience upgrades in more places 2020-01-30 20:13:50 -08:00
Matthew Chen
ea2e5f9e8d Merge tag '3.3.0.6' 2020-01-30 20:13:47 -08:00
Nora Trapp
b13f79fb38 Fix pull to refresh on compose view 2020-01-30 20:13:25 -08:00
Nora Trapp
03125a313a Finalized copy 2020-01-30 20:13:18 -08:00
Nora Trapp
bdfc5ee5da Only show experience upgrades when the app becomes active 2020-01-30 20:13:18 -08:00
Nora Trapp
72e5c3bfea Required profile names experience upgrade. 2020-01-30 20:13:18 -08:00
Nora Trapp
9630d91b8b Pins for everyone is remote feature 2020-01-30 20:13:18 -08:00
Nora Trapp
4b2ea44800 Fixes for introducing pins flow 2020-01-30 20:13:18 -08:00
Nora Trapp
5e8e2e0d1b Remove stickers experience upgrade and cleanup 2020-01-30 20:13:18 -08:00
Matthew Chen
61575cbd70 Merge tag '3.3.0.5' 2020-01-30 20:13:17 -08:00
Nora Trapp
52e5f99d87 Fix vertical alignment of conversation + attachment approval textView 2020-01-30 20:13:17 -08:00
Nora Trapp
dc2e4b4e48 Preserve message text when pasting an attachment. 2020-01-30 20:13:17 -08:00
Nora Trapp
8cef37fb1e PINs for everyone megaphone 2020-01-30 20:11:08 -08:00
Michael Kirk
83d26fe62e revamp group updates - show source, show changes, show icon 2020-01-30 20:10:55 -08:00
Michael Kirk
8a25781400 clarify delegate method 2020-01-30 20:10:55 -08:00
Nora Trapp
db26558912 PIN creation loading animation. 2020-01-30 20:10:35 -08:00
Nora Trapp
d0e2a3f200 Prepare ExperienceUpgrade for megaphones. 2020-01-30 20:10:35 -08:00
Nora Trapp
88ac10de05 Notification Service Extension
The NSE should only run on iOS 13.3 or later where the "filtering" entitlement
is available since our notifications don't contain any content and will often
not trigger any user visible content. We control this by setting the deployment
target to iOS 13.3.

This does not handle calls as it's currently impossible to wake the main app or
launch CallKit from within the NSE. Should we reach a point where we need to use
this extension in production the service will need to be able to differentiate
between call and non-call messages and deliver them as VOIP or Vanilla pushes as
appropriate. Alternatively, Apple may introduce some way for us to signal the
main app that a call message has been received.

This does not currently address the potential for the NSE and the main app to be
running and trying to process messages at the same time. As long as the
websocket is connected and the main app is processing messages in a timely
fashion the NSE will never be called since the service will not send pushes for
these messages, but censorship circumvention users and users where the websocket
is disconnected for some reason will legitimately receive pushes and we will
want to process those messages. How we will handle these cases requires further
thought since just terminating the NSE when the app launches is not sufficient.
We could potentially do something like terminate the NSE everytime the main app
runs the message fetcher job which should only happen if either the user
pulls-to-refresh on the conversation list or the websocket is actively connected
and receiving messsages. I plan to address this in a follow-up pull request.

Currently this code will not ever be run since the service never sends vanilla
push notifications. Eventually we will need to add logic into the main app to:
a) detect we're on iOS 13.3 or later and b) update a flag on the service telling
it to stop using VOIP pushes for non-call messages. The API for requesting this
from the service does not yet exist.
2020-01-30 11:44:41 -08:00
Nora Trapp
f3461916d9 Clear experience upgrades in more places 2020-01-30 10:40:21 -08:00
Matthew Chen
58ef1cc3ed Clean up ahead of PR. 2020-01-29 13:42:27 -03:00
Matthew Chen
9432181bd5 Clean up ahead of PR. 2020-01-29 13:42:27 -03:00
Matthew Chen
2f75dac0b8 Clean up ahead of PR. 2020-01-29 13:42:27 -03:00
Matthew Chen
8abc3219c0 Rework v2 group updates. 2020-01-29 13:42:27 -03:00
Matthew Chen
cad60f5e9c Rework v2 group updates. 2020-01-29 13:42:27 -03:00
Matthew Chen
16646d1585 Rework v2 group updates. 2020-01-29 13:42:27 -03:00
Matthew Chen
91ee0832f5 Rework v2 group updates. 2020-01-29 13:42:27 -03:00
Nora Trapp
36dc453539 Add latching KBS remote feature flag 2020-01-28 11:51:26 -08:00
Matthew Chen
963525bd59 Merge tag '3.3.0.6' 2020-01-28 12:45:02 -03:00
Nora Trapp
4c315d71d8 Finalized copy 2020-01-27 14:34:03 -08:00
Nora Trapp
4bf6ac1ca1 Only show experience upgrades when the app becomes active 2020-01-27 14:34:03 -08:00
Nora Trapp
1dfb6793d0 Required profile names experience upgrade. 2020-01-27 14:34:03 -08:00
Nora Trapp
5f7eebf100 Pins for everyone is remote feature 2020-01-27 14:34:02 -08:00
Nora Trapp
050aa3b660 Fixes for introducing pins flow 2020-01-27 14:33:12 -08:00
Nora Trapp
ba8ff1d2d5 Remove stickers experience upgrade and cleanup 2020-01-27 14:33:11 -08:00
Nora Trapp
36b0383241 Fix pull to refresh on compose view 2020-01-27 11:03:46 -08:00
Matthew Chen
2734f01dcd Merge tag '3.3.0.5' 2020-01-27 12:00:09 -03:00
Matthew Chen
bc0359268e Rework outgoing messages; embed change protos in outgoing change messages for groups v2. 2020-01-27 11:47:44 -03:00
Matthew Chen
e328ccd0ef Apply v2 group changes to group model. 2020-01-27 11:47:44 -03:00
Matthew Chen
91d100c792 Rework group updates; rework "update group" view to use GroupManager.
* Introduce GroupMembership & GroupAccess.
* Pull out GroupsV2Test.
* Fix issues in groups v2 logic.
2020-01-27 11:18:21 -03:00
Matthew Chen
993dca8ec9 Remove redundant NotificationName. 2020-01-27 10:53:23 -03:00
Matthew Chen
bcfba85356 Add message processing class.
* Modify message processing to allow observation of websocket queue being drained.
* Extend MessageProcessing to allow observation of REST message fetching and "all message fetching and processing".
2020-01-27 10:42:03 -03:00
Nora Trapp
93663765a7 Fix vertical alignment of conversation + attachment approval textView 2020-01-25 14:43:46 -08:00
Nora Trapp
1d42c4c86b Preserve message text when pasting an attachment. 2020-01-25 14:27:01 -08:00
Nora Trapp
725baf772f PINs for everyone megaphone 2020-01-24 13:43:35 -08:00