summaryrefslogtreecommitdiff
path: root/modules/database/db_flatfile.cpp
AgeCommit message (Collapse)Author
2024-08-14Remove the unused KeySet method in Serialize::Data.Sadie Powell
2024-04-29Merge branch '2.0' into 2.1.Sadie Powell
2024-04-29Skip serializing data without a type in db_flatfile.Sadie Powell
2024-03-19Allow using absolute paths in more places.Sadie Powell
2024-03-11Replace convertTo/stringify with non-throwing alternatives.Sadie Powell
Having these throw is terrible for ergonomics and there are loads of places where the exception was either silently ignored or not handled at all. Having a function which returns an optional and another that returns a default works a lot better imo.
2024-02-26Fix some coding style issues.Sadie Powell
2024-02-17Update the copyright headers for 2024.Sadie Powell
2024-01-23Mark types that have no inheritors as final.Sadie Powell
2024-01-23Improve the layout of types that inherit from another type.Sadie Powell
2024-01-04Update the copyright headers for 2024.Sadie Powell
2023-12-17Remove some unnecessary spaces that break editor indentation.Sadie Powell
2023-10-11Start migrating to range-based for loops.Sadie Powell
2022-12-31Merge branch '2.0' into 2.1.Sadie Powell
2022-12-31Update the copyright headers for 2023.Sadie Powell
2022-09-15Merge branch '2.0' into 2.1.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-12Merge branch '2.0' into 2.1.Sadie Powell
2022-01-06Update the copyright headers for 2022.Sadie Powell
2022-01-04Use C++11 style class/struct initialisation.Sadie Powell
2022-01-03Replace anope_{final,override} with their C++11 equivalent.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)