Commit graph

73 commits

Author SHA1 Message Date
AsamK
e1134d832a Send self messages as normal messages, new flag --note-to-self for sync message
Fixes #373
2021-01-16 11:56:41 +01:00
AsamK
591c0fe8a3 Reformat project 2020-12-08 20:59:20 +01: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
0287272a3b Make fields final for DBusSignal classes 2020-05-14 23:44:24 +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
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
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
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
cfd1e5544d Canonicalize number before getting/setting contact info 2020-01-21 22:08:16 +01:00
AsamK
f60a10eb6e Split commands into separate classes 2018-11-20 23:19:39 +01:00
AsamK
35c72f692f Extract SignalAccount from Manager 2018-11-18 17:12:39 +01:00
nico
bdffcffd7a Add getGroupIds() to DBUS
getGroupIds() returns a list of group ids (byte arrays)
2018-05-04 22:33:29 +02:00
AsamK
804949ddea Send dbus signal, when receipt is received
Fixes #84
2017-06-18 12:53:06 +02:00
AsamK
debcabd014 Implement updateGroup command via dbus
Fixes #77
2017-05-07 10:31:18 +02:00
Finn
6f2e8716c7 Allow retreving and updating group info and contact names via dbus (#62)
* dbus method to get contact info

* Add getGroupName method

* Save after updating contact name

* allow group updates over dbus

* Allow retreiving group member list as well

* Space after if before conditions if( -> if (

* Return an empty string if the contact is unknown

* Handle null/non-existant groups better

* Remove debug output and allow updating the avatar

* Remove extra variables in update messages
2017-02-22 21:26:34 +01:00
AsamK
1efdf04394 Prevent sending to groups that the user has quit
Fixes #23
2016-08-12 18:24:30 +02:00
AsamK
c0a0f89896 Improve exception handling 2016-07-13 17:27:06 +02:00
AsamK
5c117bd863 Correctly use API for sending non group messages
is necessary so the correct sync messages are generated
for linked accounts
2016-04-08 23:36:43 +02:00
AsamK
af8a27e87f Add timestamp to dbus MessageReceived signal 2016-03-27 23:35:36 +02:00
AsamK
eabd361405 Rename to signal-cli
Changes experimental dbus interface from
org.asamk.TextSecure to org.asamk.Signal
2016-03-27 16:17:42 +02:00
Renamed from src/main/java/org/asamk/TextSecure.java (Browse further)