Commit graph

686 commits

Author SHA1 Message Date
AsamK
f06eeb01b9 Refactor getGroup method 2023-11-12 15:21:29 +01:00
AsamK
fbcc1cfb50 Refactor KeyValueStore 2023-11-12 14:24:26 +01:00
AsamK
26cef99cdf Don't store self profile key in recipient store 2023-11-12 13:13:58 +01:00
AsamK
5cac7feabe Add who am I job 2023-11-12 12:12:02 +01:00
AsamK
d844e0f396 Add download profile avatar job 2023-11-12 11:59:48 +01:00
AsamK
ed11bf6368 Make JobExecutor execute jobs asynchronously 2023-11-12 11:51:38 +01:00
AsamK
eaa6b7cf57 Check whoAmI after regular CDSI sync 2023-11-11 18:12:22 +01:00
AsamK
f8ea631b03 Refactor trusted recipient resolver 2023-11-11 17:24:45 +01:00
AsamK
7b0744ec75 Add --hide parameter to removeContact command 2023-11-11 11:39:33 +01:00
AsamK
9f4a2b3e26 Convert Contact to record 2023-11-11 11:09:24 +01:00
AsamK
c0aa338d7c Reorder static final modifier 2023-11-10 14:03:13 +01:00
AsamK
5d33f71d4d Use improved shutdown for receive command 2023-11-09 19:23:11 +01:00
AsamK
19e9f31afd Remove now unnecessary try/catch 2023-11-09 09:22:46 +01:00
AsamK
5a1d2580cb Use a single PushServiceSocket 2023-11-09 09:22:46 +01:00
AsamK
cb5cace8da Update libsignal-service 2023-11-09 09:22:46 +01:00
AsamK
e734c125ad Ignore quotes without author
Fixes #1369
2023-11-08 12:40:34 +01:00
AsamK
8d423adb4d Use safety numbers with ACI by default 2023-11-05 11:59:09 +01:00
AsamK
91e0d5164b Ensure profile key is stored in profileKeyStore
Fixes #1362
2023-11-03 20:31:35 +01:00
AsamK
67d8ffcde5 Initialize database before registering 2023-11-03 20:19:41 +01:00
AsamK
44c9aded65 Don't check self number in recipients refresh 2023-11-03 20:01:05 +01:00
AsamK
f1ccfc0361 Initialize pre key offsets when creating new account 2023-11-03 20:00:26 +01:00
AsamK
cdef9c435c Check if account is already registered before attempting verification 2023-11-03 19:59:39 +01:00
AsamK
ed8ac5b84c Use new threads API 2023-10-24 17:36:32 +02:00
AsamK
8d55dfb66b Use pattern matching switch cases 2023-10-24 17:36:32 +02: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