Commit graph

30 commits

Author SHA1 Message Date
libraryupgrader d58af6cc28 build: Updating grunt-banana-checker to 0.11.0
Change-Id: Icedf258359393ec08d7e06763ffabe298659f034
2023-06-02 15:15:39 +00:00
libraryupgrader 46d8ef9af7 build: Updating eslint-config-wikimedia to 0.25.0
Change-Id: I0a9d16c326f79dd223722614b3535bce55ad54ba
2023-05-04 13:11:46 +00:00
libraryupgrader 73c552b820 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.12.0 → 0.12.1

npm:
* grunt-eslint: 24.0.0 → 24.0.1

Change-Id: Iafa646f2db2c379ebe3ce839dd8f3f66cf9691b6
2023-04-29 12:28:26 +00:00
libraryupgrader 262b1cf19d build: Updating npm dependencies
* eslint-config-wikimedia: 0.22.1 → 0.24.0
* grunt: 1.5.3 → 1.6.1

Change-Id: I51c18cf2ec27bfa643283975376ecd9ea351ee7c
2023-03-15 23:51:22 +00:00
libraryupgrader f31f04ba0d build: Updating grunt-banana-checker to 0.10.0
Change-Id: I7dd9ced098c3cfc25aafaa283e199f8afdf05281
2022-10-07 23:07:36 -04:00
libraryupgrader 7714fe2a62 build: Updating grunt to 1.5.3
Change-Id: I424f0009670875ed13bd17fa5b6825a670261cf6
2022-05-27 02:00:50 +00:00
libraryupgrader 3c2a967d65 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0
* mediawiki/mediawiki-phan-config: 0.11.0 → 0.11.1
* 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:
* eslint-config-wikimedia: 0.20.0 → 0.22.1
* grunt: 1.4.0 → 1.5.2
* grunt-eslint: 23.0.0 → 24.0.0
* async: 3.2.0 → 3.2.3
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25

Additional changes:
* Set `name` in package.json.

Change-Id: Ibf55736c404151cae62dd890cb49f57e0281d773
2022-05-22 01:19:07 +00:00
libraryupgrader 023998a9ff build: Updating npm dependencies
* grunt: 1.3.0 → 1.4.0
* lodash: 4.17.19 → 4.17.21
  * https://npmjs.com/advisories/1673 (CVE-2021-23337)

Change-Id: I93988ea93c609e6a861f364d0edfdc1f18f6c1a2
2021-05-14 05:06:58 +00:00
libraryupgrader 5e42985fc5 build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: Ia58f7b4bb5934f83ec7666ad1b649ca20511add8
2021-04-14 08:39:21 +00:00
libraryupgrader 8183db4d4e build: Updating eslint-config-wikimedia to 0.19.0
Change-Id: If10060ec8a4c17bec8296bf20367956067819c0e
2021-03-14 17:48:55 +00:00
libraryupgrader fb1a1d70c5 build: Updating eslint-config-wikimedia to 0.18.2
Change-Id: I7947cb9901dba928752047650e083682187a2205
2021-03-08 03:06:02 +00:00
libraryupgrader bc8cc1253a build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0
* mediawiki/minus-x: 1.1.0 → 1.1.1

npm:
* eslint-config-wikimedia: 0.17.0 → 0.18.1

Additional changes:
* Added the "composer phan" command to conveniently run phan.

Change-Id: I8602db6c3312c0ecfd647bf80808ece7121c417b
2021-01-30 14:54:04 +00:00
Umherirrender f67fbc1394 build: Use existing eslint also for json linting
Bug: T220036
Change-Id: I7e9c43ea56366785b8cb94c9c6863b87841a6135
2020-09-11 23:49:03 +02:00
libraryupgrader 8bff1e5bba build: Updating npm dependencies
* eslint-config-wikimedia: 0.16.2 → 0.17.0
* grunt: 1.2.1 → 1.3.0

Change-Id: I203a380057f62c181a40cfe86372595d151d70f8
2020-09-04 23:25:13 +00:00
libraryupgrader c434758822 build: Updating grunt to 1.2.1
Change-Id: I74d2a2da678d817223929649f75288bb85f8af76
2020-07-19 02:04:48 +00:00
libraryupgrader f5fb5c3579 build: Updating npm dependencies
* eslint-config-wikimedia: 0.15.3 → 0.16.2
* grunt-eslint: 22.0.0 → 23.0.0

Change-Id: I1025318076083519745263b796c44474b6c336ca
2020-07-17 05:24:58 +00:00
libraryupgrader de19f61cad build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0

npm:
* eslint-config-wikimedia: 0.15.0 → 0.15.3

