Commit graph

30 commits

Author SHA1 Message Date
AsamK
d08508e6ef Move Exception classes to corresponding package 2020-05-15 20:03:51 +02:00
AsamK
a02031aa80 Refactor Manager to always have a valid SignalAccount instance
Extract ProvisioningManager to link new devices
2020-05-11 18:07:37 +02:00
AsamK
00777a469c Switch to hypfvieh dbus-java
Removes transitive dependency on libmatthew-unix-java

Fixes #285
2020-05-06 09:13:49 +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
AsamK
e04c45766d Rename fingerprint to safety number
Fixes #92
2020-04-03 14:27:18 +02:00
AsamK
f51f0cbbcf Return message timestamp after sucessfully sending a message
Fixes #104
2020-04-03 14:02:18 +02:00
narodnik
d49d536c32
Add a new sync dbus message which shows messages you sent. Necessary for having synchronized chats where you want your message to appear. Format is similar to receive message dbus except instead of sender, it has sender (source) and receiver (destination). (#289) 2020-04-03 13:16:57 +02:00
AsamK
7e5aec6e15 Store uuids in identity and session store 2020-03-29 13:32:45 +02:00
AsamK
9546a79308 Print better error message for captcha required error 2020-03-24 15:14:20 +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
e2b7bda65b Use SignalServiceAddress in more places 2020-03-23 17:09:56 +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
d7f7c84e6c Fix some inspection issues 2020-03-21 14:41:11 +01:00
AsamK
063fb95dca Add command sendReaction for emoji reactions 2020-02-22 11:29:17 +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
signal-stickers
85025d2e25 Update to libsignal 2.15.3 (#255) 2019-12-30 16:25:12 +01:00
VisibleCode
e508fc50e9 Add listContacts subcommand (#248) 2019-12-03 21:57:27 +01:00
AsamK
faae998a7e Refactor UpdateContactCommand 2019-10-16 19:27:51 +02: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
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
Herohtar
51c130b406 Don't abort on empty recipient unless there was also no group specified. (#176)
* Don't abort on empty recipient unless there was also no group specified.

* Fixed potential error if user tries to send `endsession` to a group

* Display error if trying to send `endsession` to a group

* No need for this check since we're handling that condition above
2018-12-14 18:15:12 +01:00
AsamK
f60a10eb6e Split commands into separate classes 2018-11-20 23:19:39 +01:00