Sébastien Helleu
031bcf5ff2
irc: hide password in messages to nickserv with cap echo-message enabled (issue #139 )
2023-05-29 09:49:41 +02:00
Sébastien Helleu
ea38779c85
irc: add command /action ( closes #201 , issue #1577 ), remove alias action
2023-05-29 09:44:13 +02:00
Sébastien Helleu
193d290285
alias: add option missing in command /alias
2023-05-27 20:20:31 +02:00
Sébastien Helleu
50f5be70aa
alias: add alias action to send a CTCP ACTION to a channel or a nick (issue #1577 )
2023-05-27 20:07:37 +02:00
Sébastien Helleu
1651c48856
irc: add missing host tag in self messages with cap echo-message enabled (issue #139 )
2023-05-27 16:49:08 +02:00
Sébastien Helleu
649b9d0ca6
irc: fix display of STATUSMSG CTCP ACTION to channel with cap echo-message enabled (issue #139 , issue #1577 )
2023-05-27 16:49:08 +02:00
Sébastien Helleu
a41dff7acc
irc: fix display of outgoing CTCP when channel/private buffer doesn't exist
2023-05-27 16:49:08 +02:00
Sébastien Helleu
3a0141174b
irc: fix display of outgoing STATUSMSG CTCP ACTION without arguments
2023-05-27 16:49:08 +02:00
Sébastien Helleu
dbcb8d3dbf
irc: remove extra space in CTCP ACTION message sent without arguments
...
Now when doing `/me` (without arguments), the message sent is:
PRIVMSG #test :\x01ACTION\x01
instead of:
PRIVMSG #test :\x01ACTION \x01
2023-05-27 16:49:08 +02:00
Sébastien Helleu
a2e73d64d6
irc: fix split of CTCP message with no arguments
2023-05-27 16:49:08 +02:00
Sébastien Helleu
0babf5db23
irc: display STATUSMSG actions differently from standard actions on channels ( closes #1577 , issue #139 )
2023-05-27 16:48:56 +02:00
Sébastien Helleu
93d447ffc7
irc: fix send of empty action with /me command
2023-05-27 10:04:15 +02:00
Sébastien Helleu
10b803fd59
irc: add missing nick tag in self CTCP ACTION displayed (issue #139 )
2023-05-26 12:36:01 +02:00
Sébastien Helleu
4c6f503cc7
irc: display CTCP ACTION to channel on the channel buffer (issue #139 , closes #207 )
2023-05-26 12:31:22 +02:00
Sébastien Helleu
2654961e1c
irc: display actions sent with /me in private buffer instead of server buffer (issue #139 )
2023-05-25 22:43:54 +02:00
Sébastien Helleu
e50be16730
irc: fix display of actions sent with /me (issue #139 )
2023-05-25 22:34:03 +02:00
Sébastien Helleu
d9789e522f
irc: fix duplicated CTCP messages displayed when capability "echo-message" is enabled (issue #139 )
2023-05-25 22:15:41 +02:00
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
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
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
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
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
a2b21df6ab
alias: use dynamic string to replace alias arguments
2023-05-18 11:48:15 +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
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
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
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