summaryrefslogtreecommitdiff
path: root/tests/unit
AgeCommit message (Collapse)Author
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-07core: add unique "id" in nicklist group and nick (issue #2081)Sébastien Helleu
The id is a "long long" variable with the current time (microseconds precision). It is guaranteed to be unique for all groups and nicks inside the buffer, and the same number is never used again in the same buffer, during the lifetime of the process. It persists and is unchanged after `/upgrade`.
2024-04-07relay: add synchronization with remote and handler for events received ↵Sébastien Helleu
(issue #2066)
2024-04-07api: add function "asprintf"Sébastien Helleu
2024-04-07buffer: add property `input_get_any_user_data` in buffer (issue #2066)Sébastien Helleu
This allows buffers to get any user input, including commands, that are sent to the buffer callback instead of being executed on the buffer.
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-04-06irc: fix display of reply for CTCP request received on a channel when ↵Sébastien Helleu
capability echo-message is enabled
2024-04-06tests: rename variable "i" to "echo_message"Sébastien Helleu
2024-04-06irc: display CTCP reply to a nick in server buffer instead of channelSébastien Helleu
When a CTCP request is received on a channel, WeeChat replies to the nick and it is now displayed in the server buffer instead of the channel, as the target is a nick and not a channel.
2024-04-06tests: add extra tests on received IRC CTCP messagesSébastien Helleu
2024-04-01core: fix print of pointer valuesSébastien Helleu
2024-03-24core: fix tests on function strftimeval on AlpineSébastien Helleu
2024-03-17relay/api: add GET /api/hotlistSébastien Helleu
2024-03-17tests/gui: add tests on hotlist functionsSébastien Helleu
2024-03-17tests: add missing include of string.h in relay API protocol testsSébastien Helleu
2024-03-16core: add variable `${highlight}` in option weechat.look.buffer_time_format ↵Sébastien Helleu
(issue #2079)
2024-03-15tests: add hdata tests with struct timevalSébastien Helleu
2024-03-13tests: reorder tests on core directory functionsSé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-03-12api: allow search by buffer id in function buffer_search (issue #2081)Sébastien Helleu
2024-03-12core: add function gui_buffer_search_by_id (issue #2081)Sébastien Helleu
2024-03-12core: rename function gui_buffer_search_by_name to gui_buffer_search (issue ↵Sébastien Helleu
#2081)
2024-03-12core: add unique "id" in buffer (issue #2081)Sébastien Helleu
The id is a "long long" variable with the current time (microseconds precision). It is guaranteed to be unique for all buffers, and the same number is never used again, during the lifetime of the process. It persists and is unchanged after `/upgrade`.
2024-03-12api: add function "hdata_longlong" (issue #2081)Sébastien Helleu
2024-03-10core: use whole replacement string instead of first char in function ↵Sébastien Helleu
gui_color_decode
2024-03-06core: add support of SGR mouse events, remove option ↵Sébastien Helleu
weechat.look.mouse_timer_delay (closes #2082)
2024-03-05api: add functions config_{boolean|integer|string|color|enum}_inherited in ↵Sébastien Helleu
scripting API
2024-03-05tests: add tests on functions that read values of config optionsSébastien Helleu
2024-02-19api: add info "plugin_loaded"Sé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-16irc: add missing tags on self action messages when capability echo-message ↵Sébastien Helleu
is enabled (closes #2074)
2024-02-16irc: don't strip monospace color code 0x11 from incoming messages (closes #2073)Sébastien Helleu
2024-02-11irc: add server option "autojoin_delay" (closes #862)Sébastien Helleu
The server option "autojoin_delay" adds a delay before autojoin. The server option "command_delay" is now used to add a delay before the execution of the command. On upgrade from an old version, the option "command_delay" is copied to "autojoin_delay" (in old versions, "command_delay" was applied after the execution of command and before the autojoin).
2024-02-10tests: fix compiler warning on empty snprintf formatSébastien Helleu
This fixes the following warning: test-core-dir.cpp:178:36: warning: zero-length gnu_printf format string [-Wformat-zero-length]
2024-02-10core: remove trailing directory separators in home directories (closes #2070)Sébastien Helleu