Commit graph

840 commits

Author SHA1 Message Date
John Freed
10274cdb3f implement Dbus unregister/unlisten methods
implemented two related Dbus methods:
- unregister
- unlisten

improved error handling for Dbus method:
- link

fixed logic error in Manager.java (line 876) because daemon
could still be running after a particular account is unregistered.

broadened WebSocketUnavailableException (line 913) to catch all
IOExceptions caused by unregistering account while daemon is running.

specified error message handling in ProvisioningManager.java and
DbusSignalControlImpl.java for link subcommand.

helper methods:
- getPathConfig in Manager.java
- private removeUserData in DbusSignalImpl.java
2021-09-23 16:35:47 +02:00
AsamK
982e887c9f Reformat code 2021-09-21 22:30:27 +02:00
John Freed
d622967192
Implement Dbus setPin and removePin (#733)
and update documentation
2021-09-21 22:26:26 +02:00
AsamK
6c29d90503 Adapt visibility 2021-09-15 21:34:46 +02:00
AsamK
e562daa1f3 Update README.md 2021-09-15 21:34:05 +02:00
AsamK
8e2bb1d393 Update FUNDING.yml 2021-09-15 21:25:46 +02:00
JtheSaw
11b3758416
Add sendTyping and sendReceipt to dbus interface (#718)
* Add sendTyping and sendReceipt to dbus interface

* Resolve requested changes

* Adapt documentation
2021-09-13 17:01:26 +02:00
AsamK
12e85ec671 Remove custom -PappArgs handling, gradle now supports --args 2021-09-12 19:20:21 +02:00
AsamK
627a587952 Use official graalvm native-image gradle plugin 2021-09-12 19:08:47 +02:00
AsamK
cbff7217c1 Bump version 2021-09-12 17:47:02 +02:00
AsamK
882e45de55 Update graalvm config 2021-09-12 14:48:01 +02:00
AsamK
f48593f265 Exit immediately if an uncaught error is thrown on the main thread 2021-09-12 14:37:56 +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
6ac4af4974 Fix plain text output for getUserStatus command
Fixes #711
2021-09-10 17:24:28 +02:00
AsamK
50e5acdf52 Fix printing proof required error
libsignal-service classifies it as network failure as well.
2021-09-10 10:13:51 +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
AsamK
0e6644a890 Remove unnecessary step from codeql analysis 2021-09-08 20:53:01 +02:00
AsamK
2044a7d7a5 Print stack trace of exception causes in verbose mode 2021-09-08 20:38:24 +02:00
AsamK
e3c37a0239 Log error message if libzkgroup or libsignal-client is missing
Fixes #660
2021-09-08 20:10:07 +02:00
AsamK
537b704951 Ignore set profile failure if libzkgroup is missing
Fixes #709
2021-09-08 20:09:22 +02:00
AsamK
656ca6b5e4 Prevent creation of RecipientAddress with UNKNOWN_UUID 2021-09-05 16:06:13 +02:00
AsamK
2e01a05e71 Implement retrieving data from remote storage
Related #604
2021-09-05 15:52:55 +02:00
AsamK
299671480f Add possibility to update the device name 2021-09-05 11:41:38 +02:00
AsamK
5a2e37a6e2 Only handle jsonRpc requests, after receive thread has caught up with old messages 2021-09-04 15:06:25 +02:00
AsamK
ac18006abb Implement support for receiving sender key messages 2021-09-04 13:54:06 +02:00
AsamK
35622ac684 Use EMPTY send event listeners 2021-09-04 13:54:06 +02:00
AsamK
891c05210e Improve comment in SessionStore 2021-09-04 10:48:32 +02:00
AsamK
43bcc95713 Add missing isActive check 2021-09-03 21:30:45 +02:00
AsamK
b903102407 Update libsignal-service-java 2021-09-03 20:12:59 +02:00
AsamK
e83bfb9e03 Print more information for call messages 2021-09-01 20:02:20 +02:00
AsamK
0d0978011d Fix handling incoming contacts sync message 2021-08-30 21:07:24 +02:00
AsamK
626406a43c Create libsignal dependencies only when required 2021-08-30 15:07:12 +02:00
AsamK
1f0c2d5c78 Remove registration lock pin before deleting account 2021-08-30 14:12:39 +02:00
AsamK
7a3522dc01 Prevent endless loop when receiving contact sync message 2021-08-30 13:55:25 +02:00
AsamK
32150b1aaa Move all message decryption to IncomingMessageHandler 2021-08-30 13:39:27 +02:00
AsamK
5743cf4455 Improve dbus register error message if called with invalid number 2021-08-30 13:33:54 +02:00
AsamK
8bcd8d87d2 Update libsignal-service-java 2021-08-29 13:37:24 +02:00
AsamK
85c5caeaca Don't handle blocked or forbidden messages 2021-08-27 09:04:14 +02:00
AsamK
634437d22d Delete cached failed messages after 30 days 2021-08-26 15:26:25 +02:00
AsamK
8bc6c0abcb Extract ContactHelper and IncomingMessageHandler 2021-08-26 15:25:02 +02:00
AsamK
debbaa81ba Extract AttachmentHelper and SyncHelper 2021-08-26 12:05:15 +02:00
AsamK
e532a24cf8 Move more profile functionality to ProfileHelper 2021-08-26 10:56:30 +02:00
AsamK
cd3741d236 Rename internal quitGroup method 2021-08-26 10:28:04 +02:00
AsamK
7f64a9812c Prevent non-admins from sending to announcement groups
Only reactions are allowed
2021-08-26 09:34:06 +02:00