summaryrefslogtreecommitdiff
path: root/louloulibs
AgeCommit message (Collapse)Author
2017-03-21Add a missing ifndef BOTANlouiz’
2017-03-21Add missing botan/version.h includeslouiz’
2017-03-21Update the verify_certificate_chain code to work with botan >= 1.11.34 as welllouiz’
ref #3245
2017-03-21Use the new botan 1.11.32 Tls::Client API (but stay compatible with older ones)louiz’
ref #3245
2017-03-21Backport the master FindBOTAN.cmake, to find botan 2.0 as welllouiz’
ref #3245
2016-11-07Remove a never reached (and non-sensical) errorlouiz’
2016-11-07Workaround for debian and other old OS that do not have std::put_timelouiz’
2016-11-07Add a missing <chrono> includelouiz’
2016-11-07Add get-irc-connection-info adhoc commandlouiz’
fix #3171
2016-11-01Refactor load_certs()louiz’
2016-10-31Some cleanupslouiz’
2016-10-31Remove unused roster codelouiz’
2016-10-31Trivial cleanuplouiz’
2016-10-31Make AddrinfoDeleter a classlouiz’
2016-10-31Rename a variable that shadows a class memberlouiz’
2016-10-27Refactor remove_invalid_xml_chars to use correct types directlylouiz’
2016-10-27Directly use Botan::byte instead of char, to avoid an unnecessary castlouiz’
2016-10-26Refactor the sha1 digest into its own function, and do not use sprintflouiz’
2016-10-20Optimize tcp_socket::on_send by using vector::erase() only once per calllouiz’
2016-10-20Very little optimization by using a simpler scope_guard when possiblelouiz’
The version with the vector, that can be disabled etc, is “very” slow, so we use unique_ptr when we don’t need to disable it, and when it only contains one function
2016-10-12On EINPROGRESS, we need to also check for read events (because openBSD lies)louiz’
“It is possible to select(2) or poll(2) for completion by selecting the socket for writing” Yeah, sure, “writing”…
2016-10-12Fix an off-by-one issue in the POLL codelouiz’
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.