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
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
AsamK
c1abc12907
Check if the username is a valid phone number with country code
2015-12-06 17:22:39 +01:00
AsamK
b6684906fc
Fix groups for upgraded clients
2015-12-06 15:45:31 +01:00
AsamK
fb862e4dde
Implement updateGroup
2015-11-26 17:02:28 +01:00
AsamK
1689dfcb38
Implement quitGroups
2015-11-26 15:02:16 +01:00
AsamK
09decf7916
Implement sending EndSession messages
2015-11-26 14:38:47 +01:00
AsamK
2c6796e3ce
Move endsession and attachment handling to Manager
2015-11-26 14:17:32 +01:00
AsamK
2517919c49
Enable sending to groups
2015-11-25 14:39:33 +01:00
AsamK
c41ac8e7a3
Store group info in json
2015-11-25 14:39:33 +01:00
AsamK
d0dae4e064
Fix NPE when not specifying receive timeout
2015-11-25 14:39:33 +01:00
AsamK
6208eb72d8
Increase timeout
2015-11-25 12:58:52 +01:00
AsamK
c5b884f62b
Show GroupInfo of messages, if present
2015-11-21 19:01:14 +01:00
AsamK
96bd68e034
Add commandline option to specify receive timeou
2015-11-21 18:05:34 +01:00
AsamK
1781984221
Fix formatting
2015-10-06 21:45:39 +02:00
AsamK
2c86b0bd9a
Remove last remnants of org.json
2015-10-06 21:42:08 +02:00
xardas
4d83d2168a
Make Json store use Jackson instead of Gson (as it's already linked)
...
Closes #4
2015-10-06 21:39:12 +02:00
AsamK
ae8479df8c
Fix formatting of attachment size
2015-10-06 19:05:15 +02:00
AsamK
685e431ca0
Add -v and --version command line arguments
...
Only works running from a jar file
2015-09-22 14:45:52 +02:00
AsamK
ab25003061
Add version to user agent string
2015-09-22 14:44:11 +02:00
AsamK
cd8de7878c
Make use of attachment size and preview
2015-09-22 13:23:16 +02:00
AsamK
b91abad2b5
Update textsecure-java to 1.8.0
2015-09-22 12:45:11 +02:00
AsamK
a6f65ae3a0
Print error if temporary attachment file can’t be deleted
2015-09-15 13:26:36 +02:00
AsamK
117f839547
Use generic type inference from java 8
2015-09-15 13:26:02 +02:00
AsamK
76a1e8ec2f
Use System.err for error messages
2015-09-15 13:24:27 +02:00
AsamK
2796fff56d
Update textescure-java to 1.7
...
Adapt code:
- Add USER_AGENT
- verifyAccount renamed to verifyAccountWithCode
2015-09-15 13:03:49 +02:00
AsamK
9e1cd7e398
Fix coding issues
2015-08-07 13:22:15 +02:00
AsamK
e1b584ab84
Implement downloading attachments
2015-08-07 12:55:33 +02:00
AsamK
dbaf1c693c
Catch AssertionError
...
Fixes #2
2015-07-08 16:22:04 +02:00
AsamK
6c02004326
Extract code from main() to functions
2015-07-08 16:14:48 +02:00
AsamK
9f5b55fa7e
Extract PreKey generation functions, don't reuse IDs when reregistering
2015-07-08 11:57:20 +02:00
AsamK
704f2d76ba
Exit on timeout when receiving
...
- Could be made optional in the future
- Sending messages while receiving results in damaged session state
because both save their own state
2015-07-08 11:57:18 +02:00
AsamK
bd485ec9f7
Print detailed error messages for send failures
2015-07-08 11:57:16 +02:00
AsamK
6af605f790
Reformat javadoc
2015-07-07 12:31:20 +02:00
AsamK
1b0df2c7e7
Handle end session messages
2015-07-07 12:19:10 +02:00
AsamK
01702276c5
Correctly send to multiple recipients
2015-07-07 12:07:01 +02:00
AsamK
960e97bc12
Canonicalize recipient addresses
2015-07-07 11:42:24 +02:00
AsamK
0a7a6a5c54
Improve receiving messages
2015-07-07 11:31:50 +02:00
AsamK
dbebd38391
Actually store preKeys
2015-07-07 11:04:59 +02:00
AsamK
08f8d2b026
Support sending attachments
...
Limitations:
- the textsecure protocol allows sending arbitrary mime types but the
android client only supports image, audio and video
- sending multiple attachments is supported, but the android client
only shows the first one
2015-07-06 15:12:59 +02:00
AsamK
1ff3f07ab5
Update README
2015-07-06 11:17:47 +02:00