Commit graph

644 commits

Author SHA1 Message Date
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
AsamK
8aab644db9 Rename username to account 2021-11-12 16:51:33 +01:00
AsamK
c73c58723c Implement unregister command for jsonrpc and dbus daemon 2021-11-12 16:07:35 +01:00
AsamK
b7005884fd Implement startLink and finishLink for jsonrpc daemon 2021-11-11 19:15:20 +01:00
AsamK
79cc225869 Implement register and verify commands for json rpc 2021-11-11 19:14:32 +01:00
AsamK
4a1af0786c Add MultiAccountManager 2021-11-11 16:10:22 +01:00
AsamK
62dd2ee49e Add listAccounts command 2021-11-10 20:15:18 +01:00
AsamK
9c67aabebb Add JsonRpcMultiCommand 2021-11-10 20:12:27 +01:00
AsamK
64af4914ee Rename JsonRpcCommand class 2021-11-10 17:11:16 +01:00
AsamK
2879b31aba Rename --username to --account 2021-11-10 16:55:13 +01:00
AsamK
81a11dc977 Implement socket/tcp for daemon command 2021-11-10 12:12:35 +01:00
AsamK
25314b1d17 Synchronize plain text output of incoming messages 2021-11-10 10:30:34 +01:00