Sébastien Helleu
4ee82d1c70
irc: use parsed command parameters in "nick" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
a1a4d627e1
irc: use parsed command parameters in "mode" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
5a5c2cbd1a
irc: rename macro IRC_PROTOCOL_CHECK_HOST to IRC_PROTOCOL_CHECK_PREFIX
2021-10-17 21:28:31 +02:00
Sébastien Helleu
2bd3681eef
irc: use parsed command parameters in "kill" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
604415e19e
irc: use parsed command parameters in "kick" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
e653ee04d2
irc: use parsed command parameters in "join" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
3c737ca304
irc: use parsed command parameters in "invite" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
1f83df7a18
irc: use parsed command parameters in "fail", "warn" and "note" command callbacks
2021-10-17 21:28:31 +02:00
Sébastien Helleu
eda8ad9de5
irc: use parsed command parameters in "generic_error" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
df6f32a7bb
irc: use parsed command parameters in "error" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
a2a733fc36
irc: use parsed command parameters in "chghost" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
56edeba7fc
irc: use parsed command parameters in "cap" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
15392e4a81
irc: use parsed command parameters in "away" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
cb856a7f3a
irc: use parsed command parameters in "authenticate" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
69c457287d
irc: use parsed command parameters in "account" command callback
2021-10-17 21:28:31 +02:00
Sébastien Helleu
5458382bb8
irc: fix typo in a comment
2021-10-17 21:28:31 +02:00
Sébastien Helleu
849105ebd6
irc: replace "message" by "command" in description of functions
2021-10-17 21:28:31 +02:00
Sébastien Helleu
cbc4073815
irc: send parsed parameters to IRC command callbacks
2021-10-17 21:28:30 +02:00
Sébastien Helleu
c4b4d80936
irc: parse and return command parameters in message parser
2021-10-17 21:28:30 +02:00
Sébastien Helleu
d8b8bf5a84
tests: check displayed message/error for all simulated IRC commands received
2021-10-14 21:00:47 +02:00
Sébastien Helleu
238c17bd0e
irc: display command in lower case when there is a parsing error
2021-10-14 20:39:23 +02:00
Sébastien Helleu
f3b4336bc4
irc: do not display message with "(null)" for 973/974/975 command received if pos_mode is NULL
2021-10-14 20:37:32 +02:00
Sébastien Helleu
55df7805c2
irc: display a single error message when parsing of a command failed
2021-10-13 18:45:36 +02:00
Sébastien Helleu
9102e4f552
irc: display a single error message when a command is not found
2021-10-13 18:45:14 +02:00
Sébastien Helleu
57ad90c3c0
irc: do not display message with "(null)" for numeric command received if pos_args is NULL
2021-10-13 18:42:47 +02:00
Sébastien Helleu
ed9104fbea
irc: fix parsing of CAP message when there is no prefix ( closes #1707 )
2021-10-09 11:27:51 +02:00
Sébastien Helleu
68a3aca643
plugins: use a different plugin priority for each scripting language
2021-10-02 20:50:35 +02:00
Sébastien Helleu
ad5fa7c99f
core: add command /toggle
2021-10-01 22:55:38 +02:00
Sébastien Helleu
9548a4cf74
core: check that option is not NULL in function config_file_option_value_to_string
2021-09-27 23:23:01 +02:00
Sébastien Helleu
301f0942c6
core: fix search of option when the section is not given
2021-09-27 22:35:14 +02:00
Sébastien Helleu
fb57ad147e
core: check that option_name is not NULL in config file functions
2021-09-27 22:02:22 +02:00
Sébastien Helleu
edd1971ae8
irc: fix parsing of TAGMSG message when there is a colon before the channel
...
This fixes the display of typing notifications on some IRC servers like
inspircd.
2021-09-21 20:41:18 +02:00
Sébastien Helleu
a6826af796
core: add creation of user variables in evaluated expressions with ${define:name,value}
2021-09-20 21:15:28 +02:00
Sébastien Helleu
eaacd805ae
php: add missing header files in autotools build
2021-09-19 09:54:01 +02:00
Sébastien Helleu
f3fc1f5f85
core: remove empty line displayed in output of /plugin list <name>
2021-09-10 23:06:05 +02:00
Sébastien Helleu
91d32be93c
core: add options "-o", "-ol", "-i" and "-il" in command "/plugin list"
2021-09-09 21:32:58 +02:00
Sébastien Helleu
7d1b557627
core: fix indentation in examples of /help eval
2021-09-06 22:39:29 +02:00
Sébastien Helleu
5b3929b321
api: add split of string and shell arguments in evaluation of expressions
...
Split of string: ${split:number,separators,flags,xxx}
Split of shell arguments: ${split_shell:number,xxx}
2021-09-06 13:32:04 +02:00
Sébastien Helleu
97bdd51112
relay: fix crash when decoding a malformed websocket frame
2021-09-04 15:55:37 +02:00
Sébastien Helleu
5fb7ebdfce
irc: fix send of empty JOIN when connecting to a server with only parted channels ( closes #1638 )
2021-09-03 13:43:07 +02:00
Sébastien Helleu
12be3b8c33
core: add options in command /input and new keys to remove/restore buffers in hotlist
...
New options in command /input:
- hotlist_remove_buffer
- hotlist_restore_buffer
- hotlist_restore_all
New keys:
- alt+h, alt+c: clear the whole hotlist (former key: alt+h)
- alt+h, alt+m: mark the current buffer as read by removing it from the hotlist
- alt+h, alt+r: restore latest hotlist removed in the current buffer
- alt+h, alt+shift+R: restore latest hotlist removed in all buffers
2021-08-31 22:32:38 +02:00
Sébastien Helleu
2de272ee6c
api: add "${re:repl_index}" to get the index of replacement in function string_eval_expression
2021-08-29 10:40:52 +02:00
Sébastien Helleu
89b28e362c
irc: add option "-parted" in command /allchan ( closes #1685 )
2021-08-12 18:15:16 +02:00
Sébastien Helleu
cf27302dac
core: add terminal and color info in output of /debug color
2021-08-11 18:49:22 +02:00
Sébastien Helleu
8e676edd1a
irc: save CLIENTTAGDENY from message 005 in server, do not send typing messages if "typing" client tag is denied
2021-08-08 18:37:15 +02:00
Adam Saponara
ede09a843c
php: add ifdef for zend_file_handle.filename
2021-08-08 09:00:24 +02:00
Adam Saponara
5442612bc9
php: fix PHP 8+ build
2021-08-08 09:00:24 +02:00
Sébastien Helleu
2b12b4077a
php: add detection of PHP 8.0, fix compilation errors
2021-08-08 09:00:24 +02:00
Sébastien Helleu
20866a0457
core: fix decoding of attributes in basic ANSI colors ( closes #1678 )
2021-08-06 20:33:31 +02:00
Sébastien Helleu
79d50837c9
irc: fix read out of bounds in case of malformed AUTHENTICATE message (issue #1679 )
2021-08-03 20:01:15 +02:00