Sébastien Helleu
809f59dfd1
irc: hide messages sent with /msg to a nick when capability "echo-message" is enabled (issue #139 )
2023-05-25 19:25:01 +02:00
Sébastien Helleu
45fb1ae4ba
irc: hide CTCP messages sent with /ctcp when capability "echo-message" is enabled (issue #139 )
2023-05-25 19:22:40 +02:00
Sébastien Helleu
3a8525bb95
irc: hide self actions sent with /me when capability "echo-message" is enabled (issue #139 )
2023-05-25 19:19:11 +02:00
Sébastien Helleu
f9e358b76c
tests: remove import of unused headers
2023-05-23 21:52:16 +02:00
Sébastien Helleu
ad1ae12321
doc/user: move IRCv3 chapter outside "Servers"
2023-05-23 21:49:54 +02:00
Sébastien Helleu
64c3f3f0cd
irc: add support of capability "echo-message" ( closes #139 )
2023-05-23 21:49:54 +02:00
Sébastien Helleu
8f5a3cb639
irc: fix display of status privmsg/notice, add missing tags in messages (issue #139 )
...
The status PRIVMSG and NOTICE are now displayed the same way for outgoing and
received messages:
Msg(alice) -> @#test: message for ops
Notice(alice) -> @#test: notice for ops
And any message like this is displayed with these tags if the nick is self
nick (case of a bouncer or if capability "echo-message" is enabled):
"self_msg", "notify_none", "no_highlight".
2023-05-23 21:49:53 +02:00
Sébastien Helleu
8abde49ba2
irc: fix order of tags in outgoing messages
...
The order of tags in message doesn't matter, but this is for the sake of
consistency with the other messages displayed.
2023-05-23 21:49:53 +02:00
Sébastien Helleu
20bfe4c1ba
irc: add missing tags "irc_cap" and "log3" in cap messages (client capability)
2023-05-23 21:49:53 +02:00
Sébastien Helleu
3cb5f25681
irc: add missing tag "log3" in notify messages
2023-05-23 21:49:53 +02:00
Sébastien Helleu
f3e1da894b
tests: check tags in messages displayed by IRC plugin
2023-05-23 21:49:53 +02:00
Sébastien Helleu
eb7435f8b9
tests: separate prefix from message in recorded messages
...
The record functions are moved to tests-record.cpp.
2023-05-22 20:43:16 +02:00
Sébastien Helleu
126d3559ca
script: remove trailing "J" (line feed char) in source of scripts displayed
...
Regression was indirectly caused by commit
d18f68e497 in core that allows to display all
control chars in buffers.
But the fix is in script plugin: when the script is downloaded and read line by
line, trailing "\r" and "\n" are removed, and therefore not displayed.
2023-05-22 20:40:45 +02:00
Sébastien Helleu
c0b3f63985
core: add note about config files incompatibility in release notes
2023-05-21 09:01:10 +02:00
Sébastien Helleu
4f5dac4f85
irc: add batch files for translations
2023-05-20 17:10:59 +02:00
Sébastien Helleu
c3c218035a
logger: add option logger.file.log_conditions ( closes #1942 )
2023-05-20 17:08:34 +02:00
Sébastien Helleu
7461a5cb87
xfer: create buffer with function buffer_new_props (issue #1942 )
...
With this function, buffer properties are set when the buffer is created and
can be read immediately by other plugins/scripts, for example in a callback of
signal "buffer_opened".
2023-05-20 17:08:33 +02:00
Sébastien Helleu
db931b7806
trigger: create buffer with function buffer_new_props (issue #1942 )
...
With this function, buffer properties are set when the buffer is created and
can be read immediately by other plugins/scripts, for example in a callback of
signal "buffer_opened".
2023-05-20 17:08:31 +02:00
Sébastien Helleu
cbde92c44e
script: create buffer with function buffer_new_props (issue #1942 )
...
With this function, buffer properties are set when the buffer is created and
can be read immediately by other plugins/scripts, for example in a callback of
signal "buffer_opened".
2023-05-20 17:08:30 +02:00
Sébastien Helleu
00f4ae760d
relay: create buffers with function buffer_new_props (issue #1942 )
...
With this function, buffer properties are set when the buffer is created and
can be read immediately by other plugins/scripts, for example in a callback of
signal "buffer_opened".
2023-05-20 17:08:28 +02:00
Sébastien Helleu
1ad45598b5
fset: create buffer with function buffer_new_props (issue #1942 )
...
With this function, buffer properties are set when the buffer is created and
can be read immediately by other plugins/scripts, for example in a callback of
signal "buffer_opened".
2023-05-20 17:08:27 +02:00
Sébastien Helleu
b1759ab25a
exec: create buffer with function buffer_new_props (issue #1942 )
...
With this function, buffer properties are set when the buffer is created and
can be read immediately by other plugins/scripts, for example in a callback of
signal "buffer_opened".
2023-05-20 17:08:25 +02:00
Sébastien Helleu
3ca3ea32fd
irc: create server/channel/raw buffers with function buffer_new_props (issue #1942 )
...
With this function, buffer properties are set when the buffer is created and
can be read immediately by other plugins/scripts, for example in a callback of
signal "buffer_opened".
2023-05-20 17:08:20 +02:00
Sébastien Helleu
f767db22a8
doc: reduce toc levels and numbering in sections (user/API/scripting/relay/dev)
2023-05-20 08:37:02 +02:00
Sébastien Helleu
ecdcf239fe
doc: move toc and section asciidoctor attributes from docs to CMakeLists.txt
2023-05-20 08:15:23 +02:00
Sébastien Helleu
b9cc0cf839
core: update ChangeLog ( closes #1260 )
2023-05-18 13:52:46 +02:00
Simmo Saan
3c3bb933e9
irc: optimize and reuse irc_channel_rejoin
2023-05-18 13:51:14 +02:00
Simmo Saan
6edc88f7d6
irc: use key when /join-ing in open channel buffer
2023-05-18 13:46:43 +02:00
Sébastien Helleu
de3ee174e4
core: update ChangeLog ( closes #1140 , closes #1190 )
2023-05-18 11:52:43 +02:00
Sébastien Helleu
6c567c813e
core: update translations
2023-05-18 11:51:25 +02:00
Sébastien Helleu
a2b21df6ab
alias: use dynamic string to replace alias arguments
2023-05-18 11:48:15 +02:00
Sébastien Helleu
338f7028ec
tests: add tests on alias functions
...
Functions tested:
- alias_valid
- alias_search
- alias_string_add_word
- alias_string_add_word_range
- alias_string_add_arguments
- alias_replace_args
2023-05-18 11:10:54 +02:00
Sébastien Helleu
a0894a794b
alias: return empty string instead of NULL in function alias_replace_args
2023-05-18 11:08:37 +02:00
Sébastien Helleu
6095a0fe40
alias: return NULL if alias or user arguments are NULL in function alias_replace_args
2023-05-18 11:08:08 +02:00
Sébastien Helleu
8d838e89ee
alias: add example in comment of function alias_replace_args
2023-05-18 11:07:46 +02:00
Sébastien Helleu
e237f7488f
alias: add "$&" in comment of function alias_replace_args
2023-05-18 11:07:12 +02:00
nobody
098bbb6927
alias: add auto-escaping special variable
2023-05-18 10:17:59 +02:00
Sébastien Helleu
100509866f
relay: rename variable "ptr_option" to "ptr_path"
2023-05-18 09:53:57 +02:00
Sébastien Helleu
caf166eb90
relay: make TLS certificate/key loading error handling more verbose ( closes #1558 )
2023-05-18 09:51:59 +02:00
Sébastien Helleu
9a0eda2433
core: fix refresh of bar item "input_search" after buffer switch in root bars ( closes #1939 )
2023-05-18 09:21:16 +02:00
Sébastien Helleu
1360489a05
core: add note in GitHub question issue template
...
The question must be first asked on the #weechat channel.
2023-05-18 09:04:55 +02:00
Sébastien Helleu
43553f7c28
core: update ChangeLog ( closes #337 , closes #965 )
2023-05-17 21:43:43 +02:00
arza
99b84a76ad
irc: start from the beginning of nicks at automatic reconnection ( closes #337 )
2023-05-17 21:42:00 +02:00
Sébastien Helleu
6ae04c4947
core: update ChangeLog ( closes #1688 )
2023-05-17 21:07:24 +02:00
Sébastien Helleu
fbf68dcc14
irc: get value of "msg_max_length" from isupport token "LINELEN" on upgrade from WeeChat < 4.0.0 (issue #1927 )
2023-05-17 21:03:44 +02:00
Sébastien Helleu
359ec5d2db
irc: add field "utf8only" in IRC server structure
2023-05-17 20:49:27 +02:00
Valentin Lorentz
980b075ce9
irc: Implement the UTF8ONLY IRCv3 specification
...
https://ircv3.net/specs/extensions/utf8-only
2023-05-17 16:37:19 +02:00
Sébastien Helleu
d0f1859ef5
core: add variable CTEST_OUTPUT_ON_FAILURE in release script
2023-05-17 07:17:26 +02:00
Sébastien Helleu
6d32a99d50
trigger: make default triggers compatible with multiline input ( closes #1935 )
...
Changed triggers:
- cmd_pass
- cmd_pass_register
- server_pass
2023-05-16 21:34:30 +02:00
Sébastien Helleu
1f21cdc0bd
irc: update secure data when server autojoin option contains ${sec.data.xxx} and option autojoin_dynamic is enabled ( closes #1934 )
2023-05-16 21:03:22 +02:00