Commit Graph

445 Commits

Author SHA1 Message Date
Benjamin Schmid
df9477cf4f build(Dockerfile): upgrade signal-cli version to 0.11.3 2022-10-08 10:07:44 +02:00
Benjamin Schmid
04dacb26c4 chore(Dockerfile): comment out ignored setting 2022-10-08 10:07:30 +02:00
Bernhard B
f3f6e9390d Merge branch 'master' of github.com:bbernhard/signal-cli-rest-api 2022-10-06 09:50:34 +02:00
Bernhard B
4a11a455f2 Update Android version to get rid of deprecation warning
* this is just a temporary workaround until the upstream fixes that
  issue.
2022-10-06 09:49:59 +02:00
Bernhard B
d136f7cd3f Merge pull request #281 from eddywashere/patch-1
Update use of send command to include new required argument
2022-09-18 11:51:29 +02:00
Eddy Hernandez
8cd14210e1 Update use of send command to include new required argument
See 4120630309# for more info
2022-09-11 16:01:22 -07:00
Bernhard B
a1189292f8 Merge pull request #260 from zeetabit/master
Support attachment base64 and custom filename.
2022-08-06 12:07:07 +02:00
zeetabit
98a130dd05 Store base64 files locally before sending. 2022-08-04 10:35:50 +02:00
zeetabit
34e7db3c67 Bugfix for support attachment base64 and custom filename.
Introduce tests for attachment data parsing. Use tests at build stage.
2022-07-31 13:49:27 +02:00
zeetabit
270278ca30 Bugfix for support attachment base64 and custom filename.
Introduce tests for attachment data parsing. Use tests at build stage.
2022-07-31 13:45:29 +02:00
zeetabit
c52fa0e53c Support attachment base64 and custom filename. 2022-07-28 00:50:02 +02:00
zeetabit
14fd65c1e7 Support attachment base64 and custom filename. 2022-07-28 00:02:37 +02:00
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