feat(SeacmsAuth): use it
This commit is contained in:
parent
1258377ed8
commit
224948e577
@ -31,7 +31,8 @@
|
||||
"require": {
|
||||
"php": "^8.0",
|
||||
"pixel418/markdownify": "^2.3",
|
||||
"seacms/seacms-api": "dev-master"
|
||||
"seacms/seacms-api": "dev-master",
|
||||
"seacms/seacms-auth": "dev-master"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": { "PicoContentEditor\\": "src/" },
|
||||
@ -49,6 +50,10 @@
|
||||
{
|
||||
"type": "vcs",
|
||||
"url": "https://git.defis.info/SeaCMS/seacms-api"
|
||||
},
|
||||
{
|
||||
"type": "vcs",
|
||||
"url": "https://git.defis.info/SeaCMS/seacms-auth"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
58
composer.lock
generated
58
composer.lock
generated
@ -4,7 +4,7 @@
|
||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "82c53a6abfa77e0e4ebc19be1ab74bf2",
|
||||
"content-hash": "95bb0922037b6b12ad0ddb34f25857b3",
|
||||
"packages": [
|
||||
{
|
||||
"name": "pixel418/markdownify",
|
||||
@ -69,7 +69,7 @@
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://git.defis.info/SeaCMS/seacms-api",
|
||||
"reference": "53ec5ea39c229332ca841c3e786dfbe3c9ffce61"
|
||||
"reference": "f5b81d351454f2b7fe4c09d462f7802241ca94d1"
|
||||
},
|
||||
"require": {
|
||||
"php": "^8.0"
|
||||
@ -77,8 +77,11 @@
|
||||
"default-branch": true,
|
||||
"type": "pico-plugin",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"SeaCMS\\Api\\": "src"
|
||||
},
|
||||
"classmap": [
|
||||
"PicoAPI.php"
|
||||
"SeacmsApi.php"
|
||||
]
|
||||
},
|
||||
"license": [
|
||||
@ -104,14 +107,59 @@
|
||||
"issues": "https://git.defis.info/SeaCMS/seacms-api/issues",
|
||||
"source": "https://git.defis.info/SeaCMS/seacms-api"
|
||||
},
|
||||
"time": "2023-02-24T21:39:15+00:00"
|
||||
"time": "2023-03-02T17:19:44+00:00"
|
||||
},
|
||||
{
|
||||
"name": "seacms/seacms-auth",
|
||||
"version": "dev-master",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://git.defis.info/SeaCMS/seacms-auth",
|
||||
"reference": "245487ad7ffab6643360f0f87a72ca3710c4a7e8"
|
||||
},
|
||||
"require": {
|
||||
"php": "^8.0",
|
||||
"seacms/seacms-api": "dev-master"
|
||||
},
|
||||
"default-branch": true,
|
||||
"type": "pico-plugin",
|
||||
"autoload": {
|
||||
"classmap": [
|
||||
"SeacmsAuth.php"
|
||||
]
|
||||
},
|
||||
"license": [
|
||||
"EUPL-1.2"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Jérémy Dufraisse",
|
||||
"homepage": "https://github.com/J9rem",
|
||||
"role": "SeaCMS developer"
|
||||
}
|
||||
],
|
||||
"description": "API route for SeaCMS",
|
||||
"homepage": "https://git.defis.info/SeaCMS/seacms-auth",
|
||||
"keywords": [
|
||||
"auth",
|
||||
"pico",
|
||||
"picocms",
|
||||
"picocms-plugin"
|
||||
],
|
||||
"support": {
|
||||
"docs": "https://git.defis.info/SeaCMS/seacms-auth/src/branch/master/README.md",
|
||||
"issues": "https://git.defis.info/SeaCMS/seacms-auth/issues",
|
||||
"source": "https://git.defis.info/SeaCMS/seacms-auth"
|
||||
},
|
||||
"time": "2023-02-28T00:59:38+00:00"
|
||||
}
|
||||
],
|
||||
"packages-dev": [],
|
||||
"aliases": [],
|
||||
"minimum-stability": "stable",
|
||||
"stability-flags": {
|
||||
"seacms/seacms-api": 20
|
||||
"seacms/seacms-api": 20,
|
||||
"seacms/seacms-auth": 20
|
||||
},
|
||||
"prefer-stable": false,
|
||||
"prefer-lowest": false,
|
||||
|
@ -1,5 +1,7 @@
|
||||
{# SPDX-License-Identifier: EUPL-1.2 #}
|
||||
{# Authors: see README.md #}
|
||||
|
||||
{{ include('@SeacmsAuth/head-scripts.twig') }}
|
||||
{% if canEdit %}
|
||||
<script src="{{ plugins_url }}/PicoContentEditor/js/vendor/noty/noty.min.js" type="text/javascript"></script>
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
{# SPDX-License-Identifier: EUPL-1.2 #}
|
||||
{# Authors: see README.md #}
|
||||
{{ include('@SeacmsAuth/head-styles.twig') }}
|
||||
{% if canEdit %}
|
||||
<link href="{{ plugins_url }}/PicoContentEditor/css/vendor/noty/noty.css" rel="stylesheet">
|
||||
<link href="{{ plugins_url }}/PicoContentEditor/css/vendor/noty/themes/mint.css" rel="stylesheet">
|
||||
|
Loading…
x
Reference in New Issue
Block a user