AsamK
e2b7bda65b
Use SignalServiceAddress in more places
2020-03-23 17:09:56 +01:00
AsamK
4ff28458ff
Refactor sticker upload
2020-03-23 14:49:21 +01:00
Signal Stickers
23845eab47
Add support for uploading stickers.
...
Closes #256
2020-03-23 14:49:17 +01:00
AsamK
bb06ae9d9a
Mark group as active when the user hasn't left it
...
Fixes #269
2020-03-22 18:27:29 +01:00
AsamK
67f6378f7f
Fix storing received profile keys
2020-03-22 17:17:28 +01:00
AsamK
a6562b3b7b
Implement sending messages using unidentified sender
2020-03-22 17:17:14 +01:00
AsamK
d7f7c84e6c
Fix some inspection issues
2020-03-21 14:41:11 +01:00
AsamK
0dc6b1327e
Update libsignal-service-java
...
- Use new ProfileKey class instead of byte array
- Add capabilities (for future support of uuid and groups v2)
2020-03-21 14:37:02 +01:00
AsamK
063fb95dca
Add command sendReaction for emoji reactions
2020-02-22 11:29:17 +01:00
AsamK
37ed02f4ce
Update to libsignal 2.15.3_unofficial_2
2020-02-12 20:36:23 +01:00
Daniel Schäufele
8b9640ba14
Add support for blocking contacts and accounts ( #260 )
...
* Add blockContact and unblockContact subcommands
* Send blocked status in contacts sync
* Use only one method for blocking and unblocking
* Add blocking/unblocking for groups
* Prevent blocked messages from being printed
* Print blocked property in listContacts and listGroups commands
* Handle BlockedListMessages
* Store blocked state from incoming contact and group sync messages
* Minor changes and corrections
* Add block and unblock commands to man file (and also fix some headings of commands)
2020-01-22 08:39:28 +01:00
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
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
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
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
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
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
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