Commit graph

230 commits

Author SHA1 Message Date
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
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
AsamK
944c3327ee Extract GroupHelper 2021-08-26 08:58:39 +02:00
AsamK
6ee0a95aa2 Update URL for reaching Signal chat server 2021-08-25 23:05:46 +02:00
AsamK
ca52c01031 Adapt log level 2021-08-25 20:56:41 +02:00
AsamK
467a48bac5 Add RecipientIdentifier as external Manager interface 2021-08-25 20:12:10 +02:00
AsamK
cd7172ee57 Refactor message send methods 2021-08-25 12:23:31 +02:00
AsamK
23a006c311 Enable announcement group capability 2021-08-25 12:23:31 +02:00
AsamK
6c3106db5d Add new --trust-new-identities global parameter
Closes #360
2021-08-23 15:58:05 +02:00
AsamK
6dd1a21606 Handle queued actions also when thread is interrupted 2021-08-23 14:39:40 +02:00
AsamK
4f67ac674b Trust an identity with its scannable safety numbers from the other device
Attention, the scannable fingerprints are asymetric, so the scannable
fingerprints from the local listIdentities command can't be used to trust
an identity. The scannable fingerprint must come from the other device.
2021-08-22 19:23:49 +02:00
AsamK
0a5e836ab6 Fix rare null pointer exception when receiving message from untrusted identity 2021-08-22 18:47:20 +02:00
AsamK
e3752e733a Implement sendReceipt command
Fixes #305
2021-08-22 14:25:48 +02:00
AsamK
5bbfd32598 Extend json output with number and uuid fields 2021-08-22 12:36:25 +02:00
AsamK
73e137137d Discard messages from non-admins in announcement groups 2021-08-22 10:17:47 +02:00
AsamK
610e32aa52 Implement announcement groups 2021-08-22 09:55:53 +02:00
AsamK
b745f1f902 Trim zero bytes from profile fields 2021-08-22 08:54:21 +02:00
AsamK
11c90fa032 Add json output listIdentities command 2021-08-21 18:54:55 +02:00
AsamK
893b7f7f9d Refactor message sending 2021-08-21 15:51:54 +02:00
AsamK
b77d820661 Handle changed identity key correctly when sending message
Fixes #686
2021-08-20 20:03:59 +02:00
AsamK
7089912fb0 Remove registrationLockV1 code
The corresponding endpoint has been removed on the Signal server
2021-08-15 21:30:21 +02:00
AsamK
b810e303ec Update libsignal-service-java 2021-08-15 21:04:03 +02:00
AsamK
a8bbdb54d0 Implement jsonRpc command
Co-authored-by: technillogue <technillogue@gmail.com>

Closes #668
2021-08-10 18:16:50 +02:00
AsamK
8f781c019f Add dbus SignalControl interface to register/verify/link accounts 2021-08-08 18:43:14 +02:00
AsamK
dde98e9b06 Update bouncycastle 2021-08-07 10:22:30 +02:00
AsamK
b1ebdc8343 Extract decryptProfileIfKeyKnown helper method 2021-07-31 22:19:31 +02:00
AsamK
2d068997c5 Implement sticker pack retrieval
Fixes #410
2021-06-13 15:02:16 +02:00
AsamK
f40c351662 Add optional content type to json sticker pack manifest 2021-06-13 14:32:58 +02:00
AsamK
5e50a4cc4a Use correct hex implementation 2021-06-13 14:32:58 +02:00
AsamK
7e223dc228 Add sendTyping command
Fixes #602
2021-06-12 17:57:15 +02:00
AsamK
609ebf024b Update libsignal-service-java 2021-06-12 16:22:51 +02:00
AsamK
87406e2cdb Implement --delete flag for quitGroup
Closes #638
2021-06-12 11:33:19 +02:00
AsamK
795b73df87 Skip invalid contact records 2021-06-12 08:49:37 +02:00
AsamK
0001a9b300 Skip invalid group records
Fixes #642
2021-06-12 08:47:18 +02:00
AsamK
39c4cf24b8 Refresh group if group update conflicts with remote edit
Fixes #639
2021-06-02 20:40:02 +02:00