Commit Graph

27 Commits

Author SHA1 Message Date
Sasha Weiss (Signal)
98151dfd0d
Don't need transactions to build group models 2022-07-12 10:23:12 -07:00
Sasha Weiss (Signal)
ac341fdbbc
DRY out V2 group updates 2022-07-08 15:47:45 -07:00
Sasha Weiss (Signal)
86d9b8ea0a
Remove args always passed as nil that were later unused anyway 2022-06-29 09:19:02 -07:00
Evan Hahn
29c0ddf60e Fix violations of SwiftLint's attributes rule
_I recommend reviewing this with whitespace changes disabled._

Most of these were `@objc` being on the same line, which I fixed with [a
silly script][1]—probably could've used `sed` if I were wiser. The rest
were manual fixes.

See [the SwiftLint documentation for this rule][0].

[0]: https://realm.github.io/SwiftLint/attributes.html
[1]: https://gist.github.com/EvanHahn-Signal/d353c93fa269c82b96baca0a1086521f
2022-05-14 09:07:42 -05:00
Martin Böttcher
54b743de2d
moved older stringsdict changes into new branch; minor changes (#4205)
moved older stringsdict changes into new branch
2022-04-28 17:41:43 +02:00
Nora Trapp
2814ab7629 Convert to new Promise library 2021-09-03 11:41:34 -07:00
Matthew Chen
33fc258c0a Respond to CR. 2021-07-13 15:28:29 -03:00
Matthew Chen
786e7cef3d Fix build warnings. 2021-06-07 11:11:28 -04:00
Matthew Chen
0241fd25e8 Convert contact cells to Swift, clean up configuration, reduce transaction count. 2021-05-04 21:45:15 -03:00
Matthew Chen
8d8c66e71a Refine group migrations & related UI. 2020-10-30 09:07:38 -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
66510bc18f DRY singleton accessors. 2020-09-17 21:13:14 -03:00
Matthew Chen
ad6bda8a44 Rename singleton accessors. 2020-09-17 21:11:07 -03:00
Matthew Chen
ed6ec5362d Add group link view. 2020-09-01 17:11:09 -03:00
Matthew Chen
22c90550b7 Respond to CR. 2020-09-01 17:11:08 -03:00
Matthew Chen
aa88bb712c Model changes for group links. 2020-09-01 17:11:07 -03:00
Matthew Chen
eb6f43cf07 Rework maxGroupsV2MemberCount remote config flag. 2020-08-10 19:46:23 -03:00
Matthew Chen
3255fc3dfe Add pending members. 2020-08-06 11:23:16 -03:00
Matthew Chen
ee23ade45a Safer group model diffs. 2020-06-23 11:27:10 -03:00
Matthew Chen
91b82cf90f Hide group member count in group views. 2020-06-06 19:38:49 -03:00
Matthew Chen
9a6ab0f888 Revise how member counts are presented in new "create group" flow. 2020-04-22 15:21:34 -03:00
Matthew Chen
7693545789 Improve handling of v1 groups in v2 groups UI. 2020-04-22 15:21:34 -03:00
Matthew Chen
856fef7664 Aggressively enable groups v2 support in member picking views. 2020-04-13 17:24:59 -03:00
Matthew Chen
5e6566db3e Enforce max group member count. 2020-04-13 10:23:20 -03:00
Matthew Chen
b4aa6b5197 Enforce max group member count. 2020-04-13 10:23:20 -03:00
Matthew Chen
8859870af1 Add UI for groups v2 invites. 2020-04-06 11:09:06 -03:00
Matthew Chen
d8a6334f5e Overhaul "create new group" and "add group member" views.
* Move "new group" button.
* Overhaul new group view header.
* Add 'new group confirm' view.
* Add the new "add group members" view.
2020-04-06 09:54:49 -03:00