Commit Graph

490 Commits

Author SHA1 Message Date
Bernhard B
53f351d37e updated graalvm to 21.2.0 2021-09-12 19:08:28 +02:00
Bernhard B
6a38b9415e updated signal-cli to version 0.9.0 2021-09-12 18:13:07 +02:00
Bernhard B
f894364665 added support for sending messages via JSON-RPC 2021-09-12 18:11:45 +02:00
Bernhard B
b20fb09653 fixed syntax error in bash script 2021-09-12 18:10:04 +02:00
Bernhard B
0755b96535 updated build & release container
* updated build container to debian bullseye
* updated release container to eclipse-temurin:11-jre-focal
  (the adoptopenjdk docker image is not longer maintained)
2021-09-12 18:08:18 +02:00
Bernhard B
a3843b9f12 added another sanity check 2021-09-11 23:11:11 +02:00
Bernhard B
fd5388506b checkout specific signal-cli version in Dockerfile
* accidentally removed in previous commit
2021-09-11 23:05:36 +02:00
Bernhard B
2a0347eea2 added more sanity checks + restructured code a bit 2021-09-11 23:03:01 +02:00
Bernhard B
79fa00fdf1 cleaned up Dockerfile 2021-09-11 22:33:56 +02:00
Bernhard B
2debc8554b updated Dockerfile to support JSON-RPC 2021-09-11 22:33:31 +02:00
Bernhard B
310d07536e formatted code with gofmt 2021-09-11 22:32:31 +02:00
Bernhard B
8617aacba5 added jsonrpc2-helper script 2021-09-11 22:31:43 +02:00
Bernhard B
27b7f28c42 formatted code with gofmt 2021-09-11 22:30:56 +02:00
Bernhard B
ae857c7a69 started working on JSON-RPC integration
* still WIP
2021-09-11 22:28:55 +02:00
Bernhard B
eb312c97c3 added precompiled libraries for libsignal-client v0.9.0 2021-09-11 22:24:58 +02:00
Bernhard B
9c0a73cb52 copy src/client folder to docker container 2021-09-05 19:36:18 +02:00
Bernhard B
314f9c47e2 fixed swaggo annotations 2021-09-05 18:59:37 +02:00
Bernhard B
84eb4393fe added precompiled libraries for libsignal-client v0.8.4 2021-09-05 18:30:42 +02:00
Bernhard B
1295fd7452 move signal-cli specific code into own library
* still WIP and APIs might change lateron, but at least it compiles.

see #150
2021-09-05 18:25:12 +02:00
Bernhard B
85dfe199f3 updated signal-cli to version 0.8.5 2021-08-10 19:52:20 +02:00
Bernhard B
719d8d6400 increased default command timeout to 120 seconds
* libsignal-client performs really bad on armv7 now, so
  increase the default command timeout to 120 seconds to make
  it somehow useable on armv7.

see #145
2021-07-29 20:55:28 +02:00
Bernhard B
2bd578759b bumped go-gin to version 1.7.0 2021-07-28 17:03:39 +02:00
Bernhard B
91e7e43de9 changed default parameters in swagger documentation for create groups
endpoint

* reordered parameters in swagger annotation in order to default the
  add members & edit group permissions to 'only-admins' & set the default
  for the group link to 'disable'.

see #148
2021-07-10 19:59:13 +02:00
Bernhard B
5dc663e80e extended create groups endpoint
* added possibility to specify the description, the add group & edit
  group permissions and the group link state.

see #148
2021-07-10 19:51:37 +02:00
Bernhard B
99b9d6163a added possibility to specify the signal-cli command timeout in the
docker-compose.yml file

see #145
2021-07-03 17:48:02 +02:00
Bernhard B
3d8133284e updated signal-cli to version 0.8.4.1 2021-06-22 19:44:45 +02:00
Bernhard B
05fdaef78e fixed syntax error in bug-report.yml 2021-06-18 18:06:45 +02:00
Bernhard B
4d577b0d54 fixed syntax error in bug-report.yml 2021-06-18 18:05:44 +02:00
Bernhard B
38bb86b5b9 fixed syntax error in bug-report.yml 2021-06-18 18:05:03 +02:00
Bernhard B
4fba476791 Update bug-report.yml 2021-06-18 18:03:33 +02:00
Bernhard B
8e78aded07 Merge branch 'master' of github.com:bbernhard/signal-cli-rest-api 2021-06-18 18:01:11 +02:00
Bernhard B
cc9bbdbffb improved bug-report.yml template 2021-06-18 18:00:05 +02:00
Bernhard B
1dcc3da1ec Update README.md 2021-06-17 20:27:26 +02:00
Bernhard B
7dbe258574 Update DEBUG.md 2021-06-17 10:14:53 +02:00
Bernhard B
ccd07f2cbf Create DEBUG.md 2021-06-17 10:10:22 +02:00
Bernhard B
37fba31d30 fixed syntax error in bug-report.yml 2021-06-16 11:15:56 +02:00
Bernhard B
b157fd179e fixed syntax errors in bug-report.yml 2021-06-16 11:09:57 +02:00
Bernhard B
2b4ac8be76 added yml issues template 2021-06-16 11:05:31 +02:00
Bernhard B
dc6471cdcf added precompiled libraries for libsignal-client v0.8.1 2021-06-15 12:30:08 +02:00
Bernhard B
44f781b723 updated signal-cli to version 0.8.4 and libsignal-client to version
0.8.1
2021-06-15 12:29:17 +02:00
Bernhard B
1fcc2d4acf fixed debug mode output
* sending a message wasn't correctly logged in debug mode
2021-06-08 21:39:51 +02:00
Bernhard B
326e298801 remove "." when constructing the attachment filename
* the mimetype library already adds the '.', so no need to
  add it manually

see #136
2021-05-27 20:37:19 +02:00
Bernhard B
68c6595ab9 return timestamp of sent message
see #137
2021-05-26 18:02:55 +02:00
Bernhard B
e58797d889 Merge branch 'master' of github.com:bbernhard/signal-cli-rest-api 2021-05-25 23:10:32 +02:00
Bernhard B
d04beed5de replaced h2non/filedetect with gabriel-vasile/mimetype library
* the mimetype library is faster and correctly detects text files
  as text/plain. (the filedetect library classified them as binary files)

see #136
2021-05-25 23:06:40 +02:00
Bernhard B
229bd3affa Update README.md 2021-05-22 11:42:18 +02:00
Bernhard B
2b979093cb Update README.md 2021-05-22 11:41:56 +02:00
Bernhard B
6d39ac124f Merge pull request #132 from webzit/patch-1
Add architecture specific lib's for GraalVM
2021-05-22 10:26:08 +02:00
Bernhard B
faa114472d fixed bug in AUTO_RECEIVE_SCHEDULE
* honor port override

see #135
2021-05-22 09:58:38 +02:00
webzit
5b61a3bb53 Unintentional spacing deleted
Unintentional spacing deleted
2021-05-16 23:27:19 +02:00