summaryrefslogtreecommitdiff
path: root/louloulibs/xmpp
AgeCommit message (Collapse)Author
2017-02-15Surround ipv6 with [], and properly cleanup otherwise invalid domainslouiz’
fix #2694 (yeah, it was closed, but it was badly fixed)
2017-01-06Fix some issues found by sonar cubelouiz’
2017-01-06Fix an use-after-freelouiz’
Because we “delete all node” and then we use the content of one of these nodes we got earlier.
2016-12-14Introduce a XmlSubNode class that automatically adds itself into its parentlouiz’
2016-12-14e2e: test connection failurelouiz’
2016-12-13Include the <text/> element in stanza error when there IS a textlouiz’
2016-12-13Remove the useless nullptr argument for the XmlNode constructorlouiz’
2016-12-13Include the optional <text/> node in the send_presence_errorlouiz’
2016-12-12Auto accept presence subscriptionlouiz’
2016-11-11Move all the connect() logic from TCPSocketHandler into a subclasslouiz’
This way, TCPSocketHandler only deal with the message sending/receiving, not the connect() or anything else. This will be used for implementing servers (because when a client is accepted, we don’t need all the connect() and dns resolution stuff).
2016-11-07Remove a never reached (and non-sensical) errorlouiz’
2016-10-31Some cleanupslouiz’
2016-10-31Remove unused roster codelouiz’
2016-10-26Refactor the sha1 digest into its own function, and do not use sprintflouiz’
2016-10-11Include a private and no-copy nodes in private <message/> to avoid carbon ↵louiz’
duplication
2016-10-07Correctly set status="110" in the presence for the target of a kicklouiz’
2016-10-04Respond to muc#traffic requestslouiz’
fix #3069
2016-10-03Implement result-set-management for LIST querieslouiz’
ref #2948
2016-09-29Re-add the ad-hoc command the was removed by mistake in the previous commitlouiz’
Thank you, e2e tests
2016-09-29Add AdhocCommandHandlers::add_command to simplify the usage of this classlouiz’
And make things a little bit clearer
2016-09-29Look for uuid/uuid.h instead of just uuid.hlouiz’
Avoids a conflict between /usr/include/uuid.h and /usr/local/include/uuid/uuid.h on freebsd
2016-09-04MAM results can be filtered by start and end dateslouiz’
2016-08-29Add the missing includes backlouiz’
2016-08-28Respond to MAM requests on a channel JIDlouiz’
At the moment, result-set-management is not implemented, the whole history (well, at most 1024 messages) is returned.
2016-08-23Use Z instead of z in the timestamp formatlouiz’
2016-08-23Don't use put_time() because it’s not in gcc 4.9, in shitty-debian ↵louiz’
“stable” Use strftime instead
2016-08-22Add missing ctime includelouiz’
2016-08-22When joining a channel, send the most recent history found in the databaselouiz’
2016-07-04Replace all include guards by #pragma oncelouiz’
It’s $CURRENT_YEAR
2016-06-24Properly set the “from” of the ping results to the correct full JIDlouiz’
2016-06-13Show off, with some variadic templates, for the logger modulelouiz’
2016-06-02Check the length of the JID parts when copying into the jidprep bufferlouiz’
We trust the XMPP server, but maybe not enough to not check that
2016-05-13Use “using” instead of typedeflouiz’
2016-05-04Style fixlouiz’
Move all constructors at the top of classes
2016-04-27Include the Configure ad-hoc command on biboumi's JID for fixed_irc_serverlouiz’
Because a jid like “freenode.example.org” is both the JID for the configured IRC server, and biboumi’s JID. fix #3175
2016-04-22Forward the topic authors, handle the author from 333 messageslouiz’
fix #2
2016-02-22log the handshake + stream opening/close in a more consistent wayFlorent Le Coz
2016-02-10Remove unused xml_unescape() functionFlorent Le Coz
2016-01-04Use the configured encoding value when decoding received messagesFlorent Le Coz
2015-12-23A few cleanups, and make a few things more modernFlorent Le Coz
2015-12-23Also store a reference instead of a pointer, in AdhocCommandsHandlerFlorent Le Coz
2015-12-13Make the XMPP server address configurable.Stuart Mumford
fix #3145
2015-12-03Add an ad-hoc command to disconnect a user from one or more IRC serverFlorent Le Coz
fix #3077
2015-12-03JID class provides bare() and full() methodsFlorent Le Coz
2015-12-03Small cleanupFlorent Le Coz
2015-12-03Provide a “var” map in AdhocSession objects, to save values between each ↵Florent Le Coz
step
2015-10-28Refactor XmppParser::end_element to make it clearerFlorent Le Coz
Both for me, and apparently for clang static analyzer, who reported a (imo) false positive.
2015-10-26Style, add a few “this->”Florent Le Coz
2015-09-18XmlNode::add_child can also take a copy of a nodeFlorent Le Coz
2015-09-18Add an AdhocCommandsHandler to store commands specific to IRC serversFlorent Le Coz