Commit graph

1728 commits

Author SHA1 Message Date
AsamK
89552f916b Support receiving unidentified messages for dbus 2019-11-11 21:29:12 +01:00
AsamK
df81911e44 Extract getMessageReceiver method 2019-11-11 21:24:04 +01:00
AsamK
8ad9c9b0ff Improve receiving unidentified messages 2019-11-11 21:22:12 +01:00
AsamK
90b752b912 Use correct sender device for receiving sealed messages 2019-11-11 19:34:31 +01:00
kpcyrd
50b6174dd6 Use https for checkLibVersions 2019-11-11 19:28:55 +01:00
kpcyrd
209c613e43 Add basic sealed sender support 2019-11-11 19:27:11 +01:00
AsamK
9d836414f0 Bump version 2019-11-02 13:40:58 +01:00
Gabriel Fernández Valdés
717120aed1 added sync type to sync messages json 2019-11-01 09:52:57 +01:00
AsamK
faae998a7e Refactor UpdateContactCommand 2019-10-16 19:27:51 +02:00
Jérémy Bobbio
53e7f83188 Add commands to update contact names on Signal servers
As Signal Desktop does not allow its users to update the contact names,
it would be nice to be able to update contact names from signal-cli when
the latter is the master device.

The command `setContactName` allow to set the name for the given contact
in the local store. `sendContacts` can then be used to push the updated
contact list on Signal servers.

Closes #228
2019-10-16 19:27:42 +02:00
AsamK
0722ec2361 Update dependencies 2019-10-16 19:27:42 +02:00
AsamK
b2efef4d8c Reformat imports 2019-10-16 19:27:42 +02:00
AsamK
958d10fcd1 Merge profile commands to a single UpdateProfileCommand 2019-10-16 19:27:42 +02:00
Jérémy Bobbio
abb6ebc910 Add commands to update profile name and avatar
Two new commands are added `setProfileName` and `setProfileAvatar` which
allow to update the name and avatar visible by other users for the
current profiles.

Closes #227
2019-10-16 19:27:36 +02:00
AsamK
c53bb132eb Include profile key in outgoing messages 2019-10-16 19:15:50 +02:00
Gabriel Fernández Valdés
62696fbc67 Added JsonSyncDataMessage class with destination field. 2019-09-29 16:58:57 +02:00
Gabriel Fernández Valdés
7e267f1ebb Added ReceiptMessage to JSON output 2019-09-29 12:47:51 +02:00
AsamK
625034b2d2 Update dependencies 2019-09-29 11:21:41 +02:00
AsamK
e490604d43 Output attachment id as json string to prevent rounding due to conversion to double
Fixes #226
2019-09-29 11:21:15 +02:00
AsamK
9aa13e92fe Require java 1.8
- VERSION_1_7 is deprecated in java 12
- the used gradle version already requires java 1.8
2019-09-11 11:30:13 +02:00
AsamK
1df862234d Switch to github actions 2019-09-11 11:01:27 +02:00
AsamK
1184a87f2d Bump version 2019-09-05 20:04:42 +02:00
AsamK
129f48e109 Fix sending sync messages for group messages
Fixes #210
2019-09-05 19:43:24 +02:00
AsamK
6e9a3dd649 Update dependencies 2019-09-05 13:49:19 +02:00
AsamK
bd69660ac6 Send expirationTime with all group updates
Fixes #140
2019-09-05 13:49:19 +02:00
AsamK
83122737dc Update gradle wrapper 2019-09-05 13:49:19 +02:00
AsamK
e36a54e7cc Synchronize fileChannel access
Potention fix for #89
2019-09-05 13:49:19 +02:00
Juergen Kurzmann
8c295a3f90 Update SignalAccount storage on unregister
- save registered false state in the SignalAccount storage on unregister action
2019-09-05 12:29:23 +02:00
Juergen Kurzmann
78474453d7 Throw error on failed authorization
- to exit signal-cli in case the number was registered elsewhere
2019-08-03 12:10:29 +02:00
AsamK
8574eb3f95 Update dependencies 2019-07-13 14:24:14 +02:00
AsamK
93ae4641fa Update libsignal-service-java 2019-07-13 14:22:20 +02:00
AsamK
35181251bf Update libsignal-service-java dependency 2019-06-19 21:47:18 +02:00
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
a055f282c6 Bump version 0.6.2 2018-12-16 21:14:25 +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
ea8f7e7528 Bump version 0.6.1
- Added getGroupIds dbus command
- Use "NativePRNG" pseudo random number generator, if available
- Switch default data path:
  $XDG_DATA_HOME/signal-cli ($HOME/.local/share/signal-cli)
  Existing data paths will continue to work (used as fallback)
2018-12-09 18:27:11 +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
ffbc356218 Update gradle wrapper 2018-12-01 14:31:41 +01:00
Lars K.W. Gohlke
65390ef1d8 makes checkLibVersions gradle 5 compatible 2018-12-01 14:28:34 +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