summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-ctcp.c
AgeCommit message (Collapse)Author
2024-01-01core: update copyright datesSébastien Helleu
2023-12-26core: store microseconds in buffer lines (closes #649)Sébastien Helleu
2023-10-30irc: add tags "nick_xxx" and "host_xxx" in all messages, including self and ↵Sébastien Helleu
server messages
2023-10-19irc: revert compute of nick colors to case sensitive way, deprecate again ↵Sébastien Helleu
IRC nick color infos (issue #194, issue #2032)
2023-10-15irc: add structure with context sent as unique parameter to IRC protocol ↵Sébastien Helleu
callbacks (issue #989)
2023-09-12irc: fix unexpected message sent to server when part of the second line of ↵Sébastien Helleu
an IRC command (closes #1992)
2023-09-06irc: fix code style (issue #2004)Sébastien Helleu
2023-09-06xfer: add passive DCC support.Mario Campos
This commit also includes support for passive DCC RESUME. There was also a potential segfault with calling `atoi(pos_token)` when `pos_token` is NULL, so `token` is set to be stored as a string. Although it is an integer, we don't need to store it as such. That's really more of an implementation detail.
2023-09-06xfer: add and identify active/passive xfer types.Mario Campos
Before making any significant changes, let's identify the existing xfer types by either active or passive.
2023-09-06xfer: reverse DCC parsing from RtL to LtR.Mario Campos
This makes it easier to handle the optional "token" argument at the (right) end, which will be necessary to support passive DCC. Incidentally, this is RtL parsing order is the reason why you'd get a cryptic "0" address error when attempting to do passive DCC: the "token" argument gets misinterpreted as the "size" argument. Every argument "shifts" over by one, leaving an address (port) of "0".
2023-09-06irc: fix comments on CTCP evaluated variables (issue #1974)Sébastien Helleu
2023-08-24irc: compute color in case insensitive way (closes #194)Sébastien Helleu
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-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-08irc: remove Git revision and compilation date from CTCP VERSION/FINGER reply ↵Sébastien Helleu
(issue #1974)
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 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: display STATUSMSG actions differently from standard actions on channels ↵Sébastien Helleu
(closes #1577, issue #139)
2023-05-26irc: add missing nick tag in self CTCP ACTION displayed (issue #139)Sébastien Helleu
2023-05-25irc: fix display of actions sent with `/me` (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-15irc: remove unused variableSébastien Helleu
2023-05-14irc: return arraylist instead of hashtable in function irc_server_sendf ↵Sébastien Helleu
(issue #1923)
2023-05-03irc: add support of capability "batch" (closes #1292)Sébastien Helleu
2023-04-05irc: search options `irc.ctcp.*` with lower case ctcp stringSébastien Helleu
2023-01-28irc: make case insensitive comparison with a lower case string (issue #1872)Sébastien Helleu
This is faster because with case insensitive comparison, the chars are converted to lower case anyway before being compared.
2023-01-01core: update copyright datesSébastien Helleu
2022-12-19irc: fix calls to weechat_string_toupperSébastien Helleu
2022-09-10irc: replace chars "\01" by spaces in CTCP replies (closes #1819)Sébastien Helleu
This prevents any attack due to an external security issue in the Linux netfilter implementation (nf_conntrack_irc). See: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2663
2022-06-18core: add trailing slashes in URLsSébastien Helleu
2022-01-17core: update copyright datesSébastien Helleu
2021-12-30irc: add IRC message tags in messages displayed (closes #1680)Sébastien Helleu
2021-11-07irc: extend size of some internal buffersSébastien Helleu
2021-01-02core: update copyright datesSébastien Helleu
2020-01-11irc: case-insensitive comparison on incoming CTCP command, force upper case ↵Sébastien Helleu
on CTCP replies (closes #1439)
2020-01-04core: update copyright datesSébastien Helleu
2019-04-13api: return allocated string in hook_info callback and function info_getSébastien Helleu
2019-01-13irc: fix compiler warning on GNU HurdSébastien Helleu
This fixes the following warning: irc-ctcp.c:411:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-truncation=]
2019-01-01core: update copyright datesSébastien Helleu
2018-11-29core: use https for links to GNU GPL licenseSébastien Helleu
2018-11-04core: replace "web site" by "website"Sébastien Helleu
2018-02-05irc: allow ${irc_server.xxx} and ${server} in server evaluated options ↵Sébastien Helleu
(closes #1144) The server option "ssl_fingerprint" is now evaluated when it is used (during SSL connection), instead of when it is set with command /set.
2018-01-05core: update copyright datesSébastien Helleu
2017-09-23core, plugins: check return code of strftime functionSébastien Helleu
2017-08-23irc: fix CTCP PING reply when the option irc.ctcp.ping is set to non-empty valueSébastien Helleu
2017-04-22irc: fix parsing of DCC filenameTobias Stoeckmann
2017-01-01core: update copyright datesSébastien Helleu