Commit graph

493 commits

Author SHA1 Message Date
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
AsamK
4608fb433b Remove dependency on apache commons-io 2016-06-19 15:08:49 +02:00
AsamK
39687f9d87 Update Readme and fix help bug in Main 2016-05-19 18:00:16 +02:00
AsamK
32beb8a0bd Implement a contacts store and contacts sync 2016-04-22 21:17:02 +02:00
AsamK
46befdd638 Don't save if username is null 2016-04-16 15:07:49 +02:00
AsamK
15568512b1 Fix addDevice 2016-04-16 15:07:35 +02:00
AsamK
08a217108a Implement removing linked devices
Only allowed from the master device
2016-04-16 15:03:23 +02:00
AsamK
17ff7531d4 Add method to list linked devices 2016-04-16 14:36:56 +02:00
AsamK
800b92c4ba Always save when sending messages 2016-04-16 14:15:36 +02:00
AsamK
5c1127ced6 Remove own number from group when quitting 2016-04-16 14:15:25 +02:00
AsamK
3cc5704406 Remove own number when sending group messages 2016-04-16 14:15:06 +02:00
AsamK
0ad42a72ab Implement requesting/sending groups when linking device 2016-04-16 13:32:21 +02:00
AsamK
947818d317 Add possiblity to add new device, as master 2016-04-16 13:32:21 +02:00
AsamK
33956bde62 Implement device linking 2016-04-16 13:32:21 +02:00
AsamK
5c117bd863 Correctly use API for sending non group messages
is necessary so the correct sync messages are generated
for linked accounts
2016-04-08 23:36:43 +02:00
AsamK
aa8a23aceb Handle received sync messages 2016-04-08 23:36:43 +02:00
AsamK
c2ae0c17c2 Fix typos 2016-04-08 23:36:43 +02:00
AsamK
9d18b01d85 Fix registering
Only query prekeys count if registration is complete
2016-04-03 14:28:24 +02:00
AsamK
edf5c9eb43 Use original bouncycastle instead of spongycastle
spongycastle is used by Signal-Android, because android has a crippled
bouncycastle. Spongycastle seems to have a problem with Oracle JDK 8.

Fixes #9
2016-04-03 14:08:46 +02:00
AsamK
f479cffc9f Set user-agent null if PROJECT_NAME is null
the name is only set if the code is run from a jar file
2016-04-02 22:57:13 +02:00
AsamK
0b6c09f883 Add rudimentary message receiving via dbus 2016-03-27 23:36:03 +02:00
AsamK
af8a27e87f Add timestamp to dbus MessageReceived signal 2016-03-27 23:35:36 +02:00
AsamK
dd934f1304 Reduce duplicate code 2016-03-27 23:34:59 +02:00
AsamK
083e33c4da Use e.printStackTrace() 2016-03-27 17:03:57 +02:00
AsamK
cc0177da10 Show source deviceId and relay, when receiving messages 2016-03-27 16:49:20 +02:00
AsamK
900b648f09 Refresh prekeys if there are less than 20 left on the server 2016-03-27 16:17:42 +02:00
AsamK
95278a95ce Use the old config directory .config/textsecure as fallback 2016-03-27 16:17:42 +02:00
AsamK
eabd361405 Rename to signal-cli
Changes experimental dbus interface from
org.asamk.TextSecure to org.asamk.Signal
2016-03-27 16:17:42 +02:00