Commit graph

966 commits

Author SHA1 Message Date
jenkins-bot eb066b4f6f Merge "Add missing messages for existing vars decriptions" 2018-04-06 01:25:27 +00:00
Translation updater bot 5711139849 Localisation updates from https://translatewiki.net.
Change-Id: I36d19857c8ed26c9d1800520f0551556226fe2d6
2018-04-05 22:22:06 +02:00
Matěj Suchánek 60f4777c8c Add missing messages for existing vars decriptions
Change-Id: Ifd418c0efbcf7c21b4013d6b8a7454950d15def6
2018-04-05 11:24:49 +02:00
Daimona Eaytoy bc99694d07 Add reasons dropdown to hidelog form and convert it to OOUI
Bug: T153018
Bug: T132284
Change-Id: Idf74765d9f5c475d2e0d48d546cdf7c1aaa99104
2018-04-05 00:08:49 +00:00
Translation updater bot c2ab53e509 Localisation updates from https://translatewiki.net.
Change-Id: Ief4f5a2f7c24c2b545c723046259dd369add1cd0
2018-04-04 22:49:11 +02:00
jenkins-bot e4fa51e209 Merge "Remove my previous username from list of authors" 2018-04-04 11:30:28 +00:00
Translation updater bot 992f094731 Localisation updates from https://translatewiki.net.
Change-Id: Idbe5aa2c5a9469124a74e649e21fe65d0445ac63
2018-04-03 09:50:04 +02:00
Guycn2 178b9da668 Remove my previous username from list of authors
Change-Id: I5eb6ea9323967ed13e7ec2b876325334e5cf5e8e
2018-04-03 02:39:35 +00:00
jenkins-bot 9cf6a4b407 Merge "Add missing comparisons to builderValues" 2018-04-02 21:34:32 +00:00
Daimona Eaytoy fbde96cac6 Add missing comparisons to builderValues
Currently, strict comparisons aren't listed. This way they don't appear
in the dropdown and users may not be aware of their existence.

Change-Id: I93185781de3b698096130c673156a67823375c6b
2018-04-02 17:12:32 +02:00
Daimona Eaytoy e53811ecb3 Add requirement for title and pattern fields
Currently users can save filters without title or pattern. This
shouldn't be allowed since it leads to lack of clarity. The check is
only performed server-side, since when implementing Ace editor we won't
be able to (easily) add a pure HTML requirement for the pattern field.

Bug: T173947
Change-Id: I1a0418b87cdb1ff423238fcdf1c743930500e605
2018-04-02 16:37:51 +02:00
Translation updater bot 6a518a7d6b Localisation updates from https://translatewiki.net.
Change-Id: Ife6051a2853337900e222381f64f0125cf1ffbef
2018-04-02 09:48:06 +02:00
Translation updater bot ba5e619517 Localisation updates from https://translatewiki.net.
Change-Id: I187543cb3efb18af4dcccf0d0101da06aeda23be
2018-04-01 09:37:42 +02:00
Translation updater bot 8e80401487 Localisation updates from https://translatewiki.net.
Change-Id: Ie7b9e29cbc928194e6b5962eac3877145eff3c89
2018-03-31 09:22:11 +02:00
jenkins-bot c67ab4a061 Merge "Revert "Revert "Switch editor to Ace and provide syntax highlight""" 2018-03-30 15:29:01 +00:00
Daimona Eaytoy 3350183fe3 Revert "Revert "Switch editor to Ace and provide syntax highlight""
Make Ace use a fixed size in em.

This reverts commit 272775ff81.

Change-Id: I9b439b20df91eb367bcef4b6f33ff087aded0b62
2018-03-30 11:10:16 -04:00
jenkins-bot ef65bf62c9 Merge "Convert /revert to use OOUI" 2018-03-30 14:02:12 +00:00
Translation updater bot 77d92a05fa Localisation updates from https://translatewiki.net.
Change-Id: I4e93bb9a0b12893d877ef1c5ce142a7fcf8b6672
2018-03-30 09:33:46 +02:00
Daimona Eaytoy 90436c9e59 Convert /revert to use OOUI
This one was left out, probably because it's not well documented.
Together with the simple conversion, I also added a cap to time
selectors (otherwise users may create huge breaking queries) and wrapped
in a class=success P the success message, like we do when saving
filters.

Bug: T132284
Change-Id: I2ba0a54e27608949cd28b9ac0447d1f2157b0ea2
2018-03-30 09:12:59 +02:00
jenkins-bot 899fd5783b Merge "Revert "Switch editor to Ace and provide syntax highlight"" 2018-03-30 02:14:15 +00:00
Huji 272775ff81 Revert "Switch editor to Ace and provide syntax highlight"
This reverts commit 89e6778793.

