Commit graph

861 commits

Author SHA1 Message Date
Siebrand Mazeland de9b47dd0a Localisation updates for extension messages from translatewiki.net (2009-04-09 22:30 UTC) 2009-04-09 22:40:05 +00:00
Alexandre Emsenhuber 56e6f0a262 svn:eol-style native 2009-04-09 20:45:31 +00:00
Philip Tzou a56f78b6ba follow up on r49336, typo. 2009-04-09 11:50:00 +00:00
Philip Tzou 0c41d56052 Simplified Chinese i18n translation of AbuseFilter. 2009-04-09 11:41:07 +00:00
Raimond Spekking d60623be2a Localisation updates for extension messages from translatewiki.net (2009-04-08 18:40 UTC) 2009-04-08 19:07:19 +00:00
Raimond Spekking b2d139ad1e Localisation updates for extension messages from translatewiki.net (2009-04-06 18:50 UTC) 2009-04-06 19:16:07 +00:00
Rotem Liss cb52b7bf3c Localization update for he. 2009-04-06 09:56:03 +00:00
Alexandre Emsenhuber 5c2b3f1dde Fix abusefilter-exception-outofbounds, this is a parameter 2009-04-05 20:18:02 +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
Victor Vasiliev 128ae5983b Introduce list (non-associated array) support into abuse filter parser. 2009-04-05 17:11:17 +00:00
Rotem Liss 9e66a03612 Localization update for he. 2009-04-05 12:05:58 +00:00
Victor Vasiliev 258d340fb5 Abuse filter:
* Introduce := operator for setting variables
* Throw an exception when user tries to override built-in variable
* Fix UTF-8 handling in fnmatch() fallback
* Copy three main abuse filters from enwiki to test suite
* Fix update.php integration
2009-04-05 11:47:42 +00:00
Siebrand Mazeland 85c34395ce Localisation updates for extension messages from translatewiki.net (2009-04-03 19:42 UTC) 2009-04-03 19:55:44 +00:00
Rotem Liss ee71415f9c Localization update for he. 2009-04-03 15:46:19 +00:00
Raimond Spekking 7d1cc76658 Use PLURAL for $3. 2009-04-03 10:59:40 +00:00
Rotem Liss 77666b1ac8 Localization update for he. 2009-04-02 09:12:54 +00:00
Raimond Spekking e18d285364 Localisation updates for extension messages from translatewiki.net (2009-04-01 17:57 UTC) 2009-04-01 18:52:14 +00:00
Alexandre Emsenhuber 9e888117cf svn:eol-style native 2009-04-01 16:36:50 +00:00
Rotem Liss 901a99ad19 Localization update for he. 2009-04-01 12:50:07 +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 ba0b30a054 Add syntax error messages for invalid regexes 2009-04-01 05:56:24 +00:00
Andrew Garrett 3f62707206 String manipulation functions substr, str_replace and strpos for AbuseFilter 2009-04-01 05:05:23 +00:00
Andrew Garrett 7c3f048fff Usability work, making abuse filter forms readonly (rather than just lacking a submit button and rejecting submissions) for users without permission. 2009-04-01 04:34:21 +00:00
Andrew Garrett 57d1a0b16e Add timestamp variable 2009-04-01 03:59:58 +00:00
Andrew Garrett 8f0c24ad5b Normalise usernames in abuse log, bug 18286 2009-04-01 03:38:57 +00:00
Rotem Liss 3e3f565472 Localization update for he. 2009-03-31 18:13:57 +00:00
Roan Kattouw 0a47a37762 AbuseFilter: Update API module for r49057 2009-03-31 15:24:51 +00:00
Andrew Garrett 186fc67373 Crackdown on filter evaluation by users unable to modify filters. This is a DoS vector which I thought I'd already plugged. 2009-03-31 15:13:26 +00:00
Andrew Garrett 3a4e318092 Change join on abuse_filter to a LEFT JOIN to fix details view for matches on global filters 2009-03-31 04:00:30 +00:00
Raimond Spekking 9d300aeafb Localisation updates for extension messages from translatewiki.net (2009-03-30 19:55 UTC) 2009-03-30 20:35:14 +00:00
Rotem Liss 17dee862f2 Localization update for he. 2009-03-30 18:17:09 +00:00
Roan Kattouw 09f3306a2d AbuseFilter API modules:
* Use the 'new' way of adding results (adding them one at a time and stopping when addValue() returns false)
* Use intval() on results that are really integers
* Use an implicit join in ApiAbuseLog
* Use dieUsageMsg() for an invalid title
* Move some things up and down in ApiAbuseLog so related things are grouped together
2009-03-30 12:19:41 +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
Siebrand Mazeland 05c9882663 Localisation updates for extension messages from translatewiki.net (2009-03-29 22:17 UTC) 2009-03-29 22:26:09 +00:00
Siebrand Mazeland d7d3737eaf Fix typo in 'abusefilter-edit-builder-misc-tern' 2009-03-29 16:07:39 +00:00
Alex Z. 778bf0d363 add option to see IP addresses in list=abuselog if user has 'abusefilter-private' right 2009-03-29 04:29:15 +00:00
Alex Z. 16f22a498e (bug 18063) Add API module to list filter information. 2009-03-29 04:23:20 +00:00
Alex Z. 79360d48a4 add option to search by filter ID to be consistent with UI, and change param descriptions to be less ambiguous 2009-03-29 00:12:40 +00:00
Alex Z. 2e9bd6dd80 (bug 18063) Add API module for abuse log (list=abuselog) 2009-03-28 23:40:27 +00:00
Raimond Spekking a8c47b2a0a Localisation updates for extension messages from translatewiki.net (2009-03-28 21:50 UTC) 2009-03-28 22:26:10 +00:00
Raimond Spekking e94659bba8 Localisation updates for extension messages from translatewiki.net (2009-03-26 19:26 UTC) 2009-03-26 20:31:32 +00:00
Chad Horohoe 1c8574bb1a Big commit. Removing svn-version and svn-date from extensions. Per the list, these versions do not give valuable information and are often wildly inaccurate. 2009-03-26 17:39:49 +00:00
Rotem Liss 9943dfeb9a Fix typo. 2009-03-26 14:30:09 +00:00
Rotem Liss 3cd0f2c5c7 Localization update for he. 2009-03-26 14:21:12 +00:00
Andrew Garrett 9d9c666fea Remove accidentally-committed code in r48856 2009-03-26 04:44:47 +00:00
Andrew Garrett 920f04d4fa Fix batch-testing (follow-up to r48855) 2009-03-26 04:41:05 +00:00
Andrew Garrett 3458bf1a7a (bug 18165) Keep the same parser object between filter runs 2009-03-26 04:09:07 +00:00
Andrew Garrett c597c1915f Add contains_any function, for searching a single haystack for multiple needles. Implemented with FSS with a fallback to a for loop, so it should be really fast. 2009-03-26 02:03:32 +00:00
Andrew Garrett d4d2f4913d Patch by Robert Rohde to prevent empty-string matches of a regex intended to match numbers 2009-03-26 01:30:05 +00:00
Andrew Garrett 20f8b1d16b Properly fix regex munging 2009-03-25 12:43:53 +00:00