Commit graph

579 commits

Author SHA1 Message Date
AsamK
24714454dd Send self messages only as sync messages
To align with the way Note to Self messages are implemented on Android
2019-03-23 22:08:25 +01:00
AsamK
6f7350d031 Update dependencies 2019-03-23 22:05:59 +01:00
AsamK
6d5cfa32e2 Fix NPE when receiving contacts sync message
Fixes #191
2019-02-13 21:19:31 +01:00
AsamK
c90d5db608 Update libsignal-service-java 2019-02-13 21:05:27 +01:00
Parker Higgins
58895aaf03 Expose filename of attachments to json message handler (#185) 2019-01-09 20:17:45 +01:00
AsamK
f3878c54a6 Update signal-service-java 2018-12-16 21:14:00 +01: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
Tai Groot
5d843d82ef Minor spelling/grammar fix 2018-12-14 08:46:40 +01:00
AsamK
fd550d6088 Update libsignal-service-java 2018-12-12 22:21:49 +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
e809792467 Save account after creating profile key 2018-11-25 22:07:48 +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
Vincent Olivier
cf972e5b6c Manager : removeLinkedDevices updates isMultiDevice and saves the account
Manager : addDevice, getLinkedDevices save the account

SignalAccount : save/load isMultiDevice
SignalAccount : save profileKey
SignalAccount : registrationLockPin doesn't automagically becomes the "null" string, and stays null if null
2018-11-21 11:04:10 +01:00
AsamK
7e897fa6d0 Fix inspections 2018-11-20 23:27:36 +01:00
AsamK
f60a10eb6e Split commands into separate classes 2018-11-20 23:19:39 +01:00
AsamK
2ab70edc68 Fix minor inspection issues 2018-11-19 23:00:32 +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
35c00f1b2a Update libsignal-service-java to 2.9.0 2018-10-19 23:39:25 +02:00
AsamK
bb342babba Update signal-service-java to 2.8.0 2018-08-12 21:35:17 +02: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
Benedikt Constantin Radtke
bebe7bc513 Send correct expiry value in group and contact syncs 2018-05-19 14:43:49 +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
nico
bdffcffd7a Add getGroupIds() to DBUS
getGroupIds() returns a list of group ids (byte arrays)
2018-05-04 22:33:29 +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
e63e6e1fa2 Update libsignal-service-java 2017-12-29 14:56:03 +01:00
AsamK
e36a2f862c Update libsignal-service-java 2017-09-07 22:18:08 +02: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
24ab58cc14 Delete empty message cache directories 2017-06-16 00:00:19 +02:00
AsamK
4d3e67ff83 Use Base64 from libsignal 2017-06-16 00:00:19 +02:00
AsamK
ef55196806 Close input stream from received sync groups and contacts
Fixes #75
2017-06-15 19:48:24 +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
4730e9cbc7 Re-order imports to match original structure 2017-02-26 11:27:59 +01:00
Pim Otte
b1ec1e6587 Rename thread package to threads 2017-02-26 11:27:59 +01:00