Commit graph

4102 commits

Author SHA1 Message Date
jenkins-bot e24c025670 Merge "Allow customizing block durations for each filter" 2018-03-09 03:27:15 +00:00
libraryupgrader 6c8a6846d7 build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Change-Id: Ib63fd1bd05fee95704280af71eec167ef6252b9c
2018-03-09 02:53:36 +00:00
Translation updater bot 30d8b8a30e Localisation updates from https://translatewiki.net.
Change-Id: I5dc2d8cab384bc9d71ce64e2c893d7ac433b52f3
2018-03-08 22:45:23 +01:00
Daimona Eaytoy 2dd8d27c34 Allow customizing block durations for each filter
This is part of a project to enchance blocking in AF. With this patch,
users are allowed to specify two block durations for each filter, one
for anonymous and one for registered users. For backward compatibility,
default values are set to the global variables.

Bug: T32024
Change-Id: Ib072433d19dabae48d8514e08be9893135b5d63c
2018-03-08 14:57:16 +01:00
Translation updater bot d9f0bf1ff0 Localisation updates from https://translatewiki.net.
Change-Id: I1852a73baf15ae2e8ffddd098797a6305c7580d8
2018-03-07 22:47:02 +01:00
jenkins-bot f960d99c95 Merge "Add logging for preventEditOwnTalk blocks" 2018-03-07 02:41:30 +00:00
Translation updater bot 07f6fce156 Localisation updates from https://translatewiki.net.
Change-Id: I37725780433b0ec6ec6fe0c0f119ffd198adf51f
2018-03-06 22:18:22 +01:00
Daimona Eaytoy 21c268e2f0 Add logging for preventEditOwnTalk blocks
Blocks preventing edit of own talk currently don't show "cannot edit own
talk page". Added it to the flags to make it display properly.

Bug: T188970
Change-Id: Ia8d1c2b93038c3c43bb224a8cae073b694d74cbe
2018-03-06 17:07:49 +01:00
jenkins-bot 04b1d121c9 Merge "Tag actions which hit the condition limit" 2018-03-06 02:08:08 +00:00
Translation updater bot 6a026f5bd8 Localisation updates from https://translatewiki.net.
Change-Id: I99d6ef73778ddad4337255b88491cc3ad245de20
2018-03-05 22:24:11 +01:00
jenkins-bot 0afe787935 Merge "Allow preloading text areas using URL parameter" 2018-03-05 16:08:56 +00:00
jenkins-bot 7f4b69df1e Merge "Add userLinks in private details page" 2018-03-05 16:03:25 +00:00
Daimona Eaytoy 6e42340af9 Add userLinks in private details page
The IP is currently displayed as plain text. Add instead userLinks in
the usual way to provide some handy links for CUs.

Bug: T188600
Change-Id: I47ee007f450f06a1a19b4c7598373a952efbe06a
2018-03-05 11:52:41 +01:00
Matěj Suchánek 8f812a72e7 Allow preloading text areas using URL parameter
Bug: T58784
Change-Id: I5c4f870ad5653011453360d3a44b10820292f488
2018-03-05 08:40:59 +01:00
Daimona Eaytoy 603b020239 Duplicate check for array_diff
Currently, array_diff is only performed in one direction. This way, some
edits to tags (and, in future, to custom block durations) aren't catched
and the filter isn't saved.

Bug: T180194
Change-Id: I22fb9368208380c1a8205a566ac5ff07bbb6e05b
2018-03-04 19:26:50 +01:00
Matěj Suchánek d138b2877c Add form field to filter history by filter
So that users have no longer to modify the URL.
Links like "Special:AbuseFilter/history/1" will still
work but request parameters have higher priority.

Bug: T27897
Change-Id: I2d8c26d3350fdd4052b68c7bced10e3fae859d18
2018-03-04 18:11:21 +00:00
jenkins-bot cdad5f2a28 Merge "Add option to turn off logging IPs" 2018-03-03 23:33:15 +00:00
Dan Mattern fd3987baee Add option to turn off logging IPs
Adds option to stop logging IPs in afl_ip in the abuse_filter_log table.
Introduces a new global variable: $wgAbuseFilterLogIP

