Matthew Chen
d0cbf8cfd0
Rework dependency access.
2021-03-25 09:24:27 -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
Nora Trapp
a0992b9857
Eliminate usage of unsaved SignalRecipients
2020-12-18 19:15:07 -08:00
Matthew Chen
832ed433c6
Rework updates to recipient devices.
2020-10-15 14:03:55 -03:00
Matthew Chen
fc30b0084b
Enforce uniqueness when migrating SignalRecipients from YDB.
2020-10-02 09:47:42 -03:00
Nora Trapp
d536c8ded0
PR Feedback
2020-07-24 13:15:32 -07:00
Nora Trapp
dde6f0bc59
Add tests around uuid <-> phone number mapping changes
2020-07-24 13:15:32 -07:00
Nora Trapp
a2021426ef
Update SignalServiceAddressCache when uuid <-> phone number mapping changes
2020-07-24 13:15:02 -07:00
Nora Trapp
5b373e4fee
Handle when UUID <-> phone number mapping changes
2020-07-24 13:15:02 -07:00
Nora Trapp
ee9a56dc4b
Clean up orphaned accounts from storage service
2020-07-22 14:33:07 -07:00
Matthew Chen
fc82a11ccf
Clean up naming around profile fetches.
2020-07-08 11:04:01 -03:00
Matthew Chen
e508c66422
Index signal recipients; re-index recipients and accounts when profile changes.
2020-07-06 14:31:30 -03:00
Matthew Chen
8e48a14659
Reduce logging.
2020-06-11 13:54:36 -03:00
Matthew Chen
ea1b62e838
Rework model read caches.
2020-06-08 17:36:21 -03:00
Matthew Chen
a682a6edc3
Merge user profiles when merging signal recipients.
2020-05-15 15:42:46 -07:00
Matthew Chen
326bace5fd
Respond to CR.
2020-05-07 11:22:29 -03:00
Matthew Chen
f7be178b41
Leverage session sender key indices when merging recipients.
2020-05-07 11:21:23 -03:00
Matthew Chen
98ed07e91e
Improve signal recipient retention heuristics.
2020-05-04 22:01:35 -03:00
Matthew Chen
ca21d70adb
Reconcile phone number and uuids recipients.
2020-04-13 13:36:07 -03:00
Matthew Chen
0c5148f4b7
Add support for v2 groups to storage service.
2020-02-27 09:53:55 -03:00
Nora Trapp
460004f84a
Merge branch 'release/3.0.1'
2019-11-21 16:07:47 -08:00
Michael Kirk
160885c0f6
remove unused code
...
There's not much value in merging the deviceIds. In the event of newly registered users, we'll get them after the next intersection.
For users we're actively messaging, we'll update the deviceIds via usual server device conflict resolution.
2019-11-21 15:40:50 -08:00
Michael Kirk
1cdfa09abf
clean up duplicate signal accounts, add unique index
2019-11-21 15:40:50 -08:00
Michael Kirk
989fa2047c
update existing signal account
2019-11-21 15:40:49 -08:00
Matthew Chen
0ca1b2e028
Rework profile fetch.
2019-11-19 13:06:48 -03:00
Matthew Chen
70d4b3a2a0
Fix broken tests.
2019-11-07 17:22:08 -03:00
Michael Kirk
fd93102952
regen
2019-10-14 18:23:35 -06:00
Matthew Chen
510b854d20
Rework thread mapping updates (generated changes).
2019-10-11 09:31:35 -03:00
Matthew Chen
8f739ede7e
Review GRDB TODOs.
2019-08-30 14:45:14 -03:00
Michael Kirk
550c76769d
fix mark as unregistered
...
because the update block gets called twice, it's not safe to pass in
a mutating reference to the method receiver.
2019-08-16 12:39:52 -06:00
Nora Trapp
fd8a330c81
Create a new manifest when our encryption keys change
2019-08-01 10:40:17 -07:00
Nora Trapp
0a20fa4c01
Trigger storage service update when registered recipient changes
2019-07-31 23:34:04 -07:00
Michael Kirk
796b1ebb73
modern CDS vs. UUID
2019-07-25 14:06:06 -06:00
Nora Trapp
a323ff4ddf
No more transitional_phoneNumber
2019-07-11 10:52:13 -07:00
Nora Trapp
b849ced2f9
Migrate AccountIdFinder to use SignalRecipient uniqueId
2019-07-08 11:44:40 -07:00
Nora Trapp
a1f85fca30
Migrate profiles to support UUIDs
2019-07-02 11:19:50 -07:00
Michael Kirk
efafd6fb38
Create UUID message in DebugUI, rendering in homeview
...
ContactAvatarBuilder works with SignalServiceAddress
Currently this only functions with the GRDB adapter. There are other asserts
triggered in yap extensions.
2019-07-01 10:16:23 -06:00
Michael Kirk
0907a2257f
Convert Recipient and SessionStore to SignalServiceAddress
2019-06-26 17:48:16 -06:00
Michael Kirk
9da5f5fa09
codegen
2019-06-26 17:48:16 -06:00
Matthew Chen
7053b86f08
Respond to CR.
2019-06-25 16:00:58 -04:00
Matthew Chen
c8359fc932
Convert message sending to use any transactions.
2019-06-25 16:00:58 -04:00
Matthew Chen
ba509d65e7
Generate SDS extensions for all models in Signal, SignalMessaging, SAE, SSK.
2019-05-02 13:25:21 -04:00
Michael Kirk
b25a704039
Fix: Compose thread picker doesn't show self
2018-11-13 10:38:08 -06:00
Michael Kirk
7eaaab7be4
restrict self device id in message building, not in recipient data model
2018-11-13 10:38:08 -06:00
Matthew Chen
2b5a79f123
Cycle websocket after learning of new linked devices via 409/410.
2018-11-07 16:19:48 -05:00
Matthew Chen
1c21c31c2b
Fix failed reloads in SignalRecipient.
2018-11-05 08:43:16 -05:00
Matthew Chen
3eab5b82cc
Respond to CR.
2018-11-01 16:06:03 -04:00
Matthew Chen
3011175cef
Fix "413 on prekey fetch" errors.
2018-11-01 15:59:11 -04:00