summaryrefslogtreecommitdiff
path: root/tests/unit/plugins/relay
AgeCommit message (Collapse)Author
2024-05-26tests: relay: fix HotlistToJson test on s390xLuK1337
1: error: Failure in TEST(RelayApiMsg, HotlistToJson) 1: expected <2024-05-26T10:29:37.716512Z> 1: but was <2024-05-26T10:29:37.000000Z> 1: difference starts at position 20 at: <T10:29:37.000000Z >
2024-05-26tests: relay: add missing <string.h> includeLuK1337
Fixes build error on Fedora 40.
2024-05-25tests: remove dead assignmentsSébastien Helleu
2024-05-14relay: add option "autoconnect" in remoteSébastien Helleu
This option enables auto-connection to the remote, unless command line option `-a` (`--no-connect`) is given.
2024-05-12relay/api: add field "modes" in GET /api/buffersSébastien Helleu
2024-05-11relay/api: add field "input_prompt" in GET /api/buffersSébastien Helleu
2024-05-05relay/api: add input fields in GET /api/buffersSébastien Helleu
New fields returned: - "input" (string): content of input - "input_position" (integer): position in input (starts at 0) - "input_multiline" (boolean): true if the buffer allows multiline input
2024-05-05relay/api: add parameter "lines_free" in GET /api/buffersSébastien Helleu
This parameter is the number of lines to return for buffers with free content. Its default value is `0` if "lines" is set to `0`, otherwise all buffer lines are returned.
2024-05-05tests: add test on relay API preflight request (OPTIONS)Sébastien Helleu
2024-05-05tests: fix relay API protocol testsSébastien Helleu
2024-05-04tests: add placeholders for tests on relay api remote event functionsSébastien Helleu
2024-05-01relay/api: add buffer keys in GET /api/buffers (issue #2066)Sébastien Helleu
2024-04-29relay/api: add color names for groups and nicks in GET /api/buffersSébastien Helleu
2024-04-29relay/api: add nicklist boolean fields in GET /api/buffersSébastien Helleu
2024-04-29relay/api: rename field "nicklist" to "nicklist_root" in GET /api/buffersSébastien Helleu
2024-04-26relay: remove check of NULL pointers before calling ↵Sébastien Helleu
relay_websocket_deflate_free() (issue #865)
2024-04-26relay: remove check of NULL pointers before calling ↵Sébastien Helleu
relay_http_response_free() (issue #865)
2024-04-14relay: add TLS connection to remote, add remote option "tls_verify"Sébastien Helleu
2024-04-07tests: fix relay/api tests on group and nick colorsSébastien Helleu
2024-04-07relay/api: rename field "nicks" to "nicklist" in GET /api/buffersSébastien Helleu
2024-04-07relay/api: add nicklist group and nick id in response to GET /api/buffers ↵Sébastien Helleu
(issue #2081)
2024-04-07relay: add synchronization with remote and handler for events received ↵Sébastien Helleu
(issue #2066)
2024-04-07relay/api: add "request" and "request_body" in response when connected via ↵Sébastien Helleu
websocket (issue #2066)
2024-04-07relay: stop URL address before the first question mark if colon is not found ↵Sébastien Helleu
(issue #2066)
2024-04-07tests: add tests on relay remote functions (issue #2066)Sébastien Helleu
2024-04-07relay: add connection to remote (issue #2066)Sébastien Helleu
Connection to remote: - handshake: offer support for all supported hash algorithms - network connect with a socket - upgrade to websocket and authenticate with remote (password/TOTP) - check websocket response - get list of buffers (not used yet) Note: connection to remote with TLS or a proxy is not yet supported.
2024-04-07relay: add functions to parse HTTP response (issue #2066)Sébastien Helleu
2024-04-07relay: add command `/remote`, add remote configuration in relay.conf (issue ↵Sébastien Helleu
#2066)
2024-03-17relay/api: add GET /api/hotlistSébastien Helleu
2024-03-17tests: add missing include of string.h in relay API protocol testsSébastien Helleu
2024-03-12core: remove "wee-" prefix from source files in src/core and src/core/hookSébastien Helleu
2024-03-12relay/api: add support of buffer id in POST /api/input (issue #2081)Sébastien Helleu
2024-03-12relay/api: add support of buffer id in GET /api/buffers (issue #2081)Sébastien Helleu
2024-03-12tests/relay/api: add buffer id in test of buffer to json function (issue #2081)Sébastien Helleu
2024-03-12tests/relay/api: add tests on API protocolSébastien Helleu
2024-03-12tests/relay/irc: use port 9001 for server relaySébastien Helleu
2024-03-12tests/relay/irc: fix commentsSébastien Helleu
2024-03-12tests/relay/irc: remove unused calls to record functionsSébastien Helleu
2024-02-18tests: add tests on "api" relay (general functions and messages)Sébastien Helleu
2024-02-18relay: move functions to get URL parameters from api to relay-http.c, add testsSébastien Helleu
2024-02-18tests: fix free of HTTP requestSébastien Helleu
2024-02-01relay: remove request from some function arguments (issue #2066)Sébastien Helleu
2024-02-01relay: allow password hash authentication in api relay, add option ↵Sébastien Helleu
relay.network.time_window (issue #2066)
2024-02-01relay: add support of websocket extension "permessage-deflate" (closes #1549)Sébastien Helleu
This extension is used to compress and decompress websocket frames (using the DEFLATE algorithm, with zlib).
2024-02-01relay: add "api" protocol (HTTP REST API) (issue #2066)Sébastien Helleu
2024-01-01core: update copyright datesSébastien Helleu
2023-12-02tests: rename testsSébastien Helleu
2023-08-08relay: fix display of IRC CTCP messages received from client (issue #1986)Sébastien Helleu
2023-07-01tests/relay: fix crash in tests on Alpine 3.18Sébastien Helleu
2023-06-05tests: fix checks on integers in relay irc protocol testsSébastien Helleu