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
Bernhard B
21764cefa4
Merge commit 'refs/pull/41/head' of https://github.com/bbernhard/signal-cli-rest-api
2020-12-25 10:33:26 +01:00
Bernhard B
8723668db3
build zkgroup in Dockerfile
...
* starting with signal-cli version 0.7.0 zkgroup is now required
2020-12-25 10:26:45 +01:00
Bernhard B
5c33d81817
updated signal-cli to version 0.7.0
2020-12-20 13:25:01 +01:00
Bernhard B
430df9749c
updated signal-cli to version 0.6.12
2020-12-13 19:23:12 +01:00
FL42
cce3f47722
refactor: use setpriv instead of su
2020-11-27 23:31:48 +01:00
FL42
8d3e11941e
fix: propagate args
2020-11-27 22:32:53 +01:00
FL42
48448cdca1
feat: show warning when exec in container
2020-11-27 22:29:59 +01:00
FL42
486f47995f
refactor: use one RUN statement
2020-11-27 22:29:45 +01:00
Bernhard B
c01abfac34
Merge pull request #43 from funkybunch/ARM-dependency-fix
...
JRE Dependency Fix + Port Configuration
2020-11-23 21:01:13 +01:00
Mark Adkins
57665c4ec4
JRE Dependency Fix + Port Configuration
2020-11-22 17:53:04 -05:00
FL42
eb94d04c79
fix: run api as signal-api user, fix permissions on startup
2020-11-22 14:16:06 +01:00
Bernhard B
12a16c381b
Merge pull request #40 from fl42/fix/message-looks-as-arg
...
Fix issue when message looks like a CLI arg (like "--test")
2020-11-22 13:28:54 +01:00