summaryrefslogtreecommitdiff
path: root/louloulibs
AgeCommit message (Collapse)Author
2016-08-31Add parse_datetimelouiz’
2016-08-31Fix to_string(time_t) and write a unit test for itlouiz’
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-22Move get_first_non_empty to louloulibs/utilslouiz’
2016-08-22When joining a channel, send the most recent history found in the databaselouiz’
2016-07-28Fix the timeout test, now that we don't wait 1ms too much everytimelouiz’
2016-07-28Do not add 1ms to the timeout of our pollerlouiz’
Can’t remember why I did this, but that must be a stupid reason. Everything must work even with a timeout of 0.
2016-07-28Always remove all the DNS sockets on an c-ares eventlouiz’
Because c-ares may close one of its socket, even if it’s not the one that has the event. Otherwise we may not know when a socket has been removed from our poller (automatically, when close()ed) and this leads to bugs.
2016-07-27Revert "Don’t use unique_ptr to store dns socket handlers"louiz’
This reverts commit 5328d0806fdc5becb9344b4d4320787a2b7c0712.
2016-07-24Use log_error instead of cerrlouiz’
2016-07-12Bring back DNSSocketHandler's destructorlouiz’
2016-07-12Don’t use unique_ptr to store dns socket handlerslouiz’
2016-07-12Move reload.*pp from louloulibs to srclouiz’
2016-07-12Properly catch and handle database errorslouiz’
Do not use a singleton for the database. fix #3203
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-23Fix a bug in cut()louiz’
2016-06-15cut messages at 512 bytes, taking into account the UTF-8 codepointslouiz’
ref #3067
2016-06-15Add get_next_codepoint_sizelouiz’
2016-06-14Refactor, test and improve the way we cut too-long messages for IRClouiz’
2016-06-14Add a missing return bool in Configlouiz’
2016-06-14Clean the Config module, use static things instead of a stupid singletonlouiz’
2016-06-13Show off, with some variadic templates, for the logger modulelouiz’
2016-06-08Add a missing vector includelouiz’
2016-06-08Remove all usage of std::listlouiz’
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-11Do not use std::endl for each line when saving the conf filelouiz’
2016-05-10Fix build with POLLER=POLLlouiz’
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-04-22Add a TEMPORARY work-around for botan 1.11.29louiz’
2016-02-24Fix the ordering of poll callbacks, with ppoll tooFlorent Le Coz
2016-02-24Close the epoll fdFlorent Le Coz
2016-02-22log the handshake + stream opening/close in a more consistent wayFlorent Le Coz
2016-02-22Fix the ordering of poll callbacks (recv, connect, send)Florent Le Coz
Because if we have a send event to signal the connection sucess + a recv event to signal something to read on the socket, we need to first finish the connect process before reading the available data. That’s what we do now.
2016-02-10Remove unused xml_unescape() functionFlorent Le Coz
2016-02-10Rename BasicCredentialManagerFlorent Le Coz
2016-01-13Quiet a warningFlorent Le Coz
2016-01-04Support a trusted SHA1 fingerprint to be configured for each IRC serverFlorent 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