summaryrefslogtreecommitdiff
path: root/louloulibs/xmpp
AgeCommit message (Collapse)Author
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
2015-09-18Store the target jid in the AdhocSession objectsFlorent Le Coz
2015-09-01Trivial cleanupFlorent Le Coz
2015-09-01Use unique_ptr to store the XmlNode’s childrenFlorent Le Coz
Also fix some constness things
2015-09-01Little cleanup of the XmlNode classFlorent Le Coz
Use map instead of unordered map (it's not slower, and it's shorter). Use the default move constructor.
2015-09-01XmlNode::to_string uses an ostringstream instead of a stringFlorent Le Coz
On my poor benchmark, it was infinitesimally faster.
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-07-09Fix the log_* macros to not have two ; at the end of linesFlorent Le Coz
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.