John Freed
0691a91dad
Dbus methods isMember and isAdmin
...
create isAdmin method in parallel with isMember
extend both to have the ability to add or remove members or admins
update documentation
2021-08-19 11:19:08 +02:00
John Freed
217afd74c4
Dbus functions for groups
...
Dbus functions that take a groupId or base64GroupId as input now throw a Failure exception if the string is malformed.
group Dbus functions now return a GroupNotFound exception (instead of an empty or false result with no exception) if the group is not found
implemented new Dbus methods
+ getGroupAdminMembers
+ getGroupPendingMembers
+ getGroupRequestingMembers
+ getGroupInviteUri
updated documentation
2021-08-19 00:09:02 +02:00
John Freed
c39b5450ff
implement uploadStickerPack for Dbus; fix isRegistered error
...
Note: isRegistered (and related methods) for Dbus can throw an
InvalidNumberException when the phone number is incorrectly formatted.
Previously this led to uncaught exceptions. They are now handled.
The problem is in SignalServiceAccountManager.java in the
package org.whispersystems.signalservice.api, which ignores the
first character of a proposed phone number and checks that the
rest is a legitimate int64.
updated documentation
2021-08-18 10:43:26 +02:00
John Freed
663f6f6e73
implement Dbus methods
...
sendContacts
sendSyncRequest
trust
update documentation
2021-08-18 07:44:44 +02:00
John Freed
21db752d28
implement sendTyping for Dbus
...
update documentation
2021-08-17 22:10:32 +02:00
John Freed
545eec12d8
Dbus methods
...
implement setPin and removePin
implement unregister (which kills the daemon upon success)
updateProfile now implements given name and family name (as well as the former method with just a name)
update documentation
2021-08-17 19:37:18 +02:00
John Freed
da1bb918bf
implement Dbus addDevice and removeDevice methods
...
update documentation
2021-08-17 16:12:28 +02:00
John Freed
d7f1e1df51
add some debugging messages
2021-08-16 20:41:01 +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
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
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
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
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
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
AsamK
b7f05a1c80
Extend updateProfile command to set family name
2021-05-05 19:32:52 +02:00
AsamK
3357945a5a
Reduce usage of deprecated resolved methods
2021-05-04 21:18:25 +02:00
AsamK
36475bb632
Prevent updateContact and block commands on linked devices
...
The changes would be overwritten with the next sync anyway
Fixes #600
2021-05-03 19:46:35 +02:00
AsamK
5b8c0c4e2d
Refactor group store
2021-05-03 18:43:45 +02:00
AsamK
224d8194cc
Refactor contact and profile store
2021-05-03 18:43:45 +02:00
AsamK
8a0c6cae15
Refactor identity key store
2021-05-01 08:46:00 +02:00
Adaptive Garage
05abb3f9f6
Send remote delete ( #593 )
...
* Implementation of remoteDelete command, iteration 1
* Implementation of remoteDelete command, iteration 2
* Implementation of remoteDelete command, iteration 3
* Implementation of remoteDelete command, iteration 4
* Implementation of remoteDelete command, iteration 5
* Implementation of remoteDelete command, iteration 6
* Renaming dbus methods remoteGroupDelete -> sendGroupRemoteDeleteMessage, remoteDelete -> sendRemoteDeleteMessage
2021-04-05 19:49:45 +02:00
Adaptive Garage
8f4d89e2f7
dbus implementation of sendReaction command ( #581 )
2021-04-02 08:53:54 +02:00
Adimarantis
a7b414a870
some small dbus return code fixes ( #556 )
...
* some small dbus return code fixes
* Added DBus manpage
* changed getDisplayName behaviour
* reverted change in manager
2021-03-07 21:05:49 +01:00
AsamK
253757cb31
Improve dbus impl
2021-03-01 20:39:45 +01:00
AsamK
631f10c916
Reformat
2021-03-01 20:33:12 +01:00
Adimarantis
1d2c7a479d
Dbus enhancements ( #543 )
...
* Dbus enhancements
* reverted sendMessage, completed isContactBlocked, fixed formatting
* Updates based on feedback and fixes
* Added trim
* fixed getContactName Exception handling
2021-03-01 20:31:17 +01:00
AsamK
de273586b4
Use var instead of explicit types
2021-02-21 15:01:41 +01:00
AsamK
9f3276d7e3
Reformat code
2021-02-19 17:56:43 +01:00
Adimarantis
d0ce3c1543
Add updateProfile to Dbus ( #522 )
...
* Added updateProfile on Dbus
* added updateProfile on Dbus (fix)
Co-authored-by: Adimarantis <adimarantis@gmail.com>
2021-02-19 17:54:59 +01:00
AsamK
06404667a1
Use exit 4 when sending a single recipient message fails due to untrusted identity key
...
Fixes #88
2021-01-16 15:38:38 +01:00
AsamK
e1134d832a
Send self messages as normal messages, new flag --note-to-self for sync message
...
Fixes #373
2021-01-16 11:56:41 +01:00
AsamK
a643609ed2
Create an AvatarStore
2021-01-13 22:35:58 +01:00
AsamK
a52f6a6657
Replace Collections with Set.of/Map.of/List.of
2020-12-30 16:50:17 +01:00