Commit graph

98 commits

Author SHA1 Message Date
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
8e8eed7b06 Update argparse4j 2021-05-13 18:06:57 +02:00
Florian7843
726103d138
Fixed typo, where "note" was written as "not" (#619) 2021-05-12 22:55:31 +02:00
AsamK
ab95e635ce Allow relinking an account if it's no longer authorized 2021-05-09 12:22:44 +02:00
AsamK
6cb867cbeb Encrypt/decrypt device names 2021-05-08 21:25:12 +02:00
AsamK
56ac648922 Reduce default receive timeout to 1 second 2021-05-08 15:30:27 +02:00
AsamK
a4e34e600e Check if account file already exists before actually completing device link 2021-05-08 15:19:49 +02:00
AsamK
b7f05a1c80 Extend updateProfile command to set family name 2021-05-05 19:32:52 +02:00
AsamK
9e3c9db5c0 Add sendSyncRequest command 2021-05-03 20:37:13 +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
0091c1cf26 Add --delete-account argument to completely delete an account 2021-05-03 18:43:45 +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
AsamK
357e278f48 Remove error handling for oracle unlimited crypto issue 2021-05-01 08:45:10 +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
Adaptive Garage
ea035db94f
Fix sendReaction to group (#580)
Co-authored-by: rknotek <roman.knotek@comint.cz>
2021-03-24 21:49:03 +01:00
AsamK
2935b96070 Return a Manager from ProvisioningManager and RegistrationManager when finished 2021-03-08 21:21:51 +01:00
AsamK
221d937eec Add CommandException to abstract cli return codes for errors 2021-02-23 21:42:42 +01:00
AsamK
c6395b9f35 Use PlainTextWriter for all cli stdout output 2021-02-22 20:43:02 +01:00
AsamK
de273586b4 Use var instead of explicit types 2021-02-21 15:01:41 +01:00
AsamK
0dc33e1892 Add more information for CaptchaRequiredException 2021-02-13 18:40:27 +01:00
AsamK
3ed776e4cc Only attempt to delete profile avatar if it exists
Fixes #486
2021-02-13 15:16:54 +01:00
AsamK
a811d1a05a Add support for about and aboutEmoji for profiles 2021-01-24 00:02:07 +01:00
AsamK
a2debdb234 Check if output type is supported by command 2021-01-16 21:12:01 +01:00
AsamK
690ce2829f Fix logger names 2021-01-16 20:11:50 +01:00
AsamK
03bf043959 Extract JsonWriter for json output 2021-01-16 20:11:32 +01:00
AsamK
d4b4bd8603 Add an enum for output types 2021-01-16 18:52:06 +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
b31e97dd2d Move recipients/group argument check to send commands 2021-01-16 10:21:38 +01:00
AsamK
ca86c421eb Allow calling signal-cli without -u flag
For daemon command all local users will be exposed as dbus objects
If only one local user exists, all other commands will use that user,
otherwise a user has to be specified.
2021-01-16 09:00:03 +01:00
AsamK
9a775171b5 Replace Base64 class from libsignal with java.util.Base64 2021-01-15 22:32:13 +01:00
AsamK
fc76c9badf Remove unnecessary isRegistered checks 2021-01-15 12:21:19 +01:00
AsamK
cc40c437d1 Use global output flag for daemon command 2021-01-15 12:09:37 +01:00
AsamK
5938d54784 Add --verbose flag to show extended logging
Fixes #379
2021-01-15 11:43:53 +01:00
AsamK
a643609ed2 Create an AvatarStore 2021-01-13 22:35:58 +01:00
AsamK
0624d6a808 Make loggers private 2021-01-13 20:19:34 +01:00
AsamK
f0834c7a47 Reformat man doc and clarify help text 2021-01-13 17:04:58 +01:00
Atomic-Bean
90f5cd79c9
Added JSON output to listGroups and allowed json to be activated with -j (#401)
* Added json output to listGroups and allowed json to be activated with -j

* Renamed classes

* Added AsamK's suggestions

* Removed isRegisted check since that is causing a conflict with upstream

* Fixed an issue in the help message for listGroupsCommand

* Re-enabled --json for receive and getUserStatuses commands as deprecated

* Added better depricated warning message and clarified some java doc stuff
2021-01-13 16:51:31 +01:00
AsamK
e74be0c345 Refactor register and verify 2021-01-10 23:06:13 +01:00