summaryrefslogtreecommitdiff
path: root/src/database/database.hpp
AgeCommit message (Collapse)Author
2018-03-19Add a nick field in the IRC server configuration formlouiz’
fix #3317
2018-03-18Use a transaction around the DELETE + INSERT of the after_connection_commandslouiz’
Otherwise we can imagine that two clients changing this value at the same time would mix things up. ref #3275
2018-03-18Allow the execution of multiple commands after the IRC connectionlouiz’
fix #3275
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-03-12Rename a few “hostname” into “address”, regarding last commitlouiz’
ref #3273
2018-03-12Allow to override the addresses used to connect to an IRC networklouiz’
fix #3273
2018-02-13Support the <before/> element in MAM requestslouiz’
2018-02-13Use the same function for both history orderslouiz’
2018-02-11Send a item-not-found error when the “after” value is not in the archivelouiz’
2018-02-10Handle the “after” RSM value to page through resultslouiz’
2018-02-10Always return the oldest matching messages from MAM, even if no date is setlouiz’
2017-12-02Add postgresql supportlouiz’
2017-09-09Add the persistent_by_default configuration optionlouiz’
fix #3293
2017-08-26Cache the encoding_in database value, to avoid doing a query for each messagelouiz’
2017-07-16Use a db roster to manage biboumi’s presence with the contactslouiz’
2017-07-08Remove all the empty “options” members in Column classeslouiz’
By using SFINAE to use that member only when it exists.
2017-07-06Add a global “persistent” optionlouiz’
2017-06-16Using OptionalBool, add RecordHistoryOptional col into IrcChannelOptions tablelouiz’
ref #3269
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 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-09-04MAM results can be filtered by start and end dateslouiz’
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-22Add a global configure ad-hoc command, with max history lengthlouiz’
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-09-18Introduce an optional Database moduleFlorent Le Coz
Uses litesql