Commit Graph

2243 Commits

Author SHA1 Message Date
Matthew Chen
5cee24cef9 Refine group migrations. 2020-10-30 09:20:51 -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
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
Matthew Chen
f65ab5b375 Merge branch 'release/3.20.0' 2020-10-16 21:50:05 -03:00
Matthew Chen
227447849e Refine gv2 UI. 2020-10-16 11:42:23 -03:00
Nora Trapp
93d5f0b3ae Fix message request for dark theme 2020-10-15 22:41:53 -07:00
Nora Trapp
17892d716c Group Calling 2020-10-15 14:49:20 -07:00
Nora Trapp
3f799418a9 Mandatory profile sharing 2020-10-15 13:20:21 -07:00
Nora Trapp
2817d966c4 Change gv2 invite message request text 2020-10-15 14:12:41 -03:00
Nora Trapp
5f42fbb3be Allow sharing audio and generic attachments 2020-10-15 14:12:41 -03: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
Nora Trapp
dad7ab4ac6 Don't scroll to deleted quoted replies 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
af6e97c46d Enable delete for everyone for everyone 2020-10-07 12:45:14 -07:00
Matthew Chen
096ed67bb9 Convert font style convenience methods to properties. 2020-10-06 13:09:45 -03:00
Nora Trapp
714cc5fbdb Fix endless safety number prompt 2020-09-29 11:35:57 -07:00
Nora Trapp
a6217174c2 Fix emoji details sheet text color 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
Nora Trapp
9e958ca972 PR Feedback 2020-09-23 15:04:48 -07: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
Fumiaki Yoshimatsu
7cae74e432 Increase the vertical insets of placeholders and text inputs to keep them vertically aligned when the system is set to use smaller font and it contains only a line of text. Fixes #4273 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
Matthew Chen
d512f53331 Respond to CR. 2020-09-21 16:59:18 -03:00
Matthew Chen
84a899bad1 Never show verified group indicator if group is empty. 2020-09-21 16:59:18 -03:00
Matthew Chen
93ab44ef92 Fix message request view. 2020-09-21 16:33:02 -03:00
Matthew Chen
86b86fbae6 Remove old databaseStorage property. 2020-09-21 12:49:29 -03:00
Matthew Chen
686aee752c Rename OWSMessageSender -> MessageSender. 2020-09-17 21:35:35 -03:00
Matthew Chen
f337c912e5 Respond to CR. 2020-09-17 21:30:27 -03:00
Matthew Chen
41f1b31a8c Defer load of bottom bar in conversation view. 2020-09-17 21:30:26 -03:00
Matthew Chen
764a0ad21f Avoid collection view layout and measurement during CVC configuration. 2020-09-17 21:29:38 -03:00
Matthew Chen
1aae1b26af DRY singleton accessors. 2020-09-17 21:13:14 -03:00
Matthew Chen
22aac34f99 DRY singleton accessors. 2020-09-17 21:13:14 -03:00
Matthew Chen
becc5cfede DRY singleton accessors. 2020-09-17 21:13:14 -03:00
Matthew Chen
66510bc18f DRY singleton accessors. 2020-09-17 21:13:14 -03:00
Matthew Chen
c017e76aab Rename singleton accessors. 2020-09-17 21:11:09 -03:00
Matthew Chen
ad6bda8a44 Rename singleton accessors. 2020-09-17 21:11:07 -03:00
Matthew Chen
5d831fbd3d Debounce updating CVC to reflect profile updates. 2020-09-17 17:32:09 -03:00
Matthew Chen
7c5043e163 Touch less; touch more carefully. 2020-09-17 17:31:23 -03:00
Michelle Linington
43b12a6185 IOS-840: Emoji reaction picker truncating some emojis
This fixes an issue where some emojis in the emoji reaction picker are
truncated and replaced with an ellipsis.

This only occurs on certain devices and I haven't been able to repro in
the simulator. A couple devices I've seen this occur on:
- iPhone X running iOS 13.6 and 13.7
- iPhone SE 2 running iOS 14b5

The issue has something to do with the typographic box for certain emoji
glyphs having a slightly larger size than most other emojis. The actual
glyph seems to have the same size. Many of the broken emojis have a ZWJ,
but there are some correctly sized emojis that also have a ZWJ.

The emojis that I've used for testing are:
- 👩‍🦰 (Woman + ZWJ + Red Hair)
  Typographic size: 36.00x38.19. Image glyph size: 32.00x32.00
- 👱‍♀️ (Blond person + ZWJ + Female)
  Typographic size: 40.00x38.19. Image glyph size: 32.00x32.00

To workaround this, we set the line break mode on the emoji label to
clip. On devices that don't have this issue, nothing changes. On devices
that do have this issue, we end up clipping a bit of the typographic
rect. In testing, it seems that we never end up clipping the actual
glyph image. But even if we do, it's at least better than truncating.
2020-09-13 21:10:31 -07:00
Matthew Chen
2ba0577e03 Update input if user is removed from group. 2020-09-10 22:08:31 -03:00