Commit graph

780 commits

Author SHA1 Message Date
John Freed
da1bb918bf implement Dbus addDevice and removeDevice methods
update documentation
2021-08-17 16:12:28 +02:00
John Freed
bc3f8803dc more debug message cleanup 2021-08-17 11:03:14 +02:00
John Freed
26a3bc1481 more debug messages 2021-08-17 06:52:31 +02:00
John Freed
49c21a522f Merge branch 'master' into dbus_methods 2021-08-17 06:16:23 +02:00
John Freed
d7f1e1df51 add some debugging messages 2021-08-16 20:41:01 +02:00
AsamK
89d498f87d Update README.md 2021-08-16 19:55:30 +02:00
AsamK
7089912fb0 Remove registrationLockV1 code
The corresponding endpoint has been removed on the Signal server
2021-08-15 21:30:21 +02:00
AsamK
dbfa8bb66b Update graalvm-config 2021-08-15 21:29:26 +02:00
AsamK
28f735741a Fix JsonRpcLocalCommand interface 2021-08-15 21:20:26 +02:00
AsamK
b810e303ec Update libsignal-service-java 2021-08-15 21:04:03 +02:00
John Freed
621bdc1492 restore "lost" files: DbusAttachment.java and DbusMention.java 2021-08-15 18:12:35 +02:00
John Freed
2e7f4c7085 implement Dbus commands
* String link()
* String link(String newDeviceName)
* void register(String number, boolean voiceVerification)
* void registerWithCaptcha(String number, boolean voiceVerification, String captcha)
* void verify(String number, String verificationCode)
* void verifyWithPin(String number, String verificationCode, String pin)

make dataPath and serviceEnvironment public from App class

make USER_AGENT ("signal-cli") public from BaseConfig class

add timeout error handling to finishDeviceLink method

update DBus documentation
2021-08-15 18:09:06 +02:00
AsamK
7ea3900854 Update CHANGELOG.md 2021-08-15 16:05:52 +02:00
John Freed
661d78e4a8 update Dbus documentation 2021-08-15 10:01:22 +02:00
John Freed
76406367ea DBus methods
implement expanded updateGroup

allow group commands to use Base64 strings as group identifiers
* setGroupBlocked
* getGroupName
* getGroupMembers
* sendGroupMessage
* sendGroupMessageReaction
* updateGroup

update AvatarStore to make some methods public or static

reuse UpdateGroupCommand code

update DBus documentation
2021-08-15 09:41:29 +02:00
John Freed
908deb43c5 add getBase64GroupIds method for DBus 2021-08-14 09:56:24 +02:00
technillogue
0c070b9719
add reflection config for v1 groups (#683) 2021-08-14 09:26:43 +02:00
John Freed
58d55ef807 implement setExpirationTimer for DBus clients 2021-08-12 14:48:18 +02:00
John Freed
5059925b22 Revert "track attachment data (#671 and #316)"
This reverts commit 8aed357994.
2021-08-12 14:38:47 +02:00
John Freed
0f437dbfd1 implement setExpirationTimer for DBus clients 2021-08-12 10:14:26 +02:00
John Freed
fcb604c29b temporarily remove setExpirationTimer to allow cherry-pick 2021-08-12 10:13:36 +02:00
John Freed
33bb95e13f implement isRegistered methods for DBus clients
in Signal.java:
+    boolean isRegistered(String number)
+    List<Boolean> isRegistered(List<String> numbers)
2021-08-12 09:53:38 +02:00
John Freed
022cb969f6 temporarily remove isRegistered to allow cherry-pick 2021-08-12 09:52:28 +02:00
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
54f7bc5d79 Bump version 2021-08-07 10:22:55 +02:00
AsamK
dde98e9b06 Update bouncycastle 2021-08-07 10:22:30 +02:00
AsamK
8dced20b0f Make name optional for updateContact
Fixes #676
2021-08-05 18:00:05 +02:00
AsamK
b1ebdc8343 Extract decryptProfileIfKeyKnown helper method 2021-07-31 22:19:31 +02:00
AsamK
07893546d0 Add hint to sticker upload error message 2021-07-31 22:19:31 +02:00
technillogue
9e72248e1b
update Graal reflect config with legacy classes (#667) 2021-07-24 09:58:29 +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
dedbafb99a Bump version 2021-06-20 14:33:04 +02:00