Change-Id: I41aee10fdd5633d56692334696fb750f41b15433
2018-03-30 02:07:00 +00:00
jenkins-bot f903aa92d4 Merge "Switch editor to Ace and provide syntax highlight" 2018-03-30 02:02:00 +00:00
jenkins-bot da3342e398 Merge "Add search for filter patterns" 2018-03-30 01:32:03 +00:00
Translation updater bot e712281558 Localisation updates from https://translatewiki.net.
Change-Id: Ic7544f277b91ab5ea4d5d2246dd577e844aed566
2018-03-28 22:22:36 +02:00
Translation updater bot 6193345739 Localisation updates from https://translatewiki.net.
Change-Id: Iad1101b331cd204cb2d20994dbd334b4eaaebcce
2018-03-27 22:09:08 +02:00
Translation updater bot 842990b81c Localisation updates from https://translatewiki.net.
Change-Id: I4c81a2f04b0fed111b4cbfcd3da5e16b6fbb2246
2018-03-26 22:18:44 +02:00
Translation updater bot e18cd9b92d Localisation updates from https://translatewiki.net.
Change-Id: Idfa95d3e9c8d2bcbb17ae927f8d29d531b2cd1a5
2018-03-24 22:29:11 +01:00
Translation updater bot 98fbe59540 Localisation updates from https://translatewiki.net.
Change-Id: Ib15f0ba901d51cc869b8738b3cc8629c9d5f084c
2018-03-23 22:12:53 +01:00
Daimona Eaytoy 89e6778793 Switch editor to Ace and provide syntax highlight
Replace the conditions textarea with Ace editor for editing and testing
filter. This uses a soft dependency on CodeEditor; if the latter isn't
installed, the classic textarea is used. The user is still able to
switch between the editors on the go; the new buttons may look a bit
ugly now, but after switching to OOUI they should get much better.
Finally, added a custom syntax highlight for AbuseFilter rules.

Bug: T39192
Change-Id: If3d6a994142e34686bb7fc9f09093f751b599485
2018-03-23 12:39:22 +01:00
Translation updater bot 587b1d91f0 Localisation updates from https://translatewiki.net.
Change-Id: I52f631043738f18ead7cb20f985456b85ba7d259
2018-03-22 22:08:38 +01:00
Translation updater bot 9d97af45ab Localisation updates from https://translatewiki.net.
Change-Id: I3fb617b075f8b06fa20d7c993281ec4b7740846e
2018-03-21 22:31:52 +01:00
Translation updater bot b3f799408f Localisation updates from https://translatewiki.net.
Change-Id: I884f972ab5b3491917713bf8aaf7d522add0e428
2018-03-20 22:12:32 +01:00
Translation updater bot e09479bb62 Localisation updates from https://translatewiki.net.
Change-Id: I296e4dbeda5468307925af91265e5947e710745b
2018-03-19 22:18:33 +01:00
Amire80 03c1a80f92 Clarify bad-tags message: "must" is more precise than "should"
Change-Id: I8ae4505cbe263bdb413b47ac24e84d9b1f9c5d43
2018-03-18 12:30:23 +00:00
Daimona Eaytoy 3bc4bfc4d5 Add search for filter patterns
Adds an option for searching filters with a
specific pattern in the main page, together with already existing options.
Plain search and regex are available, only for users with the
view-private right. The search is performed directly on the database.
If the user actually searched for something, it is also added a column to
Special:AbuseFilter showing a snippet of the pattern from each filter, with the query match highlighted.

Depends on: I8144062b1f273d0d8932203ffcb7a71aca60bba9

Bug: T87455
Change-Id: Ibcd84ff84edca481328210ee857b0ab723028632
2018-03-17 14:54:48 +00:00
Translation updater bot 0b58de551b Localisation updates from https://translatewiki.net.
Change-Id: Ib29bf3885c791eba63106f8e1d4e30f33957a1f2
2018-03-15 22:51:35 +01:00
Translation updater bot 93209b3d2c Localisation updates from https://translatewiki.net.
Change-Id: I89887dacfdd12f19da7ec9411e0c4e3d0d009820
2018-03-14 22:23:18 +01:00
Translation updater bot 53a370b688 Localisation updates from https://translatewiki.net.
Change-Id: Ic03e10e79101fe7523faa2a773bb2b37ef165b59
2018-03-13 22:23:05 +01:00
Translation updater bot 0a7a7cf3a0 Localisation updates from https://translatewiki.net.
Change-Id: Ib44a5368a46b86ab67a3ff804665aacc3de57f76
2018-03-12 22:24:41 +01:00
Translation updater bot cc5c4ee125 Localisation updates from https://translatewiki.net.
Change-Id: I566728894fa07611c76f8587e74eeb63c098f599
2018-03-11 22:30:24 +01:00
Translation updater bot c17a096989 Localisation updates from https://translatewiki.net.
Change-Id: I97af0059e445a7b3739128f794e2a9ba08fbb101
2018-03-10 22:13:45 +01:00
Translation updater bot a926e420e7 Localisation updates from https://translatewiki.net.
Change-Id: I4ccb673735f5e3c7b733d7e97f51c4c7dae64e85
2018-03-09 22:41:50 +01:00
jenkins-bot e24c025670 Merge "Allow customizing block durations for each filter" 2018-03-09 03:27:15 +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
Translation updater bot 07f6fce156 Localisation updates from https://translatewiki.net.
Change-Id: I37725780433b0ec6ec6fe0c0f119ffd198adf51f
2018-03-06 22:18:22 +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 7f4b69df1e Merge "Add userLinks in private details page" 2018-03-05 16:03:25 +00:00