mirror of
https://github.com/typemill/typemill.git
synced 2025-08-02 04:10:24 +02:00
php 8.4 fixes and layout fix for kixote ai
This commit is contained in:
2
cache/timer.yaml
vendored
2
cache/timer.yaml
vendored
@@ -1 +1 @@
|
||||
licenseupdate: 1751307798
|
||||
licenseupdate: 1751485384
|
||||
|
25
composer.lock
generated
25
composer.lock
generated
@@ -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"
|
||||
}
|
||||
|
@@ -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);
|
||||
|
@@ -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
|
||||
|
@@ -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;
|
||||
|
@@ -171,7 +171,7 @@ const kixote = Vue.createApp({
|
||||
<Transition name="initial" appear>
|
||||
<div v-if="showKixote" class="fixed top-0 left-0 right-0 bottom-0 bg-stone-100 text-stone-900 z-50 dark:bg-stone-900 dark:text-stone-50">
|
||||
<button @click="stopKixote" class="w-full bg-stone-200 hover:bg-rose-500 hover:text-white dark:bg-stone-700 dark:hover:bg-rose-500 p-2 transition duration-100">Close</button>
|
||||
<div class="max-w-7xl mx-auto p-8 overflow-auto h-full">
|
||||
<div class="max-w-7xl mx-auto p-8 h-full">
|
||||
<div class="flex h-full">
|
||||
<div class="w-1/4">
|
||||
<div class="p-5">
|
||||
@@ -201,7 +201,7 @@ const kixote = Vue.createApp({
|
||||
<div v-else><p>No AI service has been activated.</p><p>You can enable and configure one in the system settings to start using AI features.</p></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="w-3/4 overflow-y-auto h-full scroll-smooth" ref="kdisplay">
|
||||
<div class="w-3/4 overflow-auto h-full" ref="kdisplay">
|
||||
<div class="p-5">
|
||||
<keep-alive>
|
||||
<component
|
||||
@@ -507,7 +507,7 @@ kixote.component('tab-admin', {
|
||||
params: false,
|
||||
}
|
||||
},
|
||||
template: `<section class="dark:bg-stone-700 dark:text-stone-200 bg-stone-200">
|
||||
template: `<section class="dark:bg-stone-700 smooth-scroll dark:text-stone-200 bg-stone-200">
|
||||
<div class="p-5">
|
||||
<h1 class="mb-d3">Hello, I am <span class="text-teal-600">Kixote</span> from Typemill. How can I help?</h1>
|
||||
</div>
|
||||
@@ -906,7 +906,6 @@ kixote.component('tab-generate', {
|
||||
@mouseup = "detectSelection($event)"
|
||||
@keyup = "detectSelection($event)"
|
||||
>
|
||||
{{ article }}
|
||||
</textarea>
|
||||
|
||||
<!-- FOCUS BUTTON -->
|
||||
|
Reference in New Issue
Block a user