summaryrefslogtreecommitdiff
path: root/src/plugins
AgeCommit message (Collapse)Author
2024-05-27relay/remote: add translations for some messages displayedSébastien Helleu
2024-05-27core: fix detection of libgcrypt ≥ 1.11 (debian #1071960)Sébastien Helleu
Use pkg-config to detect libgcrypt, since command `libgcrypt-config` is not available any more. Remove patches for Debian/Raspbian Buster and Ubuntu Bionic: detection of libgcrypt don't work any more with version 1.8.4 on Debian Buster and 1.8.1 on Ubuntu Bionic (both versions don't provide the file `libgcrypt.pc`).
2024-05-27irc: close /list buffer when the server buffer is closed (closes #2121)Sébastien Helleu
2024-05-26relay: fix compiler warnings when cJSON is disabledSébastien Helleu
2024-05-26core, relay: fix include directory of libcjson and libzstdSébastien Helleu
2024-05-26php: fix return value of function hdata_longlongSébastien Helleu
2024-05-26tcl: fix return value for hdata_longlongLuK1337
Using API_RETURN_LONG() here breaks tests on i368.
2024-05-26relay: add infos "relay_api_version" and "relay_api_version_number"Sébastien Helleu
2024-05-26relay/api: set API version to 0.1.0 in OpenAPI documentSébastien Helleu
2024-05-26relay/api: set API version to 0.1.0Sébastien Helleu
2024-05-25irc: fix crash in split of IRC message containing a newline if the server is ↵Sébastien Helleu
not given
2024-05-25relay/remote: fix relay API version comparison with a string that can be NULLSébastien Helleu
2024-05-24relay: fix compiler warning in call to snprintfSébastien Helleu
This fixes the following warning emitted by gcc: …/relay-http.c:1207:32: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 64 [-Wformat-truncation=] 1207 | "%s[%d bytes data]", | ^~ 1208 | str_header, | ~~~~~~~~~~ …/relay-http.c:1207:31: note: directive argument in the range [1, 2147483647] 1207 | "%s[%d bytes data]", | ^~~~~~~~~~~~~~~~~~~ …/relay-http.c:1206:21: note: ‘snprintf’ output between 15 and 1047 bytes into a destination of size 64 1206 | snprintf (raw_message, length_raw, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1207 | "%s[%d bytes data]", | ~~~~~~~~~~~~~~~~~~~~ 1208 | str_header, | ~~~~~~~~~~~ 1209 | *ptr_body_size); | ~~~~~~~~~~~~~~~
2024-05-19relay/openapi: add note about websocket connection in sync endpointSébastien Helleu
2024-05-19relay/openapi: remove example from descriptionSébastien Helleu
2024-05-19relay/openapi: add complete description for authentication, add header ↵Sébastien Helleu
"x-weechat-totp"
2024-05-19relay/openapi: replace "summary" by "description" in pathsSébastien Helleu
2024-05-19relay/remote: check that remote API is exactly the same version as local one ↵Sébastien Helleu
upon connection
2024-05-19relay/remote: fix error displayed when an error happens in a callbackSébastien Helleu
2024-05-18relay/remote: fix highlight on lines received from remoteSébastien Helleu
2024-05-16irc: store lag in channel and private buffers (local variable "lag"), in ↵Sébastien Helleu
addition to the server buffer
2024-05-16relay/remote: add, update and remove buffer local variables received from remoteSébastien Helleu
2024-05-16relay/remote: set "input" and "input_pos" only upon buffer creationSébastien Helleu
This prevents unexpected updates of input on remote buffer whenever something changes in the buffer, like a local variable, but with the same unchanged input.
2024-05-15relay/api: add OpenAPI document (issue #2066)Sé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-13irc: allow range in commands `/unban` and `/unquiet` (closes #2113)Sébastien Helleu
2024-05-13irc: use dynamic string in function irc_command_mode_masksSébastien Helleu
2024-05-12relay: add protocol "api" in completion of command "/relay add"Sébastien Helleu
2024-05-12relay/api: add different return codes for callbacksSébastien Helleu
2024-05-12relay/remote: set modes on buffer eventSébastien Helleu
2024-05-12relay/api: add field "modes" in GET /api/buffersSébastien Helleu
2024-05-12irc: rename option irc.color.item_channel_modes to weechat.color.status_modesSébastien Helleu
2024-05-12irc: remove redefinition of bar item "buffer_modes"Sébastien Helleu
The new buffer property "modes" is used instead.
2024-05-12irc: restore input prompt after upgrade on server and channel buffersSébastien Helleu
2024-05-11relay/remote: set input prompt on buffer eventSébastien Helleu
2024-05-11relay/api: add field "input_prompt" in GET /api/buffersSébastien Helleu
2024-05-11irc: remove redefinition of bar item "input_prompt"Sébastien Helleu
The new buffer property "input_prompt" is used instead.
2024-05-10irc: fix nick comparison in function irc_server_set_nickSébastien Helleu
2024-05-09irc: rename function irc_server_buffer_set_input_multiline to ↵Sébastien Helleu
irc_server_set_buffer_input_multiline
2024-05-07relay/remote: set input multiline on buffer eventSébastien Helleu
2024-05-07relay/remote: set buffer input and cursor position on buffer eventSébastien Helleu
2024-05-07relay: change default value of option "relay.network.commands" to `*,!quit`Sébastien Helleu
2024-05-05relay/remote: reuse an existing remote bufferSébastien Helleu
2024-05-05relay/remote: synchronize input with remote relaySébastien Helleu
2024-05-05relay/api: add optional synchronization of inputSé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-05relay/api: fix read of buffer lines when lines parameter is LONG_MINSébastien Helleu
2024-05-05relay/api: reply to preflight request OPTIONS received from browsers (CORS)Sébastien Helleu
This adds the support of Cross-Origin Resource Sharing (CORS) in the relay HTTP API.
2024-05-04relay/api: send all nicks when a buffer is openedSébastien Helleu