summaryrefslogtreecommitdiff
path: root/modules/extra/m_mysql.cpp
AgeCommit message (Collapse)Author
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-05-30Fix Windows build and update library names to the newer ones.Adam
Also fix crash on Windows when unloading a module because it threw an exception.
2014-05-28Move most of the core pseudoclient logic to modulesAdam
2014-04-20New event systemAdam
2014-04-01Require cmake 2.8 and C++11 supportAdam
2013-07-21Fix m_ldap service names from defaulting ldap/ldap/mainAdam
2013-07-20Fix removing old connections in m_ldap and m_mysqlAdam
2013-07-04Fix rehashing via SIGHUP and m_mysqlAdam
2013-06-30m_mysql: handle multiple result sets returned from multiple statements or ↵DukePyrolator
procedure calls
2013-05-31Made m_mysql's Escape() function safe against escaping strings > BUFSIZEAdam
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-06Update the rest of modules.example.conf, default inspircd status modes to a ↵Adam
sane rank incase they are prefixless, and 50 other things
2013-05-06Fix extras buildAdam
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-01-03Don't delete users immediately when quit or killed, instead wait until ↵Adam
message processing is done
2012-12-30Evidently not specifying NOT NULL is not enough to allow null timestampsAdam
2012-12-28The timestamp column in SQL should actually be null sometimes, and fixed ↵Adam
some valgrind errors with db_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-09-30timestamp column is a special case tooAdam
2012-09-30Bug #1445 - Empty out columns in SQL we have no data for onAdam
insert. This is caused from serialize() only setting a key on certain conditions and otherwise doing nothing at all.
2012-06-01updated chanstatsDukePyrolator
2012-05-08Fixed some 100% cpu bugs with the new SQL stuff, and fixed sqlite+db_sql_liveAdam
2012-04-29Pull table schemas from SQL on startup so we can alter the schemas if we ↵Adam
need to, fixed sqlite to work again
2012-04-27Fixes to db_sqlAdam
2012-04-27Add db_sql:prefix allow prefixing all anope tables similarly, and changed ↵Adam
db_sql to update the databases incrementally instead of one big flush
2012-04-23Reworked live SQL support yet againAdam
2012-04-08Modified the SQL API to allow unescaped parameters (useful for passing row ↵DukePyrolator
names and NULL values)
2012-02-18Use C++11's explicit override feature if availableAdam
2011-11-08WindowsAdam
2011-11-04Delete all tables before flushing not just ones we know aboutAdam
2011-09-25Added a new database format and sqlite support. Also moved db-convert to a ↵Adam
module.
2011-09-10Moved signal/thread/mode checking to use signal pipesAdam
2011-09-10Made service_reference type safeAdam
2011-07-23Fix couple of typos in modulesCharles Kingsley
2011-05-16Use module type to determine what type each module is instead of its ↵Adam
location in the configuration file.
2011-05-16Fixed up the MySQL Query code and finished some command code I forgot earlierAdam
2011-05-16Moved the core pseudo clients out into their own modulesAdam
2011-03-05Removed nickrequests, instead have unconfirmed registrations. Also made ↵Adam
ns_resetpass allow remote-id to get past things such as kill immed.
2011-03-04Added LDAP supportAdam
2011-02-20Much more work on the live SQL. Should work pretty decently now under heavy ↵Adam
load.
2011-01-07Added db_mysql_live which allows Anope to pull dataAdam
from the four main SQL tables in realtime, which effectively gives us "live" SQL. Changed eventfd pipe engine to not use buffered write. Added TryLock to threading engines. Made blocking SQL queries in our SQL API thread-safe.