Commit graph

401 commits

Author SHA1 Message Date
AsamK
db756bfe10 Add --service-environment to allow testing against sandbox environment 2021-05-12 23:28:52 +02:00
Florian7843
726103d138
Fixed typo, where "note" was written as "not" (#619) 2021-05-12 22:55:31 +02:00
AsamK
3fc5bec149 Prevent NPE during migration, when profile key is null 2021-05-12 19:34:09 +02:00
AsamK
0455d3e8a8 Warn when using a legacy data path 2021-05-11 18:39:11 +02:00
AsamK
ab95e635ce Allow relinking an account if it's no longer authorized 2021-05-09 12:22:44 +02:00
AsamK
6cb867cbeb Encrypt/decrypt device names 2021-05-08 21:25:12 +02:00
AsamK
56ac648922 Reduce default receive timeout to 1 second 2021-05-08 15:30:27 +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
3357945a5a Reduce usage of deprecated resolved methods 2021-05-04 21:18:25 +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
0091c1cf26 Add --delete-account argument to completely delete an account 2021-05-03 18:43:45 +02:00
AsamK
5b8c0c4e2d Refactor group store 2021-05-03 18:43:45 +02:00
AsamK
224d8194cc Refactor contact and profile store 2021-05-03 18:43:45 +02:00
AsamK
8a0c6cae15 Refactor identity key store 2021-05-01 08:46:00 +02:00
AsamK
357e278f48 Remove error handling for oracle unlimited crypto issue 2021-05-01 08:45:10 +02:00
infra
0a63dd1db4
Enable unlimited strength crypto via system Security property (#608) 2021-05-01 08:38:31 +02:00
AsamK
b9b4d846d3 Resolve recipient address when displaying untrusted identity message 2021-04-23 22:00:09 +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
b39f7c1807 Remove redundant public modifiers from interface 2021-04-03 19:08:45 +02:00
Adaptive Garage
8f4d89e2f7
dbus implementation of sendReaction command (#581) 2021-04-02 08:53:54 +02:00
Adaptive Garage
ea035db94f
Fix sendReaction to group (#580)
Co-authored-by: rknotek <roman.knotek@comint.cz>
2021-03-24 21:49:03 +01:00
AsamK
1bf848cde1 Ignore broken user data again for multi account commands 2021-03-08 21:21:51 +01:00
AsamK
be4b683a41 Allow MultiLocalCommands to be called when no local users exist 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
AsamK
253757cb31 Improve dbus impl 2021-03-01 20:39:45 +01:00
AsamK
631f10c916 Reformat 2021-03-01 20:33:12 +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
86711b0e5c Print exception name when failing to load state fiel 2021-02-27 17:44:33 +01:00
AsamK
221d937eec Add CommandException to abstract cli return codes for errors 2021-02-23 21:42:42 +01:00
AsamK
c6395b9f35 Use PlainTextWriter for all cli stdout output 2021-02-22 20:43:02 +01:00
AsamK
de273586b4 Use var instead of explicit types 2021-02-21 15:01:41 +01:00
AsamK
03c30519b1 Refactor ReceiveMessageHandler
Introduce PlainTextWriter to improve indentation handling.
2021-02-20 19:22:36 +01:00
AsamK
6c33a89f82 Reformat code 2021-02-19 18:04:08 +01:00
Atomic-Bean
237abe431b
Output "SharedContacts" field from a SignalDataMessage (#529)
* Initial version of SharedContacts from data message. Need to change location of avatar downloaded and fix plain text mode

* Made empty strings for json null and fixed plaintext output

* Removed old comments, simplified if-statement and added a 'leadingSpaces' field to the print attachments/mentions functions

* Added AsamK's changes
2021-02-19 18:03:15 +01:00
AsamK
9f3276d7e3 Reformat code 2021-02-19 17:56:43 +01:00
Adimarantis
d0ce3c1543
Add updateProfile to Dbus (#522)
* Added updateProfile on Dbus

* added updateProfile on Dbus (fix)

Co-authored-by: Adimarantis <adimarantis@gmail.com>
2021-02-19 17:54:59 +01:00
AsamK
9eeba88bd0 Add more information for libsignal-client native dependency 2021-02-14 10:40:35 +01:00
AsamK
0dc33e1892 Add more information for CaptchaRequiredException 2021-02-13 18:40:27 +01:00
AsamK
3ed776e4cc Only attempt to delete profile avatar if it exists
Fixes #486
2021-02-13 15:16:54 +01:00
AsamK
0797217588 Print additional call message content 2021-02-07 18:47:21 +01:00
AsamK
a811d1a05a Add support for about and aboutEmoji for profiles 2021-01-24 00:02:07 +01:00
AsamK
7d802fb8c5 Refactor ServiceConfig and add sandbox config 2021-01-23 23:29:18 +01:00
AsamK
c72aeed8bb Extract lib module 2021-01-23 23:29:18 +01:00
AsamK
644aacf595 Update libsignal 2021-01-23 12:59:47 +01:00
AsamK
6f4b171683 Request storage key after linking 2021-01-19 17:04:02 +01:00
AsamK
eae516a9a7 Fix issue with incorrectly saving signalingKey
Fixes #442, #447
2021-01-19 16:58:28 +01:00