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
AsamK
00339b1abe
Improve user status command
2021-01-03 21:04:32 +01:00
Atomic-Bean
1c5de83370
Command to check if number is registered ( #391 )
...
* Added the isRegistered command
* Minor fixes
* Corrected description
* Added AsamK's suggestions
Fixes #178
2021-01-03 21:02:34 +01:00
AsamK
425626ef94
Implement registration pin lock with KBS
...
Fixes #323
Fixes #268
2020-12-31 15:41:00 +01:00
AsamK
b738f5740c
Move storage package to manager
2020-12-29 22:15:38 +01:00
AsamK
9e6a353427
Move group classes to separate package
2020-12-29 22:09:06 +01:00
AsamK
22f19c4067
Use File instead of String
2020-12-26 18:08:01 +01:00
AsamK
9942d967a4
Refactor to use GroupId class to wrap the byte array
...
Helps distinguish between group v1 and v2 ids
2020-12-24 16:36:47 +01:00
AsamK
445e8592c4
Implement join group via invitation link
2020-12-21 21:21:40 +01:00
AsamK
9912da9546
Show group invite link in group list
2020-12-21 16:59:54 +01:00
AsamK
591c0fe8a3
Reformat project
2020-12-08 20:59:20 +01:00
AsamK
d267974223
Show pending and requesting members of v2 groups
2020-12-04 19:51:36 +01:00
AsamK
6a1b7dc597
Implement support for sending/receiving Group V2 messages
...
Requires libzkgroup to work, which is currently only included for x86_64 Linux
Related #354
2020-11-23 22:40:14 +01:00
AsamK
c3e1d4fc75
Add possibility to pass a captcha token to register command
...
Fixes #251
2020-11-22 11:03:14 +01:00
AsamK
a634b46eb2
Remove legacy EncapsulatedExceptions from manager
2020-11-22 10:38:28 +01:00
AsamK
2c5a70cc47
Improve stderr output
2020-08-14 20:49:54 +02:00
AsamK
e6c1e03e21
Update dependencies
...
updateProfile can now only update both name and avatar at the same time,
as the upstream API has changed.
2020-08-09 13:00:29 +02:00
Matúš Košút
b382a4260b
Contact config - message expiration time ( #308 )
...
Co-authored-by: Matus Kosut <matus.kosut@ntnu.no>
2020-05-16 22:55:53 +02:00
AsamK
1e0aa8929d
Separate DbusSignal implementation from Manager
2020-05-15 23:11:18 +02:00
AsamK
d08508e6ef
Move Exception classes to corresponding package
2020-05-15 20:03:51 +02:00
AsamK
a02031aa80
Refactor Manager to always have a valid SignalAccount instance
...
Extract ProvisioningManager to link new devices
2020-05-11 18:07:37 +02:00
AsamK
00777a469c
Switch to hypfvieh dbus-java
...
Removes transitive dependency on libmatthew-unix-java
Fixes #285
2020-05-06 09:13:49 +02:00
AsamK
ae41d0c502
Output json when receiving messages from dbus and --json parameter is given
...
Fixes #138
2020-04-03 16:22:10 +02:00
AsamK
e04c45766d
Rename fingerprint to safety number
...
Fixes #92
2020-04-03 14:27:18 +02:00
AsamK
f51f0cbbcf
Return message timestamp after sucessfully sending a message
...
Fixes #104
2020-04-03 14:02:18 +02:00
narodnik
d49d536c32
Add a new sync dbus message which shows messages you sent. Necessary for having synchronized chats where you want your message to appear. Format is similar to receive message dbus except instead of sender, it has sender (source) and receiver (destination). ( #289 )
2020-04-03 13:16:57 +02:00
AsamK
7e5aec6e15
Store uuids in identity and session store
2020-03-29 13:32:45 +02:00
AsamK
9546a79308
Print better error message for captcha required error
2020-03-24 15:14:20 +01:00
AsamK
f982d2752e
Store group member uuids in group store
...
The member list is now stored as a mixed list of strings and objects, e.g.:
"members": [ "+XXXX", { "number": "+XXXX", "uuid": "XXX-XX" } ]
2020-03-23 20:51:13 +01:00
AsamK
e2b7bda65b
Use SignalServiceAddress in more places
2020-03-23 17:09:56 +01:00
AsamK
4f1ee83475
Reformat project
2020-03-23 14:49:21 +01:00
AsamK
4ff28458ff
Refactor sticker upload
2020-03-23 14:49:21 +01:00
Signal Stickers
23845eab47
Add support for uploading stickers.
...
Closes #256
2020-03-23 14:49:17 +01:00
AsamK
3f315df6c8
Add toString method to Hex utils
2020-03-23 13:21:56 +01:00
AsamK
bb06ae9d9a
Mark group as active when the user hasn't left it
...
Fixes #269
2020-03-22 18:27:29 +01:00
AsamK
d7f7c84e6c
Fix some inspection issues
2020-03-21 14:41:11 +01:00
AsamK
063fb95dca
Add command sendReaction for emoji reactions
2020-02-22 11:29:17 +01:00