cedb
60c40e7490
Clean up and simplification
2022-11-01 15:22:24 -04:00
cedb
7111cad402
Switch http server to use command handler
2022-11-01 15:11:40 -04:00
ced-b
11179c672f
Merge branch 'AsamK:master' into dev-http
2022-11-01 14:50:17 -04:00
cedb
49fa626954
Wrap the existing JSON RPC handler in HTTP Service
...
This is a redesign of earlier attempts to make an HTTP service. Fixing
that service turned out that it would have to be a copy of the
SignalJsonRpcDispatcherHandler. So instead of copy pasting all the
code the existing service is simply being wrapped.
2022-11-01 14:40:55 -04:00
AsamK
bf76c04664
Refactor JsonRpcReader to for handling a single message
2022-11-01 18:06:40 +01:00
AsamK
ae678871ec
Extract JSON-RPC command handler
2022-11-01 17:10:15 +01:00
AsamK
9620eb06ac
Update libsignal-service
2022-11-01 13:58:09 +01:00
AsamK
9096229637
Improve behavior with synchronous and asynchronous receivers
2022-11-01 13:58:09 +01:00
cedb
671892aec9
Run http server with daemon command
...
This fits the existing command line API better
2022-10-31 15:03:37 -04:00
ced-b
d683e3ab24
Merge branch 'master' into dev-http
2022-10-31 12:07:20 -04:00
AsamK
eec3d782d3
Add caching for workflows
2022-10-31 16:40:39 +01:00
ced-b
48b4fd5b6f
Merge branch 'AsamK:master' into dev-http
2022-10-31 11:38:03 -04:00
AsamK
4340160e48
Add caching for workflows
2022-10-31 16:15:57 +01:00
AsamK
43a7478791
Update reflect-config.json
2022-10-31 15:29:18 +01:00
AsamK
175057e781
Implement receive command for JSON-RPC mode
...
The command returns a list of messages, as soon as the timeout is reached
after the last message has been received or the maximum number of messages
has been received.
2022-10-31 11:56:25 +01:00
AsamK
de2bfc7f79
Add optional message limit for receive command
2022-10-31 11:17:52 +01:00
cedb
0786c6111f
Improve handling of HTTP responses
...
Makes it so that responses area all uniformly JSON and wrapped
into the proper response envelope.
2022-10-30 23:40:14 -04:00
cedb
a00928f2f7
Add support for MultiLocalCommands
2022-10-30 17:24:30 -04:00
cedb
869820bcce
Add support for registration commands
2022-10-30 16:47:35 -04:00
cedb
0338befcf3
Add initial proof of concept for http server
2022-10-30 14:57:34 -04:00
AsamK
5ed9db4f08
Implement replying to stories
2022-10-30 18:18:21 +01:00
AsamK
fea19c9e20
Implement reacting to stories
2022-10-30 14:41:02 +01:00
AsamK
207764e0be
Add option to disable adding message to send log
2022-10-30 11:00:25 +01:00
AsamK
49aaff2bbe
Increase sqlite busy timeout
2022-10-29 13:54:06 +02:00
AsamK
25e84f2f5d
Add account to plain text output
...
Fixes #1075
2022-10-29 13:49:14 +02:00
AsamK
e63f2fafb9
Add color to listContacts output
...
Fixes #1072
2022-10-28 20:12:11 +02:00
AsamK
0b5a063b62
Use complete address instead of only identifier for retry envelope
...
Fixes #1074
2022-10-28 18:13:25 +02:00
AsamK
e0c2f58e8d
Store attachments with a file extension
...
Taken from the filename if present, otherwise guessed from the contentType
2022-10-22 22:00:31 +02:00
AsamK
0084a2e722
Update reflect-config.json
2022-10-22 17:43:15 +02:00
AsamK
7ff1500122
Improve logging in prekey store
2022-10-22 17:43:15 +02:00
AsamK
7805622f07
Send long text messages as attachment instead
...
This matches the behavior of the official clients.
2022-10-22 17:43:15 +02:00
AsamK
a8e68dce3a
Extract MimeUtils
2022-10-22 17:43:15 +02:00
AsamK
b9eee539bd
Add PNI to recipients
2022-10-21 22:02:33 +02:00
AsamK
e450f36e81
Don't output caption if it's empty
2022-10-21 16:22:09 +02:00
AsamK
ae221e0447
Disable graalvm toolchain detection if GRAALVM_HOME is set
2022-10-21 10:34:08 +02:00
AsamK
2a1be0bd85
Improve graalvm native build wih resource autodetect
2022-10-21 10:34:08 +02:00
AsamK
af324eeca5
Bump version
2022-10-19 20:35:53 +02:00
AsamK
eb71fd1a5a
Add java 19 to CI
2022-10-19 20:34:42 +02:00
AsamK
e4a4788d5e
Add native graalvm build to release
2022-10-19 20:34:16 +02:00
AsamK
47b6fe7dbe
Enable story capability
...
Only receiving is supported
2022-10-19 19:11:37 +02:00
AsamK
9ffacfe90e
Add --ignore-stories flag to prevent receiving story messages
2022-10-19 19:11:37 +02:00
AsamK
3f7d8c60b9
Add workaround for #1045
2022-10-19 17:51:12 +02:00
AsamK
2e5d8fe561
Add build graalvm native step for CI
2022-10-19 15:46:58 +02:00
AsamK
7188c75351
Update reflect-config
2022-10-19 15:36:17 +02:00
AsamK
316c35b258
Add additional logging for reading message cache
2022-10-19 11:02:10 +02:00
AsamK
9da42e27f1
Update workflow actions
2022-10-18 18:11:35 +02:00
AsamK
0aee7ff552
Update graalvm buildtools
2022-10-18 18:11:35 +02:00
AsamK
228713ebb5
Reset pre key offset if it somehow gets corrupted
...
Fixes #1055
2022-10-18 17:55:51 +02:00
AsamK
266129c61b
Update reflect-config
2022-10-18 17:38:46 +02:00
AsamK
3522e43617
Update dependencies
2022-10-16 20:47:51 +02:00