Commit Graph

159 Commits

Author SHA1 Message Date
Bernhard B
7e547fead9 Update TROUBLESHOOTING.md 2021-01-30 21:49:38 +01:00
Bernhard B
bc34abdf19 Merge pull request #80 from andriej/patch-1
Add link to API docs
2021-01-30 21:43:49 +01:00
Bernhard B
f0db6fc8bf Merge branch 'master' of https://github.com/bbernhard/signal-cli-rest-api 2021-01-30 21:41:20 +01:00
Bernhard B
de777799b6 fixed documentation error 2021-01-30 21:40:54 +01:00
Andrzej
d278ecddb1 Add link to API docs 2021-01-30 00:39:27 +01:00
Bernhard B
6227eb670d improved publish script
* do not build the docker image twice, but instead specify two tags
2021-01-29 17:26:18 +01:00
Bernhard B
445cff9516 Update README.md 2021-01-27 18:21:15 +01:00
Bernhard B
443c83bbfc Update README.md 2021-01-27 18:20:59 +01:00
Bernhard B
2c3a2f30a8 addd API endpoints to join/quit/block Signal Groups 2021-01-27 18:18:58 +01:00
Bernhard B
04e67d058b added configuration endpoints 2021-01-23 19:21:17 +01:00
Bernhard B
7020d6efd6 fixed bug in groups endpoint
* forgot to add name
2021-01-19 22:38:38 +01:00
Bernhard B
d240bc03dc update signal-cli to version 0.7.4 2021-01-19 19:36:19 +01:00
Bernhard B
d4343c1a3e run gofmt 2021-01-19 18:08:09 +01:00
Bernhard B
666b9e2bdd fixed parsing in groups endpoint
* use "output mode json" instead of string parsing
2021-01-19 18:07:15 +01:00
Bernhard B
827d45c143 added endpoint to list specific group 2021-01-19 15:00:08 +01:00
Bernhard B
5d89b3fa51 added endpoints to list + trust identities
see #66
2021-01-18 20:21:17 +01:00
Bernhard B
3f08a07a30 updated signal-cli to version 0.7.3 2021-01-18 20:19:13 +01:00
Bernhard B
f0f03b3178 add info message to specify "--config" when using signal-cli directly 2021-01-18 16:37:15 +01:00
Bernhard B
4d5f7bed7d improved error handling 2021-01-17 09:49:12 +01:00
Bernhard B
e1d39dc0f5 improved error handling 2021-01-17 09:48:10 +01:00
Bernhard B
f5d3880c49 added health check endpoint + fixed logging
* set go-gin to release mode
* added health check endpoint
* excluded endpoint from logger

see #63
2021-01-16 20:14:15 +01:00
Bernhard B
0ae4a5b0af use port from env variable for healthcheck in case another port is set 2021-01-16 19:17:37 +01:00
Bernhard B
33f10161ad Merge pull request #57 from x-jokay/feature/add-health-check
Add healthcheck
2021-01-16 19:04:11 +01:00
Bernhard B
c14ef3f524 Merge pull request #58 from x-jokay/feature/fix-markdownlint-issues
Fix markdownlint issues
2021-01-16 18:43:14 +01:00
Bernhard B
c89fb6a20c Merge pull request #60 from x-jokay/feature/switch-runtime-to-jre
Switch runtime to JRE
2021-01-16 18:41:20 +01:00
D. Domig
d521be7ac6 Switch runtime to JRE 2021-01-16 18:06:08 +01:00
D. Domig
78df7d3abc Fix markdownlint issues 2021-01-16 17:44:34 +01:00
D. Domig
f5c5358b84 Add healthcheck 2021-01-16 17:25:47 +01:00
Bernhard B
3b16103f47 Update README.md 2021-01-15 21:43:24 +01:00
Bernhard B
2c7295965c Merge branch 'zkgroup' 2021-01-15 21:38:40 +01:00
Bernhard B
8130e516e6 added documentation for update profile REST API request 2021-01-15 21:37:47 +01:00
Bernhard B
87e917486e improved Dockerfile
* added check to verify that we are linking against the correct
  libzkgroup.so file.
2021-01-15 21:21:47 +01:00
Bernhard B
8c863a6171 added prebuilt libzkgroup.so for arm64, armv7 and x86_64
* building libzkgroup.so every time when building the docker image
  takes really long and is quite hacky (due to a bug in docker/buildx:
  see https://github.com/docker/buildx/issues/395).
2021-01-15 21:18:37 +01:00
Bernhard B
0b5defb8e5 updated Dockerfile 2021-01-15 20:45:32 +01:00
Bernhard B
c5dfed4a0b improved Dockerfile 2021-01-15 15:07:22 +01:00
Bernhard B
5ad455e493 Merge branch 'master' into zkgroup 2021-01-14 15:35:12 +01:00
Bernhard B
510499b4ac add possibility to list, serve and delete attachments
see #52
2021-01-14 15:27:38 +01:00
Bernhard B
2d10152212 fixed ARM build 2021-01-13 23:44:22 +01:00
Bernhard B
85e3afe125 bumped signal-cli to version 0.7.2 2021-01-13 19:30:10 +01:00
Bernhard B
7de32ed5e1 Merge branch 'master' into zkgroup 2021-01-13 14:52:23 +01:00
Bernhard B
787bb2b50b add possibility to specify captcha in register endpoint
see #19
2021-01-08 22:48:49 +01:00
Bernhard B
a63a80d464 fix "setpriv: libcap-ng is too old for 'all' caps" error
query available capabilities instead of using "all" caps, as
this fails with kernel 5.9.0

see #46
2021-01-08 19:12:32 +01:00
Bernhard B
c554319d74 fixed zkgroup build for ARM 2021-01-03 19:38:21 +01:00
Bernhard B
8bef9fca9d Merge branch 'master' into zkgroup 2021-01-03 14:41:59 +01:00
Bernhard B
313e87c102 add --no-log-init flag when creating a user with useradd
* there seems to be a bug in the Go archiver which could lead to disk
  exhaustion under certain circumstances. This flag will be added to be
  on the safe side. see https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#user
  for details.
2020-12-25 17:04:52 +01:00
Bernhard B
3ef1665e6f Merge branch 'non_root' 2020-12-25 12:59:30 +01:00
Bernhard B
dc3d15eadc add missing setpriv to Dockerfile 2020-12-25 12:58:32 +01:00
Bernhard B
ce6107f6d7 Revert "Revert "Merge commit 'refs/pull/41/head' of https://github.com/bbernhard/signal-cli-rest-api""
This reverts commit 5ef870fa0c.
2020-12-25 12:52:52 +01:00
Bernhard B
37c91b9fa5 temporarily revert to signal-cli 0.6.12 version
* with signal-cli version 0.7 groups v2 were introduced, which
require some bigger changes in the Dockerfile (zkgroup support)
2020-12-25 12:38:50 +01:00
Bernhard B
5ef870fa0c Revert "Merge commit 'refs/pull/41/head' of https://github.com/bbernhard/signal-cli-rest-api"
This reverts commit 21764cefa4, reversing
changes made to 5c33d81817.
2020-12-25 11:05:09 +01:00