AsamK
9a775171b5
Replace Base64 class from libsignal with java.util.Base64
2021-01-15 22:32:13 +01:00
AsamK
e6ea5d55f8
Update man page
2021-01-15 22:32:13 +01:00
AsamK
8d985d84fb
Set log level to debug for verbose mode
2021-01-15 18:29:48 +01:00
AsamK
54a2a95fb5
Fix loading some account files without legacy store
2021-01-15 18:29:48 +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
20681b8d89
Extract some utils from manager
2021-01-14 22:19:54 +01:00
AsamK
5760a53831
Update man page
2021-01-14 22:19:54 +01:00
AsamK
c95897d17b
Fix file name for contact avatars
2021-01-14 21:26:20 +01:00
AsamK
96d316b1dd
Create an AttachmentStore
2021-01-14 21:26:01 +01:00
AsamK
9bb935b11f
Always include profile key in direct messages
...
Adjusts behavior to official client
Fixes #416
2021-01-14 18:41:21 +01:00
Atomic-Bean
9bba7a85ab
Added sticker field to json output. Also added hidden mac file to .gitignore ( #418 )
2021-01-14 18:10:35 +01:00
AsamK
a643609ed2
Create an AvatarStore
2021-01-13 22:35:58 +01:00
AsamK
6bd857ad8b
Always delete temporary files on exit
2021-01-13 20:56:23 +01:00
AsamK
0624d6a808
Make loggers private
2021-01-13 20:19:34 +01:00
AsamK
783c88cb6a
Ignore group message if the sender is not in the group
2021-01-13 19:13:03 +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
c9fa28d844
Extract pre key generation to KeyUtils
2021-01-12 20:40:17 +01:00
AsamK
bc47c0d5d6
Refactor message cache
2021-01-11 21:18:03 +01:00
AsamK
38267fa2a1
Update copyright notices
2021-01-11 19:51:24 +01:00
AsamK
e74be0c345
Refactor register and verify
2021-01-10 23:06:13 +01:00
AsamK
6c8a1ff3d3
Check for null query when decoding device link uri
2021-01-10 23:06:13 +01:00
AsamK
263fdceb94
Fix expectedV2Id serialization
2021-01-10 23:06:13 +01:00
AsamK
51db5495c0
Fix pin hash version to match android
2021-01-10 18:16:42 +01:00
AsamK
9244d1e8a8
Disable registration lock before removing pin
2021-01-10 18:16:26 +01:00
AsamK
0c7da68d98
Download group info if it's missing in the cache
2021-01-10 15:26:45 +01:00
AsamK
88d81c7a63
Move IdentityKeyPair generation to KeyUtils
...
in preparation for rust libsignal which doesn't provide the method
2021-01-04 18:04:10 +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
a475bc50e9
Bump version
2020-12-31 18:07:06 +01:00
AsamK
f1e5fc6c0b
Request profiles without uuid if libzkgroup is not available
...
Fixes #397
2020-12-31 16:14:30 +01:00
AsamK
425626ef94
Implement registration pin lock with KBS
...
Fixes #323
Fixes #268
2020-12-31 15:41:00 +01:00
AsamK
a52f6a6657
Replace Collections with Set.of/Map.of/List.of
2020-12-30 16:50:17 +01:00
AsamK
bbdd6a8910
Cleanup utils
2020-12-29 23:01:58 +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
5c754b6f5d
Use slf4j simple logger
2020-12-26 18:07:58 +01:00
AsamK
6a82029ab4
Use base64 group id for protobuf group file to match avatar files
...
base64 with '/' replaced by '_'
2020-12-25 13:46:35 +01:00
AsamK
caabde4acf
Fix prevention of adding group members a second time
2020-12-25 13:42:51 +01:00
AsamK
ff998fce57
Fix handling data messages of sync messages
2020-12-24 18:05:12 +01:00
AsamK
e11e020886
Retrieve group v2 avatars
...
Fixes #392
2020-12-24 17:53:23 +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
67f62947c6
Add null check and change some formatting
2020-12-23 11:33:01 +01:00
Atomic-Bean
58db3cbd53
Quotes, Mentions and Reactions in non-daemon JSON mode ( #389 )
...
* Added support for quotes, mentions and reactions in non-daemon JSON output
2020-12-23 11:23:40 +01:00
AsamK
548c313b4c
Download quote attachment thumbnails and slightly improve the quote output
2020-12-23 00:18:28 +01:00
AsamK
83d5d53d8a
Bump version
2020-12-21 21:59:41 +01:00
AsamK
8957a08453
Print warning if libzkgroup is missing
2020-12-21 21:56:48 +01:00