Commit graph

3855 commits

Author SHA1 Message Date
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
MarcoAurelio 87aac2397f Add missing 'action-abusefilter-private-log' message
Used by MediaWiki to tell unauthorized users why they are not allowed to
view the AbuseFilter private details access log.

Change-Id: Ic6f8d82d377aa4b98048fd19e662e6ed3828c923
2018-02-15 16:46:06 +01:00
Matěj Suchánek 3f34308f96 Tag actions which hit the condition limit
When an action reaches the limit, the remaining filters are not executed.
But there is no way find out which one it was.

Bug: T71492
Change-Id: I28fac76d4e9ca341bed25cd35e1249b19586b773
2018-02-15 10:06:08 +01:00
libraryupgrader de9b8638be build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
Change-Id: I6eb54195a53ccb34f8f183ed0eba1dfb48750c0d
2018-02-15 08:24:34 +00:00
Translation updater bot 748e11e904 Localisation updates from https://translatewiki.net.
Change-Id: I6fe0d97b5eaa2cc3abcb4cc8ab1fa2bd1253768f
2018-02-14 22:30:20 +01:00
Translation updater bot 421f4dcae1 Localisation updates from https://translatewiki.net.
Change-Id: I3e90a3983a66fcb79a70ad67905512dcb53a7821
2018-02-13 22:25:07 +01:00
Jayprakash12345 4f176dad83 Up at-ease calls in extensions
Bug: T187037
Change-Id: I4efbbbd1929baeb0410d820eb2a91c3d3c027e9c
2018-02-12 10:31:55 +00:00
Translation updater bot 3e01f8523d Localisation updates from https://translatewiki.net.
Change-Id: Ie1d89503e2cc0eeec5f598e650ca0d34569e702d
2018-02-12 09:23:27 +01:00
Translation updater bot 8e26712bb1 Localisation updates from https://translatewiki.net.
Change-Id: I1c3f6e9a1985e73f3f9155015d0a6ad025886a1f
2018-02-11 10:41:53 +01:00
James D. Forrester 72cf4e6261 build: Bump devDependencies to latest
grunt                       1.0.1  →  1.0.2
 grunt-banana-checker        0.5.0  →  0.6.0
 grunt-jsonlint              1.0.7  →  1.1.0
 grunt-stylelint             0.6.0  →  0.9.0
 stylelint                   7.8.0  →  8.2.0
 stylelint-config-wikimedia  0.4.1  →  0.4.2

Change-Id: Iad57f3b5020525fa6821e9316a1186fd931583d3
2018-02-10 21:00:53 +00:00
Matěj Suchánek 35373155a1 Select only needed columns in queries
Change-Id: I6338906eede533fda76ce96fe10b9c4de314135c
2018-02-10 20:35:05 +00:00
Huji Lee 8ca391c8e0 Correctly reference the "Abuse Filter" extension in maintenance scripts
Bug: T186928
Change-Id: I415f39aa618a6148ad29a3fb4b059aadbfd63da5
2018-02-10 16:13:41 +00:00
Daimona Eaytoy f0cf1f227f Fix wrong name in i18n
In Ib0a8b783db6ce0d5db64771c8e0c70f0f8d13d36 I misspelled the name of a
function in i18n, resulting in a duplicate.

Change-Id: I8547a3d8f1ef29713c5cd957d99c47b3e3daa2e3
2018-02-10 11:35:06 +01:00
Translation updater bot aa21d18c2d Localisation updates from https://translatewiki.net.
Change-Id: I5e4cb3e6f4f9a156608cb853ff3522ca5e219a8d
2018-02-10 09:15:09 +01:00
jenkins-bot b74c12ecc0 Merge "API: Fix "Undefined index: wiki" warnings" 2018-02-09 20:13:52 +00:00
Kunal Mehta 2633839630 API: Fix "Undefined index: wiki" warnings
Bug: T186914
Change-Id: I7e9d5524302f5f90d0e82f0f4d41a542e2990ed5
2018-02-09 12:00:07 -08:00
jenkins-bot ac83ad1d90 Merge "Add contains_all and ccnorm_contains_all functions" 2018-02-09 18:08:35 +00:00
Daimona Eaytoy a0de056299 Add contains_all and ccnorm_contains_all functions
Added the contains_all function, with basically the same role as
contains_any but using logic AND instead of OR. Also added
ccnorm_contains_all, that is the same of ccnorm_contains_any but with
AND mode. Finally, fixed three wrong task IDs.
Co-authored with Valerio Bozzolan.

