summaryrefslogtreecommitdiff
path: root/src/irc/irc_client.cpp
AgeCommit message (Collapse)Author
2017-03-08Revert "Don’t send the unavailable presence to all resources, in the ↵louiz’
virtual channel" This reverts commit 38ff50f5d2ca356f659429ff57546bd2364a0fef.
2017-03-08Don’t send the unavailable presence to all resources, in the virtual channellouiz’
2017-03-08Pass the shared_ptr by reference, to avoid useless copieslouiz’
2017-01-10Add missing <algorithm> include for last commitlouiz’
2017-01-10Only try to join chans only once, even if we received multiple presenceslouiz’
ref #3228
2016-12-13Send a presence error from the room, when receiving command ERR_BADCHANNELKEYlouiz’
fix #2886
2016-11-11Move all the connect() logic from TCPSocketHandler into a subclasslouiz’
This way, TCPSocketHandler only deal with the message sending/receiving, not the connect() or anything else. This will be used for implementing servers (because when a client is accepted, we don’t need all the connect() and dns resolution stuff).
2016-10-31Some cleanupslouiz’
2016-10-31Handle IRC message 341 (invite confirmation)louiz’
2016-10-24Correctly handle the nick change inside the virtual channellouiz’
2016-10-23Refactor channel->parting to a new locationlouiz’
2016-10-07Correctly set status="110" in the presence for the target of a kicklouiz’
2016-10-02Use LIST * instead of just LIST, because some servers don’t accept itlouiz’
Also add a e2e test for the list query
2016-08-22When joining a channel, send the most recent history found in the databaselouiz’
2016-08-18Fix the author of the IRC invitelouiz’
2016-08-18Forward IRC invites to XMPPlouiz’
2016-08-16Forward mediated invitations (XMPP to IRC only)louiz’
2016-08-10Don’t use ! as the separator for nicknames, use % insteadlouiz’
It’s now easier to use. The distinction between a nick and a channel name is based on the first character (by default it's '#' and '&'). The user doesn’t have to worry about which separator to use anymore. fix #3066
2016-06-15Fix a missing include for strlenlouiz’
2016-06-15Properly calculate the maximum size of each message line, before cuttinglouiz’
fix #3067
2016-06-15Save our own host, as reported by the serverlouiz’
2016-06-15cut messages at 512 bytes, taking into account the UTF-8 codepointslouiz’
ref #3067
2016-06-14Refactor, test and improve the way we cut too-long messages for IRClouiz’
2016-06-13Show off, with some variadic templates, for the logger modulelouiz’
2016-06-08Support multiple nick session, except for IQslouiz’
ref #2556
2016-06-08Forward everything to all concerned XMPP resourceslouiz’
2016-05-13Use “using” instead of typedeflouiz’
2016-04-22Forward the topic authors, handle the author from 333 messageslouiz’
fix #2
2016-04-22Support RPL_NOTPIC and 005louiz’
2016-02-10Move the irc callbacks into the cpp fileFlorent Le Coz
2016-01-04Support a trusted SHA1 fingerprint to be configured for each IRC serverFlorent Le Coz
2016-01-04Support multi-prefixFlorent Le Coz
See http://ircv3.net/specs/extensions/multi-prefix-3.1.html ref #3103
2015-12-21Use references instead of raw pointer, to store the “parent” objectFlorent Le Coz
In Bridge and IrcClient
2015-12-01Add the outgoing_bind optionFlorent Le Coz
Lets the admin choose a local address to bind each outgoing (IRC) socket.
2015-11-05Provide an adhoc option to let user pass the cert verif for some IRC serversFlorent Le Coz
2015-11-02Fix the initial IRC nickname (was using realname, by mistake)Florent Le Coz
2015-10-31Implement a basic webirc supportFlorent Le Coz
See https://kiwiirc.com/docs/webirc fix #3135
2015-10-31Fix the double sending of the USER commandFlorent Le Coz
2015-10-26Fix some trivial issues reported by cppcheckFlorent Le Coz
2015-10-12Introduce the realname_from_jid optionFlorent Le Coz
When set to true, the realname and username are extracted (by default) from the user’s JID fix #3136
2015-10-12Provide the “realname_customization” optionFlorent Le Coz
ref #3136
2015-10-12The realname is also saved as an IrcClient memberFlorent Le Coz
2015-09-23Provide username and realname IRC server optionsFlorent Le Coz
Used in the USER command when connecting to the IRC server, instead of the first nick. fix #3028
2015-09-22Connection may be closed from our side tooFlorent Le Coz
2015-09-21Add a field (in the configure form) to specifiy an after-connect IRC commandFlorent Le Coz
2015-09-21Provide Ports and TLS Ports IRC-server ad-hoc optionsFlorent Le Coz
This let any user choose which ports to use when connecting to the IRC server. This also lets the user choose whether or not to force TLS usage (by setting no non-TLS port). fix #2731
2015-09-18Send a PASS IRC command if the “pass” config is sot by a user, on an IRC ↵Florent Le Coz
server fix #3068
2015-09-06Trivial cleanup in irc_client.cppFlorent Le Coz
2015-09-06Check the number of argument of every IRC command received from the serverFlorent Le Coz
Each IrcClient callback has a max and min size of argument, we call the callback only if the parsed message has a correct number of arguments, otherwise it is ignored (with a warning logged).
2015-07-09If hostname resolution fails, do not try all possible portsFlorent Le Coz