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
AsamK
14c8f07b8d
Move buildArgumentParser to Cli class
2021-01-16 18:09:29 +01:00
AsamK
fe25ae275b
Use getRegisteredUsers (CDS2) instead of getContacts for getUserStatus command
...
That's what the official app does, looks like the old contact discovery
system is not working anymore.
2021-01-16 17:06:10 +01:00
AsamK
06404667a1
Use exit 4 when sending a single recipient message fails due to untrusted identity key
...
Fixes #88
2021-01-16 15:38:38 +01:00
AsamK
e1134d832a
Send self messages as normal messages, new flag --note-to-self for sync message
...
Fixes #373
2021-01-16 11:56:41 +01:00
AsamK
b31e97dd2d
Move recipients/group argument check to send commands
2021-01-16 10:21:38 +01:00
AsamK
ca86c421eb
Allow calling signal-cli without -u flag
...
For daemon command all local users will be exposed as dbus objects
If only one local user exists, all other commands will use that user,
otherwise a user has to be specified.
2021-01-16 09:00:03 +01:00
AsamK
a97bbf8608
Improve logging for provisioning
2021-01-16 09:00:03 +01:00
AsamK
c0f5ff8805
Prevent incorrect error log about saving failed if an exception was thrown
2021-01-16 09:00:03 +01:00
AsamK
9a775171b5
Replace Base64 class from libsignal with java.util.Base64
2021-01-15 22:32:13 +01:00
AsamK
8d985d84fb
Set log level to debug for verbose mode
2021-01-15 18:29:48 +01:00
AsamK
54a2a95fb5
Fix loading some account files without legacy store
2021-01-15 18:29:48 +01:00
AsamK
fc76c9badf
Remove unnecessary isRegistered checks
2021-01-15 12:21:19 +01:00
AsamK
cc40c437d1
Use global output flag for daemon command
2021-01-15 12:09:37 +01:00