summaryrefslogtreecommitdiff
path: root/src/irc
AgeCommit message (Collapse)Author
2015-04-20Decode incoming JIDs local part according to xep 0106Florent Le Coz
This let users send message to nicks such as Q@CServe.quakenet.org fix #3047
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-26Merge branch 'fixed_server'Florent Le Coz
2015-02-26Implement room discovery using the LIST irc commandFlorent Le Coz
ref #2472
2015-02-25Do not handle the "%" char in a special way, in the fixed_server modeFlorent Le Coz
Also fix some doc
2015-02-25Add support for a fixed_irc_server configurationFlorent Le Coz
This option lets the administrator choose a specific IRC server, and only that server can be used with this biboumi instance. In this mode, JIDs to use are changed like this: - #chan%irc.example.com@biboumi.example.com -> #chan@biboumi.example.com - user!irc.example.com@biboumi.example.com -> user!@biboumi.example.com - #chan%irc.example.com@biboumi.example.com/Nick -> #chan@biboumi.example.com/Nick - %irc.example.com@biboumi.example.com -> no equivalent - irc.example.com@biboumi.example.com -> no equivalent
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-12-17Fix a few issues reported by static analyzersFlorent Le Coz
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
2014-05-27Use the CHANTYPES values to differentiate channel or user noticesFlorent Le Coz
It also happens to fix #2517 because this used to create buggy channels named "auth" and stuf like that.
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-14Correctly handle the usage of ! as a IRC user mode indicatorFlorent Le Coz
Since “!” is also the separator between the nickname and the user hostname, having “!” as the user mode (e.g. !nick!~some@host.bla) would cause the nick to be empty. Now we skip it if it is a valid user mode indicator.
2014-05-07Forward iq version results to IRCFlorent Le Coz
2014-05-06Forward CTCP version request to XMPPFlorent Le Coz
2014-04-29Use C++14 string_literalsFlorent Le Coz
2014-04-28Upgrade to C++14Florent Le Coz
2014-04-25NOTICE from channels are displayed in the channel, with a green "[notice]"Florent Le Coz
2014-04-15Add an explanatory topic on the dummy channelFlorent Le Coz
2014-04-15Do not disconnect from the IRC server if the dummy channel is joinedFlorent Le Coz
2014-04-15Better way to leave the dummy roomFlorent Le Coz
2014-04-15Ability to leave the dummy channelFlorent Le Coz
2014-04-15Correctly use the dummy channel whenever we interract with an empty-string chanFlorent Le Coz
2014-04-13[WIP] DummyIrcChannelFlorent Le Coz
2014-03-28Catch all exception produced by a received message (irc or xmpp)Florent Le Coz
2014-03-24Do not send data if we are connected, send it only once we actually areFlorent Le Coz
2014-02-28Avoid unnecessary copies by recv()ing data directly into the expat bufferFlorent Le Coz
2014-02-25Do not try to connect to an irc server if we are connected or connectingFlorent Le Coz
2014-02-22Connection to servers does not block the process anymoreFlorent Le Coz
2014-02-20QUIT the irc server when the last channel is leftFlorent Le Coz
2014-02-19Send unavailable presence to all muc when the IRC server closes the connectionFlorent Le Coz