summaryrefslogtreecommitdiff
path: root/louloulibs
AgeCommit message (Collapse)Author
2016-10-11Conditionally use strptime if we don’t have std::get_timelouiz’
2016-10-11Include a private and no-copy nodes in private <message/> to avoid carbon ↵louiz’
duplication
2016-10-11Parse the timezone myself, instead of using the broken strptimelouiz’
See https://lab.louiz.org/louiz/biboumi/issues/3215 https://github.com/andikleen/glibc/blob/master/time/strptime_l.c#L746-L747 for why strptime() sucks We use std::get_time now, to parse the date and time. And we parse the timezone by hand. fix #3215
2016-10-07Correctly set status="110" in the presence for the target of a kicklouiz’
2016-10-06Fix the argument of strerror after bind()louiz’
fix coverity CID 134470
2016-10-06Remove a branch that execute identical code in both caseslouiz’
fix coverity CID 134469
2016-10-04Respond to muc#traffic requestslouiz’
fix #3069
2016-10-03Avoid an exception due to some bad logic in the DNS resolution mechaniclouiz’
fix #3207
2016-10-03Fix some compilation warning/errors that appear on FreeBSDlouiz’
2016-10-03Fix parse_datetime by always using a 'z' as the timezonelouiz’
Because some plateform accept Z and z, but some only accept z…
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-28Remove unused code in sha1 modulelouiz’
2016-09-17Fix the parse_datetime by using %Z instead of %zlouiz’
If anybody knows why fedora accepts both, but it only works with %z on debian, please tell me.
2016-09-04MAM results can be filtered by start and end dateslouiz’
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’