Commit graph

21 commits

Author SHA1 Message Date
Tim Starling
412eda0517 Correcting bugs due to double-prefixing table names. Removing obsolete Database member functions. Adding comments to Database.php 2004-10-24 07:10:33 +00:00
Domas Mituzas
0cadad0299 fix timestamp for expiry too 2004-09-07 06:26:15 +00:00
Domas Mituzas
525c3345be timestamp fix, PR405 2004-09-07 06:20:51 +00:00
Antoine Musso
ba2afcd9fa Split files and classes in different packages for phpdocumentor. I probably changed some double quotes to single and used function foo () { shema 2004-09-03 23:00:01 +00:00
Antoine Musso
90155b8a97 Changing comments layout preparing for generated documentation with Phpdocumentor 2004-09-02 23:28:24 +00:00
Antoine Musso
3d60242fb5 massive double to single quotes conversion. I have not noticed any bug after a lot of testing 2004-08-22 17:24:50 +00:00
Tim Starling
46bcd7b1b6 Added FOR UPDATE mode to Block.php, to fix memcached concurrency problem in BlockCache.php. This should fix the regular reports from en of blocks not taking effect. 2004-08-15 07:23:39 +00:00
Tim Starling
ac549401d4 * Support for table name prefixes throughout the code. No support yet for converting static SQL, which also means no installation. But it has been tested by creating the tables in the ordinary way and then renaming them
* DB_WRITE now called DB_MASTER, DB_READ now called DB_SLAVE
* Converted to use SQL wrapper functions instead of direct SQL in various places
* Experimental method for preserving the chronological order of events when slave servers are used. Untested.
* Fixes to the new post-parse existence test feature
* Some.. other stuff
2004-07-18 08:48:43 +00:00
Tim Starling
b96b707efa OOP calling convention for database functions. DBMS abstraction implemented by means of functions instead of global variables, PostgreSQL object converted to a subclass instead of a drop-in replacement. Also the beginnings of a flexible table name feature. 2004-07-10 03:09:26 +00:00
Tim Starling
0fb313eee4 Load balancing enabled in places where it's thought to be reasonably safe 2004-07-10 01:05:36 +00:00
Domas Mituzas
27fda7446f don't use OR on empty variables 2004-06-11 15:16:00 +00:00
Antoine Musso
5c81d06b63 some double quoting replaced by single quoting 2004-06-08 23:56:09 +00:00
Tim Starling
f24e9a2cfa fixed problem with updateTimestamp() altering existing IP blocks 2004-02-27 08:25:56 +00:00
Tim Starling
8df4c8f38d minor change 2004-02-21 13:24:35 +00:00
Brion Vibber
0332f4c598 Fix for compatibility with short_open_tag = Off 2004-02-18 02:15:00 +00:00
Tim Starling
3a97d9ffa9 proper handling of infinite expiry 2004-02-16 00:05:25 +00:00
Tim Starling
e2f98922df Two blocking features: IP range blocks, and expiry times configurable block-by-block.
Possible issue: uses strtotime(), which is very handy but in English
2004-02-14 12:37:25 +00:00
Brion Vibber
185ccbc638 Reverse order for ipblocklist: most recent first 2003-11-19 02:50:37 +00:00
Tim Starling
436d389650 changing wfQuery to allow replication 2003-09-20 02:30:00 +00:00
Tim Starling
ff0f56bc8c Autoblocker privacy protection 2003-09-07 13:56:25 +00:00
Tim Starling
d5cbc0e43a new Block object, block expiry, optional sysop blocks 2003-09-01 13:13:56 +00:00