jenkins-bot
ffe3b0cbc4
Merge "Clean up AbuseFilterViewHistory and AbuseFilterHistoryPager"
2021-04-19 14:37:00 +00:00
jenkins-bot
ec804600c6
Merge "Stop using legacy ActorMigration fields"
2021-04-19 14:36:58 +00:00
jenkins-bot
f786a438e2
Merge "QueryAbuseLog: remove duplicate setting $conds = []"
2021-04-19 08:32:36 +00:00
Translation updater bot
83fa287fb3
Localisation updates from https://translatewiki.net .
...
Change-Id: If0c6cd9df8450f20c62f0737c735c69b22ae7ca8
2021-04-19 08:49:13 +02:00
Tim Starling
04f298c82c
Stop using legacy ActorMigration fields
...
Migration was completed in MW 1.34, so it's no longer necessary to
call ActorMigration.
Bug: T278917
Change-Id: I26ad45b6d26756c3074c44f0192ceb04fb2698ae
2021-04-19 15:18:47 +10:00
DannyS712
0fa804ff3a
QueryAbuseLog: remove duplicate setting $conds = []
...
Change-Id: I50ffe91656c9c74111a3ecd4808b8a1d2cd79504
2021-04-19 01:22:57 +00:00
Matěj Suchánek
644b7aa288
Clean up AbuseFilterViewHistory and AbuseFilterHistoryPager
...
- Untangle circular dependency.
- Inject dependencies.
- Declare class properties as private.
Change-Id: I7b9892c85d168024d6b44d182af9443fdfee45cc
2021-04-18 18:31:17 +02:00
jenkins-bot
0dc93136d6
Merge "Improve test coverage of API modules"
2021-04-18 16:03:25 +00:00
jenkins-bot
4332a20c34
Merge "Clean up (Global)AbuseFilterPager"
2021-04-18 16:02:30 +00:00
jenkins-bot
19bc3dcf9b
Merge "Api: inject more abuse filter services"
2021-04-18 09:15:17 +00:00
Matěj Suchánek
a2ee8c41e2
Improve test coverage of API modules
...
Also solve one a TODO.
Change-Id: I61a38f3c741274f00ad0ad4789106a943daef222
2021-04-18 10:37:38 +02:00
Matěj Suchánek
7ed7b97369
Clean up (Global)AbuseFilterPager
...
- Inject dependencies.
- Make class variables private or protected and rename them.
Untangling the circular dependency is left for a future patch.
Change-Id: I5d625e30171bfbf60d9f5a94fa50475fdfe853dd
2021-04-17 21:02:07 +02:00
jenkins-bot
5cd39a51fa
Merge "Remove the old parser"
2021-04-17 15:21:54 +00:00
jenkins-bot
8a7511c5d2
Merge "Drop database patches for MW < 1.27"
2021-04-17 15:00:26 +00:00
jenkins-bot
f869c74bb6
Merge "Remove deprecated $wgAbuseFilterCustomActionsHandlers"
2021-04-17 14:58:53 +00:00
jenkins-bot
5f65899b55
Merge "SECURITY: Use an anonymous user as creator for autocreations"
2021-04-17 10:50:02 +00:00
Daimona Eaytoy
ddb06aa783
SECURITY: Use an anonymous user as creator for autocreations
...
This is saner, and allows consequences such as blocks to go through.
Bug: T272244
Change-Id: Ie1f4333d5b1c9d17fb2236fe38a31de427a4cc48
2021-04-16 14:34:16 -05:00
Daimona Eaytoy
25547c47ee
SECURITY: Don't leak IPs when blocking anon account creations
...
The block log entry will be automatically suppressed, until we can
implement a better solution.
Bug: T152394
Change-Id: I8bae477ad7e4d0190335363ac2decf28e4313da1
2021-04-16 14:26:14 -05:00
Daimona Eaytoy
91d9e2e0d3
Give MySQL indexes explicit names, align MySQL and SQLite
...
Bug: T251613
Change-Id: I574bda15f0f5c92a7d97a6e3150981b8f97ee7fc
2021-04-15 11:30:30 +02:00
Translation updater bot
6d2cf467fc
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia88be6cd933134a6335a7360c8e4ff2e5079066d
2021-04-15 08:42:13 +02:00
Daimona Eaytoy
560d6fe7b5
Drop database patches for MW < 1.27
...
Bug: T280012
Change-Id: I4ba68f1c7784f7f8b4cf661fe5e0918103c9dc15
2021-04-13 14:12:05 +02:00
Translation updater bot
60e7d5a919
Localisation updates from https://translatewiki.net .
...
Change-Id: Ieeb04e774f0502198254c5ad6d5b7a16c87e0ab7
2021-04-13 09:19:08 +02:00
James D. Forrester
6849817cf0
Make default wgAbuseFilterAflFilterMigrationStage SCHEMA_COMPAT_NEW
...
The only user we were worried about has now migrated to this; it auto-
ran in other installs just fine, so let's proceed.
Bug: T269712
Depends-On: I2b905f1e13ec13ec94d33527803c91c04b491eb2
Change-Id: Ie7d6bc95ebc871b0effee069e2146f2750d5f408
2021-04-12 15:29:00 -07:00
Translation updater bot
c2dd8bbbb0
Localisation updates from https://translatewiki.net .
...
Change-Id: I169a9ca615ff260252e658cd5fb7802fbefdffd1
2021-04-12 08:36:34 +02:00
Daimona Eaytoy
f67c2d5434
Remove deprecated $wgAbuseFilterCustomActionsHandlers
...
Extensions should now specify custom actions using the
AbuseFilterCustomActions hook.
Change-Id: Id21640d406b18c627eedff39d3f246cf21e042b3
2021-04-11 14:49:50 +00:00
Daimona Eaytoy
f8438a4647
Remove the old parser
...
All methods were moved to the new parser. Tests and other pieces were
adjusted to expect just a single parser. There are still some TODOs
(remove AFPTransitionBase, remove $this->mCur), but these are left for
another commit.
Note that the new parser was not renamed: this is because the names are
wrong anyway (CachingParser is more of an Evaluator than a Parser, and
AFPTreeParser is the real parser, and should be renamed as well).
NOTE to reviewers: this patch looks quite big, but if you diff the old
parser with the new version of the CachingParser, you'll notice that the
diff is actually small, since everything was basically copied verbatim.
Bug: T239990
Change-Id: Ie914ef64c70503a201b4d2dec698ca2fa8e69b10
2021-04-09 13:23:07 +00:00
Translation updater bot
8fad3376ff
Localisation updates from https://translatewiki.net .
...
Change-Id: I819bbbb957d908d3f9e0dddb1d31976856ecc715
2021-04-09 08:57:23 +02:00
jenkins-bot
ed4b6dd877
Merge "Use ::class for class name"
2021-04-08 21:07:40 +00:00
Umherirrender
32f7ae140e
Use ::class for class name
...
This works also for non-existing classes,
because it is resolved on compile time
Change-Id: Ia3a1484c9c4f46a128c367ddd057c41dd560111d
2021-04-08 20:54:48 +02:00
libraryupgrader
d38838cfa0
build: Updating eslint-config-wikimedia to 0.20.0
...
Change-Id: I92cb3e462c96792157c855abc40617861f291927
2021-04-07 21:23:03 +00:00
Daimona Eaytoy
3e2153b86b
Update userCanViewRev to use Authority
...
Change-Id: Ia10acf499ce33af03eeea45e34779a00e6628fe1
2021-04-07 13:55:10 +02:00
DannyS712
5d8ac68310
Convert AbuseFilterDBTest to pure unit tests
...
No integration needed, use a mock user.
Change-Id: I206d019aec626e6e4c16de10ecf30a29d5ab12e5
2021-04-06 16:28:35 +00:00
Translation updater bot
85eab17de8
Localisation updates from https://translatewiki.net .
...
Change-Id: I5106f90cf220a87f60715d222ef0f43230fca3a7
2021-04-06 12:01:13 +02:00
DannyS712
6da2eaef01
Api: inject more abuse filter services
...
Bug: T259960
Change-Id: I50565bdc8669f233ac68589a203104bf1632d637
2021-04-04 19:23:33 +00:00
Matěj Suchánek
edc347aee2
Clean up AbuseFilterViewRevert
...
- mark properties as private (unused outside)
and rename them to avoid legacy naming
- do result filtering server-side
- order query by timestamp
Change-Id: If2d714753a2b040c5cefa8f8126f82a3c08dab44
2021-04-02 19:29:12 +02:00
jenkins-bot
69c2b2ca79
Merge "Api: inject AbuseFilterPermissionManager where needed"
2021-04-02 16:20:14 +00:00
Translation updater bot
7e565776cd
Localisation updates from https://translatewiki.net .
...
Change-Id: I6b2e865b0f98e31bde375c5b6e462a4a49f18205
2021-04-02 09:48:00 +02:00
Translation updater bot
5b598954b5
Localisation updates from https://translatewiki.net .
...
Change-Id: I2fa9dfa8d5c463d85f939440f94f4d1f54b931bc
2021-04-01 08:36:19 +02:00
Umherirrender
b849e5daea
Move documentation from hooks.txt to hook interfaces
...
The new system allows to have documentation directly at the interfaces
Change-Id: I3e8afb3605dea80db95e314b3dd42087e9bc1b06
2021-03-31 21:50:30 +02:00
Translation updater bot
3a8ae56eb1
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibe0e3bc56563570f218a47f38b53ba04befaae04
2021-03-31 08:34:52 +02:00
Translation updater bot
bb82ff7a50
Localisation updates from https://translatewiki.net .
...
Change-Id: I5964fa5a92beabe305ec3104af153c35cf208f83
2021-03-29 08:34:58 +02:00
DannyS712
1bd0b02441
Api: inject AbuseFilterPermissionManager where needed
...
Some of these api modules still retrieve other services
statically, this patch is focused just on injecting the
permission manager and setting up DI
Bug: T259960
Change-Id: Ic5196f230d68604fdf321f705377a1e6e1e2efca
2021-03-28 15:22:59 +00:00
jenkins-bot
e616e5b71c
Merge "selenium: Remove ChromeDriver dependency"
2021-03-26 19:02:24 +00:00
daniel
65c5fd6b51
Construct UserIdentityValue without actorId
...
The actorId parameter to the UserIdentityValue constructor has been
deprecated.
Change-Id: I4a22e761276a9fefa15c7b1554a0d03980d0c663
Needed-By: I9925906d11e47efaec3c1f48d5cb3f9896a982c1
2021-03-26 11:00:56 +01:00
Translation updater bot
2712e1d2c9
Localisation updates from https://translatewiki.net .
...
Change-Id: I5fc7e49685aa572236843eac2ff7320c1cabf374
2021-03-26 08:48:52 +01:00
daniel
e954ecfe19
Fix UserIdentityValue constructor call in test
...
Change-Id: If905e442444d319114e86ce78007bdc6dbc9c9f2
Needed-By: I9925906d11e47efaec3c1f48d5cb3f9896a982c1
2021-03-25 15:13:15 +01:00
jenkins-bot
92ffc1a7ed
Merge "Don't directly instantiate PageEditStash"
2021-03-25 10:51:09 +00:00
Translation updater bot
bad4b1baba
Localisation updates from https://translatewiki.net .
...
Change-Id: I24e397e4e47e3182c810f056e4ceaa202717f844
2021-03-25 08:40:09 +01:00
Petr Pchelko
e92d74ad51
Don't directly instantiate PageEditStash
...
Needed-By: I7164b914299441bd0f82e764252c8b5d30b45fbe
Change-Id: Iab96a35be8f50fdbc66194bd8956d98b5b6b0032
2021-03-24 21:03:46 -06:00
DannyS712
db8d373a87
LazyVariableComputer: update parseNonEditWikitext documentation
...
Article::prepareContentForEdit is deprecated and being removed,
refer to WikiPage::prepareContentForEdit instead
Plus remove an extra line
Change-Id: Ie4438c710639a16557816b53510ce230d15d641c
2021-03-24 17:32:31 +00:00