Commit Graph
224 Commits
Author SHA1 Message Date
AsamK 7f9379f78b Canonicalize number when listing identities 2020-01-21 22:09:21 +01:00
AsamK cfd1e5544d Canonicalize number before getting/setting contact info 2020-01-21 22:08:16 +01:00
AsamK eca1737d28 Upload attachment before sending to fix sending attachments to multiple recipients
Fixes #259
2020-01-21 20:32:52 +01:00
AsamK 4bafc7212a Update copyright notice 2020-01-21 20:32:19 +01:00
AsamK 60d530eae4 Add output for additional sync messages 2020-01-06 14:36:19 +01:00
AsamK e03d04e14b Fix showing sender of synced messages 2020-01-06 14:35:54 +01:00
AsamK 3b2682a57a Display more information for received messages 2019-12-31 13:02:49 +01:00
AsamK 6cfddc0aff Improve SignalServiceAddress handling 2019-12-30 16:47:12 +01:00
signal-stickers 85025d2e25 Update to libsignal 2.15.3 (#255) 2019-12-30 16:25:12 +01:00
AsamK 8115b16bfb Use guessContentTypeFromStream as fallback for probeContentType method
Fixes #233
Fixes #109
2019-12-07 15:47:57 +01:00
VisibleCode e508fc50e9 Add listContacts subcommand (#248) 2019-12-03 21:57:27 +01:00
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 209c613e43 Add basic sealed sender support 2019-11-11 19:27:11 +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 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 129f48e109 Fix sending sync messages for group messages
Fixes #210
2019-09-05 19:43:24 +02:00
AsamK bd69660ac6 Send expirationTime with all group updates
Fixes #140
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 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 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