summaryrefslogtreecommitdiff
path: root/src/bridge/bridge.cpp
AgeCommit message (Collapse)Author
2015-05-07Support raw IRC messagesFlorent Le Coz
Messages received on an IRC server JID are forwarded as raw IRC messages. fix #2486
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-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-01-24Change IRC modes when receiving an affiliation/role change requestFlorent Le Coz
fix #2946
2015-01-14Add support for password-protected IRC rooms.Emmanuel Gil Peyrot
2014-12-17Fix a few issues reported by static analyzersFlorent Le Coz
2014-11-12Implement the PING on a server or the gateway itselfFlorent Le Coz
fix #2575
2014-11-12Implement PING to in-room participantFlorent Le Coz
ref #2575
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-08Use generic send_presence_error() instead of almost identical specializationsFlorent Le Coz
2014-06-20Support version request to IRC usersFlorent Le Coz
2014-06-19Return a proper iq when the IRC server responds to our kickFlorent Le Coz
A result or an error, depending on the type of message
2014-06-19Implement a way to add callbacks, waiting for an IRC event to return an iqFlorent Le Coz
2014-06-18Messages to room participants are forwarded to the IRC userFlorent Le Coz
For example, both JID #chan%server@biboumi/Toto and toto!server@biboumi are equivalent, except that if you send a message to the first one, subsequent messages coming from the user toto will come from that same JID. This is done to be consistent for the XMPP user, and respond from the same JID than the 'to' of the first message. fix #2468
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-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-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-25Also do that cut of message on \n for private messages, and handle /meFlorent Le Coz
2014-05-25Split the messages on \n when sending them back to the XMPP userFlorent Le Coz
2014-05-15Disconnect the user from all its IRC servers whenever he returns an errorFlorent Le Coz
fix #2524
2014-05-07Forward iq version results to IRCFlorent Le Coz
2014-05-06Forward CTCP version request to XMPPFlorent Le Coz
2014-04-29Fix a little indentationFlorent Le Coz
2014-04-29Use C++14 string_literalsFlorent Le Coz
2014-04-25The author name from messages from the server are now nicely formatedFlorent Le Coz
2014-04-21Remove unused action_prefix_len variableFlorent Le Coz
2014-04-15Joining the dummy channel connects to the irc serverFlorent Le Coz
2014-04-15Better way to leave the dummy roomFlorent Le Coz
2014-04-15Merge branch 'master' into dummy_chanFlorent Le Coz
2014-04-13[WIP] DummyIrcChannelFlorent Le Coz
2014-04-10Messages coming from the IRC server are of type "chat"Florent Le Coz
2014-02-24Add missing stdexcept includesFlorent Le Coz
2014-02-22Connection to servers does not block the process anymoreFlorent Le Coz
2014-02-20Delete empty bridges objectsFlorent Le Coz
2014-02-20QUIT the irc server when the last channel is leftFlorent Le Coz
2014-02-17Include role and affiliation in the join presence of the nick change processFlorent Le Coz
2014-01-06Also set the role and affiliation of users already in the chanFlorent Le Coz
2014-01-04Possibility to change a channel's topicFlorent Le Coz
2014-01-04Convert received modes into roles and affiliationsFlorent Le Coz
2014-01-04Use isupport informations to know the user modes when joiningFlorent Le Coz
Also remove the duplicate send_self_join methods, user only send_user_join
2014-01-04Handle nickname conflicts by sending the correct XMPP error presenceFlorent Le Coz
2014-01-04Remove disconnected IrcClientsFlorent Le Coz
2014-01-04Keep a "connected" state in the SocketHandler classFlorent Le Coz
2014-01-04Shutdown cleanly on SIGINTFlorent Le Coz
2013-12-08Provide a JID for IRC users, and add a stringprep dependency for thisFlorent Le Coz
2013-12-03Use the logger everywhereFlorent Le Coz