Commit graph

161 commits

Author SHA1 Message Date
AsamK
03f193b34c Fix deleting old group in dbus mode
Fixes #1192
2023-04-02 19:25:49 +02:00
AsamK
276ecef300 Update libsignal-service-java
- Use session based number verification and registration
2023-04-01 12:19:53 +02:00
AsamK
15da210de7 Print text styles in plain text output 2023-01-27 21:46:39 +01:00
AsamK
5771bb858f Allow using data URIs for updateGroup/updateProfile avatars
Fixes #1082
2022-11-14 19:31:40 +01:00
ced-b
2e4d346bc8
Add command to get an attachment (#1080)
* Add command to get an attachment

* Refactor retrieving of attachments to use StreamDetails

* Refactor AttachmentCommand to GetAttachmentCommand

* Minor improvements to GetAttachmentCommand

* Use JSON serializer to serialize binary data

Serializing the stream is better for memory handling than
loading the whole thing into the file.

* Clean up unneeded class

* Added command to doc

Co-authored-by: cedb <cedb@keylimebox.org>
2022-11-01 22:47:43 +01:00
AsamK
de2bfc7f79 Add optional message limit for receive command 2022-10-31 11:17:52 +01:00
AsamK
5ed9db4f08 Implement replying to stories 2022-10-30 18:18:21 +01:00
AsamK
fea19c9e20 Implement reacting to stories 2022-10-30 14:41:02 +01:00
AsamK
7eb7ee44f2 Refactor RecipientAddress 2022-10-08 17:42:03 +02:00
AsamK
489fb2ac22 Improve error message when joining a group with already pending admin approval 2022-10-07 19:31:27 +02:00
AsamK
6feff1e42b Add sendPaymentNotification dbus method
Closes #1010
2022-09-18 16:56:30 +02:00
AsamK
a593051512 Implement receive handling for story messages 2022-08-09 23:20:12 +02:00
AsamK
abebffb2cd Improve output for profile key update messages 2022-06-18 12:28:02 +02:00
AsamK
badbb55ef2 Split given/family name in updateContact command 2022-05-29 22:21:24 +02:00
AsamK
fd92a96e1a Wrap ignoreAttachments option in a ReceiveConfig record 2022-05-26 17:53:14 +02:00
AsamK
b178c7c67a Implement sending link previews
Fixes #276
2022-05-25 23:23:33 +02:00
AsamK
9ad24614cb Rename main/master device to primary device 2022-05-24 14:36:33 +02:00
AsamK
5b1c6c0d64 Split contact name field in given name and family name 2022-05-23 16:42:38 +02:00
AsamK
995eaa6e7c Print more detailed error message when registering with non-normalized number
Fixes #958
2022-05-22 22:01:11 +02:00
AsamK
3666531f8b Refactor manager update profile method 2022-05-21 09:29:58 +02:00
AsamK
7587a60387 Implement sendPayment notification command 2022-05-21 09:04:23 +02:00
AsamK
5f941004f5 Extend listContacts command with profiles and filtering 2022-05-20 11:53:33 +02:00
AsamK
b1e56faab2 Store profile sharing enabled for contacts
Automatically enable it when sending direct messages
2022-05-18 19:12:55 +02:00
AsamK
53f47d42fc Refactor set blocked methods to accept multiple recipientIds/groupIds 2022-05-18 11:09:05 +02:00
AsamK
bb9d44811c Include unrestricted unidentified access state in getUserStatus response 2022-05-17 20:39:06 +02:00
AsamK
22add1cbee Add command to delete local account data
Fixes #912
2022-05-16 12:27:43 +02:00
AsamK
a80e18169a Update libsignal-service-java 2022-05-14 15:51:23 +02:00
AsamK
2a20e70aab Add support for banning/unbanning group members 2022-04-09 19:03:05 +02:00
AsamK
8dc82a30af Fix check if there was a send error when creating a group without members
Fixes #925
2022-04-06 22:17:06 +02:00
AsamK
d27a12a6cf Update libsignal-service-java 2022-03-29 21:37:06 +02:00
AsamK
9eb97746c1 Update libsignal-service-java 2022-03-17 23:33:57 +01:00
AsamK
bb3b9692e3 Implement basic listAccounts for dbus client mode
Fixes #891
2022-02-12 11:20:05 +01:00
AsamK
f207c2abc3 Reexport dbus objects when self number changes 2022-02-11 21:03:54 +01:00
AsamK
6dabf4550b Fix type of device id to Integer
Fixes #889
2022-02-11 21:03:54 +01:00
AsamK
8e773d92c1 Align receive timeout behavior for dbus client with cli and JSON-RPC
Timeout is reset by every incoming message
2022-02-06 19:33:50 +01:00
AsamK
5cccf52103 Cleanup manager package 2022-02-06 17:46:34 +01:00
AsamK
be0993c5d8 Improve JSON-RPC subscribeReceive method with subscription id 2022-02-01 20:59:49 +01:00
AsamK
380c892e24 Add more informative thread names 2022-01-29 15:05:14 +01:00
AsamK
80befec589 Make deviceId an int 2022-01-22 16:41:00 +01:00
AsamK
8a5f98dac6 Add sticker pack url to list output 2022-01-03 18:50:27 +01:00
AsamK
beb3adcc72 Change stickerId to hex everywhere
Remove packKey from output
2022-01-03 17:51:04 +01:00
AsamK
e70463d7b8 Implement listStickerPacks command 2022-01-03 16:11:03 +01:00
AsamK
404063a080 Add support for sending stickers 2022-01-03 13:24:13 +01:00
AsamK
541ac777bc Improve pin failure message in dbus mode 2022-01-02 17:52:20 +01:00
AsamK
805f976d9e Implement multi account commands for dbus client 2022-01-02 17:31:12 +01:00
AsamK
ffcda46c31 Extract AccountHelper 2021-12-31 16:19:12 +01:00
AsamK
c88c92086e Add UnregisteredRecipientException 2021-12-30 17:15:49 +01:00
AsamK
9a72733c4f Improve exit code for message sending
Exit with 0 status code if the message was sent successfully to at least
one recipient, otherwise exit with status code 2 or 4 (for untrusted).

Fixes #828
2021-12-22 12:47:42 +01:00
AsamK
71e0c3f80c Use Duration for timeout 2021-12-20 16:12:37 +01:00
AsamK
d248f249e3 Implement more methods for DbusManagerImpl 2021-12-11 20:01:36 +01:00