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
FL42
b9df80d6c6
fix: pass message as stdin
2020-11-22 11:09:31 +01:00
Bernhard B
418b93459f
updated swagger documentation
...
* added documentation for timeout parameter in receive endpoint
2020-11-01 21:47:25 +01:00
Bernhard B
7674dbcdb8
Merge pull request #36 from stayradiated/master
...
Support custom "timeout" option when receiving messages
2020-11-01 21:39:27 +01:00
George Czabania
2a1d70ba95
feat(receive): add timeout option
2020-10-31 12:19:05 +13:00
Bernhard B
136fa62698
Revert "use non-root user in docker image"
...
This reverts commit 9b4ee24a0e .
Unfortunately, this change breaks backwards compatibility.
(Due to permission issues, existing bind mounts wouldn't work anymore
and users would need to manually adapt permissions in order to get it
working again). Will revert this change for now, until a backwards
compatible solution is found
2020-10-18 21:33:52 +02:00
Bernhard B
3881ada059
updated signal-cli to version 0.6.11
2020-10-18 20:34:31 +02:00
Bernhard B
9b4ee24a0e
use non-root user in docker image
...
see #31
2020-10-08 21:14:06 +02:00
Bernhard B
9ffc03e8f3
improved API documentation + error handling
2020-10-05 18:32:59 +02:00
Bernhard B
023d10f648
updated docs
2020-10-05 18:25:42 +02:00
Bernhard B
d4e27e4882
Merge pull request #33 from danijelst/master
...
Add a white border around the QR Image
2020-10-05 18:22:53 +02:00
Danijel Fischer
dff503e31d
Forgot to add the main change
2020-10-04 13:00:00 +02:00
Danijel Fischer
0dc5c0f4d7
Add a white border around the QR Image
2020-10-04 12:57:29 +02:00
Bernhard B
7e9c0a0653
Update OCTOPRINT.md
2020-09-21 20:30:18 +02:00
Bernhard B
01ad604748
Update HOMEASSISTANT.md
2020-09-21 20:29:55 +02:00
Bernhard B
9d7f365497
Update README.md
2020-09-21 20:29:29 +02:00
Bernhard B
524939dd0a
Merge pull request #27 from bentolor/build/reduce-image-size
...
build(Dockerfile): reduce image size from 2G GB to ~0.4GB
2020-08-28 16:18:44 +02:00
Benjamin Schmid
c00480696d
build(Docker): switch to adoptopenjdk to support armv7
2020-08-16 11:49:46 +02:00
Benjamin Schmid
a6e8cce641
build(Docker image): switch to JRE and Debian buster variant
...
This should avoid potential issues in ARM environemnts with
musl/alpine linux.
2020-08-14 10:46:36 +02:00
Benjamin Schmid
b0b3dc761b
build(Dockerfile): reduce image size from 2G GB to ~0.4GB
...
This uses mulit-stage build to separate the build phase from
the distribution image and signigicantly reduces images size.
You can find more information on Docker multistage builds here:
https://docs.docker.com/develop/develop-images/multistage-build/
2020-08-13 20:36:42 +02:00
Bernhard B
4e4829b650
Merge branch 'master' of https://github.com/bbernhard/signal-cli-rest-api
2020-08-13 19:21:18 +02:00
Bernhard B
12d53dd098
Remove temporary files also on success
...
* Up to now, the temporary files on the filesystem were only removed
when an error occured - resulting in an ever growing docker container.
This changeset makes sure that the temporary files also get removed on
success.
see #26
2020-08-13 19:16:59 +02:00
Bernhard B
3b69572992
Update README.md
2020-07-10 22:06:36 +02:00
Bernhard B
d289b862d5
fixed API documentation for send endpoints
2020-07-10 22:01:55 +02:00
Bernhard B
80d9c15d91
added examples
2020-07-10 21:58:04 +02:00
Bernhard B
d1da805766
Merge branch 'master' of https://github.com/bbernhard/signal-cli-rest-api
2020-07-10 21:49:23 +02:00
Bernhard B
7a26d3e277
added pin verification + fixed bug in swagger documentation
2020-07-10 21:48:46 +02:00
Bernhard B
148121ad49
Update index.html
2020-07-03 19:49:34 +02:00
Bernhard B
bba1230803
Update README.md
2020-07-03 17:52:25 +02:00
Bernhard B
2927a4b0a4
Merge pull request #21 from bbernhard/swagger
...
Swagger
2020-07-03 17:41:46 +02:00
Bernhard B
b0eafe4302
added index.html
2020-07-03 17:37:04 +02:00
Bernhard B
b62b243a90
run gofmt
2020-07-03 17:34:28 +02:00
Bernhard B
e1c2853494
added swagger documentation
2020-07-03 17:32:52 +02:00
Bernhard B
65385d300e
added go.mod file
2020-06-28 18:14:20 +02:00
Bernhard B
63b772c14c
fixed small typo in README
2020-06-28 17:58:43 +02:00
Bernhard B
07a7bd66c1
Merge pull request #20 from danijelst/master
...
Add Endpoint for link to existing device
2020-06-28 17:56:47 +02:00
Danijel Fischer
458974dd7c
Change URI for linking device
...
Change the logic from having a POST which will create a unique id and return it
then have to create a QR code out of it, to a direct GET end point which will
return the QR code directly.
2020-06-23 14:09:56 +02:00
Danijel Fischer
b06dd9afb4
Add endpoint for QR Code generation
2020-06-13 13:16:23 +02:00
Danijel Fischer
673c7045aa
Fix return of link endpoint
2020-06-13 12:29:28 +02:00
Danijel Fischer
0c03b190c3
Add Endpoint for linking devices #9
...
Add /v1/link/:device_name as end point to be able
to link to an existing device.
2020-06-13 12:21:07 +02:00
Danijel Fischer
545cb4618f
Add Endpoint for linking devices #9
...
Add /v1/link/:device_name as end point to be able
to link to an existing device.
2020-06-12 22:08:30 +02:00
Danijel Stojnic
303d54335a
Update README.md
...
Add link a device example to README
2020-06-12 00:29:03 +02:00
Bernhard B
f2818b32b6
updated signal-cli to version 0.6.8
2020-05-30 09:38:05 +02:00
Bernhard B
275d644781
Update HOMEASSISTANT.md
2020-05-22 17:31:59 +02:00