Commit graph

14 commits

Author SHA1 Message Date
CSteipp 37d05a77d3 Merge "(bug 42802) Let the client specify multiple filters for list=abuselog" 2012-12-19 20:23:20 +00:00
CSteipp 99f89ec50c Merge "(bug 42814) Fix the visibility of action=query&list=abuselog" 2012-12-19 01:20:04 +00:00
Krenair a0bf987aff (bug 42802) Let the client specify multiple filters for list=abuselog
Change-Id: I9d06186aea207896bdb354d0e86ee35632fc2090
2012-12-19 01:27:02 +01:00
Kunal Mehta a5658f6004 (bug 42819) AbuseFilter API does not give diff information
Change-Id: Ia5075c241b95e28ad6371df9e82fc42cd51136b4
2012-12-19 01:14:23 +01:00
Marius Hoch ad9f60a9d3 (bug 42814) Fix the visibility of action=query&list=abuselog
Made prop=details invisible for hidden filters if the current
user isn't allowed to see that. Visibility should match the web
interface now.

Change-Id: I2cd682a2ec298473e5398fbf20d850b710f4e93a
2012-12-18 23:02:16 +01:00
csteipp 7a21a8f76a (bug 42814) Fix AbuseLog API permissions
Match the API to how Special:AbuseLog prevents unprivileged users from
seeing the filter number that triggered an action, when the filter is
private.

Change-Id: Iff352a0a6dbfeaa05f9272af927119ba1bb2194d
2012-12-18 22:48:28 +01:00
Krenair 7c85b208c5 (bug 42816) Run the same permissions checks for list=abuselog as Special:AbuseLog
Change-Id: I763db9fecfdb994e95d2cb747b0ded6c8700e505
2012-12-10 21:19:50 +00:00
Siebrand Mazeland 176227e721 Maintenance for AbuseFilter extension.
* Replace deprecated methods.
* Remove no longer needed function fnmatch().
* Remove superfluous newlines.
* Remove unused and redundant local variables and globals.
* Deglobalization.
* Update documentation.
* Fix incorrect return values or add FIXMEs when in doubt.
* Escape output in a few places where needed.
* Remove unneeded MEDIAWIKI constant checks.
* Fix various JSHint/JSLint issues.

Patch Set 11: Merged https://gerrit.wikimedia.org/r/24701 into
this one per Siebrand's request

Change-Id: I02ba4ce31b6aca5b7324114093f8ece143abc295
2012-10-09 22:26:45 +02:00
Andrew Garrett 53aea9c0ce AbuseFilter: Resolve bug 18374, bug 28633.
* Store the revision ID associated with a log entry
 if the action is successful.
* Expose this as a diff link in the UI.
* Implicitly hide log entries if their
 corresponding revisions are also hidden.
* Includes scope for expanding to log entries if desired.

Change-Id: Ie2d43dd1bacf14289fdf0492bb22267590ee649d
2012-07-11 10:16:59 -04:00
Roan Kattouw 6c4bd57043 Revert r111217 (unreviewed rev in AbuseFilter) and its dependencies r113585, r113587, r113588, r113589.
All of these revisions are tagged with 'gerritmigration' and will be resubmitted into Gerrit after the Gerrit switchover. See also http://lists.wikimedia.org/pipermail/wikitech-l/2012-March/059124.html
2012-03-21 19:41:11 +00:00
Andrew Garrett 5e4289ce4e AbuseFilter: Resolve bugs 18374, 28633.
* Store the revision ID associated with a log entry if the action is successful.
* Expose this as a diff link in the UI.
* Implicitly hide log entries if their corresponding revisions are also hidden.
* Includes scope for expanding to log entries if desired.
2012-02-10 23:41:05 +00:00
John Du Hart 274dcd06a2 Pass one of converting AbuseFilter to use ContextSource
The main AbuseFilter class still needs to be fixed up, but that's a bigger job and I'm out of time
2011-11-16 05:34:24 +00:00
John Du Hart b30697e94c Adds ResourceLoader support to AbuseFilter
Rewrote javascript to use jQuery
Added API modules to replace sajax_* calls
Solves bug 29714
2011-08-26 20:12:34 +00:00
Sam Reed 56f266da57 Create api folder, move api files into it
Same for special
2011-05-10 23:05:25 +00:00
Renamed from ApiQueryAbuseLog.php (Browse further)