summaryrefslogtreecommitdiff
path: root/src/utils
AgeCommit message (Collapse)Author
2020-05-04Fix clang warnings on some utils function. It’s also fasterlouiz’
2020-05-02Fix a std::move() warning with clanglouiz’
2019-11-06Make is_empty work with any integral typelouiz’
2019-09-23Trivial cleanuplouiz’
2019-09-23Add a missing pragma oncelouiz’
2019-09-23USe safer functions, gmtime_r and localtime_rlouiz’
2018-08-24Fix a signed/unsigned mismatchlouiz’
2018-08-23Disable the throttle limit if negativelouiz’
Also, invalid values result in -1 being set
2018-08-23Fix two more warningslouiz’
2018-08-23Fix a bunch of int to unsigned int conversion warningslouiz’
2018-08-23MaxHistoryLength now has some sensible default value if the user set a ↵louiz’
negative one
2018-08-23Add two missing reflouiz’
2018-08-04Remove a useless fill_duration memberlouiz’
2018-06-25Throttle all commands sent to IRC serverslouiz’
fix #3354
2018-04-24Revert "Use a different Date data type"louiz’
This reverts commit 857c7d3972a03cbeebf730d99b924d3710dee6a0.
2018-04-13Remove two unused (julianday) functionslouiz’
2018-04-11Use a different Date data typelouiz’
PLEASE backup your database before testing this commit, and report any migration issue. In postgresql, we use timestamp with timezone. In sqlite3 we use REAL (the date is expressed as julianday) This requires a migration of the muclogline_ table: In postgresql it’s pretty simple, we convert all the integer into timestamps With sqlite3, we actually rename the table, create the new one with the correct type, then copy everything to the new table, with a conversion function for the Date_ column, and then we delete the old table. fix #3343
2018-03-18Reflect message IDs in channel MUCslouiz’
fix #3283
2018-03-17Revert "Use std::optional<bool> instead of OptionalBool"louiz’
This reverts commit ba879a882e031d7b8503f78fe41d1210000c96ca.
2018-03-16Use std::optional<bool> instead of OptionalBoollouiz’
2018-02-04Fix conversion warnings on 32 bitslouiz’
2018-01-25Restore the is_one_of variable templatelouiz’
2018-01-25Remove a variable template usagelouiz’
Because it’s only supported in gcc>=5.0
2018-01-14Add a DEBUG_SQL_QUERIES to log info about the executed SQL querieslouiz’
fix #3324
2017-12-02Add postgresql supportlouiz’
2017-07-20Drop support for botan < 2.0louiz’
fix #3274
2017-06-21Re-implement correctly the handling of failure to open the databaselouiz’
If we can’t open it at startup, we exit. If we can’t open it on reload, we keep the previously-opened database. This way, we’re assured to always have a valid and open database available.
2017-06-16Add a Record History option in the Channel configuration formlouiz’
fix #3269
2017-06-16Using OptionalBool, add RecordHistoryOptional col into IrcChannelOptions tablelouiz’
ref #3269
2017-06-14Explicitely close the Database before re-opening itlouiz’
2017-06-14Implement our own database ORM, and update the whole code to use itlouiz’
Entirely replace LiteSQL fix #3271
2017-05-23Fix the datetime parsing to handle optional fractions of secondslouiz’
fix #3266
2017-04-30Make botan’s policy configurable from a filelouiz’
fix #3244
2017-04-17Avoid adding more that one “XMPP reconnection” timed event at the same timelouiz’
Fix a semblance of infinite and busy loop, that could occur if biboumi’s poller is woken up multiple times while the XMPP server is not reachable.
2017-04-09Properly handle multiline topicslouiz’
fix #3254
2017-04-07Apply a few clang-tidy cppcoreguidelines-* fixeslouiz’
2017-04-07Apply all the clang-tidy misc-* fixeslouiz’
2017-04-07Apply all the clang-tidy modernize-* fixeslouiz’
2017-03-29Remove two sneaky log_debuglouiz’
2017-03-14Make things work with botan < 1.11.34louiz’
2017-03-14Refactoring louloulibs and cmakelouiz’
Use OBJECT libraries Remove the louloulibs directory Write FOUND variables in the cache
2016-08-22Move get_first_non_empty to louloulibs/utilslouiz’
2016-08-21Add get_first_non_empty and use it into Database to simplify a little bitlouiz’
2016-07-18In reload.cpp, only build the database things if litesql is usedlouiz’
2016-07-12Move reload.*pp from louloulibs to srclouiz’
2016-07-04Replace all include guards by #pragma oncelouiz’
It’s $CURRENT_YEAR
2015-02-27Remove all the libs that are now in louloulibsFlorent Le Coz
2015-02-25Do not handle the "%" char in a special way, in the fixed_server modeFlorent Le Coz
Also fix some doc
2015-02-25Add support for a fixed_irc_server configurationFlorent Le Coz
This option lets the administrator choose a specific IRC server, and only that server can be used with this biboumi instance. In this mode, JIDs to use are changed like this: - #chan%irc.example.com@biboumi.example.com -> #chan@biboumi.example.com - user!irc.example.com@biboumi.example.com -> user!@biboumi.example.com - #chan%irc.example.com@biboumi.example.com/Nick -> #chan@biboumi.example.com/Nick - %irc.example.com@biboumi.example.com -> no equivalent - irc.example.com@biboumi.example.com -> no equivalent
2015-02-24Add a reload add-hoc commandFlorent Le Coz