Commit graph

25 commits

Author SHA1 Message Date
H. C. Kruse 202add59e6
refactor: Change checking of unscoping permissions
Instead of checking the page content for a raw `wrapclass` string, look up the current revision's user and check if that user has the permission to enable un-scoping.

This _is_ expensive as each time the tag is handled, a lookup will occur.

In reference to #18
2024-03-31 20:31:55 +02:00
H. C. Kruse 473f840d82 dist: Bump version to 1.2.0 2023-12-14 14:48:49 +01:00
H. C. Kruse b66e7c2886 refactor: Raise required php version to >=8.0 2023-08-15 12:49:04 +02:00
H. C. Kruse 81813bca52 refactor: Use DI in hooks 2023-08-11 09:39:00 +02:00
H. C. Kruse 7654f1ecbe dist: Bump version 2023-07-19 08:40:30 +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 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 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 ce31917593
bug: Fix checking of editinterface permission 2023-02-11 08:32:01 +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 e1d65c7593
dist: Bump version 2023-01-29 17:07:09 +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
Hannes b0ee7ae4eb
dist: Release v1.1.0 2022-09-30 15:37:22 +02:00
Hannes 1f05b67361
dist: Release v1.0.2 2021-09-06 17:30:57 +02:00
Hannes fcbffe51d6
dist: Release v1.0.1 2021-07-19 19:38:14 +02:00
Hannes fc9c739912
dist: Release v1.0.0 2021-07-19 14:09:25 +02:00
Hannes e286af5b2d
feat: Allow to disable the var matcher 2021-05-21 21:51:31 +02:00
Hannes 84035c3c25
config: Raise required php version to >=7.3.1 2021-03-26 09:29:17 +01:00
Hannes c1361dcfba
config: Change type to parserhook
So that it is displayed below TS
2021-03-23 20:16:00 +01:00
Hannes 1e7439f246
feat: Add prefers-color-scheme rule 2021-03-19 22:48:47 +01:00
Hannes 9d3db523eb
initial commit 2021-03-19 21:00:11 +01:00