Commit graph

673 commits

Author SHA1 Message Date
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
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
6be0b2da77 Implement blocking for v2 groups 2020-12-21 15:24:52 +01:00
AsamK
17608ce522 Implement accepting and declining group invitations 2020-12-21 15:23:50 +01:00
AsamK
c49b05cd75 Get UUIDs for unknown numbers from server 2020-12-21 14:56:37 +01:00
AsamK
2617757edb Add group v2 id to json output 2020-12-21 14:30:42 +01:00
AsamK
4d17e50323 Bump version 2020-12-15 23:07:16 +01:00
AsamK
49c4b762b6 Prevent NullPointerException when destination is null for some reason 2020-12-15 18:58:49 +01:00
AsamK
1098b64711 Implement quit group 2020-12-14 19:14:58 +01:00
AsamK
1fd62ee342 Implement updating of v2 groups 2020-12-13 12:01:18 +01:00
AsamK
98dee97cc6 Apply decrypted group change when receiving signed change 2020-12-12 11:51:38 +01:00