Commit Graph

762 Commits

Author SHA1 Message Date
Bernhard B
2e6e45b18a Merge branch 'signal_cli_v_0_10_0_upgrade' 2021-12-30 19:13:21 +01:00
Bernhard B
9037bcec9f temporarily disable native image creation for aarch64
* temporarily disable native image creation for aarch64 due to
  https://github.com/oracle/graal/issues/4143
2021-12-29 20:32:33 +01:00
Bernhard B
c32473eeb3 improved signal-cli build in Dockerfile 2021-12-29 19:31:51 +01:00
Bernhard B
abfda14fe0 fixed bug in Dockerfile 2021-12-14 21:20:13 +01:00
Bernhard B
2e0741afa3 set JAVA_OPTS to "-Djdk.lang.Process.launchMechanism=vfork" 2021-12-14 21:20:13 +01:00
Bernhard B
a18a998a07 set JAVA_OPTS to "jdk.lang.Process.launchMechanism=vfork" in Dockerfile 2021-12-14 21:20:13 +01:00
Bernhard B
473bf3ce98 build signal-cli with stacktrace 2021-12-14 21:20:13 +01:00
Bernhard B
8936c9c9d8 added libsignal-client v0.11.0 2021-12-14 21:20:13 +01:00
Bernhard B
7c8135e119 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-14 21:20:13 +01:00
Bernhard B
5ccf7a9eff 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-14 21:20:13 +01:00
Bernhard B
0d0b061b37 Reverted last commits
* updating to signal-cli v 0.10.0 is more work than anticipated; changes
  will be reverted here and development continues on dedicated feature
  branch.
2021-12-14 21:14:13 +01:00
Bernhard B
0f0a2f079c fixed bug in Dockerfile 2021-12-12 18:33:01 +01:00
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