summaryrefslogtreecommitdiff
path: root/src/irc/irc_client.cpp
AgeCommit message (Collapse)Author
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
2015-05-19Do not forward CTCP commands (PING, VERSION…) to the user as private messagesFlorent Le Coz
Some XMPP client ping themselves inside MUCs, to know if they are still in there, this created a flood of PING message in private. If the user is interested in knowing when they receive a ping or version request, they can still read their XML logs
2015-05-19Ignore commands that flood the user with private messages when listing chansFlorent Le Coz
ref #2472
2015-05-11Fix the case of the nick for ping requestsFlorent Le Coz
fix #3041
2015-05-07Two trivial fixesFlorent Le Coz
2015-05-07Handle all unknown IRC command by forwarding the arguments as a message bodyFlorent Le Coz
This way, the users can receive the result of any IRC command (although not parsed nor formatted in anyway) when biboumi doesn’t support it fix #2884
2015-05-07Support raw IRC messagesFlorent Le Coz
Messages received on an IRC server JID are forwarded as raw IRC messages. fix #2486
2015-04-21Properly check for connecting or connected status before reconnectingFlorent Le Coz
Note, in our context, is_connecting() includes the resolving part as well as the actual connection (if we are using c-ares) fix #3048
2015-03-24Do not log a warning when we receive a PONG commandFlorent Le Coz
2015-02-27Remove all the libs that are now in louloulibsFlorent Le Coz
2015-02-26Implement room discovery using the LIST irc commandFlorent Le Coz
ref #2472
2015-02-25Include the IRC hostname in the IRC RECEIVING and SENDING debug messagesFlorent Le Coz
fix #2715
2015-01-14Remove a recent debug line that should not be thereFlorent Le Coz
2015-01-14Do not send an empty password at all, if the user didn't provide oneFlorent Le Coz
2015-01-14Make the password work when we join our first channel on that serverFlorent Le Coz
Because we need to wait for the welcome message, when we connect to the server, before sending the JOIN command, we need to also save the value of the password to reuse it when we actually send the JOIN command
2015-01-14Add support for password-protected IRC rooms.Emmanuel Gil Peyrot
2015-01-12Remove a dummy commented lineFlorent Le Coz
2015-01-12If we sent a message to a user, their notices are considered private messagesFlorent Le Coz
fix #2882
2014-11-12Implement PING, user to user only (XMPP and IRC side, using CTCP PING)Florent Le Coz
ref #2757
2014-11-12Rename iq_responder_callback_t to irc_… and add the equivalent to wait for iqsFlorent Le Coz
2014-08-08Send a proper error on IRC message 438 (nickname change too fast)Florent Le Coz
fix #2576
2014-08-08Use generic send_presence_error() instead of almost identical specializationsFlorent Le Coz
2014-07-15Send the reason of the connection close to the userFlorent Le Coz
2014-07-02Add a level of inheritance above SocketHandlerFlorent Le Coz
SocketHandler has been renamed to TCPSocketHandler SocketHandler is now a simple interface with a few methods, used only by Poller. This way we can inherite from the new SocketHandler class, to handle other types of sockets, and still make them manageable by the poller without any change in the Poller class.
2014-06-19Implement a way to add callbacks, waiting for an IRC event to return an iqFlorent Le Coz
2014-06-19Remove a duplicate “connection closed” messageFlorent Le Coz
2014-06-11Rewrite the whole IID usageFlorent Le Coz
IRC users and channels are now distinguished by the separator used in the IID (% or !). ref #2468
2014-06-08Implement TLS support using BotanFlorent Le Coz
For now, it tries two TLS ports and then connects to the non-tls port. In the future we would like the user to be able to configure that. fix #2435
2014-05-30Send (every 240s) a PING command to all connected irc serversFlorent Le Coz
fix #2452
2014-05-28Send an error presence when the connection to the IRC server failsFlorent Le Coz
2014-05-27Fix a by-one error in the CHANTYPES parsingFlorent Le Coz