Commit graph

59 commits

Author SHA1 Message Date
AsamK
2727487902 Don't send null message to self 2021-05-11 22:02:36 +02:00
AsamK
19c004e987 Store available profile data even if we don't have the profile key 2021-05-11 18:37:18 +02:00
AsamK
7364f0f7cf Trust address/uuid combination from unidentified sender certificate 2021-05-09 19:48:51 +02:00
AsamK
3643d57d0e Implement preliminary phone number privacy for sender certificate 2021-05-09 19:34:07 +02:00
AsamK
8217541d5e Reset profile key credentials when new profile key is changed 2021-05-09 19:28:49 +02:00
AsamK
ab95e635ce Allow relinking an account if it's no longer authorized 2021-05-09 12:22:44 +02:00
AsamK
0bc2141245 Log information when link message from main device has been received 2021-05-08 21:25:12 +02:00
AsamK
6cb867cbeb Encrypt/decrypt device names 2021-05-08 21:25:12 +02:00
AsamK
6eb486e858 Store device name in account file and prevent it from becoming null on the server 2021-05-08 15:29:00 +02:00
AsamK
a4e34e600e Check if account file already exists before actually completing device link 2021-05-08 15:19:49 +02:00
AsamK
1bd60eea81 Renew session if message decryption fails with ProtocolInvalidMessageException 2021-05-05 20:20:02 +02:00
AsamK
b7f05a1c80 Extend updateProfile command to set family name 2021-05-05 19:32:52 +02:00
AsamK
3d361d54bb Add version to account file 2021-05-05 19:02:22 +02:00
AsamK
3357945a5a Reduce usage of deprecated resolved methods 2021-05-04 21:18:25 +02:00
AsamK
5427fa0132 Archive recipient's sessions after identity key switch 2021-05-04 20:38:00 +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
312c6c8bb2 Check if profileKey is null for old accounts 2021-05-03 18:43:45 +02:00
AsamK
4f578c2645 Create an initial empty profile after registration 2021-05-03 18:43:45 +02:00
AsamK
7afb1347b4 Attempt to refresh recipients uuid if sending fails 2021-05-03 18:43:45 +02:00
AsamK
0091c1cf26 Add --delete-account argument to completely delete an account 2021-05-03 18:43:45 +02:00
AsamK
c79860b493 Minor fixes 2021-05-03 18:43:45 +02:00
AsamK
530ef51ba7 Handle saving inside SignalAccount 2021-05-03 18:43:45 +02:00
AsamK
5b8c0c4e2d Refactor group store 2021-05-03 18:43:45 +02:00
AsamK
a1014ba39c Correctly store uuid from server 2021-05-03 18:43:45 +02:00
AsamK
624fa4fda4 Refactor sticker store 2021-05-03 18:43:45 +02:00
AsamK
4e123a2dc3 Split load signal account method 2021-05-03 18:43:45 +02:00
AsamK
224d8194cc Refactor contact and profile store 2021-05-03 18:43:45 +02:00
AsamK
a96bd91770 Fix displaying group quit messages 2021-05-01 16:02:32 +02:00
AsamK
08962fd1dc Don't clear contact store before receiving new sync contacts 2021-05-01 15:03:26 +02:00
AsamK
a05a24873a Only respond to sync requests if we're the master device 2021-05-01 15:03:26 +02:00
AsamK
deb4ecd04f Retrieve profile to get latest identity key 2021-05-01 08:46:00 +02:00
AsamK
2ef59d692a Store messages in cache by recipient id 2021-05-01 08:46:00 +02:00
AsamK
8a0c6cae15 Refactor identity key store 2021-05-01 08:46:00 +02:00
AsamK
afb22deada Refactor signed pre key store 2021-05-01 08:46:00 +02:00
AsamK
ccc380f575 Refactor pre key store 2021-05-01 08:46:00 +02:00
AsamK
f77519445c Refactor sessions store 2021-05-01 08:46:00 +02:00
AsamK
9f5347964b Refactor recipients store 2021-05-01 08:46:00 +02:00
AsamK
3ad3b2c966 Move RecipientStore to recipients package 2021-05-01 08:46:00 +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
AsamK
b5f0a26084 Use a new serviceID for the re-deployed KBS setup in staging. 2021-03-13 10:10:07 +01:00
AsamK
9944b666b0 Return URI instead of String 2021-03-08 21:21:51 +01:00
AsamK
2935b96070 Return a Manager from ProvisioningManager and RegistrationManager when finished 2021-03-08 21:21:51 +01:00
Adimarantis
a7b414a870
some small dbus return code fixes (#556)
* some small dbus return code fixes

* Added DBus manpage

* changed getDisplayName behaviour

* reverted change in manager
2021-03-07 21:05:49 +01:00
Adimarantis
1d2c7a479d
Dbus enhancements (#543)
* Dbus enhancements

* reverted sendMessage, completed isContactBlocked, fixed formatting

* Updates based on feedback and fixes

* Added trim

* fixed getContactName Exception handling
2021-03-01 20:31:17 +01:00
AsamK
8d0de67530 Add getDisplayName to SignalProfile 2021-02-28 10:19:40 +01:00
AsamK
9ca89b3dfa Catch all exceptions when loading cached message 2021-02-28 09:49:02 +01:00
AsamK
4860caef63 Improve behavior of trust command
- Remove all other identities for the same number

Fixes #540
2021-02-25 19:20:02 +01:00
AsamK
8249f852f9 Fix issue with broken sessions
Fixes #530
2021-02-23 21:50:31 +01:00
AsamK
de273586b4 Use var instead of explicit types 2021-02-21 15:01:41 +01:00