373 Commits

Author SHA1 Message Date
Gara Dorta
6e1698e820 feat: deploy pages with CI
Co-authored-by: Copilot <copilot@github.com>
2026-05-06 12:01:26 +01:00
Bernhard B
40232de0d0 handle InvalidTransportModeException error
see #837
2026-04-20 23:33:19 +02:00
Bernhard B.
f159947e07
Merge pull request #833 from Gara-Dorta/optional-group-creation-fields
Mark name and members as optional fields in CreateGroupRequest
2026-04-09 22:48:04 +02:00
Era Dorta
59d6912f21 Mark name and members as optional fields in CreateGroupRequest 2026-04-08 19:26:42 +02:00
Era Dorta
5a883826ae refactor: add missing checks on required fields 2026-04-08 19:10:48 +02:00
Bernhard B.
2a776618e9
Merge pull request #827 from Gara-Dorta/split-reaction-request-class
Split reaction request class
2026-04-07 19:53:41 +02:00
Phill Jolliffe
a01c2a61fa fix: resolve Go variable shadowing that silently swallows errors in JSON-RPC mode
24 functions in client.go use 'jsonRpc2Client, err :=' inside if blocks
where 'var err error' is already declared at function scope. The := creates
a new block-scoped err that shadows the outer one, causing 15 functions to
silently return nil instead of the actual error in JSON-RPC mode.

Fixes #506
2026-04-07 14:12:57 +01:00
Era Dorta
e46b1c9ea7 Merge branch 'master' into split-reaction-request-class 2026-04-06 21:34:31 +02:00
Era Dorta
2911bc3632 Merge branch 'master' into readme-docs 2026-04-06 21:26:17 +02:00
Bernhard B.
bc0ea66c04
Merge pull request #830 from Gara-Dorta/docs-version
Set docs version dynamically.
2026-04-06 21:07:44 +02:00
Era Dorta
3dd0001a32 Set docs version dynamically. 2026-04-06 18:15:06 +02:00
Era Dorta
b51505c8d9 Better formatting for the docs Readme instructions 2026-04-06 17:35:45 +02:00
Era Dorta
87ab2bb398 refactor: split Reaction in two classes to mark the Reaction field as optional 2026-04-06 17:05:45 +02:00
Era Dorta
4e541848e2 docs: regenerated docs with required fields 2026-04-06 16:57:57 +02:00
Era Dorta
40f299deff fix: add omitempty and generate swagger json with required fields 2026-04-06 16:57:14 +02:00
Bernhard B
eb34542216 increased timeout to account for slow startup on slow machines 2026-04-01 22:47:21 +02:00
Bernhard B
7687c5240b added API endpoints for pinning/unpinning messages in groups
see #820
2026-04-01 22:47:21 +02:00
Bernhard B
5c6fd14944 improved error handling in jsonrpc2-helper 2026-03-22 22:18:16 +01:00
Bernhard B
6ca5ff1aee added expand query parameter to /groups endpoints
see #790
2026-03-21 21:38:49 +01:00
Bernhard B
f142e8089c added new json-rpc-native mode 2026-03-21 19:49:26 +01:00
Bernhard B
d45b906aa9 regenerated swagger documentation 2026-03-21 19:48:10 +01:00
Bernhard B
5435b12e81 Revert "added query parameter 'use_only_uuid_as_identifier' to group(s) GET endpoint"
This reverts commit 44ce4fe83d964f39d6677fa46186bc1126fd069c.
2026-03-19 17:24:30 +01:00
Bernhard B
07260c0811 fixed bug in json-rpc webhook
* only post messages that were received via 'receive'

see #813
2026-03-14 15:54:49 +01:00
Bernhard B
baca954dcc updated swagger documentation 2026-03-13 21:24:15 +01:00
Bernhard B
44ce4fe83d added query parameter 'use_only_uuid_as_identifier' to group(s) GET endpoint
see #790
2026-03-13 21:18:28 +01:00
Bernhard B.
fcc62a7fe7
Merge branch 'master' into feature/ignore-avatars-stickers 2026-03-07 23:17:01 +01:00
Bernhard B
d7ffe54883 removed debug logging 2026-03-07 22:58:57 +01:00
Brian (bex) Exelbierd
2760fe0b70 add --ignore-avatars and --ignore-stickers support
Expose the new signal-cli v0.14.0 --ignore-avatars and --ignore-stickers
flags across all modes:

