Commit Graph

1124 Commits

Author SHA1 Message Date
Matthew Chen
2a480d24dc Modify layout to handle performBatchUpdates(). 2020-12-18 10:49:48 -03:00
Matthew Chen
e5fe14cd32 Respond to CRs. 2020-12-18 10:49:48 -03:00
Matthew Chen
98c28a5f2f Modify layout to handle performBatchUpdates(). 2020-12-18 10:49:48 -03:00
Matthew Chen
8cfd6a4b36 Modify layout to handle performBatchUpdates(). 2020-12-18 10:49:48 -03:00
Matthew Chen
fe933c7cc3 Modify layout to handle performBatchUpdates(). 2020-12-18 10:49:48 -03:00
Michelle Linington
b6a939115f Fix peek and pop with CVC perf improvements
- Permit a nil navigation controller if we're in a preview platter
- Instead of directly pushing onto the navigation controller's stack,
  ask the split view controller to present the thread when we pop.
- Instead of hiding the input toolbar when shown in a preview platter,
  set the bottomViewType to .none. Content insets are determined by the
  bottom bar size. Even if the input toolbar is hidden, we were still
  using its height in our content inset. This fixes that.
2020-12-16 13:43:47 -08:00
Nora Trapp
b58bba4dcb fix keyboard dismissal 2020-12-15 16:04:47 -08:00
Matthew Chen
76b362ac85 Fix edge cases are collection view layout preparation. 2020-12-15 11:17:18 -03:00
Matthew Chen
087144b4a5 Ensure layout validity before access. 2020-12-14 11:35:53 -03:00
Matthew Chen
ec5d396e70 Improve scroll continuity vs. auto-scroll. 2020-12-14 11:35:53 -03:00
Nora Trapp
19a9d1414b Merge branch 'release/5.0.2' 2020-12-11 18:19:30 -08:00
Nora Trapp
059164bf7a Show a tooltip for starting a group call 2020-12-11 17:31:24 -08:00
Matthew Chen
151e1158a9 Rename CVItemViewModel, CVItemViewModelImpl. 2020-12-11 16:49:14 -03:00
Matthew Chen
200aec4d7a Merge CVItemViewModel and CVItemViewModelImpl. 2020-12-11 16:49:14 -03:00
Matthew Chen
62856840da Clean up codebase. 2020-12-10 13:17:24 -03:00
Matthew Chen
0531e44170 Clean up codebase. 2020-12-10 13:02:25 -03:00
Matthew Chen
111338b59d Rewrite conversation view. 2020-12-10 12:44:13 -03:00
Nora Trapp
fb595d0e64 Use remote config for group calling 2020-12-07 15:43:59 -08:00
Michelle Linington
a8de171053 Adopt leftover PR feedback from #2696 2020-11-24 20:59:37 -08:00
Michelle Linington
8294f80ced Logging and renames 2020-11-24 20:59:37 -08:00
Michelle Linington
a554511bcc Enable call bar button for current call conversation 2020-11-24 20:59:37 -08:00
Matthew Chen
21b616ede1 Fix group migration edge cases. 2020-11-20 15:32:15 -03:00
Michelle Linington
6a8e602825 Return to call action support
Also, tweaks how we notify error messages to muted threads.
2020-11-19 16:04:22 -08:00
Michelle Linington
d93c19abe7 Enable/update group call action based on current call and thread 2020-11-19 16:04:22 -08:00
Nora Trapp
45a99cb394 Open group call lobby when tapping notification 2020-11-19 16:04:21 -08:00
Nora Trapp
0e91ef01cc Small tweaks to hook up join button 2020-11-19 16:02:22 -08:00
Michelle Linington
9b164ebd84 IOS-945: CVC join call button
Swaps out the join call button when a group call is active. When a group
call is active, the usual button is swapped for a more prominent "Join
button".
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
89c616c3e1 Minor cleanup 2020-11-19 16:02:22 -08:00
Michelle Linington
83834c6b68 Peek group call state in CVC -viewWillAppear: 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
Nora Trapp
0cf2600759 Revert changes to CVC scroll behavior
This reverts commit e26ccaa08a.
2020-11-16 08:58:07 -08:00
Matthew Chen
58fa3c3f3a Block message sends in groups with blocking migrations. 2020-11-12 17:26:44 -03:00
Matthew Chen
5cee24cef9 Refine group migrations. 2020-10-30 09:20:51 -03:00
Matthew Chen
8d8c66e71a Refine group migrations & related UI. 2020-10-30 09:07:38 -03:00
Matthew Chen
173bffa9c3 Migrate CVC "bottom view" logic to Swift. 2020-10-30 09:07:38 -03:00
Matthew Chen
df34b8122c Migrate CVC "bottom view" logic to Swift.
Migrate CVC "bottom view" logic to Swift.
2020-10-30 09:07:37 -03:00
Matthew Chen
bcc7995a7b Migrate groups from v1 to v2, part 3.
* Pull out GroupMigrationActionSheet.
* Add group migration action sheets.
* Make changes to enable testing migrations.
* Rewrite banners in Swift.
* Refine group migration logic; add support for testability.
2020-10-30 09:06:40 -03:00
Matthew Chen
a66f2cfc56 Migrate groups from v1 to v2, part 2.
* Add legacy group upgrade action sheet.
* Add 'group update info messages' around migrations.
* Add new limits around group size.
* Rename migration modes to "manual", "auto-migration."
* Add legacy groups action sheets.
* Try to fill in missing UUIDs before migrating groups.
* Ignore "known unregistered" users during group migrations.
2020-10-30 09:05:13 -03:00
Nora Trapp
e26ccaa08a When the app is foregrounded, try and scroll the unread indicator to the top 2020-10-21 10:29:33 -07:00
Nora Trapp
17892d716c Group Calling 2020-10-15 14:49:20 -07:00
Nora Trapp
d825ce4916 Add date to voice memo file name 2020-10-15 14:12:41 -03:00
Nora Trapp
23d1a39677 Use 'Delete for me' phrasing in more places 2020-10-09 10:37:03 -07:00
Nora Trapp
fef5ff89e5 Show sending state for deleted message 2020-10-09 10:37:03 -07:00
Matthew Chen
83354dd131 Add logging around quoted reply preview lifecycle. 2020-10-08 13:15:16 -03:00
Nora Trapp
714cc5fbdb Fix endless safety number prompt 2020-09-29 11:35:57 -07:00
Matthew Chen
58af85269a Simplify disappearing message configuration in CVC. Report gv2-3 capability. 2020-09-29 15:14:24 -03:00
Matthew Chen
cc4b55ebc3 Disable auto-scroll via scroll continuity if app not in foreground. 2020-09-28 16:13:12 -03:00
Christopher Kobusch
4715240cc1 Added custom notification sounds
* user can add custom notification sounds from Files app (aiff, wav, or caf files)
* former OWSSound enum is now named OWSStandardSound, OWSSound turned into an alias for NSUInteger
* custom sounds get IDs based on the hash of the file name
2020-09-23 14:54:23 -07:00
Matthew Chen
6a71d417ca Merge branch 'release/3.17.2' 2020-09-21 17:17:04 -03:00