Commit graph

65 commits

Author SHA1 Message Date
AsamK
1c9d16e199 Improve error handling for tcp address parsing 2021-12-16 21:10:15 +01:00
AsamK
62687d103f Replace collect(Collectors.toList()) with toList() 2021-12-11 13:10:39 +01:00
AsamK
06e93b84da Handle send failures as non fatal and return detailed results in json output
Fixes #348
2021-12-11 12:44:11 +01:00
AsamK
ceafe96e81 Include recipient identifier in send error message 2021-12-10 20:21:14 +01:00
AsamK
e83f43065e Remove dead code and fix inspection issues 2021-12-05 10:43:57 +01:00
AsamK
d13d150fe1 Implement sending message quotes
Fixes #213
2021-11-21 19:18:17 +01:00
AsamK
fc8b6d0fcb Clean up base package 2021-11-14 15:00:06 +01:00
AsamK
81a11dc977 Implement socket/tcp for daemon command 2021-11-10 12:12:35 +01:00
AsamK
2ab42ca547 Remove libsignal-service from manager lib API 2021-11-06 13:38:10 +01:00
AsamK
9075cc1a30 Refactor receive api 2021-11-06 12:17:50 +01:00
AsamK
1e87240db8 Use java.util.Optional in Manager interface 2021-10-31 18:01:17 +01:00
AsamK
ce70a623c2 Use Java 17 2021-10-27 14:39:40 +02:00
AsamK
b07200342a Use challenge captchas for proof required exception 2021-10-24 19:32:13 +02:00
AsamK
d72b838560 Refactor Manager interface 2021-09-28 21:13:02 +02:00
AsamK
7c9fd9d0fb Refactor NoteToSelf to singleton class 2021-09-28 21:13:02 +02:00
AsamK
50e5acdf52 Fix printing proof required error
libsignal-service classifies it as network failure as well.
2021-09-10 10:13:51 +02:00
AsamK
eee140f74f Add submitRateLimitChallenge command
Related #708
2021-09-09 19:20:48 +02:00
AsamK
a17262d9ff Catch ProofRequiredException from getPreKeys request and wrap in SendMessageResult 2021-09-09 18:54:48 +02:00
AsamK
2044a7d7a5 Print stack trace of exception causes in verbose mode 2021-09-08 20:38:24 +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
11c90fa032 Add json output listIdentities command 2021-08-21 18:54:55 +02:00
AsamK
6826e3cb49 Implement JsonRpc command for updateGroup
Co-authored-by: technillogue <technillogue@gmail.com>

Closes #666
2021-08-10 18:51:48 +02:00
AsamK
a8bbdb54d0 Implement jsonRpc command
Co-authored-by: technillogue <technillogue@gmail.com>

Closes #668
2021-08-10 18:16:50 +02:00
AsamK
cfc818872f Add hint that messages must be regularly received 2021-05-24 12:18:33 +02:00
AsamK
30690785fd Update libsignal-service-java 2021-05-19 22:51:35 +02:00
AsamK
f445cfb5c1 Include proof required information in sending error 2021-05-16 16:53:04 +02:00
AsamK
357e278f48 Remove error handling for oracle unlimited crypto issue 2021-05-01 08:45:10 +02:00
AsamK
221d937eec Add CommandException to abstract cli return codes for errors 2021-02-23 21:42:42 +01:00
AsamK
c6395b9f35 Use PlainTextWriter for all cli stdout output 2021-02-22 20:43:02 +01:00
AsamK
de273586b4 Use var instead of explicit types 2021-02-21 15:01:41 +01:00
AsamK
03c30519b1 Refactor ReceiveMessageHandler
Introduce PlainTextWriter to improve indentation handling.
2021-02-20 19:22:36 +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
06404667a1 Use exit 4 when sending a single recipient message fails due to untrusted identity key
Fixes #88
2021-01-16 15:38:38 +01:00
AsamK
bbdd6a8910 Cleanup utils 2020-12-29 23:01:58 +01:00
AsamK
9e6a353427 Move group classes to separate package 2020-12-29 22:09:06 +01:00
AsamK
22f19c4067 Use File instead of String 2020-12-26 18:08:01 +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
445e8592c4 Implement join group via invitation link 2020-12-21 21:21:40 +01:00
AsamK
591c0fe8a3 Reformat project 2020-12-08 20:59:20 +01:00
AsamK
6a1b7dc597 Implement support for sending/receiving Group V2 messages
Requires libzkgroup to work, which is currently only included for x86_64 Linux

Related #354
2020-11-23 22:40:14 +01:00
AsamK
a634b46eb2 Remove legacy EncapsulatedExceptions from manager 2020-11-22 10:38:28 +01:00
AsamK
0f3aa22519 Retrieve avatar profile image 2020-09-10 12:20:04 +02:00
Lars K.W. Gohlke
0dfe4d189b cleanup: removes deprecation 2020-09-06 20:43:23 +02:00
Lars K.W. Gohlke
a747ddbae4 replaces strings to enable compile time checking 2020-09-06 20:43:23 +02:00
AsamK
1e0aa8929d Separate DbusSignal implementation from Manager 2020-05-15 23:11:18 +02:00
AsamK
d08508e6ef Move Exception classes to corresponding package 2020-05-15 20:03:51 +02:00
AsamK
7e5aec6e15 Store uuids in identity and session store 2020-03-29 13:32:45 +02: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