Commit graph

30 commits

Author SHA1 Message Date
AsamK
ce7aa580b6 Use record classes 2021-10-27 14:39:40 +02:00
AsamK
ce70a623c2 Use Java 17 2021-10-27 14:39:40 +02:00
AsamK
d72b838560 Refactor Manager interface 2021-09-28 21:13:02 +02:00
AsamK
8bcd8d87d2 Update libsignal-service-java 2021-08-29 13:37:24 +02:00
AsamK
467a48bac5 Add RecipientIdentifier as external Manager interface 2021-08-25 20:12:10 +02:00
AsamK
9a9dd3b217 Extend error information in json output for received messages from untrusted identity
Fixes #91
2021-08-22 19:28:13 +02:00
AsamK
5bbfd32598 Extend json output with number and uuid fields 2021-08-22 12:36:25 +02:00
technillogue
8cc4877627
Include source name in JSON output (#663)
* add sourceName

* avoid sourceName might not have been initialized

* catch NullPointerException instead of checking for null

* Update JsonMessageEnvelope.java

Co-authored-by: AsamK <asamk@gmx.de>
Fixes #663
2021-07-23 17:19:09 +02:00
AsamK
30690785fd Update libsignal-service-java 2021-05-19 22:51:35 +02:00
AsamK
de273586b4 Use var instead of explicit types 2021-02-21 15:01:41 +01:00
AsamK
6c33a89f82 Reformat code 2021-02-19 18:04:08 +01:00
Atomic-Bean
237abe431b
Output "SharedContacts" field from a SignalDataMessage (#529)
* Initial version of SharedContacts from data message. Need to change location of avatar downloaded and fix plain text mode

* Made empty strings for json null and fixed plaintext output

* Removed old comments, simplified if-statement and added a 'leadingSpaces' field to the print attachments/mentions functions

* Added AsamK's changes
2021-02-19 18:03:15 +01:00
AsamK
c440520ea6 Ignore relay in json output if null 2021-01-17 12:36:11 +01:00
AsamK
a28ad7195c Add remote delete info to json output
Fixes #424
2021-01-17 11:57:46 +01:00
AsamK
3b29add396 Add typing message to json output
Fixes #423
2021-01-17 11:43:39 +01:00
AsamK
5a2c4b8dfd Add viewOnce boolean to json data message 2021-01-17 11:29:11 +01:00
AsamK
46a4c2c0d0 Make fields in json classes final and omit unnecessary nulls when serializing
Fix sender in sync read messages
2021-01-17 11:23:02 +01:00
AsamK
c588130491 Fix group info for json dbus messages 2021-01-16 20:12:24 +01:00
AsamK
9a775171b5 Replace Base64 class from libsignal with java.util.Base64 2021-01-15 22:32:13 +01:00
Atomic-Bean
9bba7a85ab
Added sticker field to json output. Also added hidden mac file to .gitignore (#418) 2021-01-14 18:10:35 +01:00
AsamK
9e6a353427 Move group classes to separate package 2020-12-29 22:09:06 +01:00
AsamK
9942d967a4 Refactor to use GroupId class to wrap the byte array
Helps distinguish between group v1 and v2 ids
2020-12-24 16:36:47 +01:00
AsamK
67f62947c6 Add null check and change some formatting 2020-12-23 11:33:01 +01:00
Atomic-Bean
58db3cbd53
Quotes, Mentions and Reactions in non-daemon JSON mode (#389)
* Added support for quotes, mentions and reactions in non-daemon JSON output
2020-12-23 11:23:40 +01:00
AsamK
2617757edb Add group v2 id to json output 2020-12-21 14:30:42 +01:00
AsamK
591c0fe8a3 Reformat project 2020-12-08 20:59:20 +01:00
AsamK
4485188789 Adapt json output to always use receiptMessage and remove isReceipt field
Fixes #346
2020-11-22 10:48:55 +01:00
AsamK
a54fc92c05 Fix behavior for recipients with only UUIDs
Fixes #359
2020-10-11 11:15:34 +02:00
AsamK
26840a2f0f Update dependencies 2020-05-06 20:11:26 +02:00
AsamK
ae41d0c502 Output json when receiving messages from dbus and --json parameter is given
Fixes #138
2020-04-03 16:22:10 +02:00