Commit graph

705 commits

Author SHA1 Message Date
AsamK
6dabf4550b Fix type of device id to Integer
Fixes #889
2022-02-11 21:03:54 +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
be0993c5d8 Improve JSON-RPC subscribeReceive method with subscription id 2022-02-01 20:59:49 +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
5d23b1ed9d Improve error handling of getUserStatus command for invalid phonen numbers 2022-01-23 20:51:10 +01:00
AsamK
80befec589 Make deviceId an int 2022-01-22 16:41:00 +01:00
AsamK
7b2b258b1d Update year 2022-01-16 10:45:36 +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
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
69ea12b956 Mark isRegistered() dbus method as deprecated
It always return true.
2022-01-02 17:52:40 +01:00
AsamK
541ac777bc Improve pin failure message in dbus mode 2022-01-02 17:52:20 +01:00
AsamK
805f976d9e Implement multi account commands for dbus client 2022-01-02 17:31:12 +01:00
AsamK
ffcda46c31 Extract AccountHelper 2021-12-31 16:19:12 +01:00
AsamK
c88c92086e Add UnregisteredRecipientException 2021-12-30 17:15:49 +01:00
AsamK
1e8c5eb522 Add additional log verbosity levels 2021-12-30 12:03:41 +01:00
AsamK
e3fcc9b3ba Add additional logging 2021-12-30 11:53:22 +01:00
AsamK
f7b2916618 Align dbus handling of no account parameter with normal mode 2021-12-26 12:30:02 +01:00
AsamK
c2801c447d Return unknown version if project version is not available 2021-12-22 19:19:19 +01:00
AsamK
f9ecaa8ad6 Add workaround for jsonrpc clients that send null params 2021-12-22 19:18:42 +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
71e0c3f80c Use Duration for timeout 2021-12-20 16:12:37 +01:00
AsamK
1c9d16e199 Improve error handling for tcp address parsing 2021-12-16 21:10:15 +01:00
AsamK
d248f249e3 Implement more methods for DbusManagerImpl 2021-12-11 20:01:36 +01:00
AsamK
d9c8711eb0 Implement sendGroupTying dbus method 2021-12-11 19:38:06 +01:00
AsamK
62687d103f Replace collect(Collectors.toList()) with toList() 2021-12-11 13:10:39 +01:00
AsamK
06e93b84da Handle send failures as non fatal and return detailed results in json output
Fixes #348
2021-12-11 12:44:11 +01:00
AsamK
ceafe96e81 Include recipient identifier in send error message 2021-12-10 20:21:14 +01:00
AsamK
e9caf21bd3 Print uuid in listIdentities command if number unknown 2021-12-07 00:02:47 +01:00
AsamK
8867a7b9ee Convert RecipientAddress to record 2021-12-06 18:57:11 +01:00
AsamK
c3a9022bec Add debug log when reading message from stdin 2021-12-05 16:26:18 +01:00
AsamK
a53bb1c4c6 Adapt error message for multi-account only commands 2021-12-05 16:08:14 +01:00
AsamK
6c1013b024 Improve error message when an account is already in use 2021-12-05 12:00:49 +01:00
jonas.hoefer
861f47d734 Add dbus methods: deleteContact and deleteRecipient
Closes #814
2021-12-05 11:01:25 +01:00
AsamK
e83f43065e Remove dead code and fix inspection issues 2021-12-05 10:43:57 +01:00
technillogue
6ffeb7c431
Add -c for --config (#816) 2021-12-05 10:12:50 +01:00
AsamK
7e7e4150e1 Add removeContact command
Closes #335
2021-11-26 20:50:54 +01:00
technillogue
5cd5697aea
add JsonPayment (#808) 2021-11-23 08:14:01 +01:00
AsamK
d13d150fe1 Implement sending message quotes
Fixes #213
2021-11-21 19:18:17 +01:00
AsamK
415b65d208 Only store recipient if there were changes 2021-11-19 17:17:13 +01:00
AsamK
c9dffe47f6 Update libsignal-service-java 2021-11-18 19:25:11 +01:00
AsamK
f58f85ef60 Return json response if available in error data field 2021-11-14 15:24:21 +01:00
AsamK
fc8b6d0fcb Clean up base package 2021-11-14 15:00:06 +01:00
AsamK
382d8d22d0 Make send behavior more deterministic if there are unregistered recipients
Fixes #803
2021-11-14 14:42:17 +01:00
AsamK
53b84bad02 Implement sending mentions
Closes #584
2021-11-13 22:54:59 +01:00