Commit graph

7055 commits

Author SHA1 Message Date
libraryupgrader 50ec43bcdd build: Updating npm dependencies
* grunt: 1.5.3 → 1.6.1
* stylelint-config-wikimedia: 0.13.1 → 0.14.0

Change-Id: I25ff6030a2d56ef343a16bfe8d4ff06d7b988635
2023-03-11 19:08:20 +00:00
xiplus a29520ad92 Re-add #mw-abusefilter-syntaxresult
It was accidentally removed in f3383dbea2.

Bug: T331787
Change-Id: Ia8aa40098029b34870afe5ae18cbca43404572c5
2023-03-11 23:36:54 +08:00
Jean-Luc Hassec b0a38cda68 Make Ace filter editor resizable
Bug: T294856
Change-Id: I9964440a0a1cf9a8ba0514c7db085efd791a3ce0
2023-03-10 23:07:08 +00:00
Translation updater bot b9cd2dabf8 Localisation updates from https://translatewiki.net.
Change-Id: I1f6d93fc2301f3f043d099050bf71bdedc91d2b1
2023-03-10 08:47:27 +01:00
Translation updater bot 01745f2774 Localisation updates from https://translatewiki.net.
Change-Id: I8dcde23a4e9eb2c57d19b7cc7cfbc16160ac869a
2023-03-09 09:03:26 +01:00
jenkins-bot 182e801a25 Merge "Clean up database access in non-deployed code" 2023-03-08 16:50:17 +00:00
Matěj Suchánek 8f6a428f02 Replace deprecated database object access methods
Use the very new getPrimaryDatabase and getReplicaDatabase.
We skip FilterLookup and CentralDBManager in this patch.

Change-Id: I22c6f8fa60be90599ee177a4ac4a97e1547f79be
2023-03-08 16:50:56 +01:00
Taavi Väänänen 7789ce1090
UserRenameHandler: Use core RenameUser classes
Bug: T27482
Change-Id: Ia36cd6d0ae8562101f8bcb0ddbf647097b6a8429
2023-03-08 12:53:43 +02:00
Translation updater bot e358840cb3 Localisation updates from https://translatewiki.net.
Change-Id: Iee88e95eb6d61322b47d74877443f91d59b7c834
2023-03-08 08:41:00 +01:00
Translation updater bot 15906e418b Localisation updates from https://translatewiki.net.
Change-Id: Ia8401b1676c00c8360695ace68762de44e25f7ab
2023-03-07 08:42:33 +01:00
Translation updater bot f0f370c688 Localisation updates from https://translatewiki.net.
Change-Id: I376219ccf42624ee5494964086703d7ad60705a7
2023-03-06 08:32:14 +01:00
MarcoAurelio f3383dbea2 Increase CSS specifity to override MonoBook .special li
Bug: T331211
Change-Id: I3ad44c830f8d1f59b798820a2cba1c7950115492
2023-03-04 21:02:48 +00:00
Matěj Suchánek 86ac5bdb40 Clean up database access in non-deployed code
Change-Id: Ibcc41c2dd7f60a806199eaa2c47628a28dadd143
2023-03-03 18:55:08 +01:00
Translation updater bot c783580462 Localisation updates from https://translatewiki.net.
Change-Id: Ic044e3e22402463b4fcc53638b5dd6b0b54f5fc5
2023-03-03 08:46:19 +01:00
Translation updater bot 78529da9bc Localisation updates from https://translatewiki.net.
Change-Id: I285867db68510c299cea692db92c0597560fe643
2023-03-02 08:41:50 +01:00
Translation updater bot 0b09b20925 Localisation updates from https://translatewiki.net.
Change-Id: I99891f92ff4355f02d732b336f004b4f2afc79b4
2023-03-01 08:22:19 +01:00
Translation updater bot 6555cf320a Localisation updates from https://translatewiki.net.
Change-Id: Ie2e405be5c0a8e7a085797f3724c1fae6b1792e6
2023-02-28 08:28:12 +01:00
Translation updater bot 51ac6e1bf1 Localisation updates from https://translatewiki.net.
Change-Id: Id9e070e45bfab6e17da304c5ce00646f7fa1190d
2023-02-27 08:26:49 +01:00
James D. Forrester ebc2e653b0 build: Upgrade mediawiki/mediawiki-codesniffer from 40.0.1 to 41.0.0
Change-Id: I4489dd3935e28a8cdab0d3612ff869854e995c8b
2023-02-26 00:32:51 +00:00
Translation updater bot 079aa7c2d8 Localisation updates from https://translatewiki.net.
Change-Id: I48c4c186d6e0452ef86aee916adb2bbbe98eb33c
2023-02-24 08:58:46 +01:00
Translation updater bot 1559cff405 Localisation updates from https://translatewiki.net.
Change-Id: I29173ca8de92e62f0c72087e4998a0662c448d26
2023-02-22 08:59:32 +01:00
Translation updater bot 9891bc037b Localisation updates from https://translatewiki.net.
Change-Id: I832f1d6f21dab0dbe4912ee3ff85f75ad03dadad
2023-02-21 08:20:20 +01:00
Translation updater bot 96c3e61cf0 Localisation updates from https://translatewiki.net.
Change-Id: I1cceba1b8cb6b5ebf09d4aa81570dfb515cb1dfe
2023-02-20 09:45:28 +01:00
Translation updater bot c22c675a1a Localisation updates from https://translatewiki.net.
Change-Id: Ib30da1a48da8484c42d3e1a0509235c1835e20dd
2023-02-16 08:45:21 +01:00
Translation updater bot 694b56303b Localisation updates from https://translatewiki.net.
Change-Id: I3703b97b62a69aa3bc93b98034acdd6e168b621c
2023-02-14 08:30:52 +01:00
Translation updater bot b9f0cdf659 Localisation updates from https://translatewiki.net.
Change-Id: If426c915b8f68342c29bc44dba8f74b656102a4d
2023-02-13 08:29:07 +01:00
Translation updater bot 6e1a218cc4 Localisation updates from https://translatewiki.net.
Change-Id: I6257395ef66a862dadb246af09f7d4f347da6158
2023-02-10 08:43:09 +01:00
Translation updater bot d787b78920 Localisation updates from https://translatewiki.net.
Change-Id: Ib9f6e645654d8503cb7f9d959ae2b15b4743aa93
2023-02-08 08:39:05 +01:00
TheresNoTime fdcf2aab36 abusefilter.css: Increase the default abusefilter editor width
Increase default widths from `65%` to `90%` for the editor, notes,
description, group inputs.
Add `mw-abusefilter-edit-description-input` id to
`abusefilter-edit-description` TextInputWidget.

