Finn
6f2e8716c7
Allow retreving and updating group info and contact names via dbus ( #62 )
...
* dbus method to get contact info
* Add getGroupName method
* Save after updating contact name
* allow group updates over dbus
* Allow retreiving group member list as well
* Space after if before conditions if( -> if (
* Return an empty string if the contact is unknown
* Handle null/non-existant groups better
* Remove debug output and allow updating the avatar
* Remove extra variables in update messages
2017-02-22 21:26:34 +01:00
Pim Otte
5845dad769
Whitespace and output formatting fixes
2017-02-22 21:20:10 +01:00
Pim Otte
b0d7daeca2
Add ListGroups command
...
Option: -d/--detailed to display group members
2017-02-22 21:20:10 +01:00
AsamK
c68cfe7d7c
Update dependency
2017-02-18 13:15:02 +01:00
AsamK
0a68303ca4
Add command to update account attributes
...
This can fix problems with receiving messages, if for some reason, the
fetchesMessages property of the server is set incorrectly.
2017-02-18 12:35:32 +01:00
AsamK
be963ed49b
Add unregister command
...
Fixes #57
2017-02-18 12:35:32 +01:00
AsamK
7ccfa26746
Update dependencies
2017-01-28 10:50:19 +01:00
AsamK
6411b09aab
Update dependencies
2017-01-10 20:46:46 +01:00
AsamK
d83e0526fb
Show better error message, if libunix-java.so is not available
...
Fixes #39
2016-12-22 12:37:59 +01:00
AsamK
d89e93ad47
Add --ignore-attachments flag to receive and daemon command
...
Fixes #41
2016-12-22 12:27:55 +01:00
AsamK
447a188ff9
Use try-with-ressource statements instead of manually closing stream
2016-11-29 11:15:27 +01:00
AsamK
c5cf78a50a
Allow millisecond timeouts
2016-11-28 12:38:43 +01:00
AsamK
2351a89b00
Use nio Files.delete instead of File.delete everywhere
2016-11-28 12:28:44 +01:00
Benedikt Constantin Radtke
e364610c93
use java7's nio api to get more detailed error messages
2016-11-28 10:36:10 +01:00
AsamK
eb0860d350
Add another missing close()
2016-11-26 13:42:29 +01:00
AsamK
5b839bbae0
Fix crash when receiving group request for unkown group
...
Fixes #33
2016-11-26 13:26:04 +01:00
AsamK
c542fb87cb
Add missing close of attachment input stream
2016-11-26 12:44:17 +01:00
AsamK
8bfef24ef7
Support sending and receiving group info requests
2016-11-25 14:03:58 +01:00
AsamK
2f7a0b55d6
Format timestamps
2016-11-18 21:50:00 +01:00
AsamK
1bae3ba6f0
Update dependency
2016-11-14 13:25:30 +01:00
AsamK
197619f1c0
Handle AssertionError also when linking devices
2016-11-03 20:51:25 +01:00
AsamK
82cecfff85
Implement support for sending disappearing messages
...
Stores the expiration timeout received from contacts in the config file
Fixes #27
2016-10-31 21:18:35 +01:00
AsamK
a4e22539a3
Cleanup
2016-10-31 21:18:35 +01:00
AsamK
93e2c58fcf
Fix typo
2016-10-31 17:51:05 +01:00
AsamK
6c9f26f49b
Split load function
2016-10-27 16:03:20 +02:00
AsamK
f97b0c0faa
Add support for new safety numbers, that replace the hex fingerprint
2016-10-27 14:09:22 +02:00
AsamK
293c176831
Format timestamps as ISO 8601 in UTC
2016-08-27 13:41:28 +02:00
AsamK
e4618456a1
Add support for contact color sync and receiving blocklists and expiring messages
2016-08-27 13:22:11 +02:00
AsamK
a724251f8d
Bugfix: don't decrease trustLevel when receiving messages
2016-08-20 16:26:45 +02:00
AsamK
b2289568ef
Retry decrypting of messages from previously untrusted keys
...
Decrypts messages from untrusted keys, if they are trusted now
2016-08-20 16:26:37 +02:00
AsamK
5ee375c74d
Store encrypted messages on disk when receiving them
...
- Acknowledge to the server only after the message is stored.
- Delete the message when decrypting was successful
2016-08-20 16:01:31 +02:00
AsamK
6a9f791f0d
Check if number is registered on Signal before adding to group
...
Fixes #15
2016-08-13 13:42:56 +02:00
AsamK
1efdf04394
Prevent sending to groups that the user has quit
...
Fixes #23
2016-08-12 18:24:30 +02:00
AsamK
ee5062a2cc
Create config directory/files as only user readable
...
Directories are created with mode 700, files with 600
Fixes #21
2016-07-20 23:11:52 +02:00
AsamK
f095d947f8
Implement listIdentities and trust commands
...
Print the fingerprints of all known phone numbers and can set their trust
2016-07-14 16:21:05 +02:00
AsamK
bfb51e414b
Store untrusted identities in identityKeyStore
2016-07-14 16:20:27 +02:00
AsamK
55d485de88
Add added timestamp to Identities
2016-07-14 16:20:27 +02:00
AsamK
f2c2597379
Implement trustLevel for IdentityKeys
2016-07-14 16:20:27 +02:00
AsamK
0f0d8a873a
Improve return codes
...
Always return non-zero code, when sending failed
Fixes #22
2016-07-14 16:20:14 +02:00
AsamK
9f075da269
Prevent NullPointerException when sending sync groups
...
ContentType was null, if it could not be determined
2016-07-14 16:07:34 +02:00
AsamK
c0a0f89896
Improve exception handling
2016-07-13 17:27:06 +02:00
AsamK
74fb7d9377
Fix typo
2016-07-08 11:35:19 +02:00
AsamK
c5ac72a9a5
Lock config file
...
Fixes #19
2016-07-07 01:06:08 +02:00
AsamK
7ce080b6db
Don’t remove self from group when sending group messages
2016-06-28 12:35:18 +02:00
AsamK
b1f0d40d44
Fix creating groups
...
Fixes #16
2016-06-28 00:14:15 +02:00
AsamK
2972dd27c1
Use name in groupInfo only if it's a group update
...
Signal-Android send an empty name instead of absent, with group quit messages
2016-06-19 21:13:24 +02:00
AsamK
3e2024ff0a
Add avatar image storage
...
Group and contact avatars are now stored in the avatars subfolder
of the settings path:
- contact-NUMBER
- group-GROUP_ID
2016-06-19 20:58:01 +02:00
AsamK
9427616906
Improve internal group handling for receiving
2016-06-19 18:33:24 +02:00
AsamK
d9b082a59e
Show the contact name when receiving messages
...
Works only if the contact is stored in the config file already
2016-06-19 15:40:32 +02:00
AsamK
54558ae7fb
Remove unused method
2016-06-19 15:08:57 +02:00