Sébastien Helleu
14beee8a91
relay/api: rename field "nicks" to "nicklist" in GET /api/buffers
2024-04-07 13:18:14 +02:00
Sébastien Helleu
7c2f44e74e
relay/api: add nicklist group and nick id in response to GET /api/buffers (issue #2081 )
2024-04-07 13:18:14 +02:00
Sébastien Helleu
a499b50b7b
relay: add synchronization with remote and handler for events received (issue #2066 )
2024-04-07 13:18:14 +02:00
Sébastien Helleu
4adb64284b
buffer: add property input_get_any_user_data in buffer (issue #2066 )
...
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-07 13:18:13 +02:00
Sébastien Helleu
cb785d5035
relay/api: add "request" and "request_body" in response when connected via websocket (issue #2066 )
2024-04-07 13:18:13 +02:00
Sébastien Helleu
4460f92727
relay: stop URL address before the first question mark if colon is not found (issue #2066 )
2024-04-07 13:18:13 +02:00
Sébastien Helleu
f507be4128
tests: add tests on relay remote functions (issue #2066 )
2024-04-07 13:18:13 +02:00
Sébastien Helleu
90b855e1aa
relay: add connection to remote (issue #2066 )
...
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-07 13:18:13 +02:00
Sébastien Helleu
c2343ecb74
relay: add functions to parse HTTP response (issue #2066 )
2024-04-07 13:16:50 +02:00
Sébastien Helleu
786f889251
relay: add command /remote, add remote configuration in relay.conf (issue #2066 )
2024-04-07 13:16:47 +02:00
Sébastien Helleu
40bfded594
irc: fix display of reply for CTCP request received on a channel when capability echo-message is enabled
2024-04-06 22:44:04 +02:00
Sébastien Helleu
2c3c9a3ee7
tests: rename variable "i" to "echo_message"
2024-04-06 18:29:42 +02:00
Sébastien Helleu
74729ce677
irc: display CTCP reply to a nick in server buffer instead of channel
...
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-06 16:42:15 +02:00
Sébastien Helleu
d81170b010
tests: add extra tests on received IRC CTCP messages
2024-04-06 16:37:40 +02:00
Sébastien Helleu
965beb37de
core: fix print of pointer values
2024-04-01 21:08:52 +02:00
Sébastien Helleu
34a72ac02e
relay/api: add GET /api/hotlist
2024-03-17 20:13:19 +01:00
Sébastien Helleu
1f47e7c4f8
tests: add missing include of string.h in relay API protocol tests
2024-03-17 10:47:46 +01:00
Sébastien Helleu
24c4029c96
core: remove "wee-" prefix from source files in src/core and src/core/hook
2024-03-12 21:27:37 +01:00
Sébastien Helleu
48ca390f79
relay/api: add support of buffer id in POST /api/input (issue #2081 )
2024-03-12 20:37:51 +01:00
Sébastien Helleu
aa989767a1
relay/api: add support of buffer id in GET /api/buffers (issue #2081 )
2024-03-12 20:37:50 +01:00
Sébastien Helleu
7ad3c1979c
tests/relay/api: add buffer id in test of buffer to json function (issue #2081 )
2024-03-12 20:37:48 +01:00
Sébastien Helleu
99f0a2e002
tests/relay/api: add tests on API protocol
2024-03-12 20:37:48 +01:00
Sébastien Helleu
6325add517
tests/relay/irc: use port 9001 for server relay
2024-03-12 20:37:48 +01:00
Sébastien Helleu
80709292d4
tests/relay/irc: fix comments
2024-03-12 20:37:48 +01:00
Sébastien Helleu
f2f6afb59c
tests/relay/irc: remove unused calls to record functions
2024-03-12 20:37:48 +01:00
Sébastien Helleu
a167322d8b
api: add info "plugin_loaded"
2024-02-19 18:29:21 +01:00
Sébastien Helleu
f19808cedd
tests: add tests on "api" relay (general functions and messages)
2024-02-18 23:42:22 +01:00
Sébastien Helleu
0f30a4e020
relay: move functions to get URL parameters from api to relay-http.c, add tests
2024-02-18 23:13:20 +01:00
Sébastien Helleu
9b9b36bb02
tests: fix free of HTTP request
2024-02-18 23:12:56 +01:00
Sébastien Helleu
90c87e7553
irc: add missing tags on self action messages when capability echo-message is enabled ( closes #2074 )
2024-02-16 20:58:31 +01:00
Sébastien Helleu
162bcb2622
irc: don't strip monospace color code 0x11 from incoming messages ( closes #2073 )
2024-02-16 19:22:28 +01:00
Sébastien Helleu
0cfc61a17e
irc: add server option "autojoin_delay" ( closes #862 )
...
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-11 09:12:57 +01:00
Sébastien Helleu
89aeb03a13
relay: remove request from some function arguments (issue #2066 )
2024-02-01 21:39:23 +01:00
Sébastien Helleu
83567fd871
relay: allow password hash authentication in api relay, add option relay.network.time_window (issue #2066 )
2024-02-01 21:39:23 +01:00
Sébastien Helleu
f126255d6a
core: add support of base64url in encode/decode functions (issue #2066 )
2024-02-01 21:39:21 +01:00
Sébastien Helleu
6cfb31c306
relay: add support of websocket extension "permessage-deflate" ( closes #1549 )
...
This extension is used to compress and decompress websocket frames (using
the DEFLATE algorithm, with zlib).
2024-02-01 21:38:53 +01:00
Sébastien Helleu
8971fc069a
relay: add "api" protocol (HTTP REST API) (issue #2066 )
2024-02-01 21:38:49 +01:00
Sébastien Helleu
fe52f7c78c
tests: remove extra empty line
2024-01-22 13:58:33 +01:00
Sébastien Helleu
06b4e46977
irc: fix random date displayed when a received message contains tags but no "time" ( closes #2064 )
2024-01-22 13:18:25 +01:00
Sébastien Helleu
05fdb2929f
tests: add missing format string in calls to snprintf
2024-01-21 09:17:11 +01:00
Sébastien Helleu
869fba9f74
irc: add tests on info functions (issue #2059 )
2024-01-12 17:58:36 +01:00
Sébastien Helleu
57a206287a
irc: fix display of self messages in case of message split failure
...
When the message sends inconsistent max lengths in message 005, the split of
self message fails and causes a display issue: the channel name is displayed
with the message:
nick | #channel :this is a test
instead of:
nick | this is a test
2024-01-05 21:36:58 +01:00
Sébastien Helleu
4a1e5e7eaa
irc: remove function irc_protocol_parse_time, use API function weechat_util_parse_time (issue #649 )
2024-01-05 19:28:47 +01:00
Sébastien Helleu
eecb2a997e
core: update copyright dates
2024-01-01 22:29:58 +01:00
Sébastien Helleu
9fb3d3f14c
core: store microseconds in buffer lines ( closes #649 )
2023-12-26 19:44:37 +01:00
Sébastien Helleu
07fbd30948
tests: add missing include of string.h in plugin API info tests
2023-12-15 13:51:32 +01:00
Sébastien Helleu
b3422b96c0
irc: add option irc.look.display_host_wallops
2023-12-10 21:13:00 +01:00
Sébastien Helleu
3db8eb65ff
tests: add tests with options irc.look.display_host_{join|join_local|notice|quit} set to off
2023-12-10 21:03:33 +01:00
Sébastien Helleu
bc08d9a2b3
tests: rename tests
2023-12-02 13:32:15 +01:00
Sébastien Helleu
52f32e5612
tests: add tests on plugin config functions
2023-12-02 13:24:42 +01:00