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 |
|
Adam
|
a434baed91
|
Allow modules to store data in their own databases.
|
2012-10-01 18:50:29 -04:00 |
|
Adam
|
ad37bc9639
|
Bug #1445 - Empty out columns in SQL we have no data for on
insert. This is caused from serialize() only setting a key on
certain conditions and otherwise doing nothing at all.
|
2012-09-30 20:30:27 -04:00 |
|
Naram Qashat
|
38ad523f91
|
Fix a few oddball warnings that came up from clang, and also make it so webcpanel.so can be compiled under Mac OS X.
|
2012-09-24 15:54:49 -04:00 |
|
Adam
|
1af64a9bbb
|
Fix Windows
|
2012-09-02 08:30:54 -04:00 |
|
Adam
|
fde42899e7
|
Fixed db_old loading encrypted passwords from 1.8
|
2012-08-09 23:28:02 -04:00 |
|
Adam
|
9b5f6d3c45
|
Remove ExtensibleString everywhere
|
2012-07-01 22:26:05 -04:00 |
|
Adam
|
bf7d1a55af
|
Fixed some problems found by Robby
|
2012-05-23 15:09:41 -04:00 |
|
lethality
|
f89599726e
|
fixed paste error (failed awesomeness) in last commit.
|
2012-05-09 03:11:57 +01:00 |
|
lethality
|
a81b3aaff1
|
Fixed saving backups
|
2012-05-09 01:23:34 +01:00 |
|
Adam
|
820e4edc2b
|
Fixed some 100% cpu bugs with the new SQL stuff, and fixed sqlite+db_sql_live
|
2012-05-08 18:04:49 -04:00 |
|
Adam
|
675b113c3e
|
Split up db/conf/lib/locale install directories, and allow alternate ones to be specified at runtime
|
2012-05-06 21:43:50 -04:00 |
|
Adam
|
42e652cae7
|
Pull table schemas from SQL on startup so we can alter the schemas if we need to, fixed sqlite to work again
|
2012-04-29 19:24:37 -04:00 |
|
Adam
|
4d9a96e8df
|
Fixes to db_sql
|
2012-04-27 17:06:16 -04:00 |
|
Adam
|
5068483cb9
|
Add db_sql:prefix allow prefixing all anope tables similarly, and changed db_sql to update the databases incrementally instead of one big flush
|
2012-04-27 15:38:50 -04:00 |
|
Adam
|
573e49a7ea
|
Reworked live SQL support yet again
|
2012-04-23 05:08:26 -04:00 |
|
Adam
|
63c639e108
|
Fixed hashm checking in db_old and loading 1.9.1 databases
|
2012-04-23 05:07:06 -04:00 |
|
Adam
|
ab25815694
|
Fixed backup databases having their names collide due to not separating month and day, #1383
|
2012-03-05 20:15:56 -05:00 |
|
Adam
|
4ed844ffd5
|
Escape all column names when building sql queries
|
2012-03-02 17:05:59 -05:00 |
|
Adam
|
020467d472
|
Fixed db_old loading noexpire
|
2012-02-27 00:16:15 -05:00 |
|
Adam
|
2337b7717d
|
Fixed calculating bots channel count of assigned channels and fixed the order of saving memos (among other things)
|
2012-02-24 14:53:34 -05:00 |
|
Adam
|
81e50dd1f4
|
Fixed db_old loading memo owners
|
2012-02-22 16:25:20 -05:00 |
|
Adam
|
ee5cd8493e
|
Use C++11's explicit override feature if available
|
2012-02-18 15:04:26 -05:00 |
|
Adam
|
a9772cde21
|
Clean up and reorganize our header files
|
2012-02-14 15:13:27 -05:00 |
|
Adam
|
be5ba495f9
|
Not sure what I was thinking here
|
2012-01-31 15:44:04 -05:00 |
|
Adam
|
52eaa7d6d6
|
Windows
|
2012-01-25 15:48:07 -05:00 |
|
Adam
|
964d63cdac
|
Improve on db_sql_live_read
|
2012-01-15 01:47:31 -05:00 |
|
Adam
|
14a2c9cec0
|
Fixed loading db_sql_live_read's configuration values on startup
|
2012-01-11 19:04:40 -05:00 |
|
Adam
|
4204ece7a8
|
Updated Copyright to 2012
|
2012-01-02 21:28:24 -05:00 |
|
Adam
|
3bcb285690
|
Somehow these two modules got mixed up..
|
2011-12-22 03:46:35 -05:00 |
|
lethality
|
620c08bd7a
|
Fixed some more errors in sql live-write, hopefully the last.
|
2011-11-25 23:12:23 +00:00 |
|