summaryrefslogtreecommitdiff
path: root/modules/database/db_flatfile.cpp
AgeCommit message (Collapse)Author
2015-12-14New source tree structure for modules. From commands/cs_access => ↵Adam
chanserv/access etc.
2015-10-27Merge branch '2.0' into 2.1Adam
2015-07-11Fix db_flatfile to read "nobackupokay"Thomas Fargeix
2014-12-29Allow configuring casemapsAdam
2014-12-27Remove now unnecessary eventhook constructor calls in module init listsAdam
2014-12-10Unconst these config Get<Anope::string> calls as it makes no senseAdam
2014-12-10Use a triat class for event names instead of having to manually give them ↵Adam
places, which is much less error prone
2014-11-24Rewrite serializable to have field level granularityAdam
Represent serializable objects in a digraph, and as a result made most object relationships implicitly defined, and use the graph to trace references between objects to determine relationships. Edges may also be marked as having a dependency of the object they point to, which allows for automatic cleanup and deletion of most objects when no longer needed. Additionally, this allows not having to require in-memory copies of everything when using external databases. db_sql has been rewritten for this and now always requires a database to function. db_sql with MySQL now requires InnoDB to make use of transactions and foreign key constraints.
2014-06-23Merge branch '2.0' into 2.1Adam
Conflicts: cmake/Anope.cmake cmake/FindGettext.cmake include/access.h include/messages.h include/modes.h include/modules.h include/users.h modules/CMakeLists.txt modules/commands/bs_bot.cpp modules/commands/cs_access.cpp modules/commands/cs_ban.cpp modules/commands/cs_clone.cpp modules/commands/cs_flags.cpp modules/commands/cs_info.cpp modules/commands/cs_list.cpp modules/commands/cs_log.cpp modules/commands/cs_mode.cpp modules/commands/cs_status.cpp modules/commands/cs_suspend.cpp modules/commands/cs_updown.cpp modules/commands/cs_xop.cpp modules/commands/ms_check.cpp modules/commands/ns_access.cpp modules/commands/ns_cert.cpp modules/commands/ns_group.cpp modules/commands/ns_register.cpp modules/commands/ns_set.cpp modules/commands/ns_suspend.cpp modules/commands/os_session.cpp modules/commands/os_svs.cpp modules/extra/m_ldap_authentication.cpp modules/extra/m_regex_pcre.cpp modules/extra/m_sql_authentication.cpp modules/extra/stats/m_chanstats.cpp modules/protocol/bahamut.cpp modules/protocol/hybrid.cpp modules/protocol/inspircd12.cpp modules/protocol/inspircd20.cpp modules/protocol/unreal.cpp modules/pseudoclients/chanserv.cpp modules/pseudoclients/chanserv/channel.cpp modules/pseudoclients/nickserv/nickserv.cpp modules/webcpanel/pages/chanserv/access.cpp src/access.cpp src/bots.cpp src/channels.cpp src/language.cpp src/modes.cpp src/modulemanager.cpp src/process.cpp src/users.cpp src/version.sh
2014-06-15Log more when unable to backup databases in db_flatfileAdam
2014-05-28Move most of the core pseudoclient logic to modulesAdam
2014-05-27Fix default db name in db_flatfifle in a couple placesAdam
2014-04-20New event systemAdam
2014-04-01Require cmake 2.8 and C++11 supportAdam
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
2011-10-10Put serialized_items on the heap to prevent weird crashes on shutdown from ↵Adam
the list being destructed before members in it
2011-09-25Added a new database format and sqlite support. Also moved db-convert to a ↵Adam
module.