Commit Graph

583 Commits

Author SHA1 Message Date
Bernhard B
352e068e5b use signal-cli v0.10.9 2022-07-26 20:37:15 +02:00
Bernhard B
1fbef2aed0 bumped signal-cli version to 0.10.8 2022-07-08 19:34:50 +02:00
Bernhard B
3286a07f92 updated signal-cli to v0.10.7
see #247
2022-06-08 15:44:20 +02:00
Bernhard B
9e32aab972 updated swagger documentation 2022-05-28 18:51:39 +02:00
Bernhard B
7747944775 extended unregister API endpoint
* added possibility to delete the local data with the
  "deleteLocalAccountData" signal-cli command

see #242
2022-05-28 18:50:48 +02:00
Bernhard B
102fc5cdab Merge branch 'trust_mode' 2022-05-22 20:14:20 +02:00
Bernhard B
10c55bf580 updated signal-cli to version 0.10.6
* signal-cli now requires libsignal-client v0.17.0
* also had to bump graalvm to v22.1.0, as with v21.3.0 I wasn't able to
  build the native image
2022-05-20 18:58:31 +02:00
Bernhard B
798f897ad1 added trust mode parameter to json-rpc mode
see #240
2022-05-08 20:23:54 +02:00
Bernhard B
25775a4c10 implemented trust mode
* implemented possibility to set the trust mode globally

see #240
2022-05-06 19:28:23 +02:00
Bernhard B
a6927896ef fixed build error in Dockerfile 2022-04-14 19:53:11 +02:00
Bernhard B
cf40b6de95 updated signal-cli to version 0.10.5 & libsignal-client to version 0.15.0 2022-04-14 19:08:49 +02:00
Bernhard B
00ea8809b2 extended trust endpoint
* added possibility to trust all known keys. This option doesn't require
  the user to provide a safety number, but insted all known keys are
  trusted. This option is obviously less secure and should only be used
  for testing.

see #237
2022-04-09 09:23:34 +02:00
Bernhard B
ab4934832a fix bug in update profile REST API command
* use 'given-name' parameter instead of 'name'

see #236
2022-04-08 19:24:35 +02:00
Bernhard B
c4b5f900f9 added admins to groups GET endpoint
see #232
2022-04-04 19:09:38 +02:00
Bernhard B
0b6bd44838 ran go-fmt on complete sourcecode 2022-04-01 19:08:07 +02:00
Bernhard B
d34fcb905e added new API endpoints to add/remove admins to/from Signal Groups
see #232
2022-03-29 19:20:57 +02:00
Bernhard B
60b4d8afbf fixed bug in "add/remove members to group" endpoint
* forgot to reference group
2022-03-25 19:11:32 +01:00
Bernhard B
13bd8cae9f updated signal-cli to version 0.10.4.2 2022-03-23 20:44:44 +01:00
Bernhard B
3fcd6221d2 added new REST API endpoints
* added endpoint to add members to an existing group
* added endpoint to remove members from an existing group

see #210
2022-03-20 20:39:40 +01:00
Bernhard B
4a9aa9b0f3 added developer documentation 2022-03-19 19:04:47 +01:00
Bernhard B
3a5f060546 updated swagger documentation 2022-03-19 19:03:28 +01:00
Bernhard B
8292eac6fe fixed small error in API documentation 2022-03-19 19:02:12 +01:00
Bernhard B
cc3277c64a added 'add device' endpoint
see #165
2022-03-19 19:00:48 +01:00
Bernhard B
f3f67ce204 fixed bug in entrypoint.sh
* use "hostname -I" instead of "hostname -i", as no DNS resolution is
  required

* "hostname -I" might return multiple IPs (as space delimited string).
  Use the first one ("best effort") per default. In case a different IP
  should be used for the swagger UI API resource, the "SWAGGER_IP" env
  variable must be set in the docker-compose.yml.

see #230
2022-03-14 18:59:20 +01:00
Bernhard B
8a0ce92936 added "update contacts" endpoint
see #228
2022-03-13 20:10:15 +01:00
Bernhard B
f97626327e Merge branch 'master' of github.com:bbernhard/signal-cli-rest-api 2022-03-06 18:12:32 +01:00
Bernhard B
bede4bc022 fixed swagger.json url
* the url to the swagger.json uses now the correct ip address.

see #225
2022-03-06 18:11:06 +01:00
Bernhard B
092fb1a0dc Merge pull request #223 from jarrah31/master
Update EXAMPLES.md
2022-03-05 10:45:58 +01:00
Bernhard B
f411b558a8 made swagger ip configurable
* the swagger ip used in the interactive examples is now configurable.

see #225
2022-03-04 21:18:36 +01:00
Bernhard B
30341f27c7 make json-rpc mode work with linked devices
see #224
2022-03-04 20:34:11 +01:00
Bernhard B
3433969c5d updated signal-cli to version 0.4.10.1 2022-03-04 18:04:56 +01:00
jarrah31
69de2be9d9 Update EXAMPLES.md
Include a working example for sending images and videos
2022-03-02 22:04:04 +00:00
Bernhard B
ed83d2c240 Merge branch 'master' of github.com:bbernhard/signal-cli-rest-api 2022-02-25 18:43:11 +01:00
Bernhard B
50736ab633 fixed bug in jsonrpc2-helper
* golang doesn't automatically expand env variables in exec.Command
2022-02-25 18:41:30 +01:00
Bernhard B
dc7c049b1e Merge pull request #221 from stilsch/patch-2
' was missing
2022-02-24 18:24:35 +01:00
Bernhard B
fc30c0adc9 Merge branch 'master' into patch-2 2022-02-24 18:24:21 +01:00
Bernhard B
e5d9fa2c09 Merge pull request #222 from stilsch/patch-3
Added voice example for registration with capcha
2022-02-24 18:23:21 +01:00
Steffen Tilsch
6d2afdfc9b Added voice example for registration with capcha 2022-02-24 18:16:58 +01:00
Steffen Tilsch
4324f8febe ' was missing 2022-02-24 17:50:18 +01:00
Bernhard B
42200cb582 documented advanced settings
see #216
2022-02-23 18:56:38 +01:00
Bernhard B
4e78749b61 Merge branch 'configurable_uid_gid' 2022-02-23 17:53:13 +01:00
Bernhard B
893cd3d4bd Merge pull request #220 from stilsch/patch-1
fixed typos
2022-02-22 05:37:39 +01:00
Steffen Tilsch
7aac294c69 fixed typos 2022-02-21 23:12:37 +01:00
Bernhard B
b9d82e922e bumped libsignal-client in Dockerfile to version 0.12.3 2022-02-21 20:14:17 +01:00
Bernhard B
99159d0148 updated libsignal-client to version 0.12.3 2022-02-21 19:36:56 +01:00
Bernhard B
22c9159a78 Merge branch 'master' of github.com:bbernhard/signal-cli-rest-api 2022-02-21 18:21:23 +01:00
Bernhard B
994d518947 bump signal-cli to version 0.10.4 2022-02-21 18:21:04 +01:00
Bernhard B
6ce236a908 made UID/GID of configureable with env variables
see #216
2022-02-19 11:33:18 +01:00
Bernhard B
ba7e2358c5 made http scheme in swagger documentation the default 2022-02-19 11:22:45 +01:00
Bernhard B
ae149b2808 fixed bug in update profile endpoint
* due to a bug a it wasn't possible to update the avatar

see #218
2022-02-19 10:54:36 +01:00