Commit Graph

5000 Commits

Author SHA1 Message Date
Michelle Linington
a2117a58fb Add new translucentDark style for ActionSheets
Adopted in GroupCallViewController. This changes how
ActionSheetController is built to have a single backdrop view. In the
translucentDark style, this backdrop is a UIVisualEffectView.

Creates a new enum, Theme.ActionSheet, to track different color
behaviors for action sheet themes.
2020-12-07 15:13:31 -08:00
Michelle Linington
bd2e52f293 Add Debug UI to modify user's verification state 2020-12-03 16:07:30 -08:00
Matthew Chen
c1659d537d Refine group migration UI. 2020-11-25 13:01:14 -03:00
Matthew Chen
2708a7ce26 Don't show group migration banners if user is not a full member. 2020-11-25 12:59:51 -03: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
51d2942bb2 Fix small issues. 2020-11-20 18:33:05 -03:00
Matthew Chen
34e27765fe Prevent legacy group creation after migrations are blocking. 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
c1d3f0ef91 Fix toast in group link view. 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
Michelle Linington
b8a13e4780 Update styling of Join Call buttons
Slightly adjust constraints to match design spec. Adjust colors for
different control states and dark mode.

OWSSystemMessageCell now allows buttons to be configured per interaction
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
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
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
b32c5bda4a Add scaffolding for Group Call messages 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
67632df1d6 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
Nora Trapp
3c271fb065 PR Feedback 2020-11-05 12:25:49 -08:00
Nora Trapp
1bc6da36fe PR Feedback 2020-11-05 12:25:49 -08:00
Matthew Chen
11368d5b28 Only prepare group members for migration just before the migration. 2020-10-30 15:51:24 -03:00
Matthew Chen
43944545b6 Only prepare group members for migration just before the migration. 2020-10-30 15:51:24 -03:00
Matthew Chen
78895f0932 Only prepare group members for migration just before the migration. 2020-10-30 15:51:24 -03:00
Matthew Chen
5cee24cef9 Refine group migrations. 2020-10-30 09:20:51 -03:00
Matthew Chen
c01edb080e Refine group migrations.
* Finalize group migration flags.
* Refine group migration failure copy.
* Improve copy warning about members invited and dropped by a migration.
2020-10-30 09:13:06 -03:00
Matthew Chen
0c578d37de Clean up ahead of PR. 2020-10-30 09:07:38 -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
a93d68aafd Fix rebase breakage. 2020-10-30 09:07:37 -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
Matthew Chen
ed9ae2ec9f Migrate groups from v1 to v2. 2020-10-30 09:04:12 -03:00
Jordan Rose
94d6368ff8
Merge pull request #2649 from signalapp/jrose/paste-to-link-device
Allow pasting in a tsdevice: URL to link a device under TESTABLE_BUILD
2020-10-23 15:58:56 -07:00
Jordan Rose
ea85d7aebd Allow pasting in a tsdevice: URL to link a device under TESTABLE_BUILD
This is useful for testing in the simulator, which doesn't have camera
access. You still have to get the URL out of the QR code, though.
2020-10-23 15:17:55 -07:00
Matthew Chen
e9ca623253 Merge branch 'release/3.20.1' into release/3.21.0 2020-10-23 18:59:59 -03:00
Nora Trapp
d9e7bfe8c1 Small device transfer fixes 2020-10-23 18:48:07 -03:00
Matthew Chen
d3dd9683dd Change default behavior for group invite links to not require approval. 2020-10-21 14:55:39 -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
17c587a3f2 Fix message request double dismiss 2020-10-20 22:20:01 -07:00