Commit Graph

490 Commits

Author SHA1 Message Date
Michelle Linington
0b8a8bf864 PR Feedback 2021-02-05 11:07:08 -08:00
Michelle Linington
34e0f99cfd Add additional validation group avatars we receive
Strengthens validation requirements for group avatars a user sets. Also,
checks these requirements on avatars we receive.

Introduces a data migration to drop any large group avatars.

This fixes an issue some users were reporting of jetsaming in the share
extension. All group avatars are stored in-memory on TSGroupModel.
Until we have a better strategy for memory management here, we'll want
to keep group avatars small.
2021-02-05 11:07:08 -08:00
Matthew Chen
82dd6446d1 Enforce max group name byte length. 2021-02-05 09:18:18 -03:00
Jordan Rose
05725078f1 SSK: Migrate SSKSessionStore to Swift
This is a no-change migration /except/ that I've dropped entry points
that are unused in the app or tests.
2021-01-28 12:03:50 -08:00
Matthew Chen
77b2ad834f Use nickname in group short names, part 1. 2021-01-25 15:14:43 -08:00
Matthew Chen
bb87613726 Render enter profile bio. 2021-01-25 15:13:03 -08:00
Michelle Linington
945886a3ce Tiny bits of avatar feedback
- Add edit button for contact threads
- Scale up avatars to full screen
- New contacts will inherit profile avatar
2021-01-22 13:48:12 -08:00
Matthew Chen
1546fbe72a Use dynamic type in contact cell subtitles. 2021-01-21 22:32:42 -03:00
Matthew Chen
b3a52511a9 Never show profile bio for local user. 2021-01-21 22:32:42 -03:00
Nora Trapp
fc1a957857 Wallpaper settings flows 2021-01-21 17:00:17 -08:00
Nora Trapp
ba8c43cb9b wallpaper settings 2021-01-21 17:00:17 -08:00
Michelle Linington
7ae92ce892 PR Feedback
Also fixes a bug where only group admins could view an avatar.
2021-01-21 16:17:24 -08:00
Michelle Linington
f996a732d8 Show tapped avatar in conversation settings full screen 2021-01-21 16:17:24 -08:00
Matthew Chen
6762ce8452 Update design of conversation list view cells. 2021-01-21 20:27:31 -03:00
Matthew Chen
ab254b7cb2 Display profile bio. 2021-01-14 22:25:45 -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
380a6895eb Tweak max group name length. 2021-01-12 19:20:49 -03:00
Matthew Chen
4bec528d34 Group link promotion. 2021-01-12 15:51:38 -03:00
Matthew Chen
fd8fe4ca36 Group link promotion. 2021-01-12 15:51:36 -03:00
Matthew Chen
03c21253e4 Group link promotion. 2021-01-12 15:51:05 -03:00
Michelle Linington
b152d985b0 PR Feedback
- More robust handling of large button labels in the collision view
  controller
- Fixes for VoiceOver labels and navigation
- Fixes for layout issues when rotating
- Update copy for collision banner
- Remove banner shadow for all banners
2021-01-05 14:28:28 -08:00
Michelle Linington
1de7295f39 Run linter 2021-01-05 14:28:28 -08:00
Michelle Linington
053454e817 Fix up navigation items, minor bug fixes and cleanup 2021-01-05 14:28:28 -08:00
Michelle Linington
76e637b1e6 Add localizations 2021-01-05 14:28:28 -08:00
Michelle Linington
3a224687f9 Hook up collision resolution actions 2021-01-05 14:28:28 -08:00
Michelle Linington
1cd982b269 Actionless UI 2021-01-05 14:28:28 -08:00
Matthew Chen
3174559060 Serialize access to avatar cache. 2020-12-14 11:35:54 -03:00
Matthew Chen
111338b59d Rewrite conversation view. 2020-12-10 12:44:13 -03:00
Matthew Chen
c1d3f0ef91 Fix toast in group link view. 2020-11-20 15:32:15 -03: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
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
8d8c66e71a Refine group migrations & related UI. 2020-10-30 09:07:38 -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
d3dd9683dd Change default behavior for group invite links to not require approval. 2020-10-21 14:55:39 -03:00
Matthew Chen
2c5f5cd8cb Refine gv2 UI. 2020-10-16 12:34:23 -03:00
Matthew Chen
6c7b12b786 Refine gv2 UI. 2020-10-16 11:42:23 -03:00
Matthew Chen
2e18d72490 Refine gv2 UI. 2020-10-16 11:42:22 -03:00
Matthew Chen
8eda631a7c Refine gv2 UI. 2020-10-16 11:41:32 -03:00
Matthew Chen
75c9f32868 Add file extension to shared group link QR codes. 2020-10-15 17:36:08 -03:00
Matthew Chen
3be512b648 Fix issues around large type in conversation settings. 2020-10-15 13:58:46 -03:00
Matthew Chen
d364796d9d Remote obsolete remote config & feature flags around gv2. 2020-10-08 17:24:11 -03:00
Matthew Chen
096ed67bb9 Convert font style convenience methods to properties. 2020-10-06 13:09:45 -03:00
Matthew Chen
b146d3b8fe Default to requiring admin approval for join requests. 2020-10-03 10:02:25 -03:00
Matthew Chen
2269f41b5f Show admin & verified status in gv2 member list. 2020-10-02 09:59:46 -03:00
Nora Trapp
2bb6923a7d Don't try and render a safety number when we don't have a phone number. 2020-09-29 11:35:57 -07:00
Matthew Chen
64caeb3915 Hide requests in conversation settings to reflect remote config. 2020-09-29 15:07:21 -03:00
Matthew Chen
a6ff4a83a1 Show "add group members" access in conversation settings UI. 2020-09-29 15:06:07 -03:00