Commit graph

381 commits

Author SHA1 Message Date
signal-stickers
b68575dd16
Use correct sticker pack key length of 32. (#288)
* Use correct sticker pack key length of 32.

* Update dependencies

Co-authored-by: AsamK <asamk@gmx.de>
2020-03-30 21:19:17 +02:00
AsamK
57390ae735 Bump version 2020-03-29 15:26:28 +02:00
AsamK
b3870d6281 Update gradle wrapper 2020-03-29 14:49:01 +02:00
AsamK
ff18b1bf99 Get untrusted identity from inner exception
Fixes #283
2020-03-29 14:45:11 +02:00
AsamK
7e5aec6e15 Store uuids in identity and session store 2020-03-29 13:32:45 +02:00
AsamK
416f43b225 Fix potential crash that could happen when legacy thread.id is null or empty 2020-03-27 15:33:27 +01:00
AsamK
286070c054 Use legacy sender certificate, until uuid support is complete 2020-03-25 20:34:12 +01:00
AsamK
d50dc69f08 Remove unused methods from LegacyJsonThreadStore 2020-03-24 19:30:21 +01:00
AsamK
5df8f32820 Mark our own identity key as trusted initially
to match Signal-Android behavior
2020-03-24 18:16:05 +01:00
AsamK
995de3ef5b Improve behavior, when authorization fails
- register command should still be possible, to regain authorization
- reset uuid after registering, otherwise the verify request will fail
2020-03-24 18:15:21 +01:00
AsamK
9546a79308 Print better error message for captcha required error 2020-03-24 15:14:20 +01:00
AsamK
efa1c43b0b Get uuids from contact store when resolving numbers 2020-03-24 14:36:12 +01:00
AsamK
26aa31edc2 Only send our profile key to recipient who are in our contact list 2020-03-24 14:36:12 +01:00
AsamK
20bf605e36 Only store our own profile key in contact list, if a contact entry already exists 2020-03-24 14:36:12 +01:00
AsamK
6665dc0e48 Set uuid after verify and linking and request it at startup for existing clients 2020-03-24 14:36:12 +01:00
AsamK
1b56485fc8 Send delivery receipt for data messages that need it
With the unidentified sender messages, the Signal server cannot do this
automatically anymore.
2020-03-23 20:51:13 +01:00
AsamK
b62694dbc7 Remove ThreadStore and store message expiration time in group/contact store
To match the implemenation of Signal-Android
2020-03-23 20:51:13 +01:00
AsamK
f982d2752e Store group member uuids in group store
The member list is now stored as a mixed list of strings and objects, e.g.:
"members": [ "+XXXX", { "number": "+XXXX", "uuid": "XXX-XX" } ]
2020-03-23 20:51:13 +01:00
AsamK
a4e1d69788 Store contact uuids in contact store 2020-03-23 17:43:37 +01:00
AsamK
eb0648828a Show recipient of sent sync message also when destination is not present 2020-03-23 17:10:44 +01:00
AsamK
0ce64dc923 Use lambda for ThreadLocal 2020-03-23 17:10:11 +01:00
AsamK
e2b7bda65b Use SignalServiceAddress in more places 2020-03-23 17:09:56 +01:00
AsamK
8a44b37774 Add documentation for sticker upload 2020-03-23 14:49:21 +01:00
AsamK
4f1ee83475 Reformat project 2020-03-23 14:49:21 +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
3f315df6c8 Add toString method to Hex utils 2020-03-23 13:21:56 +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
31434ac5ec Update gradle wrapper 2020-03-21 14:32:42 +01:00
AsamK
063fb95dca Add command sendReaction for emoji reactions 2020-02-22 11:29:17 +01:00
AsamK
f3b8df789d Print message reactions 2020-02-22 10:35:55 +01:00
AsamK
37ed02f4ce Update to libsignal 2.15.3_unofficial_2 2020-02-12 20:36:23 +01:00
AsamK
2cd6b2b99b Show contact name for message Sender
Fixes #265
2020-02-12 20:23:32 +01:00
Lars K.W. Gohlke
f3ecddba6f refactor extracts method for security inits 2020-01-27 17:39:26 +01:00
AsamK
88a5614f2b Update gradle wrapper 2020-01-26 14:50:32 +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
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
AsamK
4ca3fe87f4 Update gradle wrapper 2019-12-30 16:25:28 +01:00
signal-stickers
85025d2e25 Update to libsignal 2.15.3 (#255) 2019-12-30 16:25:12 +01:00