Bug: T21176
Change-Id: Ib0a8b783db6ce0d5db64771c8e0c70f0f8d13d36
2018-02-09 17:33:24 +01:00
Translation updater bot 68adcaad7c Localisation updates from https://translatewiki.net.
Change-Id: I955f3559442f0125171bbf1ae19c001d884eb2a7
2018-02-09 09:41:00 +01:00
jenkins-bot 60130eb925 Merge "build: Replace jshint with eslint" 2018-02-08 16:37:19 +00:00
James D. Forrester de2a7b07d4 build: Replace jshint with eslint
Bug: T186753
Change-Id: I067adf86a220d59ff1693bef74d7590d4c63d3c2
2018-02-08 16:26:50 +00:00
Translation updater bot dcdce750ab Localisation updates from https://translatewiki.net.
Change-Id: I798d2cb55b4dc4343c99bb5c8b9fb39e40740e51
2018-02-07 22:17:14 +01:00
Huji Lee 146820185c Log accessing private information in abuse filter logs
Bug: T152934
Change-Id: I8049df3b2b9343a6877e9a306d2781d3f27ec657
2018-02-07 18:35:36 +00:00
Translation updater bot ec580f7ff1 Localisation updates from https://translatewiki.net.
Change-Id: Ia10997bce6e7c11810d163d34012f6931639dca6
2018-02-06 22:35:11 +01:00
Translation updater bot ae08366138 Localisation updates from https://translatewiki.net.
Change-Id: I4b58226e01316f6371164c72b6215c4e31067dd4
2018-02-05 22:36:39 +01:00
Matěj Suchánek 767d450f73 Don't show link to AbuseLog for IP ranges
Bug: T175915
Change-Id: I16fe71ad3eb37eefb5c710026e4de2ce1a976f30
2018-02-05 10:19:06 +01:00
jenkins-bot 8015489986 Merge "Normalize IPv6 addresses in Special:AbuseFilter/examine" 2018-02-05 05:10:02 +00:00
jenkins-bot c84da3552e Merge "Allow filtering AbuseLog in API by wiki" 2018-02-05 05:06:23 +00:00
Translation updater bot a64b6dd9a7 Localisation updates from https://translatewiki.net.
Change-Id: I14f6b5d9cce4a89691324ef30ef78b6d5a233b61
2018-02-04 22:43:16 +01:00
Matěj Suchánek 10aea65219 Allow filtering AbuseLog in API by wiki
Bug: T113414
Change-Id: I833f223b160810d69f084ae4b060adbdd956aa83
2018-02-03 17:45:37 +00:00
jenkins-bot 0475b02bec Merge "Use ExtensionRegistry to check if CheckUser is installed" 2018-02-03 14:17:55 +00:00
jenkins-bot b43a042fb0 Merge "Compatible with PHP 7.2, avoid passing null to count()" 2018-02-03 14:12:56 +00:00
Huji Lee 8beedb2544 Use ExtensionRegistry to check if CheckUser is installed
Bug: T183096
Change-Id: If52fa24e5fb50033092e0c15f08aa7b28c16261a
2018-02-03 14:02:24 +00:00
Translation updater bot 0019dc2265 Localisation updates from https://translatewiki.net.
Change-Id: Ic36c81a007cfd57d9cd1b5b595f9bfa8fd10aa6a
2018-02-02 22:17:41 +01:00
jenkins-bot 9794534452 Merge "Set default when changing afl_namespace on pg" 2018-02-02 19:02:11 +00:00
Jayprakash12345 9ec6c98eb0 Removed deprecated position statements from resource loader module
Bug: T184257
Change-Id: Iadfd2cb039042ca4bcce4926bb4d4508eb9b23ca
2018-02-02 16:33:22 +00:00
Kunal Mehta df1340b3a6 Use SPDX 3.0 license identifier
SPDX released version 3 of their license list (<https://spdx.org/licenses/>),
which changed the FSF licenses to explicitly end in -only or -or-later
instead of relying on an easy to miss + symbol.

Bug: T183858
Change-Id: I802453f027b25596aa52124f2e906985aef988fe
2018-01-31 22:56:28 -08:00
Translation updater bot 0bd8b9400f Localisation updates from https://translatewiki.net.
Change-Id: I6251d531c181b953e18bd4a0b5c97874552a2e0d
2018-01-31 22:19:46 +01:00
RazeSoldier 088ca53685 Compatible with PHP 7.2, avoid passing null to count()
Bug: T185981
Change-Id: I2ee2f79124935426ee06b6e0bcb987d1676fdba1
2018-01-31 15:30:23 +00:00
Translation updater bot d37675f636 Localisation updates from https://translatewiki.net.
Change-Id: I95c97645bce315d5b8bf30b29c061a19153ac2c0
2018-01-30 22:16:22 +01:00
Translation updater bot e3ae436889 Localisation updates from https://translatewiki.net.
Change-Id: I7e58532fa819eb13065ae43e7ef6ca0db066fb56
2018-01-29 22:19:28 +01:00
Translation updater bot e0e9a24528 Localisation updates from https://translatewiki.net.
Change-Id: I139b34b93e439dcc9342221053752a36ddc42dbd
2018-01-27 22:37:22 +01:00
Translation updater bot 7dc120461e Localisation updates from https://translatewiki.net.
Change-Id: If3d68fbeb9d16b36f16cb987e58bd5d6fccee4d8
2018-01-26 22:36:23 +01:00
Translation updater bot f806959d8e Localisation updates from https://translatewiki.net.
Change-Id: Ieac071b477409db0b39fbb08b8a9324b465180dc
2018-01-25 22:17:47 +01:00
Translation updater bot 6e3046a61b Localisation updates from https://translatewiki.net.
Change-Id: I7388fe3fd218a66a3ad7910eeec6b2263feec16a
2018-01-24 22:20:36 +01:00
jenkins-bot a4fa1dc5d1 Merge "Improve @covers tags" 2018-01-23 22:19:29 +00:00
Kunal Mehta 5238c8e8b5 Improve @covers tags
Change-Id: I3df3698b5d3f3eae95db8c740c611f365ff9cb31
2018-01-23 14:08:52 -08:00
Translation updater bot 0a71a97e3c Localisation updates from https://translatewiki.net.
Change-Id: Iea6723f25ce7f6c7273e158768852aff29635cf2
2018-01-23 22:22:35 +01:00