Josh Soref
02ea93e88f
spelling: above
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 17:34:00 +02:00
Sébastien Helleu
6534919868
irc: decode IRC color codes only when displaying messages
...
Before parsing IRC messages, they were almost all changed to convert IRC color
codes to WeeChat color codes, which caused some bugs when storing data like
account and real names (stored with WeeChat color codes instead of IRC colors).
Now the messages are parsed as-is, then the colors are converted only when
strings are displayed in a buffer by `weechat_printf()`.
2024-09-22 23:05:16 +02:00
Sébastien Helleu
02847246b2
core, plugins, tests: fix octal notation in strings
2024-09-19 08:34:18 +02:00
Sébastien Helleu
01103cb02a
irc: do not strip trailing spaces from incoming IRC messages
2024-09-15 21:47:32 +02:00
Sébastien Helleu
9aa0a94156
trigger: fix integer overflow in loop (issue #2178 )
2024-09-07 08:40:47 +02:00
Sébastien Helleu
970f20af31
relay: fix integer overflow in loops (issue #2178 )
2024-09-07 08:40:19 +02:00
Sébastien Helleu
62d0347d4b
irc: fix integer overflow in loops (issue #2178 )
2024-09-07 08:40:07 +02:00
Sébastien Helleu
143f694fe2
core, plugins: add missing parentheses when dereferencing a pointer with an array index
2024-09-05 20:57:29 +02:00
Sébastien Helleu
3253500d15
irc: add option irc.look.notice_nicks_disable_notify
2024-09-02 19:55:27 +02:00
Sébastien Helleu
434c1ee3c4
relay/api: send the sync request at the same time as buffer data retrieval
...
This fixes events missed by the client when synchronizing after fetching data.
2024-08-25 21:13:38 +02:00
Sébastien Helleu
6bb4d64512
relay/api: allow array with multiple requests in websocket frame received from client
2024-08-25 20:48:52 +02:00
Sébastien Helleu
4572e46ced
relay: change input prompt label when fetching data from remote, keep remote status displayed
2024-08-24 11:25:06 +02:00
Sébastien Helleu
c1130446eb
relay: add status "data synchronization" on remote buffers
2024-08-24 11:00:52 +02:00
Sébastien Helleu
9f44a1087b
core, plugins: simplify help on parameters that can be repeated in commands
2024-08-24 10:59:21 +02:00
Sébastien Helleu
d4ca32832e
relay: redefine bar item "input_prompt" to display the connection status on remote buffers, if different from "connected"
2024-08-21 20:37:00 +02:00
LuK1337
9f3a68ed15
lua: fix broken LUA_VERSION check
...
/usr/include/lua-5.1/lua.h:19:25: error: token ""Lua 5.1"" is not valid
in preprocessor expressions
2024-08-17 09:30:11 +02:00
Sébastien Helleu
55d7e4c474
relay/weechat: fix uninitialized pointer in infolist command
2024-08-17 08:10:21 +02:00
Sébastien Helleu
6de0195d0a
irc: fix send of split messages when server option "anti_flood" set to 0 ( closes #2172 )
2024-08-15 19:41:08 +02:00
Sébastien Helleu
e2edc019cc
relay/api: add extra checks on function parameters
2024-08-15 17:48:20 +02:00
Sébastien Helleu
17d225ad73
relay: fix compiler warnings on unused parameters when CJSON is disabled
2024-08-14 07:51:41 +02:00
Sébastien Helleu
0637e9f629
lua: remote string "Lua" from Lua version in output of /debug libs
2024-08-12 08:22:48 +02:00
Sébastien Helleu
b63f63f001
relay/api: fix send of data to remote after command /upgrade executed in the remote client
2024-08-11 23:35:51 +02:00
Sébastien Helleu
1de8fec2ee
relay/api: automatically reconnect to remotes with "autoconnect" enabled after /upgrade
2024-08-11 14:26:36 +02:00
Sébastien Helleu
970aa55f7f
relay/api: remove unneeded free of client->http_req->id
2024-08-11 12:27:37 +02:00
Sébastien Helleu
a317c785fb
relay/api: add automatic reconnection to remote ( closes #2166 )
...
New options:
- remote option "autoreconnect_delay"
- relay.api.remote_autoreconnect_delay_growing
- relay.api.remote_autoreconnect_delay_max
2024-08-11 12:18:28 +02:00
Sébastien Helleu
fc6811341a
irc: fix typo in comment
2024-08-11 11:57:35 +02:00
Sébastien Helleu
8010eeece3
relay/api: add support of time displayed in remote client buffers
2024-08-10 14:29:30 +02:00
Sébastien Helleu
24734c4fe0
relay/api: add field "tmie_displayed" in GET /api/buffers
2024-08-10 13:58:58 +02:00
Sébastien Helleu
bb2387ec38
relay/api: add support of hidden buffers in remote client (issue #2159 )
2024-08-10 12:55:17 +02:00
Sébastien Helleu
b00f94dc70
relay/api: add field "hidden" in GET /api/buffers (issue #2159 )
2024-08-10 12:42:55 +02:00
Sébastien Helleu
07ef722c06
relay/api: disconnect cleanly when the remote is quitting ( closes #2168 )
2024-08-09 23:37:33 +02:00
Sébastien Helleu
0296957cce
relay/api: add event "quit", sent to clients when WeeChat is quitting (issue #2168 )
2024-08-09 23:32:33 +02:00
Sébastien Helleu
b4d0054f07
relay/api: disconnect from remote in case of error when sending data
2024-08-09 18:26:02 +02:00
Sébastien Helleu
995cbe542e
relay/api: automatically disconnect when the command /upgrade is executed on the remote
2024-08-09 18:23:23 +02:00
Sébastien Helleu
6e775e4768
relay/api: close obsolete buffers when reconnecting to the remote
...
This closes all buffers that exist locally but not on the remote any more,
after reconnecting to the remote.
2024-08-09 18:08:31 +02:00
Sébastien Helleu
e5b6eab2f6
relay/api: do not reset input text on existing buffers when reconnecting to remote
2024-08-09 18:06:42 +02:00
Sébastien Helleu
c132adc52c
relay/api: fix buffers synchronization with existing buffers that have been renamed on remote in the meanwhile ( closes #2169 )
2024-08-09 18:04:10 +02:00
Sébastien Helleu
78f0a3e087
relay/api: replace calls to strcmp by weechat_strcmp
2024-08-09 18:02:42 +02:00
Sébastien Helleu
eb5399518e
relay/api: clear lines and nicklist on all remote buffers upon successful connection to the remote ( closes #2161 )
2024-08-09 18:01:59 +02:00
Sébastien Helleu
5fe3b38892
irc: convert server option ipv6 from boolean to enum (disable, auto, force) (issue #2164 )
2024-08-06 08:25:42 +02:00
Sébastien Helleu
e051af0376
api: add constants for IPv6 and allow force of IPv6 in function hook_connect (issue #2164 )
2024-08-06 08:25:42 +02:00
Sébastien Helleu
ab2bcbac4e
doc/plugin: fix Python example of function hook_connect
2024-07-27 09:47:03 +02:00
Sébastien Helleu
8c48b2f310
relay/api: fix connection to remote using an IPv6 address with square brackets ( closes #2156 )
2024-07-22 17:24:50 +02:00
Sébastien Helleu
9ece7b4d8c
core, plugins: fix typo in comments
2024-07-22 11:49:26 +02:00
Sébastien Helleu
cadd04693a
irc: add support of message 569 (whois, connecting from) ( closes #2162 )
2024-07-22 10:39:03 +02:00
miko
e4e0b9764d
plugins: refactor macro weechat_va_format with the same behavior as string_asprintf
2024-07-21 11:34:02 +02:00
Sébastien Helleu
d3ca619526
relay/api: fix connection to remote without password ( closes #2158 )
2024-07-20 16:26:53 +02:00
Sébastien Helleu
fc197df056
relay/api: allow clients without authentication when no relay password is defined and option relay.network.allow_empty_password is on (issue #2158 )
2024-07-20 15:57:56 +02:00
Sébastien Helleu
66707dbdf9
relay: add option reconnect in command /remote ( closes #2160 )
2024-07-19 09:19:34 +02:00
Sébastien Helleu
b316a7a0c6
script: add info "script_info"
2024-07-17 22:38:47 +02:00