Commit graph

71 commits

Author SHA1 Message Date
H. C. Kruse b249ebd801 feat(Var): Add fallback support for var()
e.g. `color: var( --color-base, #fff )`
2023-08-04 10:32:30 +02:00
H. C. Kruse d7e525b7af feat: Implement margin|padding-inline|block
In reference to https://www.mediawiki.org/wiki/Topic:Xm7z9eroimlh75co
2023-07-20 10:00:43 +02:00
H. C. Kruse 8053190f60 Merge tag 'v1.1.8' into develop
dist: Release v1.1.8
2023-07-19 08:41:35 +02:00
H. C. Kruse 8190c6ebfe dist: Release TemplateStylesExtender v1.1.8
This release adds support for `var` in border shorthand
2023-07-19 08:40:35 +02:00
H. C. Kruse 7654f1ecbe dist: Bump version 2023-07-19 08:40:30 +02:00
H. C. Kruse 22c9cec118
feat: Support var in border shorthand
fixes #4
2023-06-26 10:36:15 +02:00
H. C. Kruse 2173bdaa47
Merge tag 'v1.1.7' into develop
dist: Release v1.1.7
2023-04-06 20:53:26 +02:00
H. C. Kruse cf91e071a0
Merge branch 'release/v1.1.7' 2023-04-06 20:53:15 +02:00
H. C. Kruse b6d8c73892
dist: Bump version 2023-04-06 20:53:06 +02:00
H. C. Kruse 1a71b2c664
feat: Allow to specify a custom permission for css unscoping 2023-04-06 20:52:07 +02:00
H. C. Kruse 75eda85afa
Merge tag 'v1.1.6' into develop
dist: Merge develop v1.1.6
2023-02-11 12:28:08 +01:00
H. C. Kruse 805faaedc4
Merge branch 'release/v1.1.6' 2023-02-11 12:27:57 +01:00
H. C. Kruse e1cafb7bad
dist: Merge develop changes 2023-02-11 12:27:44 +01:00
H. C. Kruse 6b09dd312b
Merge tag 'v1.1.5' into develop
dist: Release v1.1.5

Fix handling of editinterface permission
Permissions are now checked during page save instead on pagedisplay
2023-02-11 11:46:57 +01:00
H. C. Kruse 8764d9f538
Merge branch 'hotfix/v1.1.5' 2023-02-11 11:46:27 +01:00
H. C. Kruse e122be3883
bug: Correctly handle editinterface permissions 2023-02-11 11:46:19 +01:00
H. C. Kruse 04e204f0c1
bug: Fix checking permissions during tag handling 2023-02-11 11:45:35 +01:00
H. C. Kruse f39205d140
Merge tag 'v1.1.4' into develop
dist: Release v1.1.4

This release fixes a bug where the `editinterface` permission was not
checked correctly
2023-02-11 08:32:51 +01:00
H. C. Kruse dd81ae9da7
Merge branch 'hotfix/v1.1.4' 2023-02-11 08:32:13 +01:00
H. C. Kruse ce31917593
bug: Fix checking of editinterface permission 2023-02-11 08:32:01 +01:00
H. C. Kruse d39eddbab9
Merge tag 'v1.1.3' into develop
dist: Release v1.1.3

This release adds an option that allows to unscope the css by setting a
`wrapclass` attribute on the `templatestyles` tag.

Only users with `editinterface` rights can use this attribute. This
option is disabled per default.
2023-02-10 11:19:04 +01:00
H. C. Kruse ec626cf1f6
Merge branch 'release/v1.1.3' 2023-02-10 11:18:07 +01:00
H. C. Kruse d73fb844bc
dist: Release v1.1.3 2023-02-10 11:17:56 +01:00
H. C. Kruse 70a0a139d8
feat: Add option for unscoping the css 2023-02-10 11:15:07 +01:00
H. C. Kruse 3bc0ca4d97
Merge tag 'v1.1.2' into develop
dist: Release v1.1.2

