Sébastien Helleu
cb680ef9df
irc: add option irc.look.open_pv_buffer_echo_msg (issue #2016 )
2023-09-14 20:19:05 +02:00
Sébastien Helleu
049e9d23c5
irc: open a query buffer on PRIVMSG received from self nick when capability echo-message is NOT enabled (issue #2016 )
2023-09-14 14:51:50 +02:00
Sébastien Helleu
4c3ab508c7
irc: don't open a new private buffer on /msg command when capability echo-message is enabled ( closes #2016 )
2023-09-14 11:10:17 +02:00
Sébastien Helleu
ddd859886e
irc: fix autojoin of channels when private buffers are opened ( closes #2012 )
2023-09-11 21:41:47 +02:00
Sébastien Helleu
ae50f6688e
irc: reset filter and sort when /list buffer is closed (issue #1972 )
2023-09-11 16:40:45 +02:00
Sébastien Helleu
dd0c20f6b6
irc: add count for all nick modes in output of /names ( closes #97 )
2023-08-26 18:57:21 +02:00
Sébastien Helleu
3a59f2f65e
irc: add local key bindings during the /list buffer creation
...
This allows the user to bind or unbind keys by setting options
"weechat.buffer.irc.list_xxx.key_bind_*" and
"weechat.buffer.irc.list_xxx.key_unbind_*".
2023-08-24 19:03:44 +02:00
Sébastien Helleu
5d9af29024
api: add infos "nick_color_ignore_case" and "nick_color_name_ignore_case" (issue #194 )
2023-08-24 18:19:32 +02:00
Sébastien Helleu
6aa66b5363
irc: compute color in case insensitive way ( closes #194 )
...
Reintroduce infos "irc_nick_color" and "irc_nick_color_name" (that were
marked deprecated since version 1.5).
A server name is added in the two infos and is optional, for backward
compatibility.
2023-08-24 09:24:51 +02:00
Sébastien Helleu
c2426e88c9
irc: add functions to convert strings to lower/upper case (following casemapping) (issue #194 )
2023-08-24 09:24:42 +02:00
Sébastien Helleu
09eae3e2af
irc: add tests on server functions
2023-08-23 15:33:34 +02:00
Sébastien Helleu
14334880d8
tests: fix NULL pointer comparison in test of function irc_message_parse_to_hashtable
2023-08-18 13:30:38 +02:00
Sébastien Helleu
f89d4a60cd
tests: fix tests on function irc_join_compare_join_channel ( closes #1997 )
2023-08-18 07:34:52 +02:00
Sébastien Helleu
5bf78f40e5
tests: fix typo in test name
2023-08-18 07:30:20 +02:00
Sébastien Helleu
cfc734b7c5
tests: add empty function to test function irc_list_buffer_set_localvar_filter
2023-08-14 16:08:01 +02:00
Sébastien Helleu
2f1de098bd
irc: add buffer for /list reply ( closes #1972 )
...
New options:
- irc.color.list_buffer_line_selected
- irc.color.list_buffer_line_selected_bg
- irc.look.list_buffer_sort
- irc.look.list_buffer_scroll_horizontal
- irc.look.new_list_position
- irc.look.list_buffer_topic_strip_colors
2023-08-12 13:05:49 +02:00
Sébastien Helleu
17674f7b11
irc: add missing tags on multiline messages ( closes #1987 )
2023-08-09 14:53:03 +02:00
Sébastien Helleu
e5948b0d44
tests: add test on IRC notice sent to another nick with channel name at beginning (issue #1991 )
2023-08-01 22:48:43 +02:00
Sébastien Helleu
874a24956c
irc: fix display of self CTCP message containing bold attribute ( closes #1981 )
2023-07-18 18:48:48 +02:00
Sébastien Helleu
a457e22d57
tests: add missing include of string.h
2023-07-15 16:24:16 +02:00
Sébastien Helleu
7c805aa699
irc: remove default CTCP replies FINGER and USERINFO (issue #1974 )
2023-07-12 19:13:40 +02:00
Sébastien Helleu
9237852b26
irc: build dynamically the list of CTCPs supported in reply to "CTCP CLIENTINFO" (issue #1974 )
2023-07-12 18:58:51 +02:00
Sébastien Helleu
f46f759975
irc: evaluate options irc.ctcp.* (issue #1974 )
2023-07-12 18:58:30 +02:00
Sébastien Helleu
ba6f21d910
irc: add missing "account-tag" in list of supported capabilities
2023-07-10 14:08:19 +02:00
Sébastien Helleu
1d4509ddd8
irc: fix display of country code in message 344 received as whois geo info (issue #1736 )
2023-06-26 22:12:31 +02:00
Sébastien Helleu
ca35b67307
irc: display commands 716/717 in private buffer (if present) ( closes #146 )
...
Commands 716/717 are returned if the target user has mode +g, they look like
this:
:server 716 my_nick bob :is in +g mode and must manually allow you to message them. Your message was discarded.
:server 717 my_nick bob :has been informed that you messaged them.
2023-06-26 21:59:55 +02:00
Sébastien Helleu
70c41f614a
irc: reply to a CTCP request sent to self nick ( closes #1966 )
2023-06-25 22:11:34 +02:00
Sébastien Helleu
e04d8894a0
irc: add tag "new_host_xxx" in message displayed for command CHGHOST ( closes #1808 )
2023-06-04 09:45:47 +02:00
Sébastien Helleu
498aa3256f
relay: add support of capability "echo-message" ( closes #1949 )
2023-06-03 14:15:55 +02:00
Sébastien Helleu
911c976f9b
tests: add tests on relay "irc" protocol
2023-06-02 18:50:45 +02:00
Sébastien Helleu
f7149dc7be
tests: create and close server buffer in tests on function irc_join_split
2023-05-31 23:39:19 +02:00
Sébastien Helleu
c0300ec0a4
tests: fix close of channel buffers after tests on function irc_join_split
2023-05-31 23:00:34 +02:00
Sébastien Helleu
f1a826a116
tests: add tests on manual CTCP ACTION sent to IRC channel
2023-05-29 11:13:49 +02:00
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
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
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
a6769e46f9
tests: add tests on IRC message/notice/action/CTCP sent with cap echo-message enabled (issue #139 )
2023-05-26 18:02:50 +02:00
Sébastien Helleu
b61cbefd30
tests: remove capabilities added after the end of tests
2023-05-26 18:02:01 +02:00
Sébastien Helleu
30b86e08fd
tests: add tests on IRC message/notice/action/CTCP sent (issue #139 )
2023-05-26 12:44:15 +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
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
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