Commit graph

2547 commits

Author SHA1 Message Date
Ori Livneh 0e36b728e3 Fix double escaping in AFPData::keywordLike()
If we don't map '\-' and '\+' to themselves, the leading slash gets escaped,
and the resultant pattern only matches a literal slash.

Bug: 67670
Change-Id: Ifa1e3edd6f41985a3bb97bfb1497985f8fa64af5
2014-07-11 14:56:42 -07:00
Translation updater bot d239ab117f Localisation updates from https://translatewiki.net.
Change-Id: I53a2c13915b92a157408988f1c22a5e39b11957b
2014-07-11 21:54:07 +02:00
Translation updater bot 125a57e669 Localisation updates from https://translatewiki.net.
Change-Id: I764d2c4164336b494f4453b71913d43fb1a62a0d
2014-07-09 20:29:49 +00:00
Translation updater bot 819d6f4cc5 Localisation updates from https://translatewiki.net.
Change-Id: I537b5db4458b5769df7dae226c6c71bce8fa16c8
2014-07-08 20:58:45 +00:00
Translation updater bot 10c2bef0d9 Localisation updates from https://translatewiki.net.
Change-Id: I444f8b8c397548ae547e483fb50237d75386839a
2014-07-07 20:17:31 +00:00
Kunal Mehta b40416c037 Add user_rights variable
Allows for more broad filters to check for a given right, rather
than having to check against multiple groups, which becomes useful
with global groups.

Bug: 60191
Change-Id: I95b5477d6d868d4b83bcd98e779e6d535aa755b3
2014-07-06 22:18:57 -07:00
jenkins-bot 355fb4781d Merge "Separate parameters for the filter ID and localized filter name in AbuseFilter" 2014-07-06 23:20:15 +00:00
Translation updater bot 0e2321e0cf Localisation updates from https://translatewiki.net.
Change-Id: I9741c2b5152252f49713038770f5ab45daaf3a3b
2014-07-05 19:53:30 +00:00
Translation updater bot b22822dfd8 Localisation updates from https://translatewiki.net.
Change-Id: Ifaabe36710b88bc8235ef8d1f088d308f12dc5ab
2014-07-04 21:29:18 +00:00
Jackmcbarn 9409452698 Add tags from all matching filters
If multiple filters all add tags to an edit, make all of them be added
rather than just one of them.

Bug: 66387
Change-Id: Ib666c2765718d7d0603921ab94d22a7d51cbd3d2
2014-07-02 23:20:47 +00:00
Translation updater bot 43745392ed Localisation updates from https://translatewiki.net.
Change-Id: I1bd49d0976283054e08622a03e14b0a1b8f41eb4
2014-06-29 18:33:16 +00:00
huji edabcbc6aa Separate parameters for the filter ID and localized filter name in AbuseFilter
Bug: 67254
Change-Id: I0343971b8be6984820ddf861a76132c9dd064829
2014-06-28 15:23:43 -04:00
Translation updater bot 6d3f163a94 Localisation updates from https://translatewiki.net.
Change-Id: I33c2cf53c0d1c6843ac751074b04b84a8bfb62df
2014-06-27 20:16:55 +00:00
Translation updater bot 24c2f3fad2 Localisation updates from https://translatewiki.net.
Change-Id: Idf726a50ba18521d8e828dd4f78794f77053a734
2014-06-26 19:25:23 +00:00
Translation updater bot 3633f3aa9f Localisation updates from https://translatewiki.net.
Change-Id: I45c3f1bc7502309d492ce38c611f7ae1cec1162f
2014-06-24 19:58:14 +00:00
Translation updater bot b611a46534 Localisation updates from https://translatewiki.net.
Change-Id: Ia75d5badaa64939667cfc55140030be8f6070e9c
2014-06-23 19:53:24 +00:00
Ori Livneh ea46bfdd16 Use preg_match rather than fnmatch for 'like' operator
fnmatch() will not recognize 'é' as a single character when the LC_CTYPE locale
is set to C / POSIX. So transform the shell-style pattern to PCRE, and use
preg_match() instead.

