Adam
|
446b3a910d
|
Save unconfirmed status and passcodes in the database.
Fix db_sql_live to not reinsert all records if there are extra columns.
Plexus has no chmode +r
|
2013-08-25 04:48:43 -04:00 |
|
Adam
|
de5c8c0d38
|
Fix some issues with suspend
|
2013-08-12 15:45:50 -04:00 |
|
Adam
|
c480695369
|
Fix db_sql to not remove objects when shutting down, as some modules that unload before it when shutting down remove their items then
|
2013-08-07 19:40:05 +00:00 |
|
Adam
|
9629ccb374
|
Fix more compile warnings found on newer g++ versions
|
2013-07-20 19:46:13 -04:00 |
|
Adam
|
6db0186947
|
Fix not setting the correct compile flags on modules and fix the resulting warnings
|
2013-07-20 03:06:20 -04:00 |
|
Adam
|
1a3d9a016d
|
Change extensible keys to require explicitly having a type defined for it. Completely modularize more features like bs_kick, entrymsg, log, mode, etc. Move fantasy to its own module. Move greet to its own module.
|
2013-07-01 22:17:52 -04:00 |
|
Adam
|
37b3535543
|
Initially attach all modules to all events, and detach them as the events are run if they are not implemented per module
|
2013-05-27 19:36:37 -04:00 |
|
Adam
|
22658d63bd
|
Get rid of the remaining references in the core to specific services. Move more stuff out of the core to the proper modules.
|
2013-05-26 17:13:11 -04:00 |
|
DukePyrolator
|
d82391e46d
|
made our database backup filenames more readable
|
2013-05-20 06:42:38 +02:00 |
|
Adam
|
879b310580
|
Fix Windows build
|
2013-05-18 00:27:03 -04:00 |
|
Adam
|
ca93122a68
|
You would think my compiler would at least warn me about this. but no.
|
2013-05-17 23:20:24 -04:00 |
|
Adam
|
2428264315
|
Add Redis database support
|
2013-05-17 23:04:18 -04:00 |
|
Adam
|
5b3f81ea78
|
That doesn't work either, just don't use references.
find ./ -name '*.cpp' -exec sed -i 's/Get<const Anope::string\&>/Get<const Anope::string>/g' {} \;
|
2013-05-05 21:05:43 -04:00 |
|
Adam
|
57c2b65f08
|
Move module header files to include/modules to fix naming conflicts with system headers
|
2013-05-05 03:30:08 -04:00 |
|
Adam
|
1d0bb9b26b
|
Rework the config file reader to be much more flexible and move many configuration directives to the actual modules they are used in.
|
2013-05-05 01:55:04 -04:00 |
|
Adam
|
781defb707
|
Move extras header files out of extras so when users copy modules out they dont need the headers too
|
2013-04-16 01:58:29 -05:00 |
|
Adam
|
c56d72ba84
|
Remove more OPDEOP references
|
2013-04-11 02:28:36 -05:00 |
|
Adam
|
4f9b7874d6
|
Pass new config and the new config reader to the OnReload event, aswell as call it on module load on modules that hook to it
|
2013-04-11 00:08:28 -05:00 |
|
Adam
|
207c46c871
|
Move some of the modules in extras/ that arent really extra out of extras. Mark our modules as VENDOR and allow modules to have multple types.
|
2013-04-10 22:26:40 -05:00 |
|
Adam
|
f24e17f8b4
|
Fix /bs set private
|
2013-03-29 23:50:51 -05:00 |
|
Adam
|
731912f01e
|
Add db_sql:import config option so we can know for sure whether or not we want a database import
|
2013-03-18 12:16:51 -05:00 |
|
Adam
|
810685cb73
|
Have db_flatfile store object ids if they are set, even though it doesn't use them, so that if other database modules that use them are loaded they can keep track of objects properly
|
2013-03-16 20:08:39 -05:00 |
|
Adam
|
91ad9d22ca
|
Fix Windows build
|
2013-03-01 00:57:24 -05:00 |
|
Adam
|
c40e9c3996
|
Fix missing CheckInit check in db_sql_live
|
2013-02-16 00:31:42 -05:00 |
|
Adam
|
d9c18a6072
|
Store hashes of the last commit instead of the last commit
|
2013-02-15 19:01:46 -05:00 |
|
Adam
|
fc1d7ea89b
|
Switch Destroy methods to delete
|
2013-02-14 20:58:01 -05:00 |
|
Adam
|
391f2822c8
|
This Serialize::Destroy method isn't actually needed anymore. Fixes weirdness from a few Serializable items we had on the stack. Added a comment about why operator< in Reference fails.
|
2013-02-14 20:57:40 -05:00 |
|
Adam
|
f6ef706909
|
Magiobiwan is silly
|
2013-02-14 01:24:29 -05:00 |
|
Adam
|
9e544a6443
|
Store what channels have references to accounts in NickCore to prevent having to iterate over all channels and then all access entries when nicks expire or from nickserv/alist
|
2013-02-14 01:20:18 -05:00 |
|
Adam
|
994866461c
|
Update obj ts when constructed in db_sql
|
2013-02-14 01:20:18 -05:00 |
|
Adam
|
0052dd29a7
|
Fix db_flatfile not clearing databases on save if there are no objects left of that type (it will leave the old database with old objects currently)
|
2013-01-27 01:59:38 -05:00 |
|
Adam
|
76d9e58ae5
|
mysql_insert_id doesn't return an id if one isnt generated, so
check that it really returns a value before using it.
Also fix memos to cleanup after themselves when deleted.
|
2013-01-25 03:09:51 -05:00 |
|
Adam
|
ddaa001daf
|
Merge usefulness of Flags and Extensible classes into Extensible, made most flags we have juse strings instead of defines/enums
|
2013-01-21 22:31:16 -05:00 |
|
DukePyrolator
|
402e42fd15
|
check if the database exists before we try to backup it
|
2013-01-12 09:01:44 +01:00 |
|
Adam
|
5007b72b28
|
Update copyright to 2013. This was done with:
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-2012 Anope Team/-2013 Anope Team/i' {} \;
|
2013-01-09 04:20:55 -05:00 |
|
Adam
|
ae6ddf295a
|
fixup part of 379b2c, dont use iterators after theyre erased
|
2012-12-28 11:17:01 -05:00 |
|
Adam
|
379b2ccf92
|
The timestamp column in SQL should actually be null sometimes, and fixed some valgrind errors with db_sql_live
|
2012-12-28 10:43:30 -05:00 |
|
Adam
|
392b591d09
|
Allow modules loaded after startup to magically reobtain their database objects. Fix os_dns for sql(live)
|
2012-12-25 15:52:58 -05:00 |
|
Adam
|
fe7fcc2dc3
|
Check for NOJOIN being < 0 but restricted on in db_old
|
2012-12-15 02:44:53 -05:00 |
|
Adam
|
c1077faa28
|
Optimize much of the database code and serialize code.
|
2012-12-13 06:12:56 -05:00 |
|
Adam
|
d33a0f75a5
|
Pretty large coding style cleanup, in source doc
cleanup, and allow protocol mods to depend on each
other
|
2012-11-22 00:50:33 -05:00 |
|
Adam
|
5d6fb2427e
|
Fixed some stuff spotted by Cronus, made db_old convert ACCESS_INVALID levels to ACCESS_FOUNDER, fix cs_enforce +R from an earlier commit, fixed ChangeModeInternal TS checking when IRCds don't send TS on mode
|
2012-11-16 00:03:15 -05:00 |
|
Adam
|
9ec482b7c2
|
I haven't a clue why this was here but its not even remotely right.. fixes #1448
|
2012-11-07 22:20:48 -05:00 |
|
Adam
|
53b2bdfe5e
|
Use std::tr1::unordered_map for a few of the larger maps
|
2012-11-06 11:02:12 -05:00 |
|
Adam
|
c2ae76248e
|
Made db_old load exceptions.db
|
2012-11-01 14:47:23 -04:00 |
|
DukePyrolator
|
5b1c823019
|
fixed importing mode locks in db_old
|
2012-11-01 05:28:57 +01:00 |
|
Adam
|
e4c2dcc0c7
|
Made db_old load up most of the old mode locks
|
2012-10-29 21:51:34 -04:00 |
|
Adam
|
d6e1b92059
|
Add a module log type
|
2012-10-27 08:12:04 -04:00 |
|
Adam
|
3b8fb7bb88
|
When db_sql_live gets new objects immediately update cache on them to prevent rewriting later if they aren't changed
|
2012-10-24 22:48:12 -04:00 |
|
Adam
|
76a0471c29
|
Simplify the db_sql_live code since this isn't actually necessary. Fixes a problem internally ovwrwriting data on objects that we have modified and are queued because of assigning something to a serialize_obj reference
|
2012-10-13 00:37:10 -04:00 |
|