summaryrefslogtreecommitdiff
path: root/modules/database/db_sql_live.cpp
AgeCommit message (Collapse)Author
2025-04-19Get rid of the internal block wrapper.Sadie Powell
This only existed for compatibility with old 2.0 modules and 2.1 has already broken compatibility with them.
2025-03-30Execute SQL updates atomically.Sadie Powell
If the Serialize call alters any tables they would have previously been missed here.
2025-03-26Add a typedef for the serializable id.Sadie Powell
2025-03-12Move serialization from Serializable to a Serialize::Type child.Sadie Powell
2025-03-02Return references instead of pointers from the config system.Sadie Powell
We used to return NULL from these methods but now we return an empty block so this can never actually be null now.
2025-02-20Merge branch '2.0' into 2.1.Sadie Powell
2025-02-20Fix sql_live on recent MariaDB.Sadie Powell
2025-01-14Merge branch '2.0' into 2.1.Sadie Powell
2025-01-14Update the copyright headers for 2025.2.0Sadie Powell
2024-11-11Remove an unnecessary function from db_sql_live.Sadie Powell
2024-11-11Add a helper function to db_sql(_live) for getting a table name.Sadie Powell
2024-06-19Update the databases more regularly.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-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-01-12Merge branch '2.0' into 2.1.Sadie Powell
2022-01-06Update the copyright headers for 2022.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-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.
2014-07-26When object unserialization fails (due to not having dependency objects) ↵Adam
bump the ts to try again later.
2013-10-26moved some config options from example.conf to nickserv.example.confDukePyrolator
2013-08-25Save unconfirmed status and passcodes in the database.Adam
Fix db_sql_live to not reinsert all records if there are extra columns. Plexus has no chmode +r
2013-08-07Fix db_sql to not remove objects when shutting down, as some modules that ↵Adam
unload before it when shutting down remove their items then
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-17Add Redis database supportAdam
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-05Move module header files to include/modules to fix naming conflicts with ↵Adam
system headers
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-16Move extras header files out of extras so when users copy modules out they ↵Adam
dont need the headers too
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-18Add db_sql:import config option so we can know for sure whether or not we ↵Adam
want a database import
2013-02-16Fix missing CheckInit check in db_sql_liveAdam
2013-02-15Store hashes of the last commit instead of the last commitAdam
2013-02-14Switch Destroy methods to deleteAdam
2013-02-14This Serialize::Destroy method isn't actually needed anymore. Fixes ↵Adam
weirdness from a few Serializable items we had on the stack. Added a comment about why operator< in Reference fails.
2013-02-14Magiobiwan is sillyAdam
2013-02-14Update obj ts when constructed in db_sqlAdam