summaryrefslogtreecommitdiff
path: root/src/database
AgeCommit message (Expand)Author
2018-01-14Remove all the ugly database debuglouiz’
2017-12-17Remove a warning (unused argument)louiz’
2017-12-16db_name also accepts postgres:// scheme for PostgreSQL connectionslouiz’
2017-12-05Always free the PGresult pointer returned by PQexeclouiz’
2017-12-02Fix a few warningslouiz’
2017-12-02Handle postgresql and sqlite3 libs properlylouiz’
2017-12-02Actually free the database on Database::close()Jonas Wielicki
2017-12-02Make destructor of DatabaseEngine virtualJonas Wielicki
2017-12-02Make destructor of Statement virtualJonas Wielicki
2017-12-02Support for full postgresql URIsJonas Wielicki
2017-12-02Add postgresql supportlouiz’
2017-09-21compat: revert to using sqlite's close() function for compat with older distros.Romain DEP.
2017-09-09Add the persistent_by_default configuration optionlouiz’
2017-08-26Add an index for the muc_log_line tablelouiz’
2017-08-26Cache the encoding_in database value, to avoid doing a query for each messagelouiz’
2017-08-19Fix a sqlite3 leak when the database fails to openlouiz’
2017-08-19Display the correct error message when we fail to open the sqlite3 dblouiz’
2017-07-16Use a db roster to manage biboumi’s presence with the contactslouiz’
2017-07-08Replace a function argument from ... to the template Args&&... thinglouiz’
2017-07-08Remove many log_debug from the database modulelouiz’
2017-07-08Remove a bunch of useless string_literal usagelouiz’
2017-07-08Use a more precise return type, instead of autolouiz’
2017-07-08Remove all the empty “options” members in Column classeslouiz’
2017-07-06Add a global “persistent” optionlouiz’
2017-06-23Move a few functions from select_query to querylouiz’
2017-06-22Set the database pointer to nullptr after a closelouiz’
2017-06-21Re-implement correctly the handling of failure to open the databaselouiz’
2017-06-16Using OptionalBool, add RecordHistoryOptional col into IrcChannelOptions tablelouiz’
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’
2017-03-30Add the archive ID to messages when they are sent to userslouiz’
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’
2016-09-04MAM results can be filtered by start and end dateslouiz’
2016-08-28Respond to MAM requests on a channel JIDlouiz’
2016-08-23If the maxHistoryLength is negative, make it 0louiz’
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’