Commit graph

43 commits

Author SHA1 Message Date
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
c3a9022bec Add debug log when reading message from stdin 2021-12-05 16:26:18 +01:00
AsamK
d13d150fe1 Implement sending message quotes
Fixes #213
2021-11-21 19:18:17 +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
ce7aa580b6 Use record classes 2021-10-27 14:39:40 +02:00
AsamK
ce70a623c2 Use Java 17 2021-10-27 14:39:40 +02:00
AsamK
c9f5550d18 Remove workaround for getBoolean from JsonRpcLocalCommand 2021-09-30 19:36:31 +02:00
AsamK
593cd7d8ca Refactor dbus client mode to improve maintainability 2021-09-28 22:33:35 +02:00
AsamK
2044a7d7a5 Print stack trace of exception causes in verbose mode 2021-09-08 20:38:24 +02:00
AsamK
8bcd8d87d2 Update libsignal-service-java 2021-08-29 13:37:24 +02:00
AsamK
7f64a9812c Prevent non-admins from sending to announcement groups
Only reactions are allowed
2021-08-26 09:34:06 +02:00
AsamK
467a48bac5 Add RecipientIdentifier as external Manager interface 2021-08-25 20:12:10 +02:00
AsamK
af292d8f0e Refactor command creation 2021-08-20 18:42:38 +02:00
AsamK
a8bbdb54d0 Implement jsonRpc command
Co-authored-by: technillogue <technillogue@gmail.com>

Closes #668
2021-08-10 18:16:50 +02:00
AsamK
6c00054407 Replace --group parameter with --group-id 2021-08-10 14:34:22 +02:00
AsamK
641dc7577c Rename --endsession parameter to --end-session 2021-08-09 17:42:34 +02:00
AsamK
48b2c7ff8a Refactor output writers 2021-08-08 17:32:55 +02:00
AsamK
b8a0901fbd Improve command line help
Fixes #450
2021-05-20 20:54:11 +02:00
AsamK
8e8eed7b06 Update argparse4j 2021-05-13 18:06:57 +02:00
Florian7843
726103d138
Fixed typo, where "note" was written as "not" (#619) 2021-05-12 22:55:31 +02:00
AsamK
357e278f48 Remove error handling for oracle unlimited crypto issue 2021-05-01 08:45:10 +02:00
Adaptive Garage
8f4d89e2f7
dbus implementation of sendReaction command (#581) 2021-04-02 08:53:54 +02:00
AsamK
221d937eec Add CommandException to abstract cli return codes for errors 2021-02-23 21:42:42 +01:00
AsamK
c6395b9f35 Use PlainTextWriter for all cli stdout output 2021-02-22 20:43:02 +01:00
AsamK
de273586b4 Use var instead of explicit types 2021-02-21 15:01:41 +01:00
AsamK
06404667a1 Use exit 4 when sending a single recipient message fails due to untrusted identity key
Fixes #88
2021-01-16 15:38:38 +01:00
AsamK
e1134d832a Send self messages as normal messages, new flag --note-to-self for sync message
Fixes #373
2021-01-16 11:56:41 +01:00
AsamK
b31e97dd2d Move recipients/group argument check to send commands 2021-01-16 10:21:38 +01:00
AsamK
ca86c421eb Allow calling signal-cli without -u flag
For daemon command all local users will be exposed as dbus objects
If only one local user exists, all other commands will use that user,
otherwise a user has to be specified.
2021-01-16 09:00:03 +01:00
AsamK
fc76c9badf Remove unnecessary isRegistered checks 2021-01-15 12:21:19 +01:00
AsamK
9e6a353427 Move group classes to separate package 2020-12-29 22:09:06 +01:00
AsamK
9942d967a4 Refactor to use GroupId class to wrap the byte array
Helps distinguish between group v1 and v2 ids
2020-12-24 16:36:47 +01:00
AsamK
591c0fe8a3 Reformat project 2020-12-08 20:59:20 +01:00
AsamK
1e0aa8929d Separate DbusSignal implementation from Manager 2020-05-15 23:11:18 +02:00
AsamK
d08508e6ef Move Exception classes to corresponding package 2020-05-15 20:03:51 +02:00
AsamK
f51f0cbbcf Return message timestamp after sucessfully sending a message
Fixes #104
2020-04-03 14:02:18 +02:00
AsamK
e2b7bda65b Use SignalServiceAddress in more places 2020-03-23 17:09:56 +01:00
AsamK
d7f7c84e6c Fix some inspection issues 2020-03-21 14:41:11 +01:00
AsamK
b2efef4d8c Reformat imports 2019-10-16 19:27:42 +02:00
Herohtar
51c130b406 Don't abort on empty recipient unless there was also no group specified. (#176)
* Don't abort on empty recipient unless there was also no group specified.

* Fixed potential error if user tries to send `endsession` to a group

* Display error if trying to send `endsession` to a group

* No need for this check since we're handling that condition above
2018-12-14 18:15:12 +01:00
AsamK
f60a10eb6e Split commands into separate classes 2018-11-20 23:19:39 +01:00