Bug: T187169
Change-Id: I1615ba6949c9f8bcdd6ee6aef580c87a05f43e6a
2018-03-03 23:16:24 +00:00
Translation updater bot 5f55b7d068 Localisation updates from https://translatewiki.net.
Change-Id: Ib85a9185601940b0e0fd4186024b794f17d181f6
2018-03-03 22:24:53 +01:00
jenkins-bot 3a86dff502 Merge "Do not attempt to process tags if tagging is disabled" 2018-03-03 15:52:15 +00:00
rosalieper b1e2e158c8 Do not attempt to process tags if tagging is disabled
added a check for $wgAbusefilterActions['tag']

Bug: T179249
Change-Id: I03cf318d63e70c8c7cc7c91d7d9347f3f6cbbea0
2018-03-03 14:42:17 +01:00
Translation updater bot 528856cb72 Localisation updates from https://translatewiki.net.
Change-Id: I920122529718b8c244ddd8bfc8864c963a0451d8
2018-03-02 22:30:46 +01:00
Matěj Suchánek 7dfe4bfcfd Change message transformation method
The argument needs to be HTML safe.

Change-Id: Ifb0009feb9fdb40679bede917a53d52171a22166
2018-03-02 19:23:28 +00:00
jenkins-bot dda156d5e6 Merge "Wrap the throttled warning in a warningbox div" 2018-03-02 15:58:00 +00:00
James D. Forrester 1d348e148e Avoid calls to deprecated wfSetupSession, $_SESSION, and session_id
Bug: T124371
Bug: T162909
Change-Id: I3ac6a858f39282392631474b29251f090eff9040
2018-03-01 14:44:46 -08:00
Translation updater bot fb8a3b4390 Localisation updates from https://translatewiki.net.
Change-Id: Iefefc863a1db07bba65a4d235c0f186394111200
2018-03-01 22:41:34 +01:00
Translation updater bot 1c46161912 Localisation updates from https://translatewiki.net.
Change-Id: If699bcee819287832c9e09e4b8f1d610eabeb8b7
2018-02-28 22:27:08 +01:00
Translation updater bot 91d5dfec8c Localisation updates from https://translatewiki.net.
Change-Id: Ibe939e91e322e97f2cdde70cce13801a914b1624
2018-02-27 22:25:19 +01:00
jenkins-bot 030de289f4 Merge "Add option to block a user from editing their own talk page" 2018-02-27 20:12:30 +00:00
Huji Lee 43530957e7 Better order of form elements (dropdowns together, filter ID last)
Bug: T159061
Change-Id: I7ea1d30f4ed57f014b7df43fa04957b1348428e6
2018-02-27 17:09:17 +00:00
Huji Lee a83b10c5ed Add option to block a user from editing their own talk page
Bug: T170014
Change-Id: I74b7fd2e036111583e8b69c355e7fb0c51fe67fc
2018-02-27 17:07:51 +00:00
Translation updater bot 24a2518f02 Localisation updates from https://translatewiki.net.
Change-Id: I53513a4fce6a620fdd76f3f844be0172b088f1df
2018-02-26 22:20:07 +01:00
Translation updater bot 3b04981f72 Localisation updates from https://translatewiki.net.
Change-Id: I514f6cf725c7af64c74145e6b8cf12dfa14edf84
2018-02-25 22:33:35 +01:00
libraryupgrader 41abf10087 build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
Change-Id: Ib7fe9da3e3768891f06de00d9cc864f8e1cf7d21
2018-02-25 06:15:43 +00:00
Matěj Suchánek d19ced4cef Filter AbuseLog by the "impact" of the change
Users can choose whether they want to see entries
that changed the wiki or didn't (or they can apply
no filter).

