AsamK
783c88cb6a
Ignore group message if the sender is not in the group
2021-01-13 19:13:03 +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
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
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
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
548c313b4c
Download quote attachment thumbnails and slightly improve the quote output
2020-12-23 00:18:28 +01:00
AsamK
445e8592c4
Implement join group via invitation link
2020-12-21 21:21:40 +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
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
AsamK
c10910e466
Migrate local group to v2 if another member has migrated it
2020-12-12 11:42:38 +01:00
AsamK
591c0fe8a3
Reformat project
2020-12-08 20:59:20 +01:00
AsamK
4f2261e86f
Implement creating V2 Groups
2020-12-08 20:47:44 +01:00
AsamK
d267974223
Show pending and requesting members of v2 groups
2020-12-04 19:51:36 +01:00
AsamK
6bfcba4940
Only update account attributes if already registered
2020-12-01 19:06:41 +01:00
AsamK
4acc9a96e3
Implement a sticker store
2020-11-25 21:12:40 +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
d94a7511dd
Use StandardCharsets.UTF_8
2020-11-22 10:03:41 +01:00
AsamK
8a86f250ec
Store profile keys only in profile store
...
Fixes #328
2020-11-21 20:11:46 +01:00
AsamK
8c1f082c8a
Save account data after executing message actions
...
Fixes #361
2020-11-21 11:51:59 +01:00
AsamK
2ab8646168
Don't retry messages if they fail for another reason than untrusted identity
2020-11-21 11:51:31 +01:00
AsamK
b0502f9f82
Update dependencies
2020-11-21 11:49:06 +01:00
AsamK
a54fc92c05
Fix behavior for recipients with only UUIDs
...
Fixes #359
2020-10-11 11:15:34 +02:00
AsamK
ad509e8097
Refactor ProfileStore to handle name/uuid addresses correctly
2020-09-11 16:22:30 +02:00
AsamK
bb24a2aa31
Add workaround to fix crashes if native libzkgroup is not available
...
Fixes #350
Fixes #349
Fixes #344
2020-09-11 15:35:44 +02:00
AsamK
bb59d1c9c9
Ignore error if downloading profile avatar fails
2020-09-11 09:23:30 +02:00
AsamK
b94c1e50e6
Cache profiles for 24h before retrieving them again
2020-09-10 14:20:16 +02:00
AsamK
0f3aa22519
Retrieve avatar profile image
2020-09-10 12:20:04 +02:00