Commit graph

1184 commits

Author SHA1 Message Date
AsamK
7261129609 Rename error field in json receive response to exception 2022-02-19 18:47:11 +01:00
AsamK
3f582e9c2e Prevent a stale jsonrpc connection from interfering with message receiving
Fixes #893
2022-02-19 18:47:11 +01:00
AsamK
832604e763 Update graalvm build tools 2022-02-19 18:47:11 +01:00
AsamK
ccce539843 Improve error messages when daemon is already running 2022-02-13 20:08:30 +01:00
AsamK
90c787f8e2 Load multiple accounts in parallel 2022-02-13 20:08:30 +01:00
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
bb3b9692e3 Implement basic listAccounts for dbus client mode
Fixes #891
2022-02-12 11:20:05 +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
6dabf4550b Fix type of device id to Integer
Fixes #889
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
8966535efe Update reflect-config.json 2022-02-10 15:42:43 +01:00
Simon F
76f27449df
Add reference to alpine linux aport to README (#887) 2022-02-10 07:43:55 +01:00
AsamK
38ade4e985 Close database connection before sleeping 2022-02-09 19:09:03 +01:00
AsamK
8e773d92c1 Align receive timeout behavior for dbus client with cli and JSON-RPC
Timeout is reset by every incoming message
2022-02-06 19:33:50 +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
Sebastian Scheibner
8c6b909365
Update README.md 2022-02-02 15:02:21 +01:00
AsamK
641856ebb4 Bump version 2022-02-01 21:52:34 +01:00
AsamK
be0993c5d8 Improve JSON-RPC subscribeReceive method with subscription id 2022-02-01 20:59:49 +01:00
exquo
e5a8cdb056
Repackage signal-client native builds (#879)
* Repackage signal-client native builds

* Change repo to upstream

* Use `listAccounts` to test run signal-cli

* Use "macOS" in filename
2022-02-01 20:57:32 +01:00
AsamK
e284b99076 Refactor JsonMessageEnvelope to remove unnecessary number canonicalization 2022-01-29 15:05:14 +01:00
AsamK
380c892e24 Add more informative thread names 2022-01-29 15:05:14 +01:00
AsamK
2e74acaabe Add --log-file parameter to write logs to separate file
Use logback for more control over the log output

Fixes #845
2022-01-29 15:05:08 +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
morph027
d812c249ba
add GraalVM reflections for GroupJoinInfo (#872)
Signed-off-by: morph027 <stefan.heitmueller@gmx.com>

Co-authored-by: morph027 <stefan.heitmueller@gmx.com>
2022-01-26 22:04:36 +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
e5537dc4db Update graalvm config 2022-01-26 19:22:46 +01:00
AsamK
5d23b1ed9d Improve error handling of getUserStatus command for invalid phonen numbers 2022-01-23 20:51:10 +01:00
morph027
166bec0f8d
add org.whispersystems.signalservice.internal.push.SignalServiceProtos.storyContext_ to graalvm reflect config (#868)
Signed-off-by: morph027 <stefan.heitmueller@gmx.com>

Co-authored-by: morph027 <stefan.heitmueller@gmx.com>
2022-01-23 20:48:55 +01:00
AsamK
d51b957ada Bump version 2022-01-22 22:58:46 +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