summaryrefslogtreecommitdiff
path: root/src/plugins/relay/irc
AgeCommit message (Collapse)Author
2020-04-12relay: actually use the client status "waiting_auth" in irc and weechat ↵Sébastien Helleu
protocols (closes #1358) Now the status "waiting_auth" is used and displayed in the relay buffer. When a client connects, there are now 2 messages (except for irc protocol if there's no password required): relay: new client on port 9000: 1/weechat/1.2.3.4 (waiting auth) relay: client 1/weechat/1.2.3.4 authenticated If the authentication fails, the messages are: relay: new client on port 9000: 1/weechat/1.2.3.4 (waiting auth) =!= relay: authentication failed with client 1/weechat/1.2.3.4
2020-01-04core: update copyright datesSébastien Helleu
2019-06-15api: add argument "strip_items" in function string_splitSébastien Helleu
2019-04-13api: return allocated string in hook_info callback and function info_getSébastien Helleu
2019-03-10core: replace argument "keep_eol" by "flags" in function string_split ↵Sébastien Helleu
(closes #1322)
2019-01-01core: update copyright datesSébastien Helleu
2018-11-29core: use https for links to GNU GPL licenseSébastien Helleu
2018-10-01irc: replace call to gmtime by gmtime_rSébastien Helleu
2018-07-13relay: fix compiler warnings on calls to snprintfSébastien Helleu
2018-05-19relay: remove unneeded check on variable irc_argvSébastien Helleu
The variable "irc_argv" is always set if irc_argc > 0.
2018-01-07core: fix some stylesSébastien Helleu
2018-01-05core: update copyright datesSébastien Helleu
2017-09-23core, plugins: check return code of strftime functionSébastien Helleu
2017-08-10core: remove value for first #define in headers, add "PLUGIN" in plugin headersSébastien Helleu
2017-07-23relay: fix send of "PART" command in backlog (irc protocol)Sébastien Helleu
2017-07-23relay: end capability negociation if CAP REQ is received without arguments ↵Sébastien Helleu
(issue #1040) This fixes a bug with clients like Atomic which are sending "CAP REQ :".
2017-07-23relay: fix initialization of irc_argv_eol, free variable after use (issue #1040)Sébastien Helleu
2017-07-23relay: fix parsing of CAP command without arguments in irc protocol, send ↵Sébastien Helleu
ACK only if all capabilities received are OK and NAK otherwise (closes #1040)
2017-06-03relay: remove local variables used only for sizeofSimmo Saan
2017-05-19relay: fix parsing of CAP command arguments in irc protocol (closes #995)Sébastien Helleu
2017-03-25relay: check that pointers received in arguments are not NULL in "free" ↵Sébastien Helleu
functions Functions: - relay_irc_free - relay_client_outqueue_free - relay_raw_message_free - relay_weechat_msg_free - relay_weechat_nicklist_item_free - relay_weechat_nicklist_free - relay_weechat_free
2017-01-01core: update copyright datesSébastien Helleu
2016-10-25relay: set status to AUTH_FAILED in case of auth failure in irc protocol ↵Sébastien Helleu
(issue #825)
2016-03-21core: add pointer in some callbacks (closes #406)Sébastien Helleu
This pointer is the first argument received by callbacks, and the existing argument "data" is now automatically freed by WeeChat when the object containing the callback is removed. With this new pointer, the linked list of callbacks in scripts has been removed. This will improve speed of scripts (using a lot of hooks), reduce memory used by scripts and reduce time to unload scripts. Following functions are affected in the C API: * exec_on_files * config_new * config_new_section * config_new_option * hook_command * hook_command_run * hook_timer * hook_fd * hook_process * hook_process_hashtable * hook_connect * hook_print * hook_signal * hook_hsignal * hook_config * hook_completion * hook_modifier * hook_info * hook_info_hashtable * hook_infolist * hook_hdata * hook_focus * unhook_all_plugin * buffer_new * bar_item_new * upgrade_new * upgrade_read
2016-03-05relay: do not execute any command received from an irc relay client (closes ↵Sébastien Helleu
#699)
2016-02-06relay: fix websocket frame decoding, answer a PONG to PING (closes #675)Sébastien Helleu
2016-01-01core: update copyright datesSébastien Helleu
2015-12-20relay: add option relay.irc.backlog_since_last_messageNick
2015-01-01core: update copyright datesSébastien Helleu
2014-12-07relay: wait for message CAP END before sending join of channels and backlog ↵Sébastien Helleu
to the client (closes #223)
2014-10-08relay: use comma separator in option relay.irc.backlog_tags, check the value ↵Sébastien Helleu
of option when it is changed with /set
2014-10-08relay: add host in sender for IRC backlog PRIVMSG messages sent to clientsSébastien Helleu
2014-08-09relay: fix crash when an IRC "MODE" command is received from client without ↵Sébastien Helleu
arguments
2014-04-13relay: add signal "relay_client_auth_ok" for irc and weechat protocolsSébastien Helleu
2014-03-19core: fix use of reserved C identifiers in headers (closes #31)Sebastien Helleu
2014-02-28relay: fix size used in a snprintfSebastien Helleu
2014-02-22relay: remove dead assignment in function relay_irc_get_line_infoSebastien Helleu
2014-02-22relay: fix NULL pointer when reading buffer lines for irc backlogSebastien Helleu
2014-02-10api: add integer return code for functions hook_{signal|hsignal}_sendSebastien Helleu
2014-01-31relay: send backlog for irc private buffersSebastien Helleu
2014-01-01core: update copyright datesSebastien Helleu
2013-09-19relay: add support of secured data in option relay.network.password ↵Sebastien Helleu
(evaluate content) (patch from Nils Görs)
2013-05-18relay: fix uncontrolled format string in redirection of irc commandsSebastien Helleu
2013-03-17core: fix typos in many comments and some stringsSebastien Helleu
2013-02-23relay: add support of multiple servers on same port for irc protocol (the ↵Sebastien Helleu
client must send the server in the "PASS" command)
2013-02-10relay: add experimental websocket server support (RFC 6455) for irc and ↵Sebastien Helleu
weechat protocols, new option relay.network.websocket_allowed_origins It is a partial implementation of RFC 6455: fragmentation and control frames are not yet supported. Text and binary frames are supported.
2013-01-26core: use size of 32 for hashtables (instead of 4, 8 or 16)Sebastien Helleu
A size of 32 will use a little more memory but will reduce collisions in key hashs, and then length of linked lists inside hash structure (faster search in hashtable).
2013-01-11relay: fix duplicated messages sent to irc clients (when messages are ↵Sebastien Helleu
redirected) (bug #37870)
2013-01-11relay: fix typo in commentSebastien Helleu
2013-01-11relay: add debug message for signal "irc_disconnected"Sebastien Helleu