Commit graph

87 commits

Author SHA1 Message Date
AsamK
38267fa2a1 Update copyright notices 2021-01-11 19:51:24 +01:00
AsamK
e74be0c345 Refactor register and verify 2021-01-10 23:06:13 +01:00
AsamK
22f19c4067 Use File instead of String 2020-12-26 18:08:01 +01:00
AsamK
5c754b6f5d Use slf4j simple logger 2020-12-26 18:07:58 +01:00
AsamK
8957a08453 Print warning if libzkgroup is missing 2020-12-21 21:56:48 +01:00
AsamK
591c0fe8a3 Reformat project 2020-12-08 20:59:20 +01:00
AsamK
5829e3f117 Create service config only once 2020-06-04 17:59:05 +02:00
AsamK
1e0aa8929d Separate DbusSignal implementation from Manager 2020-05-15 23:11:18 +02:00
AsamK
d520023fc7 Refactor Manager and SignalAccount to implement Closeable
Should make sure that file lock and web socket connections are closed
reliably.
2020-05-13 23:33:40 +02:00
AsamK
a02031aa80 Refactor Manager to always have a valid SignalAccount instance
Extract ProvisioningManager to link new devices
2020-05-11 18:07:37 +02:00
AsamK
8163a42d3a Split manager ServiceConfig from BaseConfig 2020-05-11 14:51:55 +02: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
995de3ef5b Improve behavior, when authorization fails
- register command should still be possible, to regain authorization
- reset uuid after registering, otherwise the verify request will fail
2020-03-24 18:15:21 +01:00
Lars K.W. Gohlke
f3ecddba6f refactor extracts method for security inits 2020-01-27 17:39:26 +01:00
AsamK
4bafc7212a Update copyright notice 2020-01-21 20:32:19 +01:00
AsamK
b2efef4d8c Reformat imports 2019-10-16 19:27:42 +02:00
AsamK
6f7350d031 Update dependencies 2019-03-23 22:05:59 +01:00
AsamK
c90d5db608 Update libsignal-service-java 2019-02-13 21:05:27 +01:00
Tai Groot
5d843d82ef Minor spelling/grammar fix 2018-12-14 08:46:40 +01:00
AsamK
337f84ed21 Change default data path to $XDG_DATA_HOME/signal-cli
Closes #152 and #125
2018-12-08 18:26:54 +01:00
AsamK
5f2190713a Use custom SecureRandom instance
- Use NativePRNG algorithm instead of using SHA1PRNG if available
- Register a custom security provider to use the same SecureRandom everywhere
2018-11-25 22:07:34 +01:00
AsamK
f60a10eb6e Split commands into separate classes 2018-11-20 23:19:39 +01:00
AsamK
860ec6f5dc Extract static methods from Main 2018-11-19 23:00:13 +01:00
AsamK
184354ffb7 Extract utils methods 2018-11-18 19:53:53 +01:00
AsamK
35c72f692f Extract SignalAccount from Manager 2018-11-18 17:12:39 +01:00
AsamK
701328b8c2 Move Manager to sub package 2018-11-18 11:08:24 +01:00
AsamK
7443225d96 Extract util methods to separate classes 2018-11-18 10:45:26 +01:00
AsamK
4ab904b88e Update signal-service-java dependency 2018-11-18 00:34:26 +01:00
AsamK
cafba8579f Reduce duplicate code 2018-08-12 21:35:17 +02:00
AsamK
12c296f9ec Add missing null check
Fixes #142
2018-08-12 21:35:17 +02:00
Riamse
fbbd194e40 Duct tape solution to make daemon actually output JSON 2018-05-17 18:07:31 +02:00
Riamse
a44034a79e Add command line argument for JSON output in daemon 2018-05-17 18:07:31 +02:00
AsamK
9b9ba0683b Print quotes from messages 2018-05-03 21:59:14 +02:00
AsamK
e057743232 Support registration lock PIN 2018-03-31 23:41:58 +02:00
AsamK
139fc358a2 Add output for new message fields 2018-01-21 23:16:57 +01:00
AsamK
d5fb37a416 Update argparse4j 2017-12-29 15:01:21 +01:00
AsamK
9b56aa6259 Update libsignal-service 2017-08-17 21:31:07 +02:00
AsamK
804949ddea Send dbus signal, when receipt is received
Fixes #84
2017-06-18 12:53:06 +02:00
AsamK
8717665d1d Implement json output for receive 2017-06-16 12:05:22 +02:00
AsamK
4d3e67ff83 Use Base64 from libsignal 2017-06-16 00:00:19 +02:00
AsamK
4377a2179b Send and receive verified messages
Fixes #85
2017-06-11 17:25:18 +02:00
AsamK
0f1d0597ae Update dependencies
Sets the complete flag for contacts message, Fixes #81
2017-05-20 11:52:57 +02:00
AsamK
debcabd014 Implement updateGroup command via dbus
Fixes #77
2017-05-07 10:31:18 +02:00
AsamK
3c3d3e92dd Update dependencies, add attachment filename support
Fixes #76
2017-04-01 15:27:37 +02:00
AsamK
474372da6b Reformat 2017-02-26 11:35:46 +01:00
Pim Otte
0e16594a87 Actual re-order (I'm a dummy) 2017-02-26 11:27:59 +01:00
Pim Otte
a5aeec8902 Modifying methods to be public to match package division 2017-02-26 11:27:59 +01:00
Pim Otte
5845dad769 Whitespace and output formatting fixes 2017-02-22 21:20:10 +01:00
Pim Otte
b0d7daeca2 Add ListGroups command
Option: -d/--detailed to display group members
2017-02-22 21:20:10 +01:00
AsamK
0a68303ca4 Add command to update account attributes
This can fix problems with receiving messages, if for some reason, the
fetchesMessages property of the server is set incorrectly.
2017-02-18 12:35:32 +01:00