Commit graph

745 commits

Author SHA1 Message Date
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
AsamK
10719a443a Rename axolotl -> signalProtocol 2016-03-25 16:57:40 +01:00
AsamK
b06fafbf62 Update to signal-service-java 2.1.1 2016-03-25 16:50:51 +01:00
AsamK
0130585355 Make config path configurable 2015-12-31 16:16:18 +01:00
AsamK
43ec78594c Implement fetch messages
Uses a patched libtextsecure-java
https://github.com/AsamK/libtextsecure-java/commits/master
2015-12-31 13:17:41 +01:00
AsamK
239afa07e8 Handle DBusExecutionExceptions 2015-12-31 12:54:25 +01:00
AsamK
acadd90a6d Send Signal "MessageReceived" on dbus when receiving messages 2015-12-30 18:11:54 +01:00
AsamK
fb36613402 Use File() correctly 2015-12-30 18:11:54 +01:00
AsamK
3d56067272 Fix exceptions to work over dbus 2015-12-30 17:39:07 +01:00
AsamK
61392fd17d Take dbus name only when the service is ready 2015-12-16 21:38:32 +01:00
AsamK
27d9424f1e Rename package 2015-12-13 11:06:10 +01:00
AsamK
5859e7b9f7 Add possibility to send messages via dbus daemon 2015-12-12 22:56:30 +01:00
AsamK
a69e8facd2 Inline unnecessary methods 2015-12-12 22:09:51 +01:00
AsamK
208e12bdc6 Always call save() after modifying something 2015-12-12 22:09:06 +01:00
AsamK
9a1b348ed2 Implement daemon mode with dbus interface 2015-12-12 21:30:24 +01:00
AsamK
845e93ec0f Cleanup 2015-12-12 20:05:44 +01:00
AsamK
80cc0cad92 Fix build with Java 7 2015-12-12 20:05:14 +01:00