Commit graph

280 commits

Author SHA1 Message Date
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
AsamK
d3490facc8 Add getDefaultLocale utils method 2021-11-10 21:58:39 +01:00
AsamK
2879b31aba Rename --username to --account 2021-11-10 16:55:13 +01:00
AsamK
793df99bef Cache sender certificates in memory 2021-11-10 15:36:29 +01:00
AsamK
62dd5a169f Read phone number unlisted state from storage 2021-11-10 15:23:44 +01:00
AsamK
4baf0849a6 Read phone number sharing mode from storage
Fixes #755
2021-11-10 15:23:44 +01:00
AsamK
81a11dc977 Implement socket/tcp for daemon command 2021-11-10 12:12:35 +01:00
AsamK
2b0989adfe Disconnect websocket when receiving is done 2021-11-09 18:28:25 +01:00
AsamK
e495afcff5 Fix removeReceiveHandler to not incorrectly reset the receiveThread 2021-11-08 22:16:45 +01:00
AsamK
c60c8e998f Fix ACI null pointer 2021-11-08 22:16:44 +01:00
AsamK
82bb4f22f0 Add exportObject helper method 2021-11-07 11:04:41 +01:00
AsamK
e22cc457ae Implement getConfiguration method in Manager 2021-11-07 10:38:26 +01:00
AsamK
a20bbe1246 Update libsignal-service-java 2021-11-06 23:17:03 +01:00
AsamK
32818a8608 Refactor ReceiveCommand in dbus mode and remove ExtendedDbusCommand 2021-11-06 21:09:06 +01:00
AsamK
2ab42ca547 Remove libsignal-service from manager lib API 2021-11-06 13:38:10 +01:00
AsamK
9075cc1a30 Refactor receive api 2021-11-06 12:17:50 +01:00
AsamK
b615a4b04d Convert RecipientIdentifier to record 2021-10-31 21:24:25 +01:00
AsamK
31dec5a666 Handle UnauthenticatedResponseException internally 2021-10-31 20:53:03 +01:00
AsamK
782f96b580 Replace UnregisteredUserException 2021-10-31 20:43:29 +01:00
AsamK
659761f006 Add InactiveGroupLinkException 2021-10-31 19:45:30 +01:00
AsamK
3cf7721cd7 Add InvalidDeviceLinkException exception 2021-10-31 19:35:00 +01:00
AsamK
d783df510a Add Pair record 2021-10-31 19:15:52 +01:00
AsamK
1e87240db8 Use java.util.Optional in Manager interface 2021-10-31 18:01:17 +01:00
AsamK
ce7aa580b6 Use record classes 2021-10-27 14:39:40 +02:00