Commit graph

666 commits

Author SHA1 Message Date
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
4af9b5f011 Fix syntax for systemd service file: Environment 2016-04-03 16:25:22 +02:00
AsamK
81e94b2b72 Bump version 2016-04-03 15:54:45 +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
7b8998727e Always use utf-8 encoding for compiling 2016-04-02 22:56:15 +02:00
AsamK
7ce99427e3 Bump version 2016-04-02 12:04:49 +02:00
AsamK
ffc393c716 Update README.md
Rename libtextsecure-java to libsignal-service-java
2016-03-30 23:26:39 +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
78252a13df Update gradle 2016-03-21 16:01:10 +01:00
AsamK
5f4325283a Set initial java heap size to 2MB in service files
Make it more usable in memory restricted environments
2016-02-16 13:46:01 +01:00
AsamK
11e5dfbcf5 Update gradle 2016-02-10 13:04:57 +01:00
AsamK
de4a1d1933 Update README.md 2016-01-04 12:11:23 +01:00
AsamK
ea2b0f9d52 Bump version 2015-12-31 16:16:39 +01:00
AsamK
0130585355 Make config path configurable 2015-12-31 16:16:18 +01:00
AsamK
506bc5df13 Service: use user textsecure-cli 2015-12-31 16:16:18 +01:00
AsamK
df0ae3b8dd Fix typo 2015-12-31 15:21:23 +01:00
AsamK
13aafc6712 Add systemd service file with instance variable 2015-12-31 15:17:34 +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
ea8f62a298 Update gradle 2015-12-31 11:54:18 +01:00
AsamK
bc5b4dc764 Update dependencies 2015-12-30 18:13:49 +01:00
AsamK
3e013f1a8d Bump version 2015-12-30 18:11:54 +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
2a0f9f7629 Update README.md
Add dbus info
2015-12-16 22:20:44 +01:00
AsamK
61392fd17d Take dbus name only when the service is ready 2015-12-16 21:38:32 +01:00
AsamK
60981479d7 Add example files for making a dbus activatable service 2015-12-16 21:38:30 +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
AsamK
ef5d3a65f8 Refactoring, move more functionality into Manager 2015-12-12 11:38:15 +01:00
AsamK
4b5bfcba80 Extract getTextSecureAttachments method 2015-12-10 21:42:44 +01:00