Bug: T159061
Change-Id: I6cee9b001c26c4bbc837131781deef27d5e3ef1a
2018-02-24 15:25:50 -05:00
Matěj Suchánek 6f1e15c5ff Filter Special:AbuseLog by action taken by filters
Bug: T187971
Change-Id: I4c786ac312b9095f3055622677b78c2ce7be6b0c
2018-02-24 14:49:39 +01:00
Matěj Suchánek 2ec2868ffd Remove unused argument
Change-Id: I0429f8227293790195d314fc4560f0aa6af7ba7f
2018-02-24 11:33:10 +00:00
Translation updater bot bdf81c1467 Localisation updates from https://translatewiki.net.
Change-Id: I49124ebb8595c17a797fe33e1623094e8e71d080
2018-02-23 23:01:07 +01:00
Translation updater bot 9177569d58 Localisation updates from https://translatewiki.net.
Change-Id: Ifb8ffdecd3b1463de9650c5c51a24141a21d1aa8
2018-02-22 23:21:35 +01:00
Daimona Eaytoy c7d87182b4 Wrap the throttled warning in a warningbox div
Currently, the message informing that some actions have been disabled is
quite impossible to notice at a first glance, since it's a bit confused
with other form elements. However it actually is a warning and needs to
be treated as that.

Change-Id: I0d851333f8da200fb0b9b0c7d05ccd1f63e9e948
2018-02-21 18:30:49 +01:00
Translation updater bot c411452ceb Localisation updates from https://translatewiki.net.
Change-Id: Id8803ff622d597752a3e718259a1ae595f25a920
2018-02-20 22:28:35 +01:00
Translation updater bot f5de7846cd Localisation updates from https://translatewiki.net.
Change-Id: If0e5120542b282fcb5997d1e0079835937618148
2018-02-19 22:25:16 +01:00
Translation updater bot 384891be7b Localisation updates from https://translatewiki.net.
Change-Id: I929d6e269b74967cf45817024bb9549909f0f58d
2018-02-18 22:40:05 +01:00
Translation updater bot b0ba7060c7 Localisation updates from https://translatewiki.net.
Change-Id: Iad253b4fc322c5104377cb57d14c8f3fa1894036
2018-02-17 22:27:10 +01:00
libraryupgrader bdd568da57 build: Updating mediawiki/minus-x to 0.3.1
Change-Id: I2e97091d34be7070a37d2471e52e30b034cdf34d
2018-02-17 17:35:27 +00:00
African Hope a569480b6b Update minus-x from 0.2.1 to 0.3.0
Change-Id: Ie41fed055c0e3260eb58ef4907fc29eaa21243d6
2018-02-17 14:51:28 +00:00
Translation updater bot 8dfe2ec16c Localisation updates from https://translatewiki.net.
Change-Id: Iff47324b4af2feb26da3a1bb640bddeb33e4bb91
2018-02-16 22:28:45 +01:00
Jeff Janes d7fccb57ed PostgreSQL: Add missing columns for AbuseFilter
Change I758795f01eaf3ff56c5720d660cd989ef95764a7, first released
in 1.20, added columns to AbuseFilter tables for MySQL, but not for
PostgreSQL.

This adds those columns for PostgreSQL, both for the installer and
for the updater.

Combined with already-merged change 192002, this change closes
bug T89514.

Bug: T89514
Change-Id: Ie33a5a932ffd85fa8a4111b949bd0a4d07a2af91
2018-02-16 19:26:34 +01:00
Aaron Schulz 8d40f43a50 Fix some minor IDEA code warnings
Change-Id: Ia7855906c8993ccea6127f2144b308179e669b3a
2018-02-15 22:54:25 +00:00
Translation updater bot 512eaa40b4 Localisation updates from https://translatewiki.net.
Change-Id: I8b0027447b89a1ae50ff6cbe223a72a075df5ead
2018-02-15 22:46:56 +01:00