Sébastien Helleu
7051dd4351
tests: add unit tests on command /cursor
2025-11-10 09:05:36 +01:00
Sébastien Helleu
c0116febe5
core: display an error message in case of invalid parameters with command /cursor
2025-11-10 09:05:36 +01:00
Sébastien Helleu
1094e70de2
tests: add unit tests on command /command
2025-11-10 09:04:13 +01:00
Sébastien Helleu
08545facb6
tests: add unit tests on command /color
2025-11-10 09:04:13 +01:00
Sébastien Helleu
2c4ede614e
tests: add unit tests on command /buffer
2025-11-10 09:04:13 +01:00
Sébastien Helleu
8c6e6bb383
core: display full buffer name in output of command /buffer listvar
2025-11-10 09:04:13 +01:00
Sébastien Helleu
c9d4dd48a0
core: display an error message if the buffer is not found with command /buffer listvar
2025-11-10 09:04:13 +01:00
Sébastien Helleu
af41184889
core: fix return code of command /buffer renumber when the start number is invalid
2025-11-10 09:04:13 +01:00
Sébastien Helleu
a89d5302fd
tests: add unit tests on command /bar
2025-11-10 09:04:13 +01:00
Sébastien Helleu
b61dca7d2d
tests: add unit tests on command /allbuf
2025-11-10 09:04:13 +01:00
Sébastien Helleu
4232123ca3
tests: add macros to test errors with commands
2025-11-10 09:04:13 +01:00
Sébastien Helleu
6d7dd46015
core: display an error message if the bar is not found with command /bar scroll
2025-11-10 09:04:13 +01:00
Sébastien Helleu
93c0ee57c8
plugins: move description of weechat-plugin.h below the copyright and license
2025-11-09 13:02:08 +01:00
weechatter
5433d25889
doc: update German documentation
2025-11-09 11:23:44 +01:00
weechatter
3ed6726625
core: update German translations
2025-11-09 11:01:20 +01:00
Sébastien Helleu
8143d44e44
buflist: replace hardcoded "buflist" by constant in error message
2025-11-01 16:10:11 +01:00
Sébastien Helleu
0dab9b9257
irc: display a warning for each unknown or invalid server option in commands /connect and /server
2025-11-01 16:02:53 +01:00
Sébastien Helleu
07ef353b1b
irc: remove temporary servers and option irc.look.temporary_servers
2025-11-01 09:15:54 +01:00
Ivan Pešić
234244f8d5
core: update Serbian translation
2025-10-31 23:17:49 +01:00
Sébastien Helleu
063aa86978
core: disable "stateful" phase in schemathesis config
2025-10-26 20:23:58 +01:00
Sébastien Helleu
93d73d234f
relay/api: consider boolean/long query string parameters as invalid if they are empty
2025-10-26 18:12:02 +01:00
Sébastien Helleu
df3232fc80
core: move entries in ChangeLog
2025-10-26 18:11:39 +01:00
Sébastien Helleu
d05b83d03f
relay/api: return an error 401 when header "x-weechat-totp" is received with empty value
2025-10-26 10:11:10 +01:00
Sébastien Helleu
0009732f78
relay/api: return an error 401 when header "x-weechat-totp" has an invalid value
2025-10-26 09:19:43 +01:00
Sébastien Helleu
e637e0de1c
relay/api: return an error 400 when URL parameters "nicks", "lines" and "lines_free" have an invalid value
2025-10-26 08:07:23 +01:00
Sébastien Helleu
58c873809b
relay/api: return an error 400 when URL parameter "colors" has an invalid value
2025-10-26 07:22:10 +01:00
weechatter
8eed89c43c
core: update German translations
2025-10-24 18:20:06 +02:00
Sébastien Helleu
1b669cd13c
irc: fix warning on creation of irc.msgbuffer option when the server name contains upper case letters ( closes #2281 )
...
Now the following command is OK without warning:
/set irc.msgbuffer.TEST.notice current
And the following command returns an error instead of a warning (that means the
option is NOT created):
/set irc.msgbuffer.TEST.NOTICE current
2025-10-14 22:56:41 +02:00
Sébastien Helleu
f854db17ff
core: add hdata for hooks
...
New hooks:
- hook
- hook_command
- hook_command_run
- hook_completion
- hook_config
- hook_connect
- hook_fd
- hook_focus
- hook_hdata
- hook_hsignal
- hook_info
- hook_info_hashtable
- hook_infolist
- hook_line
- hook_modifier
- hook_print
- hook_process
- hook_signal
- hook_timer
- hook_url
New lists (for hooks of type "hook"):
- weechat_hooks_command, last_weechat_hook_command
- weechat_hooks_command_run, last_weechat_hook_command_run
- weechat_hooks_completion, last_weechat_hook_completion
- weechat_hooks_config, last_weechat_hook_config
- weechat_hooks_connect, last_weechat_hook_connect
- weechat_hooks_fd, last_weechat_hook_fd
- weechat_hooks_focus, last_weechat_hook_focus
- weechat_hooks_hdata, last_weechat_hook_hdata
- weechat_hooks_hsignal, last_weechat_hook_hsignal
- weechat_hooks_info, last_weechat_hook_info
- weechat_hooks_info_hashtable, last_weechat_hook_info_hashtable
- weechat_hooks_infolist, last_weechat_hook_infolist
- weechat_hooks_line, last_weechat_hook_line
- weechat_hooks_modifier, last_weechat_hook_modifier
- weechat_hooks_print, last_weechat_hook_print
- weechat_hooks_process, last_weechat_hook_process
- weechat_hooks_signal, last_weechat_hook_signal
- weechat_hooks_timer, last_weechat_hook_timer
- weechat_hooks_url, last_weechat_hook_url
2025-10-12 17:37:24 +02:00
Sébastien Helleu
72b2242135
irc: send SASL username with mechanism EXTERNAL ( closes #2270 )
...
The SASL username is sent if set, otherwise "+" is still sent.
2025-10-12 16:11:33 +02:00
Sébastien Helleu
b066f713d7
tests: fix memory leak in tests on SASL PLAIN authentication mechanism
2025-10-12 16:07:52 +02:00
Sébastien Helleu
63313468c9
xfer: add buffer local variable "server" in DCC CHAT buffers
2025-10-04 13:19:01 +02:00
Sébastien Helleu
d9ba00223b
irc: request and perform SASL authentication when the server advertises SASL support with message "CAP NEW" ( closes #2277 )
...
The SASL authentication is done only if not already authenticated with SASL.
2025-10-03 10:26:04 +02:00
Ivan Pešić
ae5b74549c
core: update Serbian translations
...
Update Serbian messages and documentation translations.
2025-09-23 12:46:01 +02:00
Sébastien Helleu
222cb4876e
core: set max version for Curl symbol CURLOPT_KRBLEVEL
2025-09-23 12:13:33 +02:00
Sébastien Helleu
dc22d70dd4
core: fix style in ChangeLog
2025-09-20 10:45:32 +02:00
weechatter
949f860267
core: update German translations
2025-09-16 21:08:27 +02:00
Sébastien Helleu
e2ae308e3b
core: add option weechat.completion.cycle
2025-09-11 21:10:52 +02:00
Sébastien Helleu
767ea84909
core: add issue #886 in ChangeLog
2025-09-02 23:02:17 +02:00
Sébastien Helleu
665773b119
doc/api: add supported date/time format in function util_parse_time
2025-08-31 12:15:33 +02:00
Sébastien Helleu
21a958423e
logger: change default time format to "%@%F %T.%fZ" (UTC)
2025-08-31 12:15:33 +02:00
Sébastien Helleu
1c09118fe1
api: allow lower characters "t" and "z" in function util_parse_time
...
The following dates are now parsed with the same result:
2025-08-30T20:12:55.866643Z
2025-08-30t20:12:55.866643z
2025-08-31 12:15:33 +02:00
Sébastien Helleu
47c1128fb9
logger: improve parsing of date/time in log files to display backlog
...
The function `util_parse_time` is now first used to parse the date/time,
allowing to auto-detect the format (not based on the option
logger.file.time_format).
If the parsing fails, then we fallback on the call to `strptime`, using the
format in option logger.file.time_format (legacy behavior).
This allows to change the option logger.file.time_format without impact on the
display of the backlog.
2025-08-31 12:15:33 +02:00
Sébastien Helleu
1038f0de24
logger: remove unused include
2025-08-31 12:15:33 +02:00
Sébastien Helleu
5acbfe9b7d
api: fix parsing of date/times with timezone offset in function util_parse_time
2025-08-31 12:15:33 +02:00
Sébastien Helleu
7980a6d100
api: add support of date like ISO 8601 but with spaces in function util_parse_time
...
So for example the format "2024-01-04 22:01:02.123456 +0100" is supported in
addition to ""2024-01-04T22:01:02.123456+0100".
2025-08-31 12:15:33 +02:00
Sébastien Helleu
f630c36af0
core: remove obsolete Curl options CURLOPT_SOCKS5_GSSAPI_SERVICE and CURLOPT_HTTPPOST (issue #2268 )
2025-08-31 12:14:50 +02:00
Sébastien Helleu
8e4ce78c97
core: update ChangeLog (issue #2268 )
2025-08-31 11:58:53 +02:00
Emil Velikov
b2d9ad9e22
Bump required enchant to v2, use pkg_check_modules()
...
Bump the requirement to v2, which means we can remove the
HAVE_ENCHANT_GET_VERSION workaround.
It was released over 8 years ago, with 8 new feature releases since
then and dozens of bugfix releases throughout.
The oldest distributions we target Ubuntu 20.04 and Debian Bullseye,
have 2.2.8 and 2.2.15 respectively.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com >
2025-08-31 10:36:20 +02:00
Emil Velikov
c48485bc46
Bump required lua to v5.3
...
Bump the requirement to v5.3, which means we can remove all the ifdef
guards.
It was released over 10 years ago, with 2 new feature releases since
then and half a dozen of bugfix releases in the 5.3 branch.
The oldest distributions we target Ubuntu 20.04 and Debian Bullseye,
have 5.3.3 and 5.4.2 respectively.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com >
2025-08-31 10:36:20 +02:00