summaryrefslogtreecommitdiff
path: root/src/irc/irc_client.hpp
AgeCommit message (Collapse)Author
2018-08-24Fix a signed/unsigned mismatchlouiz’
2018-08-23Disable the throttle limit if negativelouiz’
Also, invalid values result in -1 being set
2018-07-24Reflect messages to XMPP only when they are actually sentlouiz’
2018-06-26Default the throttle limit to 10 if not built with database supportlouiz’
2018-06-25Throttle all commands sent to IRC serverslouiz’
fix #3354
2018-06-17Channels’ disco#info includes the number of participantslouiz’
fix #3311
2018-03-12Remove the virtual channel feature altogetherlouiz’
2017-08-27Add support for the "history" node on MUC joinlouiz’
Supports the "seconds", "maxstanzas", "since" and "maxchars" (but only =0) attributes. fix #3270
2017-05-18Handle messages 367 and 368 to display the banlist in the MUClouiz’
fix #3234
2017-04-07Apply all the clang-tidy modernize-* fixeslouiz’
2017-03-29Remove two sneaky log_debuglouiz’
2017-03-27Add a Persistent option on channelslouiz’
fix #3230
2017-03-08Pass the shared_ptr by reference, to avoid useless copieslouiz’
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-31Handle IRC message 341 (invite confirmation)louiz’
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-07-04Replace all include guards by #pragma oncelouiz’
It’s $CURRENT_YEAR
2016-06-15Save our own host, as reported by the serverlouiz’
2016-06-08Support multiple nick session, except for IQslouiz’
ref #2556
2016-05-04Style fixlouiz’
Move all constructors at the top of classes
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
2015-12-21Use references instead of raw pointer, to store the “parent” objectFlorent Le Coz
In Bridge and IrcClient
2015-11-05Provide an adhoc option to let user pass the cert verif for some IRC serversFlorent Le Coz
2015-10-31Do not forget to implement a methodFlorent Le Coz
2015-10-31Implement a basic webirc supportFlorent Le Coz
See https://kiwiirc.com/docs/webirc fix #3135
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-12The realname is also saved as an IrcClient memberFlorent Le Coz
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-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-05-19Ignore commands that flood the user with private messages when listing chansFlorent Le Coz
ref #2472
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-03-24Do not log a warning when we receive a PONG commandFlorent Le Coz
2015-02-26Implement room discovery using the LIST irc commandFlorent Le Coz
ref #2472
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-12If we sent a message to a user, their notices are considered private messagesFlorent Le Coz
fix #2882
2014-08-08Send a proper error on IRC message 438 (nickname change too fast)Florent Le Coz
fix #2576
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-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-27Add support for CHANTYPES isupport element, to know the prefixes of channelsFlorent Le Coz
2014-05-27SocketHandlers own the poller and add themself into it only when the socket ↵Florent Le Coz
is created We want to call socket() with the parameters provided by getaddrinfo, so we can’t addd the fd into the poller immediately. We need to wait the connection attempt, and then the SocketHandler can call add_socket_handler itself, if the connection succeeds, or is in progress.
2014-05-07Forward iq version results to IRCFlorent Le Coz