Commit Graph

427 Commits

Author SHA1 Message Date
Matthew Chen
c0a9c705d9 Refine handling of max profile avatar size. 2021-05-04 21:45:16 -03:00
Matthew Chen
ea3ef98c69 Scale avatar thumbnails to render size. 2021-05-04 21:45:16 -03:00
Matthew Chen
80f18c7270 Configure for signal mainnet; tweak payments public address signature. 2021-04-06 13:57:10 -03:00
Matthew Chen
dec8d1f090 Sign public payment address. 2021-04-06 13:57:10 -03:00
Matthew Chen
04be73bfc8 Avoid overzealous assert. 2021-04-06 13:57:09 -03:00
Matthew Chen
3e454d8e66 Avoid overzealous assert. 2021-04-06 13:57:09 -03:00
Matthew Chen
76cc8df5ee Integrate with SwiftLog / MC SDK logging. Refine payments. 2021-04-06 13:57:07 -03:00
Matthew Chen
235eb5d119 Payments changes in SignalMessaging. 2021-04-06 13:57:07 -03:00
Nora Trapp
24d1b5ff37 Display updated action sheet when tapping safety number change 'learn more' 2021-03-31 13:14:46 -07:00
Matthew Chen
1338d44837 Don't clear profile when profile key changes. 2021-03-29 16:56:29 -03:00
Matthew Chen
766c468354 Ensure profile key credentials are updated in lockstep. 2021-03-25 16:35:22 -03:00
Matthew Chen
7270771927 Ensure local profile key credentials are updated in lockstep with local profile key. 2021-03-25 16:35:21 -03:00
Matthew Chen
0ff23b8f21 Clean up app readiness. 2021-03-25 10:52:31 -03:00
Matthew Chen
d0cbf8cfd0 Rework dependency access. 2021-03-25 09:24:27 -03:00
Matthew Chen
df1dcb9e6c Avoid profile key rotation loop. 2021-03-21 17:05:57 -03:00
Matthew Chen
6e0ef6f3a1 Avoid profile key rotation loop. 2021-03-21 16:56:09 -03:00
Matthew Chen
03141a9ef5 Respond to CR. 2021-03-17 21:40:13 -03:00
Michelle Linington
f483ee2cac Fixes some name collision bugs
- Fixes up content alignment issues from parallel changes to table view
  styling.
- Re-adds view controller presentation within a nav controller (stemming
  from parallel changes to table view styling)
- Fixes a bug around overzealous collision detection

Also fixes an unrelated issue. Setting up cv banners performs layout, which
can cause the conversation view controller's trait collection to change.
This can lead to us reenterantly setting up banners and updating trait
collection.

The workaround is to just call -ensureBannerState asynchronously from
-traitCollectionDidChange to break the synchronous chain.
2021-03-17 01:14:25 -07:00
Matthew Chen
6f737748e9 Avoid profile key conflicts. 2021-03-12 17:05:02 -08:00
Nora Trapp
4743cf9af3 PR Feedback 2021-03-12 16:59:56 -08:00
Nora Trapp
ab01ec94aa Fix local profile key changed notification 2021-03-12 16:59:56 -08:00
Nora Trapp
2bb61cd700 Ensure we're never using a profile key that is newer than our latest profile on the service 2021-03-12 16:59:56 -08:00
Michelle Linington
10533102d6 Additional PR Feedback
- Remove some test-only code
- Since we're prewarming our collision finder off the main thread, the
  ready flag should be made thread-safe.
2021-03-03 12:51:07 -08:00
Michelle Linington
adabc1a06e PR Feedback
The most significant change here is we defer initial loading of
collision interactions. We shouldn't block the main thread during
conversation presentation.

Instead, we'll perform it at UserInitiatedQoS. Once complete, we'll call
-ensureBannerState. Subsequent banner state updates will use the cached
interactions to find name collisions.
2021-03-03 12:51:07 -08:00
Michelle Linington
4bb70840b9 Improve sorting of collisions 2021-03-03 12:51:07 -08:00
Michelle Linington
a7aa17c7dd Better write handling 2021-03-03 12:51:07 -08:00
Michelle Linington
15eb64086c Most of the work for profile spoofing in group membership
This separates the logic for finding spoofed profiles from the view
controller responsible for reporting collisions to the user
2021-03-03 12:51:07 -08:00
Matthew Chen
3f1dd1c872 Limit profile name component length to 26 glyphs. 2021-02-05 17:02:47 -03:00
Matthew Chen
856c5ac058 Use OWSURLSession when generating link previews. 2021-02-04 10:57:48 -03:00
Matthew Chen
cce7a14e0c Rework app readiness. 2021-02-04 09:55:39 -03:00
Matthew Chen
645bd76bd5 Rework app readiness. 2021-02-04 09:55:39 -03:00
Matthew Chen
2ba0f06ac5 Hide profile name length and about/bio behind feature flag. 2021-01-20 17:07:33 -03:00
Matthew Chen
cb86af7700 Fix typo from spec. 2021-01-14 22:25:47 -03:00
Matthew Chen
e7f673f08c Display profile bio. 2021-01-14 22:25:45 -03:00
Matthew Chen
156e504446 Add profile bio view. 2021-01-14 22:25:44 -03:00
Matthew Chen
1d9a4dac27 Update profile fetches to support bio + bioEmoji. 2021-01-14 22:25:44 -03:00
Matthew Chen
fc43edbb6b Update profile updates to support bio + bioEmoji. 2021-01-14 22:25:44 -03:00
Matthew Chen
111338b59d Rewrite conversation view. 2020-12-10 12:44:13 -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
89d7f1c26c Improve group id mapping. 2020-10-30 09:07:38 -03:00
Matthew Chen
a93d68aafd Fix rebase breakage. 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
274aa326cb Merge branch 'release/3.20.1' into release/3.21.0 2020-10-23 14:06:47 -03:00
Matthew Chen
f272471db5 Re-upload protected profiled names. 2020-10-23 14:01:44 -03:00
Nora Trapp
17c587a3f2 Fix message request double dismiss 2020-10-20 22:20:01 -07:00
Matthew Chen
ba65c97e7f Update feature flags and remote config for v3.20. 2020-10-15 14:06:56 -03:00
Matthew Chen
b13ff0c879 Respond to CR. 2020-10-08 17:31:29 -03:00
Matthew Chen
686aee752c Rename OWSMessageSender -> MessageSender. 2020-09-17 21:35:35 -03:00
Matthew Chen
c017e76aab Rename singleton accessors. 2020-09-17 21:11:09 -03:00