Commit graph

4596 commits

Author SHA1 Message Date
Matěj Suchánek 9f1c94262f Get global filter name in API
Bug: T127142
Change-Id: I250771c5ed194f69c9ff837a80de067712955efd
2017-01-12 16:42:07 +00:00
Translation updater bot 756f797ffb Localisation updates from https://translatewiki.net.
Change-Id: I7d2680cfb932b1c5f3e5de8b8e089e054fc996a1
2017-01-11 23:09:04 +01:00
Translation updater bot 7850477389 Localisation updates from https://translatewiki.net.
Change-Id: I041efd9443d2784db81dbc2b4da7d1aa0615a198
2017-01-09 15:46:58 +01:00
Translation updater bot b0c61a22d0 Localisation updates from https://translatewiki.net.
Change-Id: I2b9c4e3602f29714374e34c7f1239482fa32e478
2017-01-07 22:10:42 +01:00
Translation updater bot 3e7df7191c Localisation updates from https://translatewiki.net.
Change-Id: I321986ef9ab78d867e172920acb8aead0abeebca
2017-01-06 23:05:40 +01:00
Translation updater bot 08530ee75a Localisation updates from https://translatewiki.net.
Change-Id: Ib3de612aa8ccabad9146a8115e643ca69404edf9
2017-01-05 23:41:54 +01:00
Translation updater bot 3b45c4f087 Localisation updates from https://translatewiki.net.
Change-Id: I850875fbf78689a1dd13144e7efe4b455eb46447
2017-01-04 22:27:53 +01:00
jenkins-bot 4b2fa7c6ab Merge "Cast stashed values to integer" 2017-01-02 18:48:00 +00:00
Matěj Suchánek de1c2af0e1 Unify global filters decoding across AbuseFilter
Change-Id: I3c97c24b5d0e4818b36e233a8bb3b205cbb2c7d0
2017-01-02 12:14:02 +00:00
Matěj Suchánek 16e71d3985 Cast stashed values to integer
Stash may return false if the value hasn't been set yet. This basically
means 'zero'.

Steps to reproduce: create a new filter and open it. If it doesn't have
any hits, the second message parameter is missing instead of being '0'.

Change-Id: I8f240dd87664ec99a98b843f9e5c4c8c9eed0532
2017-01-02 08:47:13 +00:00
jenkins-bot 1975e2ab13 Merge "Add GENDER to the message logentry-abusefilter-hit" 2017-01-02 08:04:57 +00:00
Translation updater bot fee15a2e02 Localisation updates from https://translatewiki.net.
Change-Id: Iabdff84db11d113dd69351e00deec24dd77026df
2017-01-01 09:49:10 +01:00
Translation updater bot 1b711e98f2 Localisation updates from https://translatewiki.net.
Change-Id: I8f044f410df2b72980da177fdbd1f9a3d742dc4d
2016-12-29 10:19:30 +01:00
Translation updater bot 4e455aa395 Localisation updates from https://translatewiki.net.
Change-Id: Ia5f84b1216b97c863cfe3995438933a4db18f85a
2016-12-28 10:43:52 +01:00
jenkins-bot 1361ee598a Merge "Fix typo in abusefilter-edit-builder-vars-user-age" 2016-12-27 19:49:04 +00:00
jenkins-bot aafb50092a Merge "GENDER should be used for "triggered" in AbuseFilter log messages" 2016-12-27 18:18:19 +00:00
Matěj Suchánek c9952bf491 Fix typo in abusefilter-edit-builder-vars-user-age
Change-Id: I8ac030d5e620d4d6061c7360d61a5fe6c817e13c
2016-12-27 15:50:24 +00:00
Translation updater bot e060dfe72f Localisation updates from https://translatewiki.net.
Change-Id: I95901ab7de9dd369d60e3eec7a0557e39fae5d87
2016-12-26 22:34:25 +01:00
Matěj Suchánek 9379a0c767 Add GENDER to the message logentry-abusefilter-hit
As far as I can see, this parameter is already supported.

Bug: T153607
Change-Id: If3eed341ef2f2e7bbad103c2738a7eae59886faa
2016-12-26 09:32:31 +00:00
jenkins-bot 2547b3cddc Merge "Allow users with abusefilter-view-private to read private filters via API." 2016-12-26 01:31:41 +00:00
jenkins-bot 5643d2ca12 Merge "Activate grunt-banana-checker" 2016-12-26 01:29:43 +00:00
Translation updater bot 7eda3f666a Localisation updates from https://translatewiki.net.
Change-Id: I6a423daeabf6c0b3547ac6311c029e4d4e9bad2b
2016-12-25 22:14:29 +01:00
Victor Vasiliev 5b14eb8a3f Allow users with abusefilter-view-private to read private filters via API.
Change-Id: I24331ffac06b058b80dee404f33986b2376e5560
2016-12-24 01:50:01 -05:00
Translation updater bot c6cc23ca14 Localisation updates from https://translatewiki.net.
Change-Id: I43ec464ac2b1e6ab679d6414b6acf0d8d0ca9dcf
2016-12-23 22:28:42 +01:00
Umherirrender 14758d316b Activate grunt-banana-checker
Change-Id: I1bffaa56d57ad243e5c2892c229b7b283f5a2484
2016-12-23 21:04:34 +01:00
jenkins-bot 5fdf27763b Merge "Properly use "the" article in AbuseFilter messages" 2016-12-23 17:00:51 +00:00
Translation updater bot 696e62041b Localisation updates from https://translatewiki.net.
Change-Id: I7a38105b54f18c4a48e18e61ae3cb4829519acb2
2016-12-22 22:49:05 +01:00
Huji Lee 2e97125dec Properly use "the" article in AbuseFilter messages
Bug: T152535
Change-Id: I83650b63068f616ad512d9c3ed4f79d1ad2e40aa
2016-12-21 21:47:32 -05:00
jenkins-bot bbd7cdbc95 Merge "Don't show red diff link" 2016-12-21 10:07:54 +00:00
Translation updater bot 63fd4584fd Localisation updates from https://translatewiki.net.
Change-Id: I0d858b56a26b3c6b220361d02bc4274d4a789ecf
2016-12-19 22:40:54 +01:00
Aaron Schulz 2d57141600 Move AbuseFilterVariableHolder up to /includes
This class is not for parsing logic or tree nodes

