Bernhard B
a6d0858b11
Merge branch 'master' of github.com:bbernhard/signal-cli-rest-api
2024-05-07 22:25:42 +02:00
Bernhard B
b274fd2e49
format code with gofmt
2024-05-07 22:25:18 +02:00
Bernhard B
6522dcf8c8
code improvements
...
* restructured the code a bit to make it more readable
2024-05-07 22:22:53 +02:00
Bernhard B
d2b12b8a29
Merge pull request #526 from vorwd/patch-1
...
Update README.md
2024-05-05 20:54:24 +02:00
vorwd
e6a6373ed9
Update README.md
...
included mkdir at line 25
2024-04-28 22:03:48 +10:00
vorwd
4e3fa7b322
Merge branch 'bbernhard:master' into patch-1
2024-04-28 22:02:49 +10:00
Bernhard B
193a9f1e5b
update Swagger documentation
2024-04-27 19:10:28 +02:00
Bernhard B
451010c875
Merge pull request #524 from jneidel/read-receipts
...
Add support for read receipts on /receive
2024-04-27 19:09:56 +02:00
vorwd
b54ea16756
Update README.md
...
aligned initial docker example with the docker example starting at line 73.
/home/user/signal-api:/home/.local/share/signal-cli
Having two different file paths (naming signal-api vs signal-cli) was confusing me when I was setting this up and thought it could impact others as well.
2024-04-27 15:50:25 +10:00
Jonathan Neidel
b23ee29b1f
Add support for read receipts on /receive
2024-04-26 12:50:53 +02:00
Bernhard B
9d6f4a05a3
updated libsignal-client to v0.44.0
2024-04-22 20:27:16 +02:00
Bernhard B
1eb79f5df6
Merge branch 'master' of github.com:bbernhard/signal-cli-rest-api
2024-04-22 18:31:26 +02:00
Bernhard B
706d4ea4af
updated signal-cli to version 0.13.3
2024-04-22 18:31:04 +02:00
Bernhard B
229859b1b9
Merge pull request #521 from bbernhard/dependabot/go_modules/src/golang.org/x/net-0.23.0
...
Bump golang.org/x/net from 0.17.0 to 0.23.0 in /src
2024-04-19 15:36:38 +02:00
dependabot[bot]
e0037a1308
Bump golang.org/x/net from 0.17.0 to 0.23.0 in /src
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.17.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.17.0...v0.23.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-19 10:57:29 +00:00
Bernhard B
8b93a82b85
updated signal-cli-native to v0.13.2+3
2024-04-04 22:14:11 +02:00
Bernhard B
dfdcfa3725
fixed bug in send method
...
* with signal-cli 0.13.0 the default behavior changed
and message to oneself did not trigger a notification anymore.
As this is a behavioral change and we try to avoid any behavioral
changes in the REST API, the previous behavior was reinstated again
by explicitly adding "--notify-self".
see #511
2024-04-04 19:58:03 +02:00
Bernhard B
8c9b797026
build signal-cli native image with compatibility flags on amd64
...
see #510
2024-04-03 19:52:26 +02:00
Bernhard B
16a3f896ad
return HTTP status code 429 in case of rate limiting
2024-03-28 19:28:13 +01:00
Bernhard B
0757c3bf53
Revert "added debug logging"
...
This reverts commit 3915bd83eb .
2024-03-28 19:27:34 +01:00
Bernhard B
3915bd83eb
added debug logging
2024-03-27 16:37:36 +01:00
Bernhard B
d083ba84e3
fixed bug in /v2/send error parsing
2024-03-27 16:34:24 +01:00
Bernhard B
a627d3e1ab
fixed error handling in send method
2024-03-26 17:36:30 +01:00
Bernhard B
4173a8ba6f
update libsignal-client to v0.40.1 in Dockerfile
2024-03-25 19:22:25 +01:00
Bernhard B
d8048cdc4b
added libsignal-client v0.40.1
2024-03-25 19:03:19 +01:00
Bernhard B
de631edfb0
return challenge tokens in send endpoint as explicit key
2024-03-25 16:11:04 +01:00
Bernhard B
8811842b91
updated signal-cli to v0.13.2
2024-03-25 15:57:07 +01:00
Bernhard B
ce556f0a73
parse challenge tokens from received response
...
see #482
2024-03-22 15:52:12 +01:00
Bernhard B
bc14eccf7d
added more debug logging to json-rpc mode
...
see #482
2024-03-21 18:11:52 +01:00
Bernhard B
0d5c23d7ea
fixed json-rpc debug log outputs
...
* moved them up a bit to also log something in case of an error
see #482
2024-03-20 20:52:25 +01:00
Bernhard B
3573f6ae95
added json-rpc debug logging
...
see #482
2024-03-20 19:47:37 +01:00
Bernhard B
efee49e792
add API endpoints to list and add sticker packs
...
see #398
2024-03-13 21:10:23 +01:00
Bernhard B
9c365e6f84
add possibility to edit messages
...
see #485
2024-03-07 20:11:57 +01:00
Bernhard B
f57512216c
added endpoints to set/remove a username + change the account settings
2024-03-06 18:27:17 +01:00
Bernhard B
91d7dc0a19
fixed concurrent map write
...
* protect map access with mutex to avoid concurrent map access
see #493
2024-02-28 16:37:40 +01:00
Bernhard B
d897ac3485
updated signal-cli to v0.13.1
2024-02-28 15:56:06 +01:00
Bernhard B
8910b6f317
Merge pull request #496 from marvinruder/marvinruder/issue495
...
Add `curl` to Docker image for health check
2024-02-25 17:37:55 +01:00
Marvin A. Ruder
c163e57809
Add curl to Docker image for health check
...
* Fixes #495
Signed-off-by: Marvin A. Ruder <signed@mruder.dev >
2024-02-25 17:15:26 +01:00
Bernhard B
08dc98eac2
removed JAVA_HOME env variable from supervisor configuration
...
* not needed and is causing some problems since we switched from
the eclipse-temurin to the ubuntu base image.
see #489
2024-02-23 10:38:36 +01:00
Bernhard B
05f6434630
updated golang.org/x/net to v0.17.0 in order fix potential security vulnerability
2024-02-21 16:26:47 +01:00
Bernhard B
97c0e366f7
use standard ubuntu image instead of eclipse-temurin
...
* the eclipse-temurin project doesn't provide a OpenJDK 21 image for
armv7. Until this is fixed, we use the standard ubuntu image.
2024-02-21 16:15:56 +01:00
Bernhard B
be95cb9a06
updated signal-cli to v 0.13.0 + added libsignal-client v0.39.2
2024-02-19 18:46:55 +01:00
Bernhard B
03af708f11
added hidden 'recipient' parameter to /v2/send endpoint
...
* some REST API consumers (like the Synology NAS) do not allow
to use an array for the recipients. So, in order to support
those platforms as well, a 'recipient' string parameter is added.
As most users are perfectly fine with the array parameter, the
recipient parameter won't be exposed in the Swagger UI.
see #428
2024-02-16 19:18:48 +01:00
Bernhard B
7be6169837
Merge pull request #474 from kleptog/java-opts-in-json-rpc
...
Pass JAVA_OPTS through to signal-cli in json-rpc mode
2024-02-15 19:27:43 +01:00
Martijn van Oosterhout
b00be631a4
Pass JAVA_OPTS through to signal-cli in json-rpc mode
2024-02-14 14:30:56 +01:00
Bernhard B
4c560800f7
Merge pull request #477 from richtier/patch-1
...
Upgrade `SIGNAL_CLI_VERSION` to `0.12.8`
2024-02-06 11:11:34 +01:00
Bernhard B
854821e214
updated signal-cli-native to version 0.12.8+1
2024-02-06 11:10:33 +01:00
Richard Tier
6f7742819b
Update Dockerfile
2024-02-05 23:37:26 +00:00
Bernhard B
713889a974
bumped signal-cli-native version
2024-01-08 21:25:23 +01:00
Bernhard B
d5210041c6
fixed typo in swagger documentation
...
see #466
2024-01-08 20:49:29 +01:00