Commit Graph

581 Commits

Author SHA1 Message Date
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
Bernhard B
26fa0f31d2 Merge pull request #18 from haberda/patch-1
Update HOMEASSISTANT.md
2020-05-22 17:30:28 +02:00
haberda
5c195739a1 Update HOMEASSISTANT.md 2020-05-21 14:07:42 -07:00
Bernhard B
38e93410e7 network mode 'host' doesn't allow port mapping
see #16
2020-05-11 21:13:15 +02:00
Bernhard B
3cad929eac return group id when creating a group 2020-05-09 20:38:21 +02:00
Bernhard B
0f5ded7a3c added octoprint documentation 2020-05-09 17:59:39 +02:00
Bernhard B
4e1a6e46af return group id in "create group" endpoint 2020-05-03 18:30:19 +02:00
Bernhard B
023862f8fa Merge branch 'master' of https://github.com/bbernhard/signal-cli-rest-api 2020-04-25 10:35:05 +02:00
Bernhard B
a2eb69127d reworked groups support 2020-04-25 10:29:59 +02:00
Bernhard B
6abe1d4148 Update HOMEASSISTANT.md 2020-04-25 09:59:24 +02:00
Bernhard B
30d75485a6 Update HOMEASSISTANT.md 2020-04-19 11:10:02 +02:00
Bernhard B
5cd4b8ae03 Merge branch 'groups' 2020-04-18 08:28:02 +02:00
Bernhard B
602843a6ed improved groups support 2020-04-11 20:31:27 +02:00
Bernhard B
dc85213195 added possibility to publish multiple tags 2020-04-10 20:39:02 +02:00
Bernhard B
d1b8c6b770 added build nr to about endpoint 2020-04-10 20:38:38 +02:00
Bernhard B
7ef4038ed3 updated README
* added support for groups to README
2020-04-05 11:50:46 +02:00
Bernhard B
54f1f5f13e gofmt code
see #12
2020-04-05 11:35:43 +02:00
Bernhard B
5d0eb28772 added support for groups
* added possibility to add groups, list groups, delete groups
  and send a messages to a groups.

see #12
2020-04-05 11:32:40 +02:00
Bernhard B
a70f0a9d44 bumped signal-cli version 0.6.7 2020-04-03 18:14:22 +02:00
Bernhard B
428853f8a4 added license
see #11
2020-03-08 21:57:57 +01:00
Bernhard B
82ac097854 Merge branch 'multiple_attachments' 2020-02-01 14:07:59 +01:00
Bernhard B
b77c7c8b43 added functionality to receive messages
see #8
2020-02-01 14:06:27 +01:00
Bernhard B
40d856fbef add support for multiple attachments 2020-01-24 20:34:14 +01:00
Bernhard B
e3fb01a2b3 fixed "attachment cannot be sent to multiple recipients" bug
* bug was fixed upstream, but there's no new release yet. So,
  we check out the git repository in the meanwhile to get the
  latest changes.

  see #6
2020-01-21 21:58:12 +01:00