This release changes the composer namespace
2023-01-29 17:07:38 +01:00
H. C. Kruse 46caba3e1b
Merge branch 'release/v1.1.2' 2023-01-29 17:07:21 +01:00
H. C. Kruse e1d65c7593
dist: Bump version 2023-01-29 17:07:09 +01:00
Hannes dcc4fd7b9f
refactor: Remove 1.39 check 2023-01-23 14:03:27 +01:00
Hannes e6cb46f4a6
Merge tag 'v1.1.1' into develop
dist: Release v1.1.1

THIS RELEASE BUMPS THE REQUIRED MW VERSION TO 1.39
2023-01-14 21:23:36 +01:00
Hannes 51a4c81b04
Merge branch 'release/v1.1.1' 2023-01-14 21:23:16 +01:00
Hannes 3aaad533c6
dist: Release v1.1.1
THIS REQUIRES MW1.39!

This is mainly a bugfix release for MW 1.39
2023-01-14 21:23:07 +01:00
H. C. Kruse ff7ae0ef3d
Merge pull request #9 from Universal-Omega/patch-1
Fix support for MediaWiki 1.39+ / css-sanitizer 4.0.0+
2022-11-03 19:01:30 +00:00
CosmicAlpha 1c5862b601
Fix support for MediaWiki 1.39+ / css-sanitizer 4.0.0+
In css-sanitizer 4.0.0, `MatcherFactory::cssSingleTimingFunction()` was renamed to `cssSingleEasingFunction()`. Therefore, since TemplateStyles on MediaWiki 1.39 uses css-sanitizer 4.0.0, it causes a fatal.
2022-11-03 11:13:38 -06:00
Hannes bc9af680cf
Merge branch 'master' into develop 2022-09-30 15:40:37 +02:00
Hannes c3a5cb4469
Merge branch 'master' of github.com:octfx/mediawiki-extensions-TemplateStylesExtender 2022-09-30 15:40:30 +02:00
Hannes acb8794ee1
Merge tag 'v1.1.0' into develop
dist: Release v1.1.0

This release implements:
- revert and revert layer
- clamp (only for (min/max-)height/width
- mask-image
- aspect-ratio
2022-09-30 15:39:57 +02:00
Hannes b91a311f2f
Merge branch 'release/v1.1.0' 2022-09-30 15:37:45 +02:00
Hannes b0ee7ae4eb
dist: Release v1.1.0 2022-09-30 15:37:22 +02:00
Hannes ff9dd2ede6
feat: Add support for aspect-ratio
NOTE: using `--var` as a substitute for a number is currently NOT supported.

Implements #8
2022-09-30 15:36:11 +02:00
Hannes 477ce7aa99
refactor: Use new TemplateStyles namespace 2022-05-28 18:02:27 +02:00
Hannes 22e68465c7
feat: Partly implement clamp()
Fixes #5

Note: This only covers `(min/max-)height`, `(min/max-)width`
2022-05-08 22:48:05 +02:00
Hannes 0a0dd88e6e
feat: Add webkit mask image prefix
`mask-image` is already implemented, fixes #3
2022-05-08 22:05:32 +02:00
Hannes 15b23983d6
feat: Add revert and revert-layer keywords
Implements #6
2022-05-08 21:39:27 +02:00
Hannes 7d69cb378c
Merge tag 'v1.0.2' into develop
dist: Release v1.0.2

Bugfixes CSS wide keywords like 'inherit'
2021-09-06 17:31:21 +02:00
Hannes aaf3b3a08b
Merge branch 'release/v1.0.2' 2021-09-06 17:31:04 +02:00
Hannes 1f05b67361
dist: Release v1.0.2 2021-09-06 17:30:57 +02:00
Hannes dcc5228bd9
bug: Fix css wide keywords 2021-09-06 17:29:57 +02:00
Hannes 192ab98753
Merge tag 'v1.0.1' into develop
Release v1.0.1

This is a bugfix release, fixing css var declarations
2021-07-19 19:38:44 +02:00
Hannes aefe659761
Merge branch 'release/v1.0.1' 2021-07-19 19:38:24 +02:00
Hannes fcbffe51d6
dist: Release v1.0.1 2021-07-19 19:38:14 +02:00