crummy
1237c528f5
Found a proper way to escape it
2024-10-28 21:00:52 +13:00
crummy
d17e3d7eb9
Handle phone numbers that start with "%25" (as + is commonly escaped with)
2024-10-28 20:49:29 +13:00
crummy
8ac02d28eb
Correct "number" - it's actually the phone number
2024-10-28 13:37:50 +13:00
crummy
26a5a6039b
Update swagger files from code, with swag tool
2024-10-28 13:07:05 +13:00
crummy
a8494b70bd
Add scheme to satisfy liblab
2024-10-26 14:04:19 +13:00
crummy
e16eed4580
Add default host to satisfy liblab
2024-10-26 13:55:55 +13:00
crummy
c62dc45a85
Fix linting warnings in swagger files
2024-10-25 10:18:55 +13:00
Bernhard B.
3c3835d9ec
Merge pull request #604 from tactilenews/extend_update_profile_with_description
...
Add ability to update about text in UpdateProfileRequest
2024-10-23 19:04:43 +02:00
Matthew Rider
57dcb2f281
Add a pointer to conditionally send about string to signal-cli
2024-10-22 10:27:32 +02:00
Matthew Rider
f6c3f263e8
Add ability to update about text in UpdateProfileRequest
2024-10-21 11:35:39 +02:00
Bernhard B
54252a3d52
fixed swagger documentation
...
see #602
2024-10-14 15:58:35 +02:00
Bernhard B
94e93cbe35
added expiration_time parameter to create group endpoint
...
see #587
2024-10-07 23:02:33 +02:00
Bernhard B
1506c1c9d4
fixed signal-cli-native version in Dockerfile
2024-09-30 17:33:43 +02:00
Bernhard B
a7d36cdcf8
fixed signal-cli-native version in Dockerfile
2024-09-30 16:33:02 +02:00
Bernhard B
8242874d1d
updated signal-cli to v0.13.7
2024-09-29 22:53:25 +02:00
Bernhard B.
6c6a934b7f
Merge pull request #584 from derpferd/patch-1
...
Add missing groupid parameter
2024-09-13 16:11:19 +02:00
Jonathan Beaulieu
47390f85df
Add missing groupid parameter
...
Was missing from delete and add group admin and member.
2024-09-13 11:24:48 +00:00
Jonathan Beaulieu
37cdcac44d
Ran swag init with no changes
2024-09-13 11:22:07 +00:00
Bernhard B
d8040120f7
fixed libsignal_jni.so location for armv7
2024-09-13 12:18:28 +02:00
Bernhard B
e2709fe70e
updated signal-cli to v0.13.6
2024-09-13 12:08:27 +02:00
Bernhard B
e1ea5932c9
re-build swagger documentation
2024-08-20 21:44:11 +02:00
Bernhard B.
4bf70dd456
Merge pull request #573 from ahatius/master
...
Add support to disable notify-self flag on /v2/send endpoint
2024-08-20 21:43:26 +02:00
Bernhard B
e6ff51e3d8
fixed deadlock in json-rpc mode
...
* properly unlock mutex to avoid deadlock
see #572
2024-08-09 23:03:22 +02:00
ahatius
8cd60ff6c3
Add support to disable notify-self flag on /v2/send endpoint
2024-08-07 18:54:24 +02:00
Bernhard B
f3289395ae
fixed deadlock in Websocket write
...
* properly unlock mutex to avoid deadlock
see #572
2024-08-07 17:07:12 +02:00
Bernhard B.
a6624c5dee
Merge pull request #570 from ksangers/master
...
For reverse proxies, add SWAGGER_HOST environment variable support
2024-08-04 20:49:08 +02:00
Klaas Sangers
531c673b7e
Add SWAGGER_HOST environment variable support
...
- Add `SWAGGER_HOST` environment variable to `README.md` for Swagger UI configuration.
- Update `main.go` to use `SWAGGER_HOST` environment variable for Swagger UI host configuration.
2024-08-03 16:41:13 +02:00
Bernhard B
bb246cf3f7
updated libsignal-client to v0.52.2
2024-07-28 22:41:11 +02:00
Bernhard B
30615592b3
updated signal-cli to version 0.13.5
2024-07-28 22:25:34 +02:00
Bernhard B
d1694ee88c
add account to SendMessageError json response
...
* when a rate limiting error is returned, also include the account
information (this is quite useful for multi account setups).
see #566
2024-07-23 20:42:29 +02:00
Bernhard B
dc1efc1a14
protect map write with mutex
...
* in order to make the r.receivedResponsesById map goroutine-safe, a
mutex was added. This is not particular nice, but rewriting the
jsonrpc connection handling would be quite a lot of work and has a
big regression potential. So, if it is not absolutely necessary, I'd
like to avoid that.
see #555
2024-07-09 21:27:49 +02:00
Bernhard B
cd996e1814
protect websocket write with mutex
...
* Gorilla Websocket only allows one concurrent writer. As there are
multiple goroutines that could write concurrently to the websocket,
the websocket write needs to be protected by a Mutext. This is not
particular nice, but a complete rewrite of the connection handling
would be quite a lot of work.
see #556
2024-07-09 21:19:49 +02:00
Bernhard B
911b686778
fixed bug in send method
...
* allow sending messages to the sourceUuid
see #550
2024-06-20 18:29:31 +02:00
Bernhard B
f444622397
rebuilt swagger documentation
2024-06-18 19:50:09 +02:00
Bernhard B
8929326f5f
beautified code with gofmt
2024-06-18 19:49:47 +02:00
Bernhard B
e7ebd010a3
Merge pull request #549 from tactilenews/expose_list_contacts_endpoint
...
Expose listContacts endpoint
2024-06-18 19:48:27 +02:00
mattwr18
ee10b6bc32
Expose listContacts endpoint
2024-06-18 18:40:32 +02:00
Bernhard B
05225a27ee
fixed bug in textstyleparser
...
* handle multi-character emojis correctly
see #544
2024-06-17 20:33:50 +02:00
Bernhard B
db4554d5ff
Merge branch 'master' of github.com:bbernhard/signal-cli-rest-api
2024-06-06 19:58:39 +02:00
Bernhard B
7961120b96
added libsignal-client v0.47.0
2024-06-06 19:54:12 +02:00
Bernhard B
7a8aae0c40
updated signal-cli-native in Dockerfile to v0.13.4+1
2024-06-06 19:28:05 +02:00
Bernhard B
a87e130ced
updated libsignal-client in Dockerfile to v0.47.0
2024-06-06 19:26:55 +02:00
Bernhard B
5f8c557e44
updated signal-cli to version 0.13.4
2024-06-06 19:26:22 +02:00
Bernhard B
a6b5c566a4
Merge pull request #525 from jneidel/link-to-signal-cli-to-file
...
Add a link to signal-cli-to-file
2024-05-29 19:00:28 +02:00
Jonathan Neidel
c14916f43b
Update READMEs clients and libraries table
2024-05-28 18:53:47 +02:00
Bernhard B
14707c7f5f
Merge branch 'master' of github.com:bbernhard/signal-cli-rest-api
2024-05-22 19:22:57 +02:00
Bernhard B
bbd088fc0b
added username support to /v2/send endpoint
2024-05-22 19:22:39 +02:00
Bernhard B
a0cdcf0522
Merge pull request #535 from jaanli/patch-1
...
Fix README.md
2024-05-16 12:51:16 +02:00
Bernhard B
07a3beaa97
removed datastrutures folder again
2024-05-14 22:57:52 +02:00
Bernhard B
f2c268dfa0
improved code by splitting it up in different go files
2024-05-14 22:49:26 +02:00