fnmatch() was not available on Windows prior to PHP 5.3, so code snippets for
preg_match()-powered polyfills abound. I used the pattern translation map from
<http://www.php.net/manual/en/function.fnmatch.php#100207> after testing
different implementations and finding it to be the most complete.

Bug: 66930
Change-Id: Ice12c7b9dbe6472fe4131679a48a0ad54fac6394
2014-06-23 11:38:08 -07:00
Translation updater bot f0325d3a92 Localisation updates from https://translatewiki.net.
Change-Id: Ic65df4dfff8fc91a55046a3c4ee8d9ddd806815a
2014-06-22 19:26:59 +00:00
Translation updater bot 378a5ef741 Localisation updates from https://translatewiki.net.
Change-Id: I6d3691b7bdd85fa50c8c10a46fa175d5fca7ffbb
2014-06-18 19:49:15 +00:00
Translation updater bot bafcde688f Localisation updates from https://translatewiki.net.
Change-Id: I9a75a0da7c07111db3e471ac1b5e8a53a259911c
2014-06-16 19:47:30 +00:00
Translation updater bot 8cb2ecce98 Localisation updates from https://translatewiki.net.
Change-Id: I4ffbe7393ee3827a4d0d29b952acc239bbbe916a
2014-06-15 19:50:05 +00:00
Translation updater bot 851bb54818 Localisation updates from https://translatewiki.net.
Change-Id: Ia26ca0445c493502c74560b482224a8258f26fa1
2014-06-14 19:15:42 +00:00
Translation updater bot 9dcf751000 Localisation updates from https://translatewiki.net.
Change-Id: I6860cca7adf0ab41cf1d33f913896e527dfed680
2014-06-13 20:47:21 +00:00
Translation updater bot 5d9c139643 Localisation updates from https://translatewiki.net.
Change-Id: I0c9efd550ec9e83d26465de2771f57f67192b260
2014-06-12 21:36:15 +00:00
Translation updater bot 53e4dee40d Localisation updates from https://translatewiki.net.
Change-Id: Ib488765727321d779fefcb836f156b5b0daaf1af
2014-06-11 20:35:21 +00:00
Translation updater bot af566a0cec Localisation updates from https://translatewiki.net.
Change-Id: I47c9dc131039d9c9ee57b0c372a954aa3a6e4643
2014-06-10 20:43:10 +00:00
Translation updater bot 0425464f76 Localisation updates from https://translatewiki.net.
Change-Id: I160853696fa03c73e8375b9d791b9b7abc7b17d8
2014-06-08 19:55:20 +00:00
se4598 8125decd66 fix "JQMIGRATE: jQuery.fn.toggle(handler, handler...) is deprecated"
Bug: 65804
Change-Id: Ie25caa8ee2c2be9c5a2c13b3415fcd2d32ad7fb1
2014-06-08 20:59:50 +02:00
Translation updater bot 4a2b193283 Localisation updates from https://translatewiki.net.
Change-Id: I74550d0a86630215f7b57d90b30f571f817b75c1
2014-06-06 21:44:56 +00:00
Translation updater bot eff6d751ee Localisation updates from https://translatewiki.net.
Change-Id: Ifa7c97e0e40133771f7dae2cfba53bac90de8b81
2014-06-01 19:39:12 +00:00
Andrew Garrett 3b7cae1965 Fix ccnorm() function -- strtr fails on empty key
ReplacementArray->replace() calls strtr() which fails if an empty key is provided.

