diff --git a/CHANGELOG.md b/CHANGELOG.md index 826014e..8a69e19 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,21 +1,34 @@ -1.5.2 - 2023.06.21 -- require dotclear 2.26 -- require PHP 8.1+ -- fix unset template path +templator 1.6 - 2023.08.15 +=========================================================== +* Require Dotclear 2.27 +* Require PHP 8.1 +* Upgrade to Dotclear 2.27 stable +* Move third party repository +* Use Dotclear style for CHANGELOG -1.5.1 - 2023.05.13 -- require dotclear 2.26 -- require PHP 8.1+ -- use define php_min +templator 1.5.2 - 2023.06.21 +=========================================================== +* require dotclear 2.26 +* require PHP 8.1+ +* fix unset template path -1.5 - 2023.05.09 -- require dotclear 2.26 -- require PHP 8.1+ -- use namespace +templator 1.5.1 - 2023.05.13 +=========================================================== +* require dotclear 2.26 +* require PHP 8.1+ +* use define php_min -1.4 -- Update to dotclear 2.24 -- Refresh backend +templator 1.5 - 2023.05.09 +=========================================================== +* require dotclear 2.26 +* require PHP 8.1+ +* use namespace -1.3.3 -- First commit from templator 1.3.3 \ No newline at end of file +templator 1.4 +=========================================================== +* Update to dotclear 2.24 +* Refresh backend + +templator 1.3.3 +=========================================================== +* First commit from templator 1.3.3 diff --git a/README.md b/README.md index a66524f..e83a7be 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,10 @@ # README -[![Release](https://img.shields.io/github/v/release/JcDenis/templator)](https://github.com/JcDenis/templator/releases) -[![Date](https://img.shields.io/github/release-date/JcDenis/templator)](https://github.com/JcDenis/templator/releases) -[![Issues](https://img.shields.io/github/issues/JcDenis/templator)](https://github.com/JcDenis/templator/issues) -[![Dotclear](https://img.shields.io/badge/dotclear-v2.26-blue.svg)](https://fr.dotclear.org/download) -[![Dotaddict](https://img.shields.io/badge/dotaddict-official-green.svg)](https://plugins.dotaddict.org/dc2/details/templator) -[![License](https://img.shields.io/github/license/JcDenis/templator)](https://github.com/JcDenis/templator/blob/master/LICENSE) +[![Release](https://img.shields.io/badge/release-1.6-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/templator/releases) +[![Date](https://img.shields.io/badge/date-2023.08.15-c44d58.svg)](https://git.dotclear.watch/JcDenis/templator/releases) +[![Dotclear](https://img.shields.io/badge/dotclear-v2.27-137bbb.svg)](https://fr.dotclear.org/download) +[![Dotaddict](https://img.shields.io/badge/dotaddict-official-9ac123.svg)](https://plugins.dotaddict.org/dc2/details/templator) +[![License](https://img.shields.io/github/license/JcDenis/templator)](https://git.dotclear.watch/JcDenis/templator/blob/master/LICENSE) ## WHAT IS TEMPLATOR ? @@ -18,12 +17,12 @@ You can attribute a template to a post or a category. ## REQUIREMENTS - _templator_ requires: +_templator_ requires: - * conten admin or templator - * Dotclear 2.26 - * PHP 8.1+ - * A writable directory on public path to store tempaltes +* content admin or templator +* Dotclear 2.27 +* PHP 8.1+ +* A writable directory on public path to store tempaltes ## USAGE @@ -35,14 +34,14 @@ You can manage your additional templates from menu ## LINKS - * License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html) - * Source & contribution : [GitHub Page](https://github.com/JcDenis/templator) - * Packages & details: [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/templator) - * Discuss and help : [Dotclear Forum](http://forum.dotclear.net/viewtopic.php?id=42059) +* License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html) +* Source & contribution : [Gitea Page](https://git.dotclear.watch/JcDenis/templator) or [GitHub Page](https://github.com/JcDenis/templator) +* Packages & details: [Gitea Page](https://git.dotclear.watch/JcDenis/templator/releases) or [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/templator) +* Discuss and help : [Dotclear Forum](http://forum.dotclear.net/viewtopic.php?id=42059) ## CONTRIBUTORS - * Osku (author) - * Jean-Christian Denis +* Osku (author) +* Jean-Christian Denis - You are welcome to contribute to this code. \ No newline at end of file +You are welcome to contribute to this code. diff --git a/_define.php b/_define.php index 32d7172..d402849 100644 --- a/_define.php +++ b/_define.php @@ -18,19 +18,19 @@ $this->registerModule( 'Templates engine', 'Create and select more templates for your posts', 'Osku and contributors', - '1.5.2', + '1.6', [ 'requires' => [ ['php', '8.1'], - ['core', '2.26'], + ['core', '2.27'], ], 'permissions' => dcCore::app()->auth->makePermissions([ dcCore::app()->auth::PERMISSION_CONTENT_ADMIN, initTemplator::PERMISSION_TEMPLATOR, ]), 'type' => 'plugin', - 'support' => 'https://github.com/JcDenis/templator', - 'details' => 'https://plugins.dotaddict.org/dc2/details/templator', - 'repository' => 'https://raw.githubusercontent.com/JcDenis/templator/master/dcstore.xml', + 'support' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/issues', + 'details' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/src/branch/master/README.md', + 'repository' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/raw/branch/master/dcstore.xml', ] ); diff --git a/dcstore.xml b/dcstore.xml index a027426..4aa11bf 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,12 +2,12 @@ Templates engine - 1.5.2 + 1.6 Osku and contributors Create and select more templates for your posts - https://github.com/JcDenis/templator/releases/download/v1.5.2/plugin-templator.zip - 2.26 - https://plugins.dotaddict.org/dc2/details/templator - https://github.com/JcDenis/templator + https://git.dotclear.watch/JcDenis/templator/releases/download/v1.6/plugin-templator.zip + 2.27 + https://git.dotclear.watch/JcDenis/templator/src/branch/master/README.md + https://git.dotclear.watch/JcDenis/templator/issues