Commit graph

303 commits

Author SHA1 Message Date
AsamK
7c9839b114 Improve error handling for profile fetching 2021-12-25 16:12:38 +01:00
AsamK
6dc8435fa1 Optimize getAccessFor method 2021-12-25 16:07:27 +01:00
AsamK
7e803dfc46 Log profile decryption failure 2021-12-25 16:06:33 +01:00
AsamK
f03df0a8c0 Update handling of unrestricted unidentified sender access.
Fixes #843
2021-12-25 16:06:12 +01:00
AsamK
88ea61e28f Start preKeyIds with a random number
Fixes #842
2021-12-23 18:26:09 +01:00
AsamK
8cd8016c3d Add logging for executing action 2021-12-23 18:22:14 +01:00
AsamK
6fcec33ab6 Add error message when creating sende keys path fails 2021-12-23 13:43:53 +01:00
AsamK
bddff2cb88 Save account file after adding distribution ids 2021-12-22 19:19:50 +01:00
AsamK
9a72733c4f Improve exit code for message sending
Exit with 0 status code if the message was sent successfully to at least
one recipient, otherwise exit with status code 2 or 4 (for untrusted).

Fixes #828
2021-12-22 12:47:42 +01:00
AsamK
4aa8e3f2f2 Catch all exceptions when deserializig session records 2021-12-22 11:19:22 +01:00
AsamK
00b3be044e Send typing messages with sender keys 2021-12-20 18:46:03 +01:00
AsamK
172011234b Retry failed messages after trusting a new identity 2021-12-20 17:48:36 +01:00
AsamK
71e0c3f80c Use Duration for timeout 2021-12-20 16:12:37 +01:00
AsamK
dc2470d046 Don't store default values of group blocked/permissionDenied 2021-12-20 14:38:48 +01:00
AsamK
baed2b7ead Implement simple handling of incoming decryption error message 2021-12-20 14:38:48 +01:00
AsamK
1f48ce1f39 Implementing sending group messages with sender keys 2021-12-20 14:38:48 +01:00
AsamK
c134f1b78e Update libsignal-service-java 2021-12-20 14:38:48 +01:00
AsamK
d21f9cf029 Improve profile fetching 2021-12-20 14:04:07 +01:00
AsamK
6bdfa11b66 Prevent NPE if no locale is configured
Fixes #833
2021-12-15 21:54:53 +01:00
AsamK
62687d103f Replace collect(Collectors.toList()) with toList() 2021-12-11 13:10:39 +01:00
AsamK
ceafe96e81 Include recipient identifier in send error message 2021-12-10 20:21:14 +01:00
AsamK
0bd142ab6b Update bouncycastle 2021-12-10 17:55:34 +01:00
AsamK
c3f0539526 Update libsignal-service-java 2021-12-08 22:31:49 +01:00
AsamK
10df4338b1 Improve behavior of changed recipient id 2021-12-07 00:02:24 +01:00
AsamK
bbe74ef020 Always use correct recipientId after recipients were merged 2021-12-06 19:37:14 +01:00
AsamK
9c811ecc02 Extend logging in RecipientStore 2021-12-06 19:18:18 +01:00
AsamK
8867a7b9ee Convert RecipientAddress to record 2021-12-06 18:57:11 +01:00
AsamK
c9928043b2 Copy managers list to prevent ConcurrentModificationException 2021-12-05 15:32:42 +01:00
AsamK
16bf7af297 Remove jackson from lib's api 2021-12-05 15:32:42 +01:00
AsamK
a5013dd08d Close account if user is not registered 2021-12-05 15:32:42 +01:00
AsamK
124d10d6f8 Fix issue when loading a legacy account file without aci 2021-12-05 12:01:12 +01:00
AsamK
c8b9ab1911 Improve handling of unregistered account 2021-12-05 12:00:31 +01:00
AsamK
e92d37e3a5 Cache group credentials in memory 2021-12-05 11:00:22 +01:00
AsamK
e83f43065e Remove dead code and fix inspection issues 2021-12-05 10:43:57 +01:00
AsamK
855d06dc76 Fix to always update recipientsMerged map when merging recipients 2021-12-03 14:25:07 +01:00
AsamK
f487af5b0c Add Automatic-Module-Name for manager lib 2021-11-28 16:56:05 +01:00
AsamK
7e7e4150e1 Add removeContact command
Closes #335
2021-11-26 20:50:54 +01:00
technillogue
5cd5697aea
add JsonPayment (#808) 2021-11-23 08:14:01 +01:00
AsamK
d13d150fe1 Implement sending message quotes
Fixes #213
2021-11-21 19:18:17 +01:00
AsamK
415b65d208 Only store recipient if there were changes 2021-11-19 17:17:13 +01:00
AsamK
c9dffe47f6 Update libsignal-service-java 2021-11-18 19:25:11 +01:00
AsamK
382d8d22d0 Make send behavior more deterministic if there are unregistered recipients
Fixes #803
2021-11-14 14:42:17 +01:00
AsamK
53b84bad02 Implement sending mentions
Closes #584
2021-11-13 22:54:59 +01:00
AsamK
89f568dd1f Only update last received timestamp at most once per minute 2021-11-13 22:03:54 +01:00
AsamK
8aab644db9 Rename username to account 2021-11-12 16:51:33 +01:00
AsamK
398cddaf29 Adapt register command to reactivate account if possible
By default the unregister command just deactivates the account, in which
case it can be reactivated without sms verification if the local data is
still available.
If the account was deleted (with --delete-account) it cannot be reactivated.
2021-11-12 16:10:22 +01:00
AsamK
c73c58723c Implement unregister command for jsonrpc and dbus daemon 2021-11-12 16:07:35 +01:00
AsamK
b78573021d Merge multiple SendReceiptActions to same recipient to only send one receipt 2021-11-12 12:10:46 +01:00
AsamK
b7005884fd Implement startLink and finishLink for jsonrpc daemon 2021-11-11 19:15:20 +01:00
AsamK
4a1af0786c Add MultiAccountManager 2021-11-11 16:10:22 +01:00