Commit Graph

149 Commits

Author SHA1 Message Date
dependabot[bot]
b8cdc243bd Bump github.com/gin-gonic/gin from 1.7.0 to 1.7.7 in /src
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.7.0 to 1.7.7.
- [Release notes](https://github.com/gin-gonic/gin/releases)
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gin-gonic/gin/compare/v1.7.0...v1.7.7)

---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-09 21:47:17 +00:00
Robin THONI
e5bd4dd30a Changed snake case variables to camel case 2022-11-07 17:18:38 +01:00
Robin THONI
fce14ba049 Added nested object for mentions (direct and quote) 2022-11-03 20:29:32 +01:00
Robin THONI
f89ae911e1 Added support for missing send arguments:
- Mentions
- Quote timestamp
- Quote author
- Quote message
- Quote mentions
2022-11-03 19:20:14 +01: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
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
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
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
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
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
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
8a0ce92936 added "update contacts" endpoint
see #228
2022-03-13 20:10:15 +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
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
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
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
Bernhard B
284e92107c fixed bug in json-rpc mode
* properly close websocket connection when client disconnects

see #198
2022-01-16 22:00:12 +01:00
Bernhard B
b64ee6bbb8 re-generated swagger documentation 2022-01-15 19:55:04 +01:00
Bernhard B
1f622e3305 added unregister API endpoint
see #71
2022-01-15 19:54:09 +01:00
Bernhard B
8e2403bee4 fixed swagger documentation for search endpoint
see #50
2022-01-03 15:21:29 +01:00
Bernhard B
43747af9d4 added search endpoint
* check whether one or more phone numbers are registered with
  the signal service.

see #50
2022-01-02 14:52:45 +01:00
Bernhard B
18dcc49ff4 set version during build process
see #47
2022-01-01 14:53:18 +01:00
Bernhard B
259e1ece8e fixed bug in qrcodelink endpoint
* generate QR code with version 10 and the highest error correction
  level.

see #190
2021-12-31 21:12:35 +01:00
Bernhard B
7c8135e119 use "-a" instead of "-u" for specifying the number
* due to the upcoming username support in Signal, signal-cli renamed
  "-u" to "-a".
2021-12-14 21:20:13 +01:00
Bernhard B
0d0b061b37 Reverted last commits
* updating to signal-cli v 0.10.0 is more work than anticipated; changes
  will be reverted here and development continues on dedicated feature
  branch.
2021-12-14 21:14:13 +01:00
Bernhard B
7c480f73a2 use "-a" instead of "-u" for specifying the number
* due to the upcoming username support in Signal, signal-cli renamed
  "-u" to "-a".
2021-12-12 14:21:10 +01:00
Bernhard B
8a2970cb2d fixed bugs in list groups endpoint
* pendingMembers and requestingMembers were incorrectly parsed from
  signal-cli's JSON output

see #187
2021-12-11 09:35:54 +01:00
Bernhard B
ed8916ce0e do not spam log file in case JsonRpc2 client can't read data
* only log an error message at max every 5 minutes

see #186
2021-12-05 17:48:44 +01:00
Bernhard B
f8f601a498 fixed bug in json-rpc mode
* do not hardcode path to signal-cli config directory in supervisor
  config file.
2021-11-06 22:49:25 +01:00
Bernhard B
e5d170eaf6 rebuild swagger documentation 2021-11-06 14:55:09 +01:00
Bernhard B
a6489ce742 Merge pull request #176 from filipre/reactions
Reactions Endpoint Proposal
2021-11-06 14:54:13 +01:00
Bernhard B
f472e51984 fixed bug in JSON-RPC mode
* use signal-cli's 'block' command to block a group

see #177
2021-11-06 09:18:13 +01:00
René Filip
cfcbe43c4b use reactions instead of reaction 2021-11-06 01:14:09 +01:00
René Filip
3bd0d97970 activate endpoint and write swagger documentation 2021-11-06 00:43:02 +01:00