summaryrefslogtreecommitdiff
path: root/src/database
AgeCommit message (Collapse)Author
2017-06-16At startup, upgrade all database tables by adding missing columnslouiz’
2017-06-14Fix cstdint -> cstddef, to fix compilation on freebsdlouiz’
2017-06-14Explicitely declare the add_param<Id> specializationlouiz’
2017-06-14Add a 0 default value for template argument Nlouiz’
2017-06-14Fix compilation (many warnings, and a linkage error) with clang++louiz’
2017-06-14Fix an inversion of tlsPorts_ and ports_louiz’
2017-06-14Add a Statement class to manage the sqlite3_stmt objects and avoid leakslouiz’
2017-06-14Add default values for the database columnslouiz’
2017-06-14Implement our own database ORM, and update the whole code to use itlouiz’
Entirely replace LiteSQL fix #3271
2017-03-30Add the archive ID to messages when they are sent to userslouiz’
This makes us compatible with mam 6.0 fix #3249
2017-03-29Remove two sneaky log_debuglouiz’
2016-12-10Properly convert the data into a number of seconds by using duration_castlouiz’
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-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-23If the maxHistoryLength is negative, make it 0louiz’
Instead of doing a broken SQL request that returns weird lines
2016-08-22When joining a channel, send the most recent history found in the databaselouiz’
2016-08-22When saving the logs, the date must be in seconds, not nanosecondslouiz’
2016-08-22Add a global configure ad-hoc command, with max history lengthlouiz’
2016-08-21Add get_first_non_empty and use it into Database to simplify a little bitlouiz’
2016-08-12Save received and sent messages into the databaselouiz’
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-05-04Style fixlouiz’
Move all constructors at the top of classes
2016-01-04Add a ChannelOptions table in the DBFlorent Le Coz
And a way to retrieve its values, defaulting on the ServerOptions for unset values.
2015-10-29Remove a write to std::cout from Database’s constructorFlorent Le Coz
2015-10-24Only compile database.cpp if configured with litesqlFlorent Le Coz
2015-09-18Introduce an optional Database moduleFlorent Le Coz
Uses litesql