summaryrefslogtreecommitdiff
path: root/src/xmpp/xmpp_stanza.hpp
AgeCommit message (Collapse)Author
2017-03-14Refactoring louloulibs and cmakelouiz’
Use OBJECT libraries Remove the louloulibs directory Write FOUND variables in the cache
2015-03-02Forgot to remove some XMPP files that are now in louloulibs insteadFlorent Le Coz
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 (&'"<>)
2014-12-17Fix a few issues reported by static analyzersFlorent Le Coz
2014-05-30XmlNode::get_children, to get a list of matching children instead of the firstFlorent Le Coz
2014-05-30XmlNode’s copy constructor now recursively copies the children nodes as wellFlorent Le Coz
2014-05-30Implement the support for adhoc commandsFlorent Le Coz
We have two basic example commands. But it’s not entirely finished because there are some error checks that we don’t do. ref #2521
2014-05-28Change the way the namespaces are handled in the XmlNode classFlorent Le Coz
2014-05-15Only call get_last_child() if the node has childrenFlorent Le Coz
Explain that the behaviour is otherwise undefined, in the comment.
2014-05-15Stanza:get_name() only returns the name of the tag, without the namespaceFlorent Le Coz
2014-04-11Do not use exceptions for missing tags, improvement in code simplicityFlorent 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-27Set the parent of a node passed to add_child, and return it for convenianceFlorent Le Coz
2013-11-11Unescape XML before sending messages over IRCFlorent Le Coz
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-07Send and receive messagesFlorent Le Coz
Also correctly respond to PING with the id, escape some XML content, but not always
2013-11-03Add an XmppParser, and Stanza classesFlorent Le Coz
Generate events on stanza and stream open/close. Create Stanza and serialize them. Note: XML namespaces are not handled yet.