Commit graph

781 commits

Author SHA1 Message Date
Translation updater bot 2eebfba1a2 Localisation updates from https://translatewiki.net.
Change-Id: Ic78e92b892e397d3e82fece342ebb80c132a4e88
2022-06-02 08:13:52 +02:00
Derk-Jan Hartman 177142940d Configure JS linter to handle more lines
The linter would bail after 100 detected issues (alerting or not) and
would report the warning 'too many errors (xx% scanned)'

Set a higher limit. 1000 seems enough for navigation popups gadget.

Bug: T1092
Change-Id: I263e08a39712279a06b12cd75ebedcccaf191b58
2022-05-30 21:12:19 +00:00
libraryupgrader da69ea7404 build: Updating grunt to 1.5.3
Change-Id: Icb9b6d6bdec2dd406655e870fad1da99d1d3ba65
2022-05-26 09:01:22 +00:00
libraryupgrader 054a40408e build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0
* php-parallel-lint/php-console-highlighter: 0.5.0 → 1.0.0
* php-parallel-lint/php-parallel-lint: 1.3.1 → 1.3.2

npm:
* grunt: 1.4.1 → 1.5.2
* stylelint-config-wikimedia: 0.12.2 → 0.13.0
* async: 2.6.3 → 2.6.4
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25

Change-Id: I074d3c48364ba47c35cbbb7b087166bf72b8280b
2022-05-21 01:20:56 +00:00
Translation updater bot cfe4519a17 Localisation updates from https://translatewiki.net.
Change-Id: I03cb6100690342e37286776f6df5b48a6601bd54
2022-04-07 08:09:15 +02:00
Translation updater bot 592a81717e Localisation updates from https://translatewiki.net.
Change-Id: I1f7c5addad3c784cbf416f06dd319f46e0272b0a
2022-04-01 08:26:20 +02:00
Translation updater bot 1456804d55 Localisation updates from https://translatewiki.net.
Change-Id: Ie3e138a386fbd713f2eaa0f66f6cba46f93f3004
2022-03-21 08:14:28 +01:00
jenkins-bot f2b0cf3200 Merge "build: Update devDependencies" 2022-03-15 20:39:06 +00:00
Translation updater bot ccfb7897f6 Localisation updates from https://translatewiki.net.
Change-Id: I93c6dae6cff3403d4f075abcb5465e685a04e1f5
2022-03-14 08:13:43 +01:00
Ed Sanders 861ba9acc7 build: Update devDependencies
Change-Id: I92cfe510874632cb1ba35f67ac20cbf1ad609767
2022-03-13 22:50:06 +00:00
Ed Sanders 2479c7f1bb eslint: Lint Gruntile.js using server rules
Change-Id: I9e452fc08ae483431ad83dca3c7ebd7f04f5d945
2022-02-07 16:22:02 +00:00
libraryupgrader 7a771d4f8c build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.11.0 → 0.11.1

npm:
* eslint-config-wikimedia: 0.20.0 → 0.21.0
* grunt: 1.4.0 → 1.4.1
* nanoid: 3.1.25 → 3.2.0
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2

Change-Id: I368c326555329f168339870459344e4091d07d74
2022-02-06 07:57:39 +00:00
Translation updater bot bc0f131ef5 Localisation updates from https://translatewiki.net.
Change-Id: Ib235851909750d4bc9323b3a75d5c5d3b0b1fc4f
2022-02-01 08:26:47 +01:00
Translation updater bot 07d05ae76b Localisation updates from https://translatewiki.net.
Change-Id: I0a677e0128afc25cd0be826cd176e56426897dcb
2021-12-13 08:21:15 +01:00
Fomafix a1b66a08db Use AutoloadNamespaces instead of AutoloadClasses
Change-Id: I9a1b95e1ff4c601c7101c6cf9cdc6f17e84a33a3
2021-11-28 14:58:04 +00:00
Roman Stolar 51cd95fac9 Avoid using User::getOption and inject service UserOptionsLookup
Remove using of User:getOption since this method will be hard-deprecated. Now it is soft-deprecated

Bug: T296083
Change-Id: Iae0c0cd3ab4ffdfd6cfce5e7ced81dfae3d4a359
2021-11-26 08:36:11 +00:00
Fomafix ad1930d255 Use HookHandlers and implement hook interfaces
Change-Id: I9313f4cff24ceb9c83d5a529ec3064330eabb8c6
2021-11-25 20:14:37 +00:00
Fomafix d7117949b1 Use namespace MediaWiki\Extension\CodeEditor in PHP
An alias with the old class name CodeEditorHooks is not added because
there are no external findings on
https://codesearch.wmcloud.org/search/?q=CodeEditorHooks

Change-Id: I88cb3a506d196d918ce852e46433dad808ae2a6c
2021-11-25 19:41:48 +00:00
Translation updater bot b10b8862a8 Localisation updates from https://translatewiki.net.
Change-Id: I94e36c3a462f671900e2414bed9c4526d6e137be
2021-11-15 08:11:23 +01:00
Fomafix bcb7eed32d Use single quotes instead of double quotes in PHP
Change-Id: I9d32e36a14c25139cd735bd6657c5d46df573e15
2021-10-30 19:14:59 +00:00
Translation updater bot 9b1bd68d98 Localisation updates from https://translatewiki.net.
Change-Id: Ibd31c9c078d237fb1397ab1f25d2bf6bdd19de7b
2021-10-29 08:21:32 +02:00
libraryupgrader 7768b3b79e build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
Change-Id: I20d545d1e42e010d09a2947f3e6466cdb2a03f8b
2021-10-24 01:04:12 +00:00
Translation updater bot 5fde4244ca Localisation updates from https://translatewiki.net.
Change-Id: I7eb89c599123159cadb0eba53fa65db2d1d5a41d
2021-10-18 15:19:38 +02:00
Ed Sanders 17e04cab5e Move var declarations inline
Change-Id: Iccad0c3bf194f8fa418181283ac3b2a037fabe5f
2021-10-06 18:00:20 +01:00
Translation updater bot 6f252046d3 Localisation updates from https://translatewiki.net.
Change-Id: I04e8767065a442649862b8a2944d2cdd0119bb15
2021-10-06 09:28:08 +02:00
libraryupgrader 4d4a0f8103 build: Updating ansi-regex to 5.0.1
* https://npmjs.com/advisories/5197 (CVE-2021-3807)

Additional changes:
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: I8853077fe99f79e55daf522b1a55a1df4812f563
2021-10-04 14:56:30 +00:00
libraryupgrader a5e8af27a0 build: Updating composer dependencies
* mediawiki/mediawiki-phan-config: 0.10.6 → 0.11.0
* php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1

Change-Id: I3858b0d9c0b2fcce94252880c7b5ebf4ca98bf53
2021-09-08 20:52:59 +00:00
libraryupgrader ce93e424a5 build: Updating stylelint-config-wikimedia to 0.11.1
The following rules are failing and were disabled:
* declaration-property-unit-disallowed-list

Change-Id: I7ceb0021cec89d3c1fa58e21325bedfecb7ddf0f
2021-09-04 18:51:00 +00:00
Translation updater bot a3b3dfaece Localisation updates from https://translatewiki.net.
Change-Id: I25d7af62a5b27fb9c1e74b994231b024b0cd93f2
2021-08-16 08:16:04 +02:00
Translation updater bot 08b20bccc1 Localisation updates from https://translatewiki.net.
Change-Id: Idfdc9275a3191bf080bd189c674a18f03a585aa5
2021-08-12 08:09:26 +02:00
libraryupgrader d942f1f68c build: Updating path-parse to 1.0.7
* https://npmjs.com/advisories/1773 (CVE-2021-23343)

Change-Id: I977061a8cd4b211f41d2677a43094eb553bf8554
2021-08-11 15:39:37 +00:00
libraryupgrader c7fce87744 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0

npm:
* postcss: 5.2.18 → 7.0.36
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)
* glob-parent: 5.1.0 → 5.1.2
  * https://npmjs.com/advisories/1751 (CVE-2020-28469)
* trim-newlines: 3.0.0 → 3.0.1
  * https://npmjs.com/advisories/1753 (CVE-2021-33623)

Change-Id: I79ac6ca483bda11cd4e8a1b3c61bf900701d47a7
2021-07-22 12:59:36 +00:00
Translation updater bot fd3d7cb7f3 Localisation updates from https://translatewiki.net.
Change-Id: I8a26cc288caa7da86f79ad14d6095c9809b8dc56
2021-07-12 08:06:15 +02:00
jenkins-bot ce49e09557 Merge "Improve accuracy of the search/replace toggle" 2021-06-26 11:09:08 +00:00
Translation updater bot b7c90a5829 Localisation updates from https://translatewiki.net.
Change-Id: Ideeeaa43234836d615349e14ff3223537af0841b
2021-06-21 14:11:29 +02:00
Translation updater bot 669c6a815b Localisation updates from https://translatewiki.net.
Change-Id: Ida55de4e72e167f52c591d3ccce354ddf9ea0401
2021-05-28 08:59:37 +02:00
Translation updater bot 6dc7ffc397 Localisation updates from https://translatewiki.net.
Change-Id: Ibe9ef43697eae68719f98bb5501f712b7eeb41da
2021-05-27 12:04:59 +02:00
libraryupgrader 6f7aee7cdf build: Updating browserslist to 4.16.6
* https://npmjs.com/advisories/1747 (CVE-2021-23364)

Change-Id: I77284085a837996ba7c6883905221e6440c93093
2021-05-25 08:55:30 +00:00
Translation updater bot 2e60af2382 Localisation updates from https://translatewiki.net.
Change-Id: I9336d757e02b436a0cfcea2518c5ab2123cdd66e
2021-05-20 09:10:01 +02:00
libraryupgrader e915150faa build: Updating postcss to 8.2.15
* https://npmjs.com/advisories/1693 (CVE-2021-23368)

Change-Id: Ic20e4f2ef2d4fdd89d95f052bfd68ce2f5dc386e
2021-05-15 12:50:34 +00:00
libraryupgrader 2cdb6ef679 build: Updating npm dependencies
* grunt: 1.3.0 → 1.4.0
* hosted-git-info: 3.0.8 → 2.8.9
  * https://npmjs.com/advisories/1677 (CVE-2021-23362)

Change-Id: Iafaf32eb5503c4c3bc34e150bb14fe0385fff84d
2021-05-09 05:42:28 +00:00
libraryupgrader e340a47317 build: Updating npm dependencies
* lodash: 4.17.19 → 4.17.21
  * https://npmjs.com/advisories/1673 (CVE-2021-23337)
* hosted-git-info: 3.0.7 → 3.0.8
  * https://npmjs.com/advisories/1677 (CVE-2021-23362)

Change-Id: I22d32212d0d514cedf5acd4ab62ced7f1896da25
2021-05-07 16:46:58 +00:00
libraryupgrader f36cfe93d6 build: Updating composer dependencies
* mediawiki/mediawiki-codesniffer: 35.0.0 → 36.0.0
* php-parallel-lint/php-parallel-lint: 1.2.0 → 1.3.0

Change-Id: I510f86381fa3875e9cf6c86cf5784aea16b8f14c
2021-05-04 02:01:27 +00:00
libraryupgrader c93bb532bd build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: Id38bc122f81ac38a640519c8acedb8634a4610bf
2021-04-16 06:18:57 +00:00
Nardog 86e79cdaf3 Improve accuracy of the search/replace toggle
Now toggleSearchReplace() actually looks at the visibility of the search
box, instead of keeping a boolean, to decide whether to show or hide the
box, in case it was opened by Ctrl-F or closed by Esc or clicking X. So
the button itself is no longer a toggle, but a simple action button. In
addition, it now uses Ace's native replace command instead of
reinventing the wheel. Ace no longer hijacks Ctrl-R and with this Ctrl-H
now works.

Bug: T102486
Change-Id: I6bead1b3209e08a46e31ed3f30c61ca52152b688
2021-03-25 20:11:52 +00:00
jenkins-bot fbce328d69 Merge "Move images folder into modules folder" 2021-03-21 22:23:58 +00:00
Translation updater bot 1a5478c82d Localisation updates from https://translatewiki.net.
Change-Id: Icac48d2d93629bb75abb65e74358a0a04059f54a
2021-03-15 08:40:04 +01:00
libraryupgrader dc2269cc6f build: Updating eslint-config-wikimedia to 0.19.0
Additional changes:
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).

Change-Id: I7ed4641f8b4b97b6f29c0bfbf4c2d553296551ae
2021-03-13 07:11:39 +00:00
Umherirrender b2aeedd34a Move images folder into modules folder
All resources needed by client should in one folder

Change-Id: Ib9f6ea7bb59f2b5b8115c381290032170d482a98
2021-03-12 20:09:55 +01:00
libraryupgrader 583480e698 build: Updating eslint-config-wikimedia to 0.18.2
Change-Id: Ia6a760e3570867a380a833b52d0e41931f03b334
2021-03-06 09:23:38 +00:00