Bug: T294856
Change-Id: Ia9472298170740a39fd24864003b766078fcdfaf
2023-02-07 20:59:13 +00:00
Translation updater bot 25b4e83a3d Localisation updates from https://translatewiki.net.
Change-Id: Ib5e8ff1e58d6f71c8ab6231dd7b4831a4de3b774
2023-02-06 08:43:52 +01:00
libraryupgrader c748867c8c build: Updating http-cache-semantics to 4.1.1
* https://github.com/advisories/GHSA-rc47-6667-2j5j

Change-Id: I563f0719fa0392e32806d80d80b8b4f9238b3831
2023-02-03 20:42:30 +00:00
Translation updater bot b228236008 Localisation updates from https://translatewiki.net.
Change-Id: I0030775e50462c5229b4bac126ddc981736ce5af
2023-02-03 08:46:24 +01:00
Translation updater bot d0e3cb2954 Localisation updates from https://translatewiki.net.
Change-Id: Iec179856a22d0a28ee0924b76c6ccdb168523fa0
2023-02-02 08:45:32 +01:00
Translation updater bot ec137c6080 Localisation updates from https://translatewiki.net.
Change-Id: Icef1e7537b14f691e0bb4bf69602ab2fc5023520
2023-02-01 09:17:13 +01:00
Translation updater bot f0f5d6dcae Localisation updates from https://translatewiki.net.
Change-Id: I194a822cf047f8c40ea46a857644d7702543f88a
2023-01-30 08:28:54 +01:00
libraryupgrader e60c5d5083 build: Updating ua-parser-js to 0.7.33
* https://github.com/advisories/GHSA-fhg7-m89q-25r3

