summaryrefslogtreecommitdiff
path: root/src/xmpp
AgeCommit message (Collapse)Author
2015-09-23Make sure the user-provided username does not contain spacesFlorent 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-22Fix two small warningsFlorent 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-18Introduce the configure ad-hoc command on irc serversFlorent Le Coz
Provides two options for now, and they have no effect yet
2015-09-18Add an AdhocCommandsHandler to store commands specific to IRC serversFlorent Le Coz
2015-09-01Use unique_ptr to store the XmlNode’s childrenFlorent Le Coz
Also fix some constness things
2015-09-01XmlNodes are now always closedFlorent Le Coz
Remove the close() method and closed attribute. Remove all the calls to close(). (Save one bool per XmlNode, yay, and save a few ifs and some useless function calls. At best it should be unnoticeably faster and lighter and save a few keystrokes in the future)
2015-06-09Do not send the admin-only adhoc commands to non-admin usersFlorent Le Coz
They were not able to execute them anyway, so this was just a little usability issue.
2015-06-09Remove a useless duplicate methodFlorent Le Coz
2015-05-11Properly send error response on presence stanzasFlorent Le Coz
2015-05-11Return a stanza error whenever the IRCClient for a given server does not existFlorent Le Coz
Instead of ignoring the stanza, we send back an error of type remote-server-not-found each time it's possible. Also avoid having to do if (!irc) return; everytime. fix #3045
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-02Move non-specific adhoc commands into louloulibsFlorent Le Coz
Only keep some biboumi-specific commands into biboumi_adhoc_commands.hpp/cpp
2015-03-02Forgot to remove some XMPP files that are now in louloulibs insteadFlorent 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-26Properly sanitize everything in the XML we send to the XMPP serverFlorent Le Coz
in this order: - Make sure it is utf-8 encoded - Remove all chars that are invalid in XML - Escape all XML special chars (&'"<>)
2015-02-26Fix the systemd-conditional codeFlorent Le Coz
By using SYSTEMD_FOUND instead of SYSTEMDDAEMON_FOUND, where I forgot to rename it…
2015-02-26Remove an unused parameterFlorent Le Coz
2015-02-24Add a reload add-hoc commandFlorent Le Coz
2015-02-23Implement async DNS resolution using c-aresFlorent Le Coz
fix #2533
2015-02-21Use a timer to try reconnecting to the XMPP server only each 2 secondsFlorent Le Coz
When the connection is lost, immediately try to reconnect, then try to reconnect every 2 seconds. This is much better than the previous “Try to re-connect as fast as possible”.
2015-02-21Remove the XmppComponent::last_auth bool that was never used anywhereFlorent Le Coz
2015-01-24Change IRC modes when receiving an affiliation/role change requestFlorent Le Coz
fix #2946
2015-01-14Fix a little bit of style stuf from previous commitFlorent Le Coz
2015-01-14Add support for password-protected IRC rooms.Emmanuel Gil Peyrot
2014-12-17And another trivial -Weffc++ warningFlorent Le Coz
2014-12-17Fix a few issues reported by static analyzersFlorent Le Coz
2014-11-24Cache the result of jidprep()Florent Le Coz
Avoid doing repetitive calculations, if we call jidprep() on the same JID multiple times
2014-11-12Implement the PING on a server or the gateway itselfFlorent Le Coz
fix #2575
2014-11-12send_iq_result can have a "from" with just the domain nameFlorent Le Coz
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-07-21Add two missing type="error" in some presence errorsFlorent 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-30Regularly send a notification for the systemd watchdogFlorent Le Coz
2014-06-25Fix ad-hoc “disconnect user” command. Do not add the <error/> on successFlorent Le Coz
2014-06-20Support version request to IRC usersFlorent Le Coz
2014-06-20Respond to IQ version on the gateway, a server or a chan with biboumi versionFlorent Le Coz
ref #2455
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-06-11Add an <error/> element when the provided form is wrong, in two ad-hoc commandsFlorent Le Coz
2014-06-11Handle the 'cancel' ad-hoc action, and return an error for unsupported actionsFlorent Le Coz
ref #2521