Commit graph

24 commits

Author SHA1 Message Date
VisibleCode
e508fc50e9 Add listContacts subcommand (#248) 2019-12-03 21:57:27 +01:00
AsamK
df81911e44 Extract getMessageReceiver method 2019-11-11 21:24:04 +01: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
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
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
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
f3878c54a6 Update signal-service-java 2018-12-16 21:14:00 +01:00
AsamK
fd550d6088 Update libsignal-service-java 2018-12-12 22:21:49 +01:00
AsamK
e809792467 Save account after creating profile key 2018-11-25 22:07:48 +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
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
Renamed from src/main/java/org/asamk/signal/Manager.java (Browse further)