Commit Graph

5309 Commits

Author SHA1 Message Date
Michelle Linington
98814bfdeb PR Feedback
- Fix a bug where user notifications wouldn't be posted for incoming
  messages with eraId.
- Adopt OWSFormat for localized numbers
2020-11-24 20:59:37 -08:00
Michelle Linington
a8de171053 Adopt leftover PR feedback from #2696 2020-11-24 20:59:37 -08:00
Michelle Linington
8998b1e767 Add eraId to GroupCallUpdate messages
By including eraId in GroupCallUpdate messages, we're able to identify
separate group calls after the fact. Each unique eraId will result in a
new entry in the database, even if the group call has since ended.
2020-11-24 20:59:37 -08:00
Matthew Chen
e61dcd659e Feature flags for .qa. 2020-11-23 14:50:54 -03:00
Nora Trapp
e4918a4133 Enable group calling for beta 2020-11-21 22:10:22 -08:00
Nora Trapp
c83a2ef299 Feature flags for .beta. 2020-11-21 22:09:51 -08:00
Matthew Chen
783d8560c9 Fix group migration edge cases. 2020-11-20 15:32:15 -03:00
Matthew Chen
21b616ede1 Fix group migration edge cases. 2020-11-20 15:32:15 -03:00
Matthew Chen
d876125276 Add generic error for obj-c. 2020-11-20 15:32:15 -03:00
Matthew Chen
52d6000e4a Skip group auto-migrations if not registered. 2020-11-20 15:32:15 -03:00
Michelle Linington
f9067bac8a Respect server received timestamp in group call message 2020-11-19 16:04:22 -08:00
Michelle Linington
485e12e6c4 Stable ordering of call participants 2020-11-19 16:04:21 -08:00
Nora Trapp
3a51ca2adb Allow sending media keys to linked devices 2020-11-19 16:03:37 -08:00
Nora Trapp
c7648fe02c Fix small group call message bug 2020-11-19 16:02:22 -08:00
Nora Trapp
d39e82f347 Small design tweaks 2020-11-19 16:02:22 -08:00
Michelle Linington
8bbbd607ae PR Feedback from Nora 2020-11-19 16:02:22 -08:00
Michelle Linington
a32880ff36 Add missing localization for Join Call button 2020-11-19 16:02:22 -08:00
Michelle Linington
24083156ec Run precommit script 2020-11-19 16:02:22 -08:00
Michelle Linington
89c616c3e1 Minor cleanup 2020-11-19 16:02:22 -08:00
Michelle Linington
34f85ec030 Add a JoinCall button in group call info messages
Also, fixes a bug where we were taking out nested transactions
2020-11-19 16:02:22 -08:00
Michelle Linington
f4d60ff89c Notify the user when a group call begins 2020-11-19 16:02:22 -08:00
Michelle Linington
91f1789bf2 Add GroupCallMessage interaction finder. Build GroupCallMessage participant strings 2020-11-19 16:02:22 -08:00
Michelle Linington
c62bcb1ff3 Rebase with RingRTC API. Hook up stateless peek 2020-11-19 16:02:22 -08:00
Michelle Linington
daa28d413d Handle incoming GroupCallUpdate messages
This builds out infrastructure to fetch updated PeekInfo structs from
RingRTC on a GroupCallUpdate. There are still a bunch of TODOs to
resolve once RingRTC adds PeekInfo.
2020-11-19 16:02:22 -08:00
Michelle Linington
f6a252d274 Send a group call update message when joining and leaving a group call 2020-11-19 16:02:22 -08:00
Michelle Linington
2054d49f91 Add GroupCallUpdate proto definition 2020-11-19 16:02:22 -08:00
Nora Trapp
d8ca084b65 Tweak database fields and update RingRTC 2020-11-19 16:02:22 -08:00
Nora Trapp
b32c5bda4a Add scaffolding for Group Call messages 2020-11-19 16:02:22 -08:00
Nora Trapp
ce69b97f10 Update to dev build of RingRTC with lobby peeking, media key state 2020-11-19 16:02:22 -08:00
Nora Trapp
343a5a1163 Add redirect settings to OWSURLSession and allow modifying the request before redirect 2020-11-19 16:02:22 -08:00
Matthew Chen
9fa86023ef Revert "Configure for testing group migrations on staging."
This reverts commit 01357565c8.
2020-11-19 15:40:54 -03:00
Matthew Chen
01357565c8 Configure for testing group migrations on staging. 2020-11-19 15:40:38 -03:00
Jordan Rose
87c6355222 Protobuf: Regenerate wrappers for Swift-only protos
And update clients to match (mostly let -> var, but some dropping of
@objc and Equatable as well)
2020-11-17 12:46:26 -08:00
Matthew Chen
a3440fea46 Revert "Use staging service."
This reverts commit 662e794393.
2020-11-17 07:54:03 -03:00
Matthew Chen
35614c949e Revert "Simulate group migrations phase 3."
This reverts commit 4273626c52.
2020-11-17 07:53:50 -03:00
Matthew Chen
4273626c52 Simulate group migrations phase 3. 2020-11-17 07:53:21 -03:00
Matthew Chen
662e794393 Use staging service. 2020-11-17 07:50:23 -03:00
Nora Trapp
060839f463 Merge branch 'release/3.22.0' 2020-11-16 09:27:26 -08:00
Nora Trapp
52dea36100 Feature flags for .production. 2020-11-16 08:59:51 -08:00
Matthew Chen
01271f60be Handle emoji availability deserialization failures. 2020-11-14 07:58:13 -03:00
Nora Trapp
d300f66673 Fix crash when decoding emoji availability 2020-11-14 01:13:24 -08:00
Nora Trapp
ed69da32aa After a session reset, archive previous sessions instead of deleting them 2020-11-12 17:31:10 -08:00
Nora Trapp
a8e2a3e500 Archive sessions instead of deleting them when linked devices change 2020-11-12 17:31:10 -08:00
Matthew Chen
b91fa303b7 Fix code generation issue around TSAttachment.contentType. 2020-11-12 17:28:46 -03:00
Matthew Chen
015cbad1fb Block message sends in groups with blocking migrations. 2020-11-12 17:26:44 -03:00
Matthew Chen
58fa3c3f3a Block message sends in groups with blocking migrations. 2020-11-12 17:26:44 -03:00
Matthew Chen
7c2180b666 Block message sends during blocking migrations phase. 2020-11-12 17:26:44 -03:00
Matthew Chen
15a06028ce Improve logging around sessions. 2020-11-12 17:24:34 -03:00
Matthew Chen
09c747de85 Improve logging around sessions. 2020-11-12 17:24:34 -03:00
Matthew Chen
502ae86200 Improve logging around sessions. 2020-11-12 17:24:34 -03:00