Commit graph

77 commits

Author SHA1 Message Date
AsamK
2ab42ca547 Remove libsignal-service from manager lib API 2021-11-06 13:38:10 +01:00
AsamK
31dec5a666 Handle UnauthenticatedResponseException internally 2021-10-31 20:53:03 +01:00
AsamK
782f96b580 Replace UnregisteredUserException 2021-10-31 20:43:29 +01:00
AsamK
659761f006 Add InactiveGroupLinkException 2021-10-31 19:45:30 +01:00
AsamK
3cf7721cd7 Add InvalidDeviceLinkException exception 2021-10-31 19:35:00 +01:00
AsamK
d783df510a Add Pair record 2021-10-31 19:15:52 +01:00
AsamK
1e87240db8 Use java.util.Optional in Manager interface 2021-10-31 18:01:17 +01:00
John Freed
cb70209c60 Implement viewedReceipt
commit cd29144e81
Merge: 14532be f884175
Author: AsamK <asamk@gmx.de>
Date:   Sat Oct 30 12:46:59 2021 +0200

    Merge branch 'master' into dbus_sendviewed

commit 14532befde
Author: John Freed <okgithub@johnfreed.com>
Date:   Thu Oct 7 08:24:00 2021 +0200

    update deliveryReceipt to conform

commit a9a6edaf3f
Author: John Freed <okgithub@johnfreed.com>
Date:   Thu Oct 7 07:40:20 2021 +0200

    implement viewedReceipt

    for Dbus and Json -- note that this changes the JsonReceiptMessage
    structure

    update documentation

Closes #764
2021-10-30 12:54:41 +02:00
AsamK
1fae09433d Improve dbus error handling
Fixes #787
2021-10-27 20:00:36 +02:00
AsamK
ce7aa580b6 Use record classes 2021-10-27 14:39:40 +02:00
AsamK
3b685190a8 Add missing unexport groups call 2021-10-15 21:00:21 +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
c56a8df9b2 Return struct instead of object path directly for dbus list devices 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
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
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
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
610e32aa52 Implement announcement groups 2021-08-22 09:55:53 +02:00
AsamK
8f781c019f Add dbus SignalControl interface to register/verify/link accounts 2021-08-08 18:43:14 +02:00
AsamK
30690785fd Update libsignal-service-java 2021-05-19 22:51:35 +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