Commit Graph
290 Commits
Author SHA1 Message Date
AsamK ede0dfeef4 Fix output for envelope receipts 2022-01-26 22:01:09 +01:00
AsamK 67146f9cc7 Create stores in SignalAccount lazily 2022-01-26 21:03:04 +01:00
AsamK 5d23b1ed9d Improve error handling of getUserStatus command for invalid phonen numbers 2022-01-23 20:51:10 +01:00
AsamK 4ffb93129d Update libsignal-service-java 2022-01-22 16:55:51 +01:00
AsamK 9439de1c15 Add recipient id to logging 2022-01-22 16:55:35 +01:00
AsamK 80befec589 Make deviceId an int 2022-01-22 16:41:00 +01:00
AsamK a3c5cfd2f4 Archive old sessions when an identity key has changed 2022-01-22 13:21:56 +01:00
AsamK 7d935749aa Fix profile fetch with an invalid LANG variable 2022-01-17 18:26:08 +01:00
AsamK 7b2b258b1d Update year 2022-01-16 10:45:36 +01:00
AsamK fe9989197f Fix debug message 2022-01-16 10:07:17 +01:00
AsamK a01d6b085a Log the time it takes to send a group message 2022-01-15 18:21:26 +01:00
AsamK c8cc428e3f Improve performance when fetching multiple profiles 2022-01-15 18:18:40 +01:00
AsamK 365323f574 Ignore decryption failures from blocked contacts 2022-01-15 16:24:25 +01:00
AsamK 3587d1c397 Rename sandbox to staging environment
To match the upstream name
2022-01-05 23:41:17 +01:00
AsamK 8a5f98dac6 Add sticker pack url to list output 2022-01-03 18:50:27 +01:00
AsamK 99eef05084 Retrieve sticker pack before sending if necessary 2022-01-03 17:54:53 +01:00
AsamK beb3adcc72 Change stickerId to hex everywhere
Remove packKey from output
2022-01-03 17:51:04 +01:00
AsamK e70463d7b8 Implement listStickerPacks command 2022-01-03 16:11:03 +01:00
AsamK 404063a080 Add support for sending stickers 2022-01-03 13:24:13 +01:00
AsamK 5d83e149b3 Add verbose logging for decryption errors of incoming messages 2022-01-02 21:36:43 +01:00
AsamK 6a188a67dd Adapt log levels 2022-01-02 17:31:12 +01:00
AsamK 805f976d9e Implement multi account commands for dbus client 2022-01-02 17:31:12 +01:00
AsamK 00cda598c8 Extract ProvisioningManager and RegistrationManager interfaces 2021-12-31 16:39:33 +01:00
AsamK 332780b1a6 Make GroupV2Helper package-private 2021-12-31 16:19:25 +01:00
AsamK ffcda46c31 Extract AccountHelper 2021-12-31 16:19:12 +01:00
AsamK f5e5dd551d Extract ReceiveHelper 2021-12-30 22:44:38 +01:00
AsamK c7a7d00da5 Refactor Context to create helpers lazily 2021-12-30 22:02:03 +01:00
AsamK c88c92086e Add UnregisteredRecipientException 2021-12-30 17:15:49 +01:00
AsamK a7ecb9e10f Extract RecipientHelper 2021-12-30 17:15:49 +01:00
AsamK d28b6522d5 Update dependencies 2021-12-30 17:15:49 +01:00
AsamK a738fb725b Adapt log levels 2021-12-30 13:30:05 +01:00
AsamK e3fcc9b3ba Add additional logging 2021-12-30 11:53:22 +01:00
AsamK fba7a6a75c Paralellize profile fetching 2021-12-26 17:14:06 +01:00
AsamK 3b81ba3596 Move saving out of synchronized block 2021-12-26 12:40:06 +01:00
AsamK c66f92d488 Update libsignal-service-java 2021-12-26 09:28:53 +01:00
AsamK a0593f4031 Disable unidentified access for recipient if it fails once 2021-12-25 16:19:21 +01:00
AsamK ceb6084eda Throw unregistered exception in getRegisteredUser 2021-12-25 16:13:07 +01:00
AsamK 7c9839b114 Improve error handling for profile fetching 2021-12-25 16:12:38 +01:00
AsamK 6dc8435fa1 Optimize getAccessFor method 2021-12-25 16:07:27 +01:00
AsamK 7e803dfc46 Log profile decryption failure 2021-12-25 16:06:33 +01:00
AsamK f03df0a8c0 Update handling of unrestricted unidentified sender access.
Fixes #843
2021-12-25 16:06:12 +01:00
AsamK 88ea61e28f Start preKeyIds with a random number
Fixes #842
2021-12-23 18:26:09 +01:00
AsamK 8cd8016c3d Add logging for executing action 2021-12-23 18:22:14 +01:00
AsamK 6fcec33ab6 Add error message when creating sende keys path fails 2021-12-23 13:43:53 +01:00
AsamK bddff2cb88 Save account file after adding distribution ids 2021-12-22 19:19:50 +01:00
AsamK 9a72733c4f Improve exit code for message sending
Exit with 0 status code if the message was sent successfully to at least
one recipient, otherwise exit with status code 2 or 4 (for untrusted).

Fixes #828
2021-12-22 12:47:42 +01:00
AsamK 4aa8e3f2f2 Catch all exceptions when deserializig session records 2021-12-22 11:19:22 +01:00
AsamK 00b3be044e Send typing messages with sender keys 2021-12-20 18:46:03 +01:00
AsamK 172011234b Retry failed messages after trusting a new identity 2021-12-20 17:48:36 +01:00
AsamK 71e0c3f80c Use Duration for timeout 2021-12-20 16:12:37 +01:00