Commit graph

663 commits

Author SHA1 Message Date
AsamK
9b102c49d0 Adapt behavior of receive command as dbus client to match normal mode 2021-10-24 19:16:35 +02:00
AsamK
fc0a9b4102 Move receive thread handling to manager 2021-10-22 17:39:33 +02:00
AsamK
5c389c875d Split receiveMessages method 2021-10-21 21:19:14 +02:00
AsamK
430c155f7e Fix comment 2021-10-21 21:02:02 +02:00
AsamK
f5ba7894ae Add setIgnoreAttachments method 2021-10-21 21:01:48 +02:00
AsamK
3b685190a8 Add missing unexport groups call 2021-10-15 21:00:21 +02:00
AsamK
f094cd6806 Extract IdentityHelper 2021-10-12 22:14:39 +02:00
AsamK
997b3c6a2a Restrict blocking of group to master device 2021-10-12 20:57:25 +02:00
AsamK
997b4f0c3f Implement new dbus group interface 2021-10-09 17:41:23 +02:00
AsamK
b5d4a5000b Add DeviceNotFound Error 2021-10-09 17:04:17 +02:00
AsamK
179855272a Fix dbus properties GetAll method for variants 2021-10-07 20:56:29 +02:00
AsamK
c56a8df9b2 Return struct instead of object path directly for dbus list devices 2021-10-07 20:56:29 +02:00
AsamK
7829a8d631 Fix device id type 2021-10-07 20:56:29 +02:00
John Freed
d4838bd646
implement DBus submitRateLimitChallenge method (#763)
update documentation
2021-10-07 07:46:15 +02:00
AsamK
778adacb80 Refactor dbus linked devices interface
Export a separate dbus object for each device
2021-10-02 18:04:30 +02:00
AsamK
1548ce9c79 Add helper classes for exporting dbus properties 2021-10-02 17:16:08 +02:00
AsamK
6f5e72119e Implement configuration handling
Closes #747
2021-09-30 21:41:24 +02:00
AsamK
c9f5550d18 Remove workaround for getBoolean from JsonRpcLocalCommand 2021-09-30 19:36:31 +02:00
AsamK
593cd7d8ca Refactor dbus client mode to improve maintainability 2021-09-28 22:33:35 +02:00
AsamK
d72b838560 Refactor Manager interface 2021-09-28 21:13:02 +02:00
AsamK
7c9fd9d0fb Refactor NoteToSelf to singleton class 2021-09-28 21:13:02 +02:00
AsamK
4acab9043c Reformat code 2021-09-28 18:42:05 +02:00
John Freed
ba817e2ae4
Implement Dbus updateProfile with givenName (#734)
two versions of updateProfile implemented:
- one with givenName and familyName
- one with just name

update documentation
2021-09-28 18:41:10 +02:00
AsamK
375c9d60cf Refactor isRegistered 2021-09-26 21:49:36 +02:00
John Freed
1c4a32fef4
implement Dbus isRegistered() methods (#729)
* implement Dbus isRegistered() methods

isRegistered(number<s>) returns a boolean

isRegistered(numbers<as>) returns an array of Booleans

* Dbus isRegistered() methods

restore isRegistered() and respond to other requests by AsamK
2021-09-26 20:09:57 +02:00
AsamK
df8dd54791 Reformat code 2021-09-26 09:27:55 +02:00
John Freed
e78463ea0a
implement Dbus updateAccount and listDevices (#730)
* implement Dbus updateAccount and listDevices

implement updateAccount(deviceName<s>) to change device name

implement listDevices

update documentation

* implement Dbus addDevice and removeDevice

update documentation as well

* Dbus add/remove/list/update devices

modifications responding to requests by AsamK

* Dbus incorporating InvalidUri error

Co-authored-by: AsamK <asamk@gmx.de>
2021-09-26 09:26:12 +02:00
John Freed
d47574351e
implement Dbus setExpirationTimer (#735)
implement method

update documentation
2021-09-26 09:04:40 +02:00
John Freed
8bee08fd96
implement Dbus sync methods (#737)
implement two Dbus methods:
- sendContacts
- sendSyncRequest

update documentation
2021-09-26 09:00:26 +02:00
John Freed
1ca0e75ef1
implement Dbus stickerpack method (#740)
implement uploadStickerPack

update documentation
2021-09-26 08:59:38 +02:00
AsamK
982e887c9f Reformat code 2021-09-21 22:30:27 +02:00
John Freed
d622967192
Implement Dbus setPin and removePin (#733)
and update documentation
2021-09-21 22:26:26 +02:00
JtheSaw
11b3758416
Add sendTyping and sendReceipt to dbus interface (#718)
* Add sendTyping and sendReceipt to dbus interface

* Resolve requested changes

* Adapt documentation
2021-09-13 17:01:26 +02:00
AsamK
f48593f265 Exit immediately if an uncaught error is thrown on the main thread 2021-09-12 14:37:56 +02:00
AsamK
62d8873a92 Request message resend if incoming message can't be decrypted 2021-09-12 13:21:48 +02:00
AsamK
6ac4af4974 Fix plain text output for getUserStatus command
Fixes #711
2021-09-10 17:24:28 +02:00
AsamK
50e5acdf52 Fix printing proof required error
libsignal-service classifies it as network failure as well.
2021-09-10 10:13:51 +02:00
AsamK
eee140f74f Add submitRateLimitChallenge command
Related #708
2021-09-09 19:20:48 +02:00
AsamK
a17262d9ff Catch ProofRequiredException from getPreKeys request and wrap in SendMessageResult 2021-09-09 18:54:48 +02:00
AsamK
2044a7d7a5 Print stack trace of exception causes in verbose mode 2021-09-08 20:38:24 +02:00
AsamK
299671480f Add possibility to update the device name 2021-09-05 11:41:38 +02:00
AsamK
5a2e37a6e2 Only handle jsonRpc requests, after receive thread has caught up with old messages 2021-09-04 15:06:25 +02:00
AsamK
ac18006abb Implement support for receiving sender key messages 2021-09-04 13:54:06 +02:00
AsamK
e83bfb9e03 Print more information for call messages 2021-09-01 20:02:20 +02:00
AsamK
5743cf4455 Improve dbus register error message if called with invalid number 2021-08-30 13:33:54 +02:00
AsamK
8bcd8d87d2 Update libsignal-service-java 2021-08-29 13:37:24 +02:00
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