Commit graph

616 commits

Author SHA1 Message Date
AsamK
8bc6c0abcb Extract ContactHelper and IncomingMessageHandler 2021-08-26 15:25:02 +02:00
AsamK
cd3741d236 Rename internal quitGroup method 2021-08-26 10:28:04 +02:00
AsamK
7f64a9812c Prevent non-admins from sending to announcement groups
Only reactions are allowed
2021-08-26 09:34:06 +02:00
AsamK
95792be9bc Align cli param names for recipient 2021-08-25 21:21:19 +02:00
AsamK
467a48bac5 Add RecipientIdentifier as external Manager interface 2021-08-25 20:12:10 +02:00
AsamK
cd7172ee57 Refactor message send methods 2021-08-25 12:23:31 +02:00
AsamK
8c661c23be Accept single values for jsonrpc requests where a list is expected 2021-08-24 12:37:50 +02:00
AsamK
6c3106db5d Add new --trust-new-identities global parameter
Closes #360
2021-08-23 15:58:05 +02:00
AsamK
6dd1a21606 Handle queued actions also when thread is interrupted 2021-08-23 14:39:40 +02:00
AsamK
9a9dd3b217 Extend error information in json output for received messages from untrusted identity
Fixes #91
2021-08-22 19:28:13 +02:00
AsamK
4f67ac674b Trust an identity with its scannable safety numbers from the other device
Attention, the scannable fingerprints are asymetric, so the scannable
fingerprints from the local listIdentities command can't be used to trust
an identity. The scannable fingerprint must come from the other device.
2021-08-22 19:23:49 +02:00
AsamK
a7c9995655 Print message expiration time in listGroups command 2021-08-22 16:53:01 +02:00
AsamK
e3752e733a Implement sendReceipt command
Fixes #305
2021-08-22 14:25:48 +02:00
AsamK
76942ea458 Add member uuids to listGroup json output 2021-08-22 13:01:51 +02:00
AsamK
5bbfd32598 Extend json output with number and uuid fields 2021-08-22 12:36:25 +02:00
AsamK
610e32aa52 Implement announcement groups 2021-08-22 09:55:53 +02:00
AsamK
a18d6b3fe4 Add json output listContacts command 2021-08-21 19:03:51 +02:00
AsamK
11c90fa032 Add json output listIdentities command 2021-08-21 18:54:55 +02:00
AsamK
70fc2381d3 Add json output listDevices and uploadStickerPack commands 2021-08-21 18:31:14 +02:00
AsamK
893b7f7f9d Refactor message sending 2021-08-21 15:51:54 +02:00
AsamK
19f7b5d78d Log a debug message when dropping json rpc response for request without id 2021-08-20 19:04:35 +02:00
AsamK
ef2a013db3 Let commands specify their own default output if none is provided by the user 2021-08-20 18:43:54 +02:00
AsamK
af292d8f0e Refactor command creation 2021-08-20 18:42:38 +02:00
AsamK
e00eaf10e8 Adapt User-Agent string to get rate limit challenges 2021-08-18 19:37:03 +02:00
AsamK
28f735741a Fix JsonRpcLocalCommand interface 2021-08-15 21:20:26 +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