Change-Id: I635f057dab53edcfe1736f74829b6dbe1e7739d3
2014-05-30 11:24:21 -07:00
Translation updater bot dce990fda2 Localisation updates from https://translatewiki.net.
Change-Id: I2b0b8f5175d939d5e0f4e08a4c88f829304e1272
2014-05-29 19:35:30 +00:00
Translation updater bot e25585e57b Localisation updates from https://translatewiki.net.
Change-Id: Ic8d791653da567f7b70387601c1a0b82e30b7348
2014-05-28 19:32:41 +00:00
jenkins-bot e2a805d3b4 Merge "(bug 65805) Fix notice when creating new filter" 2014-05-28 14:31:25 +00:00
Translation updater bot 4522f94103 Localisation updates from https://translatewiki.net.
Change-Id: Ifb04254945ca6882be045223033c1f693b70ba5f
2014-05-27 20:18:32 +00:00
Matthias Mullie 2c449c3acc (bug 65805) Fix notice when creating new filter
Notice: Undefined index: af_throttled in
extensions/AbuseFilter/Views/AbuseFilterViewEdit.php on line 148

This assumes af_throttled to exist in $newRow, which comes
from AbuseFilterViewEdit::loadRequest, which in turn comes
from AbuseFilterViewEdit::loadFilterData, where no
af_throttled property is added to the newly created object.

Bug: 65805
Change-Id: I45ad0ea2cea242711b6109e67b99b71242ff57f6
2014-05-27 15:26:17 +02:00
Translation updater bot 9fcb1283d3 Localisation updates from https://translatewiki.net.
Change-Id: I10ccba39226254e6fc9956bebb43e515d9bd1597
2014-05-24 15:17:50 +00:00
Translation updater bot 05473394e3 Localisation updates from https://translatewiki.net.
Change-Id: I49b8ee4166128806bdb11989b1eb461978c7ffc9
2014-05-20 18:56:33 +00:00
Translation updater bot a9d92eb523 Localisation updates from https://translatewiki.net.
Change-Id: Ic6251c5528eb971b95b8ca02486b7e45a25dc2a5
2014-05-19 19:43:17 +00:00
Translation updater bot c8eb18a57e Localisation updates from https://translatewiki.net.
Change-Id: Ifb0c974860c1db414ab217106358e78d2c45a05d
2014-05-18 20:05:07 +00:00
Translation updater bot cf71c2af3f Localisation updates from https://translatewiki.net.
Change-Id: I114e2e2da3eb31ef41c098e0ff1a456e840eaf28
2014-05-17 19:54:37 +00:00
Translation updater bot e3c6563f68 Localisation updates from https://translatewiki.net.
Change-Id: I25c516f6a5cda4770d977243d8b3ab02981c6275
2014-05-14 19:32:50 +00:00
Translation updater bot a38b821f29 Localisation updates from https://translatewiki.net.
Change-Id: Iebb536dede826f7ec5c5fcc371ab266c9168d569
2014-05-13 20:08:46 +00:00
Translation updater bot bf7840a297 Localisation updates from https://translatewiki.net.
Change-Id: I88a7ced6262ea8e5ec0a965bb2a1e10460c739e6
2014-05-12 20:08:33 +00:00
Translation updater bot 8d90668199 Localisation updates from https://translatewiki.net.
Change-Id: I5fd2045743cb6d357cd82a51a715fe07f6420632
2014-05-11 19:05:05 +00:00
Translation updater bot 2f30463ce5 Localisation updates from https://translatewiki.net.
Change-Id: I7447708fed03a358583179150743fd17271945d8
2014-05-09 22:19:04 +00:00
Translation updater bot cfdee8b868 Localisation updates from https://translatewiki.net.
Change-Id: I5b72b8127780d86d7a1646c933ec68eb72fd6dab
2014-05-08 20:45:41 +00:00
Translation updater bot a69432ea54 Localisation updates from https://translatewiki.net.
Change-Id: Ibe406992195493f59efe04caabf18461bb667d02
2014-05-07 19:56:54 +00:00
Translation updater bot 65aaf0c82a Localisation updates from https://translatewiki.net.
Change-Id: Ife633dab48751830b18bc31c68a754f2d509309a
2014-05-06 19:48:50 +00:00
Translation updater bot bbd71733bf Localisation updates from https://translatewiki.net.
Change-Id: Idb857c30d6369b0bb8081ae9569803ea7cbce307
2014-05-05 20:17:58 +00:00