Commit graph

886 commits

Author SHA1 Message Date
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
AsamK
c3c1802b4d Store storage key from keys sync message 2021-01-18 20:33:04 +01:00
AsamK
80e15ad54e Only allow setting PIN by master device 2021-01-18 20:29:01 +01:00
AsamK
f4ed9a01b7 If contact name is not set, print profile name instead 2021-01-18 20:28:25 +01:00
AsamK
804ad34a08 Send and handle fetch profile sync message 2021-01-17 17:38:33 +01:00
AsamK
70690fef36 Use getRegisteredUsers instead of getContacts for updating v1 group
Fixes #437
2021-01-17 16:52:10 +01:00
AsamK
c440520ea6 Ignore relay in json output if null 2021-01-17 12:36:11 +01:00
AsamK
a28ad7195c Add remote delete info to json output
Fixes #424
2021-01-17 11:57:46 +01:00
AsamK
3b29add396 Add typing message to json output
Fixes #423
2021-01-17 11:43:39 +01:00
AsamK
5a2c4b8dfd Add viewOnce boolean to json data message 2021-01-17 11:29:11 +01:00
AsamK
46a4c2c0d0 Make fields in json classes final and omit unnecessary nulls when serializing
Fix sender in sync read messages
2021-01-17 11:23:02 +01:00
AsamK
dd4225dcb1 Rename Cli class to App 2021-01-16 21:20:12 +01:00
AsamK
a2debdb234 Check if output type is supported by command 2021-01-16 21:12:01 +01:00
AsamK
c588130491 Fix group info for json dbus messages 2021-01-16 20:12:24 +01:00
AsamK
690ce2829f Fix logger names 2021-01-16 20:11:50 +01:00
AsamK
03bf043959 Extract JsonWriter for json output 2021-01-16 20:11:32 +01:00
AsamK
d4b4bd8603 Add an enum for output types 2021-01-16 18:52:06 +01:00