Commit graph

29 commits

Author SHA1 Message Date
AsamK
17d00d6ca8 Remove deprecated --json parameter 2021-08-08 10:44:23 +02:00
AsamK
a257a2f7b5 Add dbus signal handler on specific object
Otherwise the messages from all exported objects would be received

Fixes #635
2021-05-31 19:07:30 +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
AsamK
ab95e635ce Allow relinking an account if it's no longer authorized 2021-05-09 12:22:44 +02:00
AsamK
56ac648922 Reduce default receive timeout to 1 second 2021-05-08 15:30:27 +02:00
AsamK
357e278f48 Remove error handling for oracle unlimited crypto issue 2021-05-01 08:45:10 +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
a2debdb234 Check if output type is supported by command 2021-01-16 21:12:01 +01:00
AsamK
03bf043959 Extract JsonWriter for json output 2021-01-16 20:11:32 +01:00
AsamK
d4b4bd8603 Add an enum for output types 2021-01-16 18:52:06 +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
9a775171b5 Replace Base64 class from libsignal with java.util.Base64 2021-01-15 22:32:13 +01:00
AsamK
0624d6a808 Make loggers private 2021-01-13 20:19:34 +01:00
AsamK
f0834c7a47 Reformat man doc and clarify help text 2021-01-13 17:04:58 +01:00
Atomic-Bean
90f5cd79c9
Added JSON output to listGroups and allowed json to be activated with -j (#401)
* Added json output to listGroups and allowed json to be activated with -j

* Renamed classes

* Added AsamK's suggestions

* Removed isRegisted check since that is causing a conflict with upstream

* Fixed an issue in the help message for listGroupsCommand

* Re-enabled --json for receive and getUserStatuses commands as deprecated

* Added better depricated warning message and clarified some java doc stuff
2021-01-13 16:51:31 +01:00
AsamK
e74be0c345 Refactor register and verify 2021-01-10 23:06:13 +01:00
AsamK
00339b1abe Improve user status command 2021-01-03 21:04:32 +01:00
AsamK
591c0fe8a3 Reformat project 2020-12-08 20:59:20 +01:00
AsamK
00777a469c Switch to hypfvieh dbus-java
Removes transitive dependency on libmatthew-unix-java

Fixes #285
2020-05-06 09:13:49 +02:00
AsamK
ae41d0c502 Output json when receiving messages from dbus and --json parameter is given
Fixes #138
2020-04-03 16:22:10 +02:00
narodnik
d49d536c32
Add a new sync dbus message which shows messages you sent. Necessary for having synchronized chats where you want your message to appear. Format is similar to receive message dbus except instead of sender, it has sender (source) and receiver (destination). (#289) 2020-04-03 13:16:57 +02:00
AsamK
4f1ee83475 Reformat project 2020-03-23 14:49:21 +01:00
AsamK
d7f7c84e6c Fix some inspection issues 2020-03-21 14:41:11 +01:00
signal-stickers
85025d2e25 Update to libsignal 2.15.3 (#255) 2019-12-30 16:25:12 +01:00
AsamK
b2efef4d8c Reformat imports 2019-10-16 19:27:42 +02:00
AsamK
f60a10eb6e Split commands into separate classes 2018-11-20 23:19:39 +01:00