summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2023-07-18irc: fix display of self CTCP message containing bold attribute (closes #1981)Sébastien Helleu
2023-07-15tests: add missing include of string.hSébastien Helleu
2023-07-12irc: remove default CTCP replies FINGER and USERINFO (issue #1974)Sébastien Helleu
2023-07-12irc: build dynamically the list of CTCPs supported in reply to "CTCP ↵Sébastien Helleu
CLIENTINFO" (issue #1974)
2023-07-12irc: evaluate options irc.ctcp.* (issue #1974)Sébastien Helleu
2023-07-10irc: add missing "account-tag" in list of supported capabilitiesSébastien Helleu
2023-07-10core: fix renaming of options with command `/item rename` (closes #1978)Sébastien Helleu
The options `weechat.custom_bar_item.xxx.*` are now properly renamed to the new item name. This fixes a save issue (item saved with old name in config) and a crash if a new item is created with the old name.
2023-07-08core: add option type "enum" (closes #1973)Sébastien Helleu
The type "enum" replaces type "integer" when used with string values. For compatibility, any option created with type "integer" and string values is automatically created to "enum" on creation, with no error.
2023-07-01tests: fix hdata tests failure on Alpine 3.18Sébastien Helleu
2023-07-01tests/relay: fix crash in tests on Alpine 3.18Sébastien Helleu
2023-06-27core: check for newline characters in string_is_whitespace_charTrygve Aaberge
This fixes a bug where if you had multiple lines in the input and pressed ctrl-w when the cursor was after the first word of any line but the first, it would delete both the word before the cursor and the last word on the preceding line.
2023-06-26irc: fix display of country code in message 344 received as whois geo info ↵Sébastien Helleu
(issue #1736)
2023-06-26irc: display commands 716/717 in private buffer (if present) (closes #146)Sébastien Helleu
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-25irc: reply to a CTCP request sent to self nick (closes #1966)Sébastien Helleu
2023-06-05tests: fix checks on integers in relay irc protocol testsSébastien Helleu
2023-06-05tests: add missing include of string.h in logger testsSébastien Helleu
2023-06-05logger: fix display of multiline messages in backlog (closes #1926)Sébastien Helleu
2023-06-05tests: add tests on logger tail functions (issue #1926)Sébastien Helleu
2023-06-04irc: add tag "new_host_xxx" in message displayed for command CHGHOST (closes ↵Sébastien Helleu
#1808)
2023-06-03relay: add support of capability "echo-message" (closes #1949)Sébastien Helleu
2023-06-02tests: add tests on relay "irc" protocolSébastien Helleu
2023-05-31tests: create and close server buffer in tests on function irc_join_splitSébastien Helleu
2023-05-31tests: fix close of channel buffers after tests on function irc_join_splitSébastien Helleu
2023-05-29core: set word_end_offset to character after wordTrygve Aaberge
It seemed strange to me to have word_end_offset point to the last character in the word, rather than the character after the word, especially now with the word stopping before a newline character which meant word_end_offset would be -1 if there was no characters before the newline character.
2023-05-29core: fix chat colors at certain positions not being appliedTrygve Aaberge
The new rendering of multiline lines had some issues with colors at certain positions not being applied. The color would not be applied if the color code was at either of these positions: - At the start of a line after a newline character - At the end of a line after a space and before a newline character - At a line by itself before a newline character The way I had done it by considering newline characters as a word in gui_chat_get_word_info with a variable specifying that it's newline characters became messy and didn't really make sense, so rather than doing this, I changed gui_chat_get_word_info to stop before the first newline character. That way, we can just check if we are at a newline character at the start of the loop, and don't need any more special handling. Fixes #1928
2023-05-29tests: add tests on manual CTCP ACTION sent to IRC channelSébastien Helleu
2023-05-29irc: hide password in messages to nickserv with cap echo-message enabled ↵Sébastien Helleu
(issue #139)
2023-05-29irc: add command `/action` (closes #201, issue #1577), remove alias `action`Sébastien Helleu
2023-05-27irc: add missing host tag in self messages with cap echo-message enabled ↵Sébastien Helleu
(issue #139)
2023-05-27irc: fix display of STATUSMSG CTCP ACTION to channel with cap echo-message ↵Sébastien Helleu
enabled (issue #139, issue #1577)
2023-05-27irc: fix display of outgoing CTCP when channel/private buffer doesn't existSébastien Helleu
2023-05-27irc: fix display of outgoing STATUSMSG CTCP ACTION without argumentsSébastien Helleu
2023-05-27irc: fix split of CTCP message with no argumentsSébastien Helleu
2023-05-27irc: display STATUSMSG actions differently from standard actions on channels ↵Sébastien Helleu
(closes #1577, issue #139)
2023-05-26tests: add tests on IRC message/notice/action/CTCP sent with cap ↵Sébastien Helleu
echo-message enabled (issue #139)
2023-05-26tests: remove capabilities added after the end of testsSébastien Helleu
2023-05-26tests: add tests on IRC message/notice/action/CTCP sent (issue #139)Sébastien Helleu
2023-05-25irc: fix duplicated CTCP messages displayed when capability "echo-message" ↵Sébastien Helleu
is enabled (issue #139)
2023-05-23tests: remove import of unused headersSébastien Helleu
2023-05-23irc: add support of capability "echo-message" (closes #139)Sébastien Helleu
2023-05-23irc: fix display of status privmsg/notice, add missing tags in messages ↵Sébastien Helleu
(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-23irc: add missing tags "irc_cap" and "log3" in cap messages (client capability)Sébastien Helleu
2023-05-23irc: add missing tag "log3" in notify messagesSébastien Helleu
2023-05-23tests: check tags in messages displayed by IRC pluginSébastien Helleu
2023-05-22tests: separate prefix from message in recorded messagesSébastien Helleu
The record functions are moved to tests-record.cpp.
2023-05-20logger: add option logger.file.log_conditions (closes #1942)Sébastien Helleu
2023-05-18alias: use dynamic string to replace alias argumentsSébastien Helleu
2023-05-18tests: add tests on alias functionsSébastien Helleu
Functions tested: - alias_valid - alias_search - alias_string_add_word - alias_string_add_word_range - alias_string_add_arguments - alias_replace_args
2023-05-17irc: add field "utf8only" in IRC server structureSébastien Helleu
2023-05-16irc: update secure data when server autojoin option contains ↵Sébastien Helleu
`${sec.data.xxx}` and option autojoin_dynamic is enabled (closes #1934)