summaryrefslogtreecommitdiff
path: root/src/xmpp/xmpp_component.cpp
AgeCommit message (Collapse)Author
2014-04-15Fix the leave-muc presence stanzaFlorent Le Coz
2014-04-11Do not use exceptions for missing tags, improvement in code simplicityFlorent Le Coz
2014-04-10Messages coming from the IRC server are of type "chat"Florent Le Coz
2014-03-28The default type for message stanza is "normal"Florent Le Coz
2014-03-28The absence of a from attribute is an unrecoverable error, just ignore itFlorent Le Coz
2014-03-28Send a stanza error when receiving bad stanzasFlorent Le Coz
Whether this is a bad-request (missing XML attributes or elements) or an internal server error.
2014-03-24IdemFlorent Le Coz
2014-03-24Use the correct type of errorFlorent Le Coz
2014-03-24Send an error presence whenever a user tries to join an invalid roomFlorent Le Coz
2014-03-24Introduce two new bool, to know if the xmpp component should try to reconnectFlorent Le Coz
If we never succeeded our connection+auth process, means we should probably not attempt any-more, and just give up. If we ever did, this means a reconnect is a good idea
2014-03-24Reconnected immediately to the XMPP whenever it closes the connectionFlorent 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-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-17Fix quit messages not being sent to XMPPFlorent Le Coz
2014-02-17Include role and affiliation in the join presence of the nick change processFlorent Le Coz
2014-02-17Log (xmpp) stream-level errorsFlorent Le Coz
2014-02-17Revert "Do not include an empty item XML element in join presences"Florent Le Coz
This reverts commit e3b91475ffd7c1c76868964614f66060ba9e3a85.
2014-02-08Do not include an empty item XML element in join presencesFlorent Le Coz
2014-02-08Be verbose about IRC server connection failures, and handle them properlyFlorent Le Coz
2014-01-13Do not change the affiliation/role to "none"/"participant" when changing nickFlorent Le Coz
fixes #2436
2014-01-13Remove cryptopp dependency, directly include a simple sha1 implementationFlorent 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-04Shutdown cleanly on SIGINTFlorent Le Coz
2013-12-24connect() returns a booleanFlorent Le Coz
2013-12-23Correctly send the part message to IRCFlorent Le Coz
By fixing a namespace when looking for an XML element containing that message
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
2013-11-28Implement IRC format to xhtml-im conversionFlorent Le Coz
The generated XML is very verbose because each IRC formatting tag makes us close a <span/> element and reopen it with the new style applied. However, this works quite well and is easy to implement.
2013-11-13Handle KICK in irc channel, both waysFlorent Le Coz
2013-11-12Basic handling of modes, both waysFlorent Le Coz
2013-11-11Handle nick changes, both waysFlorent Le Coz
2013-11-10Handle private messages, both waysFlorent Le Coz
2013-11-10Connect to localhost instead of the served hostnameFlorent Le Coz
Because the XMPP component connection is only available locally, the XMPP servers proably only listen on 127.0.0.1 instead of 0.0.0.0.
2013-11-10Use the Expat library directly instead of relying on expatppFlorent Le Coz
And now we handle namespaces, yay. And a nice little test.
2013-11-09Implement part and join, both waysFlorent Le Coz
2013-11-07Send and receive messagesFlorent Le Coz
Also correctly respond to PING with the id, escape some XML content, but not always
2013-11-06Implement the Bridge class to translate between the two protocolsFlorent Le Coz
Add all useful classes as well: Jid, Iid, IrcChannel, IrcUser etc to properly keep the informations about what we receive from the IRC server. Only handle the MUC join stanza, and send the list of users in the IRC channel to the XMPP user, and the IRC channel’s topic, for now.
2013-11-03Add a basic XMPP component implementation, doing the authenticationFlorent Le Coz