Bernhard B
cd7a26c8a3
set JAVA_OPTS to "-Djdk.lang.Process.launchMechanism=vfork"
2021-12-12 16:58:05 +01:00
Bernhard B
4be7bdf795
set JAVA_OPTS to "jdk.lang.Process.launchMechanism=vfork" in Dockerfile
2021-12-12 16:49:41 +01:00
Bernhard B
47785ccbde
build signal-cli with stacktrace
2021-12-12 15:42:06 +01:00
Bernhard B
114aae735f
added libsignal-client v0.11.0
2021-12-12 14:22:23 +01:00
Bernhard B
7c480f73a2
use "-a" instead of "-u" for specifying the number
...
* due to the upcoming username support in Signal, signal-cli renamed
"-u" to "-a".
2021-12-12 14:21:10 +01:00
Bernhard B
9b695b35fb
updated Dockerfile
...
* updated signal-cli version to 0.10.0
* use Java 17 instead of Java 11
* remove zkgroup, as it's not longer required
2021-12-12 14:19:53 +01:00
Bernhard B
8a2970cb2d
fixed bugs in list groups endpoint
...
* pendingMembers and requestingMembers were incorrectly parsed from
signal-cli's JSON output
see #187
2021-12-11 09:35:54 +01:00
Bernhard B
c4f11672d8
Merge branch 'master' of github.com:bbernhard/signal-cli-rest-api
2021-12-05 18:00:31 +01:00
Bernhard B
ed8916ce0e
do not spam log file in case JsonRpc2 client can't read data
...
* only log an error message at max every 5 minutes
see #186
2021-12-05 17:48:44 +01:00
Bernhard B
f83b8f1919
Merge pull request #182 from filipre/signalbot
...
add signalbot python package
2021-11-14 20:31:05 +01:00
René Filip
68be914dd0
add signalbot python package
2021-11-14 16:27:14 +01:00
Bernhard B
7b9c5a3fcb
Merge pull request #179 from akloeckner/fix/HA-doc
...
Improve HOMEASSISTANT.md
2021-11-10 18:57:26 +01:00
akloeckner
e3bd6e15fc
Improve HOMEASSISTANT.md
...
This addresses https://github.com/home-assistant/home-assistant.io/issues/20206
It also cleans up the doc a bit using lists and headings and block code.
2021-11-10 10:21:53 +01:00
Bernhard B
f8f601a498
fixed bug in json-rpc mode
...
* do not hardcode path to signal-cli config directory in supervisor
config file.
2021-11-06 22:49:25 +01:00
Bernhard B
e5d170eaf6
rebuild swagger documentation
2021-11-06 14:55:09 +01:00
Bernhard B
a6489ce742
Merge pull request #176 from filipre/reactions
...
Reactions Endpoint Proposal
2021-11-06 14:54:13 +01:00
Bernhard B
f472e51984
fixed bug in JSON-RPC mode
...
* use signal-cli's 'block' command to block a group
see #177
2021-11-06 09:18:13 +01:00
René Filip
690271c37f
revert docker-compose.yml
2021-11-06 01:15:02 +01:00
René Filip
cfcbe43c4b
use reactions instead of reaction
2021-11-06 01:14:09 +01:00
René Filip
3bd0d97970
activate endpoint and write swagger documentation
2021-11-06 00:43:02 +01:00
René Filip
6bf60a23e6
change react to reactions
2021-11-03 23:27:56 +01:00
René Filip
5aebc46fa6
change remove property to DELETE
2021-11-02 20:10:52 +01:00
René Filip
73f251906b
Finish api proposal, tbd
2021-11-01 19:50:48 +01:00
Bernhard B
d4b2dbea7f
fixed swagger documentation
...
* some endpoints had a wrong HTTP status code in the swagger
documentation.
see #175
2021-11-01 18:52:51 +01:00
René Filip
55d63c90b6
WIP, define new endpoints for send reaction
2021-11-01 18:09:21 +01:00
Bernhard B
2d80ff91a2
use SIGNAL_CLI_CONFIG_DIR env variable in jsonrpc2-helper script
...
* do not hardcode path, but use path specified by SIGNAL_CLI_CONFIG_DIR
env variable.
2021-11-01 10:55:07 +01:00
Bernhard B
ee6ef0b842
Merge branch 'typingindicator'
2021-10-30 21:43:09 +02:00
Bernhard B
94d10b1443
Merge branch 'signal-cli-v0.9.2-upgrade'
2021-10-30 21:41:47 +02:00
Bernhard B
561f52cced
fixed armv7 build
...
* location of native image changed
2021-10-29 16:22:45 +02:00
Bernhard B
0bef71d2a1
updated signal-cli to v0.9.2
2021-10-29 14:53:02 +02:00
Bernhard B
80805c069d
added new API endpoints to show/hide typing indicators
...
see #166
2021-10-25 19:45:19 +02:00
Bernhard B
d1190f8299
improved log message
...
* notify users that registering a phone number only works in
normal/native mode.
2021-10-20 21:49:11 +02:00
Bernhard B
2991941343
Merge branch 'master' of github.com:bbernhard/signal-cli-rest-api
2021-10-20 19:17:15 +02:00
Bernhard B
405b7f0f9e
fixed bug in create group endpoint
...
* the group id of the newly created signal group wasn't correctly
returned in json-rpc mode.
2021-10-20 19:16:09 +02:00
Bernhard B
6c28b782fa
return mode (normal,native,json-rpc) in "about" endpoint
2021-10-20 18:56:25 +02:00
Bernhard B
a309baf536
Merge pull request #168 from lkwg82/fix-tabs-spaces-of-example-docker-compose
...
fix code example (tabs in yaml)
2021-10-19 21:21:54 +02:00
Lars K.W. Gohlke
923a7916f4
fix code example
2021-10-19 20:32:34 +02:00
Bernhard B
dbab85d69c
Update OCTOPRINT.md
...
fixed whitespacing error in docker-compose.yml example
2021-10-19 17:51:43 +02:00
Bernhard B
fddc163ef0
Update OCTOPRINT.md
...
* set the json-rpc mode as default mode in the provided docker-compose.yml example
2021-10-19 17:51:06 +02:00
Bernhard B
6679a145fc
Merge branch 'jsonrpc'
2021-10-18 19:58:17 +02:00
Bernhard B
708e86592a
Merge branch 'jsonrpc' of github.com:bbernhard/signal-cli-rest-api into jsonrpc
2021-10-18 18:46:19 +02:00
Bernhard B
02f360e42c
updated swagger documentation for receive endpoint
2021-10-18 18:45:41 +02:00
Bernhard B
8963fd638e
include json-rpc mode in issue template
2021-10-18 18:35:23 +02:00
Bernhard B
f34f7f2961
fixed syntax error in docker-compose.yml
2021-10-18 18:27:43 +02:00
Bernhard B
b2efd2f12a
Update README.md
2021-10-18 18:19:57 +02:00
Bernhard B
7b6c788a4a
updated docker-compose.yml and added json-rpc mode
2021-10-18 18:13:29 +02:00
Bernhard B
81f07fecb8
updated README.md with json-rpc documentation
2021-10-18 18:11:00 +02:00
Bernhard B
795b4c3f99
Do not set any deadlines in websocket connection
...
* The websocket rfc doesn't specify what to do when a client doesn't
respond to a ping message. It just states that it must respond with a
pong message. But it is unclear what should happen when the client
doesn't respond with a pong message. So instead of closing the
connection, we are keeping the connection open as long as possible.
2021-10-10 22:37:16 +02:00
Bernhard B
094e42059d
improved error handling in jsonrpc2 client
2021-10-10 18:42:39 +02:00
Bernhard B
0023ebaf83
fixed bug in jsonrpc2-helper script
...
* only look for registered numbers in the signal-cli-config/data folder
and do NOT traverse the whole signal-cli-config folder (as there might
be other files starting with '+...'
2021-10-10 18:39:03 +02:00