Matthew Chen
532976bd76
Fix rebase breakage.
2021-04-06 13:57:10 -03:00
Nora Trapp
6c17505b68
Sync mute with storage service
2021-03-27 12:13:20 -07:00
Nora Trapp
63da30f617
Store mute as millisecond timestamp
2021-03-27 12:13:20 -07:00
Nora Trapp
6a9e10a62d
Add eight hour and always mute options.
2021-03-27 12:13:20 -07:00
Nora Trapp
2e9c651355
Add an internal setting to keep muted chats archived when receiving new messages
2021-03-26 16:17:17 -07:00
Matthew Chen
86b8eb08b8
Remove YapDatabase.
...
Apply asset from design.
Fix rebase breakage.
2021-03-25 11:41:16 -03:00
Matthew Chen
d0cbf8cfd0
Rework dependency access.
2021-03-25 09:24:27 -03:00
Matthew Chen
93fc3dd3db
Filter as e164.
2021-02-24 18:00:54 -03:00
Matthew Chen
8434091ead
Respond to CR.
2021-02-05 17:20:52 -03:00
Matthew Chen
d43895bfa3
Respond to CR.
2021-02-05 17:04:04 -03:00
Matthew Chen
645bd76bd5
Rework app readiness.
2021-02-04 09:55:39 -03:00
Matthew Chen
6c578e816f
Improve internal logging around manual migrations.
2021-01-29 11:18:13 -03:00
Jordan Rose
e595090046
Rename SSKSessionStore.containsSession() to containsActiveSession()
2021-01-28 12:03:50 -08: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
Jordan Rose
77da9dcf16
SSK: Remove -maxSessionSenderChainKeyIndexForAccountId:transaction:
...
This was the last part of SignalServiceKit that poked inside
AxolotlKit's SessionRecord, and SignalClient doesn't currently expose
the same information. However, it was only being used as a heuristic
for merging phone number and UUID contacts when you already had a
session with each, and this just won't happen anymore except in rare
circumstances. (Specifically, all messages will have UUIDs, so a UUID
contact is always more up to date.)
2021-01-28 12:03:50 -08:00
Jordan Rose
833bff8889
Use SignalClient for message encryption
...
And update for SMKSecretSessionCipher's adoption of SignalClient as
well.
2021-01-28 12:03:50 -08:00
Matthew Chen
9a17bff403
Use nickname in group short names, part 2.
2021-01-25 15:14:43 -08:00
Matthew Chen
4df4700f63
Use nickname in group short names, part 2.
2021-01-25 15:14:43 -08:00
Matthew Chen
77b2ad834f
Use nickname in group short names, part 1.
2021-01-25 15:14:43 -08:00
Nora Trapp
7230dabbc8
Add support for sharing suggestions
2021-01-21 20:00:29 -08:00
Jordan Rose
7748420b82
SSK: (re-)unify the decision of whether to notify for an interaction
2021-01-19 11:24:14 -08:00
Jordan Rose
f5a3b53e54
SSK: Don't notify / mark unread for people leaving the group
2021-01-19 11:18:10 -08:00
Matthew Chen
3bb5f0777b
Add profile bio fields to database schema.
2021-01-14 22:25:45 -03:00
Nora Trapp
444090f4b0
Don't show mutual groups for deleted threads
2021-01-12 20:35:10 -08:00
Nora Trapp
71b9f51e12
Ignore mutual groups where the local user is not a member or the remote user is not a full member.
2021-01-12 18:10:49 -08:00
Matthew Chen
c0c6683c61
Merge branch 'release/5.1.0'
2021-01-07 16:44:04 -03:00
Matthew Chen
40447928a1
Respond to CR.
2021-01-07 14:22:59 -03:00
Matthew Chen
a30fca9aaa
Fix spurious assert around comparing group models with dropped members.
2021-01-07 14:18:50 -03:00
Nora Trapp
a0992b9857
Eliminate usage of unsaved SignalRecipients
2020-12-18 19:15:07 -08:00
Michelle Linington
80c6a4e6be
Add support for lightweight generics in ObjC functional utilities
...
NSArray supports lightweight generics in ObjC. Our extension on NSArray
for map/filter/reduce does not. This change tweaks the interface to
better support generics.
Also, fixes some tests that weren't compiling.
2020-12-11 12:30:44 -08:00
Matthew Chen
111338b59d
Rewrite conversation view.
2020-12-10 12:44:13 -03:00
Matthew Chen
21b616ede1
Fix group migration edge cases.
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
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
Nora Trapp
563ed0ef8e
Fix storage service sync bug with archiving
2020-10-15 14:12:41 -03:00
Matthew Chen
5b31c9f9b4
Perform bulk profile fetches by UUID.
2020-10-15 14:08:14 -03:00
Matthew Chen
832ed433c6
Rework updates to recipient devices.
2020-10-15 14:03:55 -03:00
Matthew Chen
b13ff0c879
Respond to CR.
2020-10-08 17:31:29 -03:00
Matthew Chen
d364796d9d
Remote obsolete remote config & feature flags around gv2.
2020-10-08 17:24:11 -03:00
Matthew Chen
1074b7cbfe
Merge branch 'release/3.18.0'
2020-10-03 10:05:30 -03:00
Matthew Chen
fc30b0084b
Enforce uniqueness when migrating SignalRecipients from YDB.
2020-10-02 09:47:42 -03:00
Matthew Chen
3480af38e4
Fix build warnings.
2020-09-25 15:16:19 -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
7c5043e163
Touch less; touch more carefully.
2020-09-17 17:31:23 -03:00
Matthew Chen
02cd90db5f
Improve handling of group invite link edge cases.
2020-09-08 17:44:56 -03:00
Nora Trapp
898155b794
Merge branch 'release/3.16.0'
2020-09-03 18:56:52 -07:00
Matthew Chen
da43e4f9a1
Tweak CDS and gv2.
2020-09-03 15:37:52 -03:00