Commit graph

466 commits

Author SHA1 Message Date
AsamK
cf0cc50e32 Improve stop receive handling
Only interrupt the receive thread if it is currently waiting for new
messages from the server, otherwise just set a stop flag.
2022-02-12 14:09:30 +01:00
AsamK
0e0ef402fc Improve decryption error logging 2022-02-12 11:17:44 +01:00
AsamK
b0bb602eb5 Update libsignal-service-java 2022-02-11 22:52:06 +01:00
AsamK
d690b35ed9 Implement support for change number as linked device 2022-02-11 21:03:54 +01:00
AsamK
f207c2abc3 Reexport dbus objects when self number changes 2022-02-11 21:03:54 +01:00
AsamK
796f4d0d96 Prevent stripping number from self recipient in edge cases 2022-02-11 21:03:54 +01:00
AsamK
8985cc2656 Update self identifiers after whoAmI request 2022-02-11 21:03:54 +01:00
AsamK
7a06d3959e Extract number verification code logic 2022-02-11 21:03:54 +01:00
AsamK
292ef0f2da Move credentials provider to SignalAccount 2022-02-11 21:03:54 +01:00
AsamK
0476895c3d Store account list in accounts.json file 2022-02-11 21:03:54 +01:00
AsamK
ff6b733cd0 Add SignalAccountFiles as a central entry point 2022-02-11 21:03:54 +01:00
AsamK
1db7f8d76e Add additional logging to message send log store 2022-02-11 21:03:54 +01:00
AsamK
fd8ba66509 Fix behavior when reading a v1 group from storage that has already been migrated locally
Fixes #888
2022-02-10 15:42:43 +01:00
AsamK
38ade4e985 Close database connection before sleeping 2022-02-09 19:09:03 +01:00
AsamK
5cccf52103 Cleanup manager package 2022-02-06 17:46:34 +01:00
AsamK
3040da99c4 Extra Database base class from AccountDatabase 2022-02-06 13:01:35 +01:00
AsamK
b9f66248ac Use RecipientAddress in AvatarStore 2022-02-06 12:29:47 +01:00
AsamK
285bfafdc1 Log exception when saving file fails 2022-02-04 15:43:20 +01:00
AsamK
aadd908464 Add new CA certificate to trust store for chat server.
Existing one expires in 2023.
2022-02-03 19:31:09 +01:00
AsamK
73d44ba3fe Switch to a less cpu intensive function to check if libsignal-client is available 2022-02-03 19:05:30 +01:00
AsamK
be0993c5d8 Improve JSON-RPC subscribeReceive method with subscription id 2022-02-01 20:59:49 +01:00
AsamK
380c892e24 Add more informative thread names 2022-01-29 15:05:14 +01:00
AsamK
95cc0ae7fd Implement MessageSendLog for resending after encryption error 2022-01-28 22:55:51 +01:00
AsamK
3491782912 Fix sender check for requesting message resend 2022-01-27 23:10:26 +01:00
AsamK
ffaa9d2ed3 Output sender also for sealed sender messages that fail to decrypt 2022-01-27 20:08:27 +01:00
AsamK
238455ad6c Mark profile for refresh when receiving a profile key message 2022-01-26 22:01:09 +01:00
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