Commit Graph

208 Commits

Author SHA1 Message Date
Bernhard B
6bd7b66e1e improved log messages 2021-05-14 08:51:36 +02:00
Bernhard B
887eff056b Added "AUTO_RECEIVE_SCHEDULE" parameter to docker-compose.yml file
* signal-cli recommends to call "receive" on a regular basis. In case
  "receive" is not already called periodically by the user application,
  add the option to invoke it at a specific schedule from within the
  docker container.

  The "AUTO_RECEIVE_SCHEDULE" parameter takes a cron schedule expression
  and calls "receive" at the given time.

see #129
2021-05-11 18:35:24 +02:00
Bernhard B
d9cbc9d985 fixes swagger documentation
* create groups endpoint was missing some information
2021-03-20 20:01:08 +01:00
Bernhard B
03c0cac972 use "--output=json" instead of "--json" when calling signal-cli receive
* --json is deprecated

see #103
2021-03-07 13:05:04 +01:00
Bernhard B
4567210688 added fallback mechanism in case signal-cli-native doesn't exist 2021-02-19 22:19:43 +01:00
Bernhard B
9c8d4f0788 Merge branch 'master' into graalvm 2021-02-16 18:31:53 +01:00
Bernhard B
1291a99087 improved documentation
* added missing 'device_name' parameter to qrcodelink endpoint

see #95
2021-02-16 18:27:07 +01:00
Bernhard B
9d28647d00 added utils.go 2021-02-14 21:59:01 +01:00
Mike Degatano
889f37d951 Regenerated swagger 2021-02-13 14:44:11 -05:00
Mike Degatano
8a09bf553b Add info on captcha verification 2021-02-12 20:20:30 -05:00
Bernhard B
bd5f568ffc Some endpoints return "null" although successful
see #91
2021-02-12 17:11:08 +01:00
Bernhard B
de777799b6 fixed documentation error 2021-01-30 21:40:54 +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
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
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
8130e516e6 added documentation for update profile REST API request 2021-01-15 21:37:47 +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
787bb2b50b add possibility to specify captcha in register endpoint
see #19
2021-01-08 22:48:49 +01:00
Mark Adkins
57665c4ec4 JRE Dependency Fix + Port Configuration 2020-11-22 17:53:04 -05: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
George Czabania
2a1d70ba95 feat(receive): add timeout option 2020-10-31 12:19:05 +13: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
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
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
d289b862d5 fixed API documentation for send endpoints 2020-07-10 22:01:55 +02:00
Bernhard B
7a26d3e277 added pin verification + fixed bug in swagger documentation 2020-07-10 21:48:46 +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
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
Bernhard B
3cad929eac return group id when creating a group 2020-05-09 20:38:21 +02:00
Bernhard B
4e1a6e46af return group id in "create group" endpoint 2020-05-03 18:30:19 +02:00
Bernhard B
a2eb69127d reworked groups support 2020-04-25 10:29:59 +02:00
Bernhard B
602843a6ed improved groups support 2020-04-11 20:31:27 +02:00
Bernhard B
d1b8c6b770 added build nr to about endpoint 2020-04-10 20:38:38 +02:00
Bernhard B
54f1f5f13e gofmt code
see #12
2020-04-05 11:35:43 +02:00