Change-Id: I07a499cc972c30fc249ec4de3250900a3b703443
2016-12-18 17:13:06 -08:00
Matěj Suchánek 0b1b87f85a Don't show red diff link
If the log entry refers to a non-existing page, the link is red. In
this case, the diff link only duplicates the main link.

Bug: T47948
Change-Id: I3f0e6e7dfbaa8cccbac8450162df97f4a58cccdc
2016-12-18 21:26:49 +00:00
jenkins-bot 06b8cae0d6 Merge "Move various classes to their own files" 2016-12-18 01:57:00 +00:00
Translation updater bot a3ae75ae80 Localisation updates from https://translatewiki.net.
Change-Id: I1efc5696495d11ccc820e4e8de7aa6055cec6b14
2016-12-17 22:18:13 +01:00
Aaron Schulz 9b1021b055 Move various classes to their own files
Change-Id: I5d418b3fa27aa6e04b9a680922e5eab2439ffb20
2016-12-17 11:40:10 -08:00
jenkins-bot af6e361f33 Merge "Don't show link to testing interface when the user cannot test filters" 2016-12-17 03:39:00 +00:00
Translation updater bot 42cd7668b3 Localisation updates from https://translatewiki.net.
Change-Id: Ia62c1e4a5156809071972a9744afa90036323091
2016-12-16 22:12:03 +01:00
Matěj Suchánek 0dca928f58 Don't show link to testing interface when the user cannot test filters
Clicking on this link only shows an error message unless the user can
edit filters.

Change-Id: Id912731e98f0f37b999d4a8e7ab190cd938825aa
2016-12-16 20:24:04 +00:00
Translation updater bot 3721431986 Localisation updates from https://translatewiki.net.
Change-Id: Iec80ee1feeea39b35c7779dd9404ffcbb6472daf
2016-12-15 23:11:43 +01:00
Translation updater bot 321896bcde Localisation updates from https://translatewiki.net.
Change-Id: Iad7dcf4f587250666d7adba468303e1f4b9b5b2e
2016-12-14 22:19:42 +01:00
Translation updater bot 43d2ccbc05 Localisation updates from https://translatewiki.net.
Change-Id: I0978e0149b4ab0882ea9b9fa74e764e98cf5d3b1
2016-12-13 22:39:05 +01:00
jenkins-bot e3b2c55b10 Merge "Make maintenance scripts use $this->requireExtension()" 2016-12-12 22:55:54 +00:00
pppery 66f52694a2 Make maintenance scripts use $this->requireExtension()
Bug: T152139
Change-Id: I9c3a6a186275b6554a761de8548bc16f8938d488
2016-12-12 22:42:00 +00:00
Translation updater bot 26dbb37fd9 Localisation updates from https://translatewiki.net.
Change-Id: Id553785deae7e1032396d3925404a51e4f9a40d7
2016-12-12 22:16:53 +01:00
jenkins-bot 9d9901efb5 Merge "AbuseLog should show a warning when log ID does not exist" 2016-12-12 20:15:26 +00:00
jenkins-bot db896921da Merge "Make more fields sortable and one conditionally" 2016-12-12 20:03:45 +00:00
Huji Lee 95d3300942 GENDER should be used for "triggered" in AbuseFilter log messages
Bug: T152872
Change-Id: I42ce0d741762e01d34590b334a70d30fceb877ce
2016-12-12 16:49:40 +00:00
Huji Lee 928b61e8c3 AbuseLog should show a warning when log ID does not exist
Bug: T152973
Change-Id: I2ccd1744a6b3e9a2ed89ef04c859cbe4f0a803df
2016-12-12 11:48:20 -05:00
Matěj Suchánek 95989575cc Make more fields sortable and one conditionally
Users can now sort filters by whether they are visible and which group
they belong to. Sorting by hit count is only possible if the user can
actually see it.

Change-Id: I516111f96b9ef0beaa0c04f902e03712591371d1
2016-12-12 14:21:05 +00:00
Matěj Suchánek 8d10972f93 Don't show hit count field if it's always empty
If the user cannot see hit counts, this field is always empty, so there
is no need to have it shown.

Change-Id: I27c8639f901a3c7fa686378a1205b2ddebb7d665
2016-12-12 14:19:04 +00:00