Commit graph

608 commits

Author SHA1 Message Date
AsamK
9823ad9070 Update libsignal-service-java 2023-12-15 19:05:57 +01:00
AsamK
6efca4f5cf Fix overlapping sqlite sessions in migration
Fixes #1394
2023-12-11 18:24:42 +01:00
AsamK
a2f522478d Add missing capabilities for linking account
Fixes #1386
2023-12-11 18:24:37 +01:00
AsamK
fe2f6bd48f Improve source serviceId handling 2023-11-21 20:41:13 +01:00
AsamK
22bab461b5 Prevent groupV2Operations from being null 2023-11-21 20:41:03 +01:00
AsamK
5882a1b2a5 Fix receiving contact address
Fixes #1385
2023-11-21 20:40:57 +01:00
AsamK
21f7a6de88 Fix storing of username 2023-11-21 20:40:49 +01:00
AsamK
1bbfa74b3f Don't store self profile key in recipient store 2023-11-21 20:40:10 +01:00
AsamK
7b15e2a39d Check whoAmI after regular CDSI sync 2023-11-21 20:39:39 +01:00
AsamK
32fdd382bd Remove now unnecessary try/catch 2023-11-21 20:38:44 +01:00
AsamK
20effab656 Use a single PushServiceSocket 2023-11-21 20:38:30 +01:00
AsamK
4a39436fdb Update libsignal-service 2023-11-21 20:38:08 +01:00
AsamK
a5187d4481 Ignore quotes without author
Fixes #1369
2023-11-21 20:38:01 +01:00
AsamK
87105272d1 Update dependencies 2023-11-21 20:37:28 +01:00
AsamK
fdd5ca426e Use safety numbers with ACI by default 2023-11-21 20:36:39 +01:00
AsamK
250f89389e Ensure profile key is stored in profileKeyStore
Fixes #1362
2023-11-21 20:36:19 +01:00
AsamK
41bff4a0a7 Initialize database before registering 2023-11-21 20:36:07 +01:00
AsamK
790b7f1a2f Don't check self number in recipients refresh 2023-11-21 20:35:47 +01:00
AsamK
0014a69528 Initialize pre key offsets when creating new account 2023-11-21 20:35:27 +01:00
AsamK
b41ebfe6b8 Check if account is already registered before attempting verification 2023-11-21 20:35:17 +01:00
AsamK
7887a5a613 Prevent unnecessary compile warnings 2023-10-22 20:42:25 +02:00
AsamK
20f8fa2ebd Prevent ConcurrentModificationException
Fixes #1351
2023-10-22 20:42:25 +02:00
AsamK
314159c273 Update libsignal-service-java 2023-10-22 20:42:25 +02:00
AsamK
fc2e9bbfae Fix inspections 2023-10-17 20:34:21 +02:00
AsamK
d51dd7ae57 Use .isEmpty() for checking lists and strings 2023-10-17 20:34:21 +02:00
AsamK
2c5edbc981 Add cache for serviceId to recipient id/address mapping 2023-10-17 15:20:14 +02:00
AsamK
1addffe622 Store username aci link in recipient store 2023-10-17 14:58:15 +02:00
AsamK
733c14bbc8 Ignore invalid recipient numbers 2023-10-17 14:19:32 +02:00
AsamK
5cc20ace1f Ignore failures from SVR v1 pin 2023-10-17 13:34:09 +02:00
AsamK
400dcf2899 Refactor creating linked account files 2023-10-16 19:01:31 +02:00
AsamK
dd3326f038 Do a full recipients refresh every day 2023-10-16 19:01:31 +02:00
AsamK
505de39d2a Use partial cdsi request only for a maximum of 3 numbers
Fixes #1239
2023-10-16 19:01:08 +02:00
AsamK
5c39344cff Implement full CDSI refresh 2023-10-15 22:36:45 +02:00
AsamK
7cd24a74af Improve handling of CDSI resource exhaustion 2023-10-15 19:02:59 +02:00
AsamK
a675631965 Resolve self address after setting new PNI 2023-10-15 18:53:24 +02:00
AsamK
33c4e17c0d Implement change phone number
Closes #1240
2023-10-14 23:37:23 +02:00
AsamK
56ee173d03 Implement exit code for rate limiting error
Closes #1240
2023-10-13 19:36:58 +02:00
AsamK
af4709255a Fix creation of key_value table for new accounts 2023-10-13 12:54:30 +02:00
AsamK
527e1aefc9 Refactor generateSignedPreKeyRecord 2023-10-12 21:15:19 +02:00
AsamK
7b5b5776f0 Add --quote-attachment paramter to send command
Fixes #1318
2023-10-10 19:54:45 +02:00
AsamK
91ab0b12b0 Rename pre key id offset field 2023-10-09 19:13:45 +02:00
AsamK
c2ea7045f5 Prevent deleting self recipient 2023-10-09 19:13:45 +02:00
AsamK
af3cae5f3d Restructure account save file 2023-10-09 19:13:45 +02:00
AsamK
54c3b19052 Support serviceId based safety number for scannable safety numbers 2023-10-06 21:42:28 +02:00
AsamK
66161b74a6 Move aci/pni to account data object 2023-10-06 19:53:32 +02:00
AsamK
a0c345185b Move metadata to db 2023-10-04 20:19:07 +02:00
AsamK
c0f771684d Move configuration store to db 2023-10-04 20:19:07 +02:00
AsamK
7f83bfefd6 Reorganize SignalAccount 2023-10-02 12:09:41 +02:00
AsamK
310aadbdc0 Fix handling edit message 2023-10-01 17:06:07 +02:00
AsamK
002a87d3ba Add pre key cleanup and improve refresh 2023-10-01 16:29:41 +02:00