Commit graph

404 commits

Author SHA1 Message Date
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
AsamK
ce70a623c2 Use Java 17 2021-10-27 14:39:40 +02:00
AsamK
9cb1409918 Fix unlikely issues with null values 2021-10-27 14:39:40 +02:00
AsamK
fc5af35a04 Replace File.delete with Files.delete 2021-10-27 14:39:40 +02:00
AsamK
69b7e73063 Update slf4j 2021-10-27 14:39:40 +02:00
AsamK
004293362e Update libsignal-service-java 2021-10-24 19:16:01 +02:00
AsamK
fc0a9b4102 Move receive thread handling to manager 2021-10-22 17:39:33 +02:00
AsamK
5c389c875d Split receiveMessages method 2021-10-21 21:19:14 +02:00
AsamK
f5ba7894ae Add setIgnoreAttachments method 2021-10-21 21:01:48 +02:00
AsamK
3636023cb8 Improve error message when the last provisioning steps fail 2021-10-19 22:16:35 +02:00
AsamK
d4b9356c5c Add missing null check
Fixes #784
2021-10-18 16:48:07 +02:00
AsamK
cf31ad6ccf Check if configuration message contains value before using it 2021-10-15 21:18:47 +02:00
AsamK
ea7f4845e8 Update libsignal-service-java 2021-10-15 20:46:38 +02:00
AsamK
4a3b0e5124 Reconnect websocket with exponential backof if connection is lost 2021-10-15 20:02:03 +02:00
AsamK
5648714641 Clear queued message actions after handling
Fixes #777
2021-10-15 20:01:54 +02:00
AsamK
f094cd6806 Extract IdentityHelper 2021-10-12 22:14:39 +02:00
AsamK
997b3c6a2a Restrict blocking of group to master device 2021-10-12 20:57:25 +02:00
AsamK
e977f38bdd Refactor to remove ProfileKeyProvider and UnidentifiedAccessSenderCertificateProvider 2021-10-12 20:57:25 +02:00
AsamK
09730b474b Update libsignal-service-java 2021-10-10 13:31:44 +02:00
AsamK
bfddb40d73 Reconnect websockets after errors 2021-10-10 13:31:34 +02:00
technillogue
d82f4a8717
Update to new provisioning URL scheme (#762) 2021-10-09 17:55:33 +02:00
AsamK
997b4f0c3f Implement new dbus group interface 2021-10-09 17:41:23 +02:00
AsamK
26594dd0ee Retrieve self profile from storage 2021-10-03 16:17:58 +02:00
AsamK
0709c0caf8 Update libsignal-service-java 2021-10-03 13:38:55 +02:00
AsamK
76ceac4d54 Read configurations from storage 2021-10-03 13:37:27 +02:00
AsamK
8b83992e95 Don't repeatedly try to refetch group info if permission was denied
i.e. if the user is no longer a member of that group
2021-10-02 18:40:36 +02:00
AsamK
778adacb80 Refactor dbus linked devices interface
Export a separate dbus object for each device
2021-10-02 18:04:30 +02:00