* JSON-RPC mode: JSON_RPC_IGNORE_AVATARS and JSON_RPC_IGNORE_STICKERS
  environment variables
* Normal/Native mode: ignore_avatars and ignore_stickers query parameters
  on the /v1/receive endpoint
* Auto-receive scheduler: AUTO_RECEIVE_SCHEDULE_IGNORE_AVATARS and
  AUTO_RECEIVE_SCHEDULE_IGNORE_STICKERS environment variables

Follows the existing pattern of --ignore-attachments and --ignore-stories.

Refs #776, #723

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-07 22:52:26 +01:00
Bernhard B
4fb1be6657 removed fifo pathname from json-rpc config
* not needed anymore
2026-03-07 21:17:45 +01:00
Bernhard B
af34a0881c fixed small bug in json-rpc reconnect mechanism
* after we successfully reconnected, wait for new data
2026-03-05 20:50:42 +01:00
Bernhard B
c7cb9ab13e improved json-rpc reconnection logic
* when the connection the signal-cli daemon is lost in json-rpc mode,
  the open connection will be closed and a new connection attempt will
  be made. If after 15 connection attempts we are unable to connect to
  the signal-cli daemon, we give up and abort.
2026-03-05 20:43:22 +01:00
Bernhard B
af18c7aea8 switched to signal-cli daemon mode
* this gets rid off the ugly netcat workaround and should improve
  the general stability of the connection to the signal-cli binary
  in json-rpc mode.
2026-03-05 20:41:17 +01:00
Bernhard B.
d080e8d478
Merge pull request #793 from revilo951/master
Swap PendingRequests and PendingInvites assignments
2026-03-03 21:25:24 +01:00
Bernhard B
a9c367a5b1 updated golang buildcontainer 2026-03-03 21:16:20 +01:00
revilo951
3a36a04b09
Swap PendingRequests and PendingInvites assignments
Fix for https://github.com/bbernhard/signal-cli-rest-api/issues/792
2026-02-23 11:00:15 +11:00
Bernhard B
1129e5a7be fixed error handling in updateGroupAdmins function
see #790
2026-02-22 22:11:46 +01:00
Bernhard B
5d5fa64f01 code cleanup: removed unused variable 2026-02-17 22:04:07 +01:00
Bernhard B
6c5dcdad2e fixed error handling in updateGroupMembers function
see #790
2026-02-17 22:02:31 +01:00
Dan Gabel
59f9cd3140 revert moving list contact types around 2026-02-12 22:00:42 -06:00
Dan Gabel
eece5f4e92 remove ListContact, extended ListContacts to accept uuid 2026-02-12 21:52:22 -06:00
Dan Gabel
5fcaa2ca2c type cleanup, fix typo 2026-02-12 15:51:21 -06:00
Dan Gabel
6ec6e198d7 Adds --all-recipient handling for ListContact endpoints 2026-02-12 15:36:42 -06:00
Dan Gabel
379ff16ca6 direct uuid contact search 2026-02-11 21:40:20 -06:00
Bernhard B
23c53382c2 return group permissions in groups request
see #781
2026-02-07 00:16:05 +01:00
Bernhard B
7711ad5503 added REST API endpoints for Signal Polls
see #765
2026-01-24 17:37:20 +01:00
Bernhard B
e5e21518a5 reformatted code with gofmt 2026-01-13 22:23:02 +01:00
Bernhard B
354df7472c implemented unregister in json-rpc mode
see #774
2026-01-13 22:21:20 +01:00
Samuel Rodrigues
2e507699c5 Changed the ListDevices endpoint to return the device id, created three new endpoints, one to return the device link to permit new device links without the qrcode, one to remove the linked devices and another to delete local-data 2026-01-08 15:46:13 +00:00
Bernhard B
5714161567 fixed bug in json-rpc mode
* handle 'trust-new-identities' setting in json-rpc mode

see #771
2025-12-08 22:40:03 +01:00
dependabot[bot]
4a2bf9182d
Bump github.com/sirupsen/logrus from 1.9.0 to 1.9.1 in /src
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/sirupsen/logrus/releases)
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sirupsen/logrus/compare/v1.9.0...v1.9.1)

---
updated-dependencies:
- dependency-name: github.com/sirupsen/logrus
  dependency-version: 1.9.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-05 02:36:43 +00:00