Commit graph

446 commits

Author SHA1 Message Date
John Freed
f70507ca24 modify DBus SignalControl
remove listAccounts() from methods available to DBus clients, because it returns a list of "DBusPath" objects, which DBus itself cannot handle
add getObjectPath, because it is already implemented in DbusSignalControlImpl.java
2021-08-12 09:13:35 +02:00
John Freed
2e82a12bbf implement methods for DBus clients
in Signal.java:
+    String getObjectPath()
+    List<String> listDevices()
+    void updateAccount()
+    List<String> listIdentity(String number)
2021-08-12 09:03:59 +02:00
John Freed
29aea22ff1 Merge branch 'master' into dbus 2021-08-11 07:31:31 +02:00
John Freed
da28e62974 implement isRegistered() method for DBus 2021-08-11 07:10:27 +02:00
John Freed
8aed357994 track attachment data (#671 and #316)
create new DbusAttachment type
allow URLs for --attachment option
update manpage
update wiki with signalmail
implement setExpirationTimer() for DBus
implement isRegistered() for DBus
add sendNoteToSelfMessageWithDBusAttachments
add sendGroupMessageWithDBusAttachments
add sendMessageWithDBusAttachments
bump version
2021-08-11 07:08:43 +02:00
AsamK
0bbd75c469 Implement JsonRpc command for remoteDelete and sendReaction 2021-08-10 18:51:48 +02:00
AsamK
b24fa98e3c Implement JsonRpc command for quitGroup 2021-08-10 18:51:48 +02:00
AsamK
7b809c6547 Implement JsonRpc command for joinGroup 2021-08-10 18:51:48 +02:00
AsamK
5d8d0dcad6 Implement JsonRpc command for commands without output 2021-08-10 18:51:48 +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
b09677a46c fix 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
6c00054407 Replace --group parameter with --group-id 2021-08-10 14:34:22 +02:00
AsamK
15e8029715 Add PlainTextWriter interface 2021-08-09 19:03:59 +02:00
AsamK
641dc7577c Rename --endsession parameter to --end-session 2021-08-09 17:42:34 +02:00
AsamK
8f781c019f Add dbus SignalControl interface to register/verify/link accounts 2021-08-08 18:43:14 +02:00
AsamK
48b2c7ff8a Refactor output writers 2021-08-08 17:32:55 +02:00
AsamK
f449a242e4 Remove fallbacks to deprecated data paths 2021-08-08 15:52:54 +02:00
AsamK
17d00d6ca8 Remove deprecated --json parameter 2021-08-08 10:44:23 +02:00
AsamK
8dced20b0f Make name optional for updateContact
Fixes #676
2021-08-05 18:00:05 +02:00
AsamK
07893546d0 Add hint to sticker upload error message 2021-07-31 22:19:31 +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
ca3871e223 Handle missing captcha parameter correctly
Fixes #644
2021-06-15 23:15:36 +02:00
AsamK
0b2d37fe68 Rename method parameter 2021-06-13 14:32:58 +02:00
AsamK
7e223dc228 Add sendTyping command
Fixes #602
2021-06-12 17:57:15 +02:00
AsamK
ec3d2346ef Strip url scheme from captcha string 2021-06-12 16:22:51 +02:00
AsamK
87406e2cdb Implement --delete flag for quitGroup
Closes #638
2021-06-12 11:33:19 +02:00
AsamK
a257a2f7b5 Add dbus signal handler on specific object
Otherwise the messages from all exported objects would be received

Fixes #635
2021-05-31 19:07:30 +02:00
AsamK
a70dfdc8b8 Fix error message 2021-05-28 18:09:41 +02:00
AsamK
cfc818872f Add hint that messages must be regularly received 2021-05-24 12:18:33 +02:00
AsamK
b8a0901fbd Improve command line help
Fixes #450
2021-05-20 20:54:11 +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
2016cf2a5f Fix camel case device-id flag 2021-05-16 16:11:55 +02:00
AsamK
81ee2c2d2b Update group with remaining options, after creating it 2021-05-15 18:26:45 +02:00
AsamK
ea633efc9c Prevent last admin from leaving group 2021-05-15 18:05:07 +02:00
AsamK
78f22c7020 Implement setting group permissions 2021-05-15 17:04:22 +02:00
AsamK
7170a68571 Implement setting expiration timer for groups 2021-05-15 17:04:22 +02:00
AsamK
03589f858b Implement configuring of group link 2021-05-15 17:04:22 +02:00
AsamK
3de30e166f Implement add/remove admin privileges 2021-05-15 17:04:22 +02:00
AsamK
a91e3f762e Implement remove group members 2021-05-15 17:04:22 +02:00
AsamK
4ebacd0e1f Split createGroup out of updateGroup method 2021-05-14 21:33:04 +02:00
AsamK
dd0effc10c Add group descriptions 2021-05-13 20:05:46 +02:00
AsamK
8e8eed7b06 Update argparse4j 2021-05-13 18:06:57 +02:00
AsamK
06e9f8ba64 Update libsignal-service-java 2021-05-13 17:30:29 +02:00
AsamK
db756bfe10 Add --service-environment to allow testing against sandbox environment 2021-05-12 23:28:52 +02:00
Florian7843
726103d138
Fixed typo, where "note" was written as "not" (#619) 2021-05-12 22:55:31 +02:00
AsamK
3fc5bec149 Prevent NPE during migration, when profile key is null 2021-05-12 19:34:09 +02:00
AsamK
0455d3e8a8 Warn when using a legacy data path 2021-05-11 18:39:11 +02:00
AsamK
ab95e635ce Allow relinking an account if it's no longer authorized 2021-05-09 12:22:44 +02:00