diff --git a/cache/timer.yaml b/cache/timer.yaml index 43efb0c..ce6bf35 100644 --- a/cache/timer.yaml +++ b/cache/timer.yaml @@ -1 +1 @@ -licenseupdate: 1751307798 +licenseupdate: 1751485384 diff --git a/composer.lock b/composer.lock index b1c9ed3..c7ca548 100644 --- a/composer.lock +++ b/composer.lock @@ -66,12 +66,12 @@ "source": { "type": "git", "url": "https://github.com/erusev/parsedown.git", - "reference": "c9dc49f68f7bd14e5aa107d86a08ce59203f02ee" + "reference": "5b74b74145aa14653d3285d793cf7fa817b3f7e7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/erusev/parsedown/zipball/c9dc49f68f7bd14e5aa107d86a08ce59203f02ee", - "reference": "c9dc49f68f7bd14e5aa107d86a08ce59203f02ee", + "url": "https://api.github.com/repos/erusev/parsedown/zipball/5b74b74145aa14653d3285d793cf7fa817b3f7e7", + "reference": "5b74b74145aa14653d3285d793cf7fa817b3f7e7", "shasum": "" }, "require": { @@ -109,7 +109,7 @@ "issues": "https://github.com/erusev/parsedown/issues", "source": "https://github.com/erusev/parsedown/tree/master" }, - "time": "2024-12-01T16:36:17+00:00" + "time": "2025-06-05T05:59:58+00:00" }, { "name": "erusev/parsedown-extra", @@ -229,22 +229,23 @@ "source": { "type": "git", "url": "https://github.com/Gregwar/Captcha.git", - "reference": "229d3cdfe33d6f1349e0aec94a26e9205a6db08e" + "reference": "9ff3588c7b83d6470763a11045c12a39d77c868e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Gregwar/Captcha/zipball/229d3cdfe33d6f1349e0aec94a26e9205a6db08e", - "reference": "229d3cdfe33d6f1349e0aec94a26e9205a6db08e", + "url": "https://api.github.com/repos/Gregwar/Captcha/zipball/9ff3588c7b83d6470763a11045c12a39d77c868e", + "reference": "9ff3588c7b83d6470763a11045c12a39d77c868e", "shasum": "" }, "require": { + "ext-fileinfo": "*", "ext-gd": "*", "ext-mbstring": "*", "php": ">=5.3.0", "symfony/finder": "*" }, "require-dev": { - "phpunit/phpunit": "^6.4" + "phpunit/phpunit": "^4.8.35 || ^5.7.21 || ^6.4 || ^7.0 || ^8.0 || ^9.0" }, "default-branch": true, "type": "library", @@ -277,9 +278,9 @@ ], "support": { "issues": "https://github.com/Gregwar/Captcha/issues", - "source": "https://github.com/Gregwar/Captcha/tree/v1.2.1" + "source": "https://github.com/Gregwar/Captcha/tree/master" }, - "time": "2023-09-26T13:45:37+00:00" + "time": "2025-06-30T21:15:17+00:00" }, { "name": "jbroadway/urlify", @@ -2355,9 +2356,9 @@ "platform": { "php": "^8.0" }, - "platform-dev": [], + "platform-dev": {}, "platform-overrides": { "php": "8.0.0" }, - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" } diff --git a/system/typemill/Extensions/ParsedownExtension.php b/system/typemill/Extensions/ParsedownExtension.php index 583c866..f3cf6ec 100644 --- a/system/typemill/Extensions/ParsedownExtension.php +++ b/system/typemill/Extensions/ParsedownExtension.php @@ -233,7 +233,7 @@ class ParsedownExtension extends \ParsedownExtra return $image; } - protected function blockTable($Line, array $Block = null) + protected function blockTable($Line, ?array $Block = null) { $Block = parent::blockTable($Line, $Block); diff --git a/system/typemill/Middleware/ApiAuthorization.php b/system/typemill/Middleware/ApiAuthorization.php index c21c940..61bb837 100644 --- a/system/typemill/Middleware/ApiAuthorization.php +++ b/system/typemill/Middleware/ApiAuthorization.php @@ -14,15 +14,15 @@ class ApiAuthorization implements MiddlewareInterface private $acl; - private $resource; + private ?string $resource; - private $action; - - public function __construct($acl, string $resource = NULL, string $action = NULL) + private ?string $action; + + public function __construct($acl, ?string $resource = null, ?string $action = null) { - $this->acl = $acl; - $this->resource = $resource; - $this->action = $action; + $this->acl = $acl; + $this->resource = $resource; + $this->action = $action; } public function process(Request $request, RequestHandler $handler) :Response diff --git a/system/typemill/Middleware/WebAuthorization.php b/system/typemill/Middleware/WebAuthorization.php index da44d89..a47350e 100644 --- a/system/typemill/Middleware/WebAuthorization.php +++ b/system/typemill/Middleware/WebAuthorization.php @@ -15,11 +15,11 @@ class WebAuthorization implements MiddlewareInterface private $acl; - private $resource; + private ?string $resource; - private $action; + private ?string $action; - public function __construct(RouteParser $router, $acl, string $resource = NULL, string $action = NULL) + public function __construct(RouteParser $router, $acl, ?string $resource = NULL, ?string $action = NULL) { $this->router = $router; $this->acl = $acl; diff --git a/system/typemill/author/js/vue-kixote.js b/system/typemill/author/js/vue-kixote.js index 79edf83..6275c5b 100644 --- a/system/typemill/author/js/vue-kixote.js +++ b/system/typemill/author/js/vue-kixote.js @@ -171,7 +171,7 @@ const kixote = Vue.createApp({
-
+
@@ -201,7 +201,7 @@ const kixote = Vue.createApp({

No AI service has been activated.

You can enable and configure one in the system settings to start using AI features.

-
+
+ template: `

Hello, I am Kixote from Typemill. How can I help?

@@ -906,7 +906,6 @@ kixote.component('tab-generate', { @mouseup = "detectSelection($event)" @keyup = "detectSelection($event)" > - {{ article }}