Brion Vibber
6966ffb95e
* Fix regression which allowed some blocked users to create additional accounts
2006-07-17 06:28:06 +00:00
Tim Starling
0ade783ae2
Deferred loading of DateFormatter.php and IP.php. Standardised IP.php function naming style.
2006-07-14 17:02:49 +00:00
Antoine Musso
71fd92d760
Migrate IP related tools from ProxyTools.php to IP.php
...
and its own class of static functions
2006-07-12 18:33:21 +00:00
Tim Starling
1b1e8a498a
Give manual blocks precedence over autoblocks
2006-07-11 05:30:35 +00:00
Tim Starling
23f2b6b5c5
Ignore ipb_anon_only and ipb_create_account for username blocks.
2006-07-10 08:38:22 +00:00
Tim Starling
1d9922db64
* Allow blocks on anonymous users only.
...
* Allow or disallow account creation from blocked IP addressess on a per-block basis.
* Prevent duplicate blocks.
* Fixed the problem of expiry and unblocking erroneously affecting multiple blocks.
* Fixed confusing lack of error message when a blocked user attempts to create an account.
* Fixed inefficiency of Special:Ipblocklist in the presence of large numbers of blocks; added indexes and implemented an indexed pager.
2006-07-10 06:30:03 +00:00
Domas Mituzas
f6efd8b094
screw global defines :)
2006-06-08 13:21:42 +00:00
Brion Vibber
0a26267688
Revert to r14512; domas introduced massive breakage with incomplete experimental changes. They will be recommitted when they work. :)
2006-06-01 08:19:02 +00:00
Domas Mituzas
bda0b8e104
Use AutoLoader to load classes:
...
* remove require_once() throughout whole code, yet left in few places
* move global functions in HttpUtils, ProxyTools, Credits to class methods
* php5 only: __autoload() now used, combined with class->file map and require()
* move initialization of $wgValidSkinNames to Skin::getSkinNames()
* few more changes that will surely break stuff.
2006-06-01 07:22:49 +00:00
Antoine Musso
7ebdb6de89
Revert to r14165 . Did too many changes, didnt even run parserTests (i am bad)
2006-05-11 22:40:38 +00:00
Antoine Musso
bc14eb8045
Replacing var keyword with private / public as we now require PHP5.
2006-05-11 19:10:41 +00:00
Rob Church
de243b1e3e
* Minor cosmetic fixes to installer
...
* Make Block::delete() return something, to be used in later alterations to the un/blocking interfaces
2006-01-16 03:35:28 +00:00
Ævar Arnfjörð Bjarmason
a26d5a49d7
* s~\t+$~~
2006-01-07 13:31:29 +00:00
Ævar Arnfjörð Bjarmason
7bbe971aec
* s~ +$~~
2006-01-07 13:09:30 +00:00
Tim Starling
55671d7040
Faster IP blocks. Requires schema change.
2005-12-01 10:37:47 +00:00
Brion Vibber
219094eb01
Committing various live hacks from Wikimedia servers
2005-10-22 20:52:30 +00:00
Tim Starling
592eb90345
faster expiry check in enumBlocks
2005-09-11 13:43:49 +00:00
Brion Vibber
534476c282
* (bug 3284) Ipblocklist paging, substring search
2005-08-27 23:51:29 +00:00
Brion Vibber
b1a49e2d5b
Drop MySQL 3.23.x support; 4.0 or greater required.
2005-08-26 23:02:54 +00:00
Brion Vibber
23ec039bda
* Fix table prefix usage in Block::enumBlocks
2005-08-23 20:38:46 +00:00
Tim Starling
702db53968
Faster retrieval of range blocks, faster lookup of blocked by name
2005-08-23 16:52:42 +00:00
Tim Starling
e509893941
Made BlockCache::loadFromDB() 100x faster. Wasn't an issue before ryo commented out the memcached bits, but since then, it was adding 1100ms to the save time
2005-08-21 06:07:48 +00:00
Antoine Musso
7aad79cbc8
Hack #1487 : Special:Ipblocklist outputs <ul></ul> which is not valid XHTML.
2005-08-11 05:23:04 +00:00
River Tarnell
b817c0c15f
merge ORACLE_WORK. sorry, this may break some parts of MySQL, i did not test extensively.
2005-08-02 13:35:19 +00:00
Tim Starling
7e63648db4
Formalising live performance hack
2005-07-25 06:57:12 +00:00
Magnus Manske
7d554d1ad5
Bypassing UNION SQL for mysql3
2005-03-18 09:20:17 +00:00
Brion Vibber
4049a9d9e1
* Respect read-only mode on block removals
2005-03-08 02:45:25 +00:00
Jens Frank
7794c7c965
converted comments to PHPDOC format
2005-01-22 08:30:39 +00:00
Brion Vibber
7d099581ba
* (bug 1184) expiry time of indefinite blocks shown as the current time
...
This code's a bit hacky, and may not work with PostgreSQL (check NULLs etc)
2005-01-11 09:29:29 +00:00
Brion Vibber
ae6aaa564b
* (bug 1204) Blocks do not expire automatically
2005-01-11 08:05:22 +00:00
Jens Frank
ceb415f7ed
BUG#1244 Use a UNION to improve index use.
2005-01-01 11:50:19 +00:00
Evan Prodromou
4b42f18b66
Removed CVS keywords from files, to make merging between branches
...
easier. Interpolated keywords cause lots of conflicts and headaches at
merge time for older (<1.12.x) CVS versions.
2004-11-29 18:25:30 +00:00
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