AsamK
f39983f78a
Add new dbus message received signals with extendable extras map
2021-10-31 12:40:21 +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
9b102c49d0
Adapt behavior of receive command as dbus client to match normal mode
2021-10-24 19:16:35 +02:00
AsamK
5c389c875d
Split receiveMessages method
2021-10-21 21:19:14 +02:00
AsamK
f5ba7894ae
Add setIgnoreAttachments method
2021-10-21 21:01:48 +02:00
AsamK
c9f5550d18
Remove workaround for getBoolean from JsonRpcLocalCommand
2021-09-30 19:36:31 +02:00
AsamK
2044a7d7a5
Print stack trace of exception causes in verbose mode
2021-09-08 20:38:24 +02:00
AsamK
6dd1a21606
Handle queued actions also when thread is interrupted
2021-08-23 14:39:40 +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
15e8029715
Add PlainTextWriter interface
2021-08-09 19:03:59 +02:00
AsamK
48b2c7ff8a
Refactor output writers
2021-08-08 17:32:55 +02:00
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