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
f153b6e6c3
relay: change message displayed when there is not enough memory for websocket frame
2024-02-11 08:53:29 +01:00
Sébastien Helleu
9ce435fa5e
relay: add WeeChat version in config update callback
2024-02-11 08:47:56 +01:00
Sébastien Helleu
5a00f1a138
irc: add WeeChat version in config update callback
2024-02-11 08:41:15 +01:00
Sébastien Helleu
9eb3403008
alias: add WeeChat version in config update callback
2024-02-11 08:40:49 +01:00
Sébastien Helleu
e9dbf23a18
trigger: fix memory leak when adding a new trigger with /trigger command
2024-02-10 17:50:24 +01:00
Sébastien Helleu
5c6e6f43d1
relay: disable "permessage-deflate" websocket extension when option relay.network.compression is set to 0
2024-02-04 18:54:56 +01:00
Sébastien Helleu
0414c139b0
relay: fix decoding of websocket frame when a partial frame is received
2024-02-04 18:52:00 +01:00
Sébastien Helleu
b7ecf93a22
relay: fix websocket decompression when output buffer is not large enough
2024-02-04 18:23:40 +01:00
Sébastien Helleu
162dc87796
scripts: fix crash on script unload when a hook is created in a buffer close callback ( closes #2067 )
2024-02-04 13:57:35 +01:00
Sébastien Helleu
820a3e8767
relay: free ws_deflate when http request is freed
2024-02-03 11:30:35 +01:00
Sébastien Helleu
052db75805
relay/api: add extra check on JSON types in handshake and input resources (issue #2066 )
2024-02-03 08:38:57 +01:00
Sébastien Helleu
bc464679a7
relay: fix build when CJSON is disabled (issue #2066 )
2024-02-02 07:44:57 +01:00
Sébastien Helleu
6acf1af828
relay/api: add handshake resource, without authentication required (issue #2066 )
2024-02-01 21:39:23 +01:00
Sébastien Helleu
3f902dba28
relay: check that request is not NULL before compressing data (issue #2066 )
2024-02-01 21:39:23 +01:00
Sébastien Helleu
de72fe1db5
relay/api: fix send of responses 400 and 404 in case of error (issue #2066 )
2024-02-01 21:39:23 +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
70907fc169
relay: rename option relay.weechat.commands to relay.network.commands (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
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
becdf76224
irc: check if arguments are not NULL in some infos
...
Affected infos:
- irc_server_isupport
- irc_server_isupport_value
- irc_server_cap
- irc_server_cap_value
2024-01-12 17:57:50 +01:00
Sébastien Helleu
8e252955da
irc: fix info "irc_is_message_ignored" ( closes #2059 )
2024-01-12 17:53:19 +01:00
Sébastien Helleu
b5ea82da48
relay/weechat: unhook hook_timer_nicklist when synchronization is stopped
2024-01-06 10:38:54 +01:00
Sébastien Helleu
5df85c7a53
relay: add global relay hdata variables
2024-01-06 09:56:23 +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
eb8ca14d83
relay: fix display of raw messages (issue #649 )
2024-01-05 20:30:02 +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
f6ba789c3d
api: add function util_parse_time (issue #649 )
2024-01-05 19:09:19 +01:00
Sébastien Helleu
e88882f0ae
irc: display microseconds in some user messages (issue #649 )
2024-01-04 22:29:30 +01:00
Sébastien Helleu
89517d44a5
relay: add microseconds in relay raw messages (issue #649 )
2024-01-04 22:25:13 +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
7700228823
relay: move function to check if buffer belongs to relay
2023-12-24 16:27:51 +01:00
Sébastien Helleu
75dc8b9d6c
core: fix crash on plugin reload when using musl libs ( closes #2052 )
2023-12-15 22:53:51 +01:00
Sébastien Helleu
fa0b320178
core: fix style
2023-12-14 23:11:35 +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
038eae07bd
api: add info "mouse"
2023-12-02 09:43:36 +01:00
Sébastien Helleu
445d1d0ec5
api: return NULL instead of empty infolist "key" when context is not found
2023-12-02 09:40:01 +01:00
Sébastien Helleu
51fec9257e
core: check that directory is not NULL in function plugin_api_info_absolute_path
2023-12-02 09:37:22 +01:00
Sébastien Helleu
de5b0aae47
core: rename variable "version" to "compilation_date"
2023-12-02 09:36:57 +01:00
Sébastien Helleu
22fcb91e8b
irc: display messages 730/731 even if command /notify was not used ( closes #2049 )
2023-11-29 18:14:37 +01:00
Sébastien Helleu
996d1def22
core: update translations (issue #1039 )
2023-11-29 10:00:57 +01:00
Sébastien Helleu
de82d50768
irc: remove unneeded error message when an unknown server option is read in config file (issue #1039 )
...
This is not needed because an error is already displayed by WeeChat core and
the IRC error doesn't add anything relevant to the user.
2023-11-29 10:00:54 +01:00
Sébastien Helleu
f7b7e3975a
irc: add server option "anti_flood", remove server options "anti_flood_prio_{high|low}" (issue #1039 )
...
The new option is set in milliseconds.
2023-11-29 09:49:27 +01:00
Sébastien Helleu
e74b5db253
irc: remove trailing "\r\n" in signals "irc_out" and "irc_outtags" when messages are queued
2023-11-26 18:58:48 +01:00
Sébastien Helleu
6d427421de
irc: add option irc.look.list_buffer
2023-11-24 19:42:28 +01:00
Sébastien Helleu
2b0c2747ad
api: remove script hooks before buffers/bar items/configs
...
This prevents a crash in some scripts that could use options after they are
freed, with the call to hook config callback that has been enabled by commit
2260214797 .
2023-11-21 20:57:49 +01:00