Jack Phoenix
e2a16fe755
AbuseFilter: big commit - coding style & spacing cleanup; also marked SpecialPages' construct() and execute() functions as public and capitalized some SQL keywords
2009-10-07 13:57:06 +00:00
Andrew Garrett
be3de66d4f
Minor bugfixes to r51014 suggested on codereview by Tim.
2009-06-05 10:32:31 +00:00
Andrew Garrett
48bfcc35ee
Various code quality fixes for AbuseFilter suggested by Tim Starling in a private email, including bugfixes, memory safeguards, performance improvements, removal of redundant code, consolidation of similar functionaality.
2009-05-26 13:08:15 +00:00
Tim Starling
268d72f43b
Code formatting and comments.
2009-05-22 06:42:10 +00:00
Victor Vasiliev
27fb1303a8
* Use lists instead of implode()d strings in built-in variables wherever it's possible
...
ATTENTION! This may break filters that rely on "added_lines contains 'bla-bla'" syntax. They'll need to be replaced with "string(added_lines) contains 'bla-bla'"
2009-04-05 19:07:47 +00:00
Andrew Garrett
7c2a7a2fe0
Support for variable setting with the set_var function, and multiple expressions separated by semicolons (;). In evaluation, the result of the LAST expression will be the return value.
2009-04-01 06:53:18 +00:00
Andrew Garrett
14b850f891
Implementation of global filters, including a major i18n change for abusefilter-log-detailedentry message (rename and split). Needs further testing before deployment
2009-03-30 06:12:12 +00:00
Andrew Garrett
2000d06c59
Add hook to AFPComputedVariable::compute() so extensions can add lazy-loaded variables.
2009-03-25 05:18:27 +00:00
Andrew Garrett
b28f614390
Backcompat for stored data
2009-03-19 03:10:18 +00:00
Andrew Garrett
ce47bca4a8
Load link vars from DB on edit. Includes some tracking of context, so it knows whether to check the DB or the parser.
2009-03-19 02:05:58 +00:00
Andrew Garrett
667c566423
Add a diff, if applicable, below the var dump in abuse log details
2009-03-18 05:45:36 +00:00
Andrew Garrett
d257820a83
Fix weird interaction of user age for anonymous users
2009-03-18 00:26:28 +00:00
Andrew Garrett
334582b645
Fix weird bug occurring in corrupted databases.
2009-03-16 08:21:24 +00:00
Andrew Garrett
145db0f341
load() user objects when retriving properties. Might help with some strange bugs we're seeing on testwiki but nowhere else
2009-03-10 23:28:18 +00:00
Andrew Garrett
02a84cbd90
Debugging code for bug 17815
2009-03-06 23:11:07 +00:00
Andrew Garrett
ceb5261bb6
AbuseFilter -- precache article object for edits, fix lazy initialisation of IP user objects
2009-02-28 01:10:45 +00:00
Andrew Garrett
216fde8956
Some debugging code
2009-02-27 13:16:34 +00:00
Andrew Garrett
b34f35ff40
svn add AbuseFilterVariableHolder.php
2009-02-27 00:03:30 +00:00