Change-Id: I2374519e9eaae14d1f0f038c0a2f76ed1c57d5ea
2023-01-26 07:42:36 +00:00
Matěj Suchánek 5dbb4792b7 Add styles to display zero contributions link in red
Bug: T327603
Change-Id: I319b69d21f3c6195cd9192285a3f0ec3b52bcfd0
2023-01-24 15:11:19 +01:00
Translation updater bot 69c58fd653 Localisation updates from https://translatewiki.net.
Change-Id: I9f92d9674036db683d7607dde6f8f2853f191960
2023-01-24 08:47:43 +01:00
Translation updater bot 61c287545d Localisation updates from https://translatewiki.net.
Change-Id: I8784dbed3eb974a8102f44c4093c44a15a8581a9
2023-01-23 08:21:51 +01:00
Translation updater bot 48463c1e20 Localisation updates from https://translatewiki.net.
Change-Id: I96ef15fba66739bf15b42cdf7fadafa27a4759f0
2023-01-20 08:40:39 +01:00
Translation updater bot 3ec1652088 Localisation updates from https://translatewiki.net.
Change-Id: I2305e0caaf09465632107e7bf3fa4f9999593a21
2023-01-19 11:30:19 +01:00
Translation updater bot f91e494c34 Localisation updates from https://translatewiki.net.
Change-Id: I01e2b254574b4c6fb6671b26994c02fd5046e311
2023-01-18 08:28:24 +01:00
libraryupgrader c636c501bb build: Updating eslint-config-wikimedia to 0.24.0
Change-Id: I18191de8f0db09a237e73a079dda3f30bb8881e5
2023-01-18 00:31:04 +00:00
Translation updater bot 7643e557db Localisation updates from https://translatewiki.net.
Change-Id: I244ed51d6873e76af96a27474241f7da3cabb6bc
2023-01-17 08:06:37 +01:00
Translation updater bot c900f63630 Localisation updates from https://translatewiki.net.
Change-Id: I42d0703650b081e1cc518bebd926c7824bc3e53f
2023-01-16 08:27:30 +01:00
Translation updater bot 57d1fc9786 Localisation updates from https://translatewiki.net.
Change-Id: If3af540c5e56ff0845ffe6845d6e8da75c37dcf7
2023-01-12 08:40:36 +01:00
Translation updater bot 64dd4dae11 Localisation updates from https://translatewiki.net.
Change-Id: I25f6be30bb91790b302a864e18bec3b7f9d4c74c
2023-01-09 09:23:35 +01:00
Dreamy Jazz 8e4a1237f1 Hook on privateEvent and logEvent insert hooks like CuChangesInsert
Hook on to CheckUserInsertPrivateEventRow and CheckUserInsertLogEventRow
to override the IP, XFF and User-Agent string when the user is the
abuse filter user for log events.

These two hooks are being added as log entries are being removed from
cu_changes and added into two new tables. Because the columns and their
names are different for these tables, reusing the same hook won't work
for callers that rely on setting values for a specific column name.

Edits and log entries performed by the abuse filter user need to be
marked as being by the software (and not using the IP, XFF and
User-Agent provided in the main request).

These hooks will not be run until the appropriate config is set to
write to the two new tables. Until that point using the one currently
defined hook will work for all actions.

Bug: T324907
Bug: T44345
Depends-On: I7c7754323ade9a8d96273c1742f30b1b5fbe5828
Follow-Up: Idd77545af94f9f9930d9ff38ab6423a72e680df9
Change-Id: Id78417e9d95220946f110afbe1430df5b3bb4f4f
2023-01-08 13:09:52 +00:00
Dreamy Jazz d3d0910bee Add RecentChange as a optional parameter for CheckUser hook
Add RecentChange as a optional parameter to the code that hooks
on CheckUserInsertChangesRow as this hook will soon provide a
RecentChange object if this row was triggered by a RecentChange.
If this row was not triggered by a RecentChange, then this
parameter will be null. This needs to be added before the parameter
is added to the definition of the hook in the CheckUser extension
as the tests will fail if all usages do not already have the new
parameter.

Bug: T324907
Change-Id: I44e54a3fca5558a1cb8d8f06a3990ded863454bc
2023-01-08 13:09:23 +00:00
jenkins-bot 595b0a9969 Merge "Ensure IP, XFF and UA are valid for abuse filter user actions in CheckUser" 2023-01-06 20:51:17 +00:00