Change-Id: If18d71390a1efdf7a91d98ba2f81c4450dab1b75
2020-04-22 20:28:37 +00:00
libraryupgrader d1dae631d6 build: Updating grunt-banana-checker to 0.9.0
Change-Id: I85882214dc9ad8d89d3f7da5bcf2298bab36fe91
2020-04-19 20:27:57 +00:00
libraryupgrader a5e13eee75 build: Updating minimist to 1.2.5
* https://npmjs.com/advisories/1179

Change-Id: I4a3efd1082e884a4ab8d17eb4f4e0181690c62a9
2020-03-19 13:28:45 +00:00
libraryupgrader 7393155fdb build: Updating npm dependencies
* eslint-config-wikimedia: 0.11.0 → 0.15.0
* grunt-eslint: 21.0.0 → 22.0.0

Additional changes:
* Removing manual reportUnusedDisableDirectives for eslint.

Change-Id: I90b2d015c99cad35ad8face7f8f0baeec04525af
2020-01-08 16:25:38 +00:00
libraryupgrader 14ae8c2280 build: Updating grunt-banana-checker to 0.8.1
Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: Ib2fee54da5833b3acb227d549b5e00c45e22ac28
2019-12-15 02:13:27 +00:00
libraryupgrader 5e6a0b5c30 build: Updating npm dependencies for security issues
* Updated grunt to 1.0.4, addressing:
  * https://npmjs.com/advisories/788
  * https://npmjs.com/advisories/813

Committed package-lock.json (T179229) too.

Change-Id: I2a0b9a5d68a08b20057bac70465a2f99ead85b78
2019-06-09 00:53:50 +00:00
James D. Forrester 73d502fa68 build: Update eslint-config-wikimedia from 0.8.1 to 0.11.0
Change-Id: Iaf6ec8659228b430aafcc0953f035d29b64f1eaf
2019-04-12 21:58:46 +00:00
Ed Sanders e2be4d8771 build: Update devDependencies
eslint-config-wikimedia   0.5.0  →   0.8.1
 grunt-eslint             20.0.0  →  21.0.0

Change-Id: If0c71e22aaeb9db6c1fc4cbfb19934ab829febee
2018-11-03 12:37:28 +00:00
libraryupgrader 0d2290c08e build: Updating npm dependencies for security issues
* Updated grunt to 1.0.3, addressing:
  * https://npmjs.com/advisories/577
  * CVE-2018-3721

Change-Id: If63afb1c665d0e1876fdd18af0c42598d3092bbd
2018-10-11 11:16:08 +00:00
Ed Sanders 92291a8778 build: Update eslint
Change-Id: I690ef5856e2dbbd86522c01aea94e74a8b69a7e6
2017-10-03 16:14:25 +01:00
Brad Jorsch b301a30abf Use wikimedia/css-sanitizer, and rewrite the hooking
wikimedia/css-sanitizer provides a real CSS parser, which should be
safer than poking at things with regular expressions.

Instead of the strange hybrid model that tried to both process inline
CSS and save CSS when the template is saved, it now looks for
<templatestyles src="Title" /> during the parse to do all the
transclusion of styles.

The output method is "<style> tags in the body", pending someone
implementing T160563.

It now also registers a "sanitized-css" content model, which should pick
up the CSS syntax highlighting and will validate the submitted CSS on
submit and prevent a save if it's not valid.

This patch also takes advantage of LGPL-2.x § 3 to relicense the
extension as GPL-2.0+, although at this point none of the LGPL code
remains anyway.

Bug: T133408
Bug: T136054
Bug: T135788
Bug: T135789
Change-Id: I993e6f18d32a43aac8398743133d227b05133bbd
Depends-On: If4eb5bf71f94fa366ec4eddb6964e8f4df6b824a
2017-06-07 15:14:09 +00:00
James D. Forrester 7ba77fd48f build: Replace jshint and jscs with eslint; bump other devDeps
grunt                  0.4.5  →  1.0.1
 grunt-banana-checker   0.5.0  →  0.6.0
 grunt-jsonlint         1.0.7  →  1.1.0

Change-Id: Ic59fd7fa96d7f18fd65141c1b4fd4f6baccc6d80
2017-05-25 17:31:35 +02:00
Umherirrender 95deb18b3f Use tabs to indent in json
Change-Id: Ifba40f1902bee0ce50fdb1296b5603a5117aa8cf
2017-03-23 19:31:51 +01:00
Coren 31743445bd TemplateStyles extension prototype
This extension adds a <templatestyles> tag that, when placed
on a template, allows specifying CSS for pages where that
template is transcluded.

Unlike inline styles, the per-template CSS supports rules
with proper selectors, and @media blocks.

THIS VERSION DOES NOT CURRENTLY FILTER DECLARATIONS and is
therefore unsuitable for wikis where unprivileged users should
not be allowed to influcence the pagewide CSS in unrestricted
ways!

Bug: T483
Change-Id: Ibc1cae3079d164f7ac7bcc7c4ded3f02bb048614
2016-04-08 11:08:59 -04:00