Commit graph

338 commits

Author SHA1 Message Date
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
AsamK
9839be48f3 Extract configurationStore variable 2021-10-01 17:52:33 +02:00
AsamK
6f5e72119e Implement configuration handling
Closes #747
2021-09-30 21:41:24 +02:00
AsamK
f44b148946 Allow message from pending member if it's just a group update
Fixes #751
2021-09-28 23:48:16 +02:00
AsamK
d72b838560 Refactor Manager interface 2021-09-28 21:13:02 +02:00
AsamK
b91c162159 Extract Manager interface 2021-09-28 21:13:02 +02:00
AsamK
1a81bbecbb Do not send message resend request to own device 2021-09-28 21:13:02 +02:00
AsamK
7c9fd9d0fb Refactor NoteToSelf to singleton class 2021-09-28 21:13:02 +02:00
AsamK
6c29d90503 Adapt visibility 2021-09-15 21:34:46 +02:00
AsamK
62d8873a92 Request message resend if incoming message can't be decrypted 2021-09-12 13:21:48 +02:00
AsamK
fbafa75fe2 Store announcement group capability 2021-09-12 13:21:48 +02:00
AsamK
e3d5ebaa9e Refresh prekeys after receiving a pre key message, if necessary 2021-09-12 12:04:28 +02:00
AsamK
2196ac6975 Extract PreKeyHelper from Manager 2021-09-12 11:59:20 +02:00
AsamK
74e576c907 Convert RateLimitException to a network failure send message result 2021-09-10 17:48:44 +02:00
AsamK
eee140f74f Add submitRateLimitChallenge command
Related #708
2021-09-09 19:20:48 +02:00
AsamK
1856e79a50 Add missing check if client zk operations are null
Fixes #710
2021-09-09 18:58:45 +02:00
AsamK
a17262d9ff Catch ProofRequiredException from getPreKeys request and wrap in SendMessageResult 2021-09-09 18:54:48 +02:00