summaryrefslogtreecommitdiff
path: root/modules/database/db_flatfile.cpp
AgeCommit message (Collapse)Author
2025-01-14Update the copyright headers for 2025.2.0Sadie Powell
2024-04-29Skip serializing data without a type in db_flatfile.Sadie Powell
2024-02-17Update the copyright headers for 2024.Sadie Powell
2022-12-31Update the copyright headers for 2023.Sadie Powell
2022-07-27database: write to temporary file and rename.Michael Stapelberg
This decreases the likelihood of ending up with a zero-byte (or missing) anope.db. Co-authored-by: Michael Stapelberg <michael@robustirc.net>
2022-01-06Update the copyright headers for 2022.Sadie Powell
2021-01-07Update copyright to 2021.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2021 Anope Team/i' {} \;
2020-01-04Update copyright to 2020.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2020 Anope Team/i' {} \;
2019-12-14Fix a bunch of broken indentation.Peter Powell
2019-01-01Update copyright to 2019.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2019 Anope Team/i' {} \;
2018-04-25Update copyright to 2018.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2018 Anope Team/i' {} \;
2017-01-17Cleanup some excess whitespaces and tabs, and fix a few typos along the way.Robby
2017-01-16Update copyright to 2017.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2017 Anope Team/i' {} \; Added missing copyright headers to files that didn't have it yet.
2016-01-28Update copyright to 2016. This was done with:Robby
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \; Added missing copyright headers to files that didn't have it yet. Fixed some whitespace and blank lines along the way.
2015-07-11Fix db_flatfile to read "nobackupokay"Thomas Fargeix
2014-06-15Log more when unable to backup databases in db_flatfileAdam
2014-05-27Fix default db name in db_flatfifle in a couple placesAdam
2014-03-05Open database files using std::ios_base::binary in db_flatfile, which ↵Adam
Windows can require
2014-01-01Update copyright to 2014. This was done with:Adam
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \;
2013-12-26If using db_flatfile:fork, don't allow multiple saves to happen at one time ↵Adam
on shutdown/restart wait for any pending saves to finish
2013-11-12Set the default db name to anope.dbAdam
2013-05-27Initially attach all modules to all events, and detach them as the events ↵Adam
are run if they are not implemented per module
2013-05-26Get rid of the remaining references in the core to specific services. Move ↵Adam
more stuff out of the core to the proper modules.
2013-05-20made our database backup filenames more readableDukePyrolator
2013-05-05That doesn't work either, just don't use references.Adam
find ./ -name '*.cpp' -exec sed -i 's/Get<const Anope::string\&>/Get<const Anope::string>/g' {} \;
2013-05-05Rework the config file reader to be much more flexible and move many ↵Adam
configuration directives to the actual modules they are used in.
2013-04-11Pass new config and the new config reader to the OnReload event, aswell as ↵Adam
call it on module load on modules that hook to it
2013-04-10Move some of the modules in extras/ that arent really extra out of extras. ↵Adam
Mark our modules as VENDOR and allow modules to have multple types.
2013-03-16Have db_flatfile store object ids if they are set, even though it doesn't ↵Adam
use them, so that if other database modules that use them are loaded they can keep track of objects properly
2013-03-01Fix Windows buildAdam
2013-02-15Store hashes of the last commit instead of the last commitAdam
2013-01-27Fix db_flatfile not clearing databases on save if there are no objects left ↵Adam
of that type (it will leave the old database with old objects currently)
2013-01-21Merge usefulness of Flags and Extensible classes into Extensible, made most ↵Adam
flags we have juse strings instead of defines/enums
2013-01-12check if the database exists before we try to backup itDukePyrolator
2013-01-09Update copyright to 2013. This was done with:Adam
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-2012 Anope Team/-2013 Anope Team/i' {} \;
2012-12-25Allow modules loaded after startup to magically reobtain their database ↵Adam
objects. Fix os_dns for sql(live)
2012-12-13Optimize much of the database code and serialize code.Adam
2012-11-22Pretty large coding style cleanup, in source docAdam
cleanup, and allow protocol mods to depend on each other
2012-10-27Add a module log typeAdam
2012-10-01Allow modules to store data in their own databases.Adam
2012-09-02Fix WindowsAdam
2012-05-09Fixed saving backupslethality
2012-05-06Split up db/conf/lib/locale install directories, and allow alternate ones to ↵Adam
be specified at runtime
2012-04-23Reworked live SQL support yet againAdam
2012-03-05Fixed backup databases having their names collide due to not separating ↵Adam
month and day, #1383
2012-02-18Use C++11's explicit override feature if availableAdam
2012-01-02Updated Copyright to 2012Adam
2011-11-17Fixed storing mode locksAdam
2011-11-08WindowsAdam
2011-10-22A few minor fixupsAdam