Commit graph

340 commits

Author SHA1 Message Date
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
7f21bf0f23 Add version to jar manifest 2015-09-22 14:43:24 +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
0e4fe8bc8f Update gradle 2.7 2015-09-15 12:48:04 +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
f06672db89 Use gradle-2.5-all needed by IDE 2015-08-07 12:41:14 +02:00
AsamK
1cb8c78bf4 Update README.md
fix typos
2015-08-01 13:56:19 +02:00
AsamK
df8a19c060 Update dependencies 2015-07-31 12:54:37 +02:00
AsamK
f55a168fbf Update README
installApp is now deprecated
2015-07-31 12:54:10 +02:00
AsamK
02b66bd69b Update gradle wrapper 2015-07-31 12:53:45 +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
1c4578ceac Update README.md 2015-07-08 15:46:07 +02:00
AsamK
0314d8eeaf Bump version 2015-07-08 12:17:01 +02:00
AsamK
76f2e0c2a2 Add sourceCompatibility for java 8 2015-07-08 12:05:56 +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
Juraj Bednar
841519e27a Add --voice / -v option for voice call verification 2015-07-06 10:58:08 +02:00
AsamK
9d71313a0c Load json even if signalingKey is missing
Is the case when the account is registered, but not verified
2015-07-06 10:47:43 +02:00
AsamK
73e8c4cabf Adapt code for new libtextsecure-java version 2015-07-06 10:41:19 +02:00
AsamK
067d14e1ca Update dependencies 2015-07-06 10:22:34 +02:00
AsamK
27c08a56fe Update README.md 2015-05-11 12:57:19 +02:00
AsamK
4e83ea0f85 Add README and LICENCE 2015-05-11 12:55:26 +02:00
AsamK
28e192c519 First commit 2015-05-11 12:55:18 +02:00