From cc1cf7334719548d9e98be1ac747313799f3b611 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Thu, 24 Aug 2023 13:56:50 +0200 Subject: [PATCH] release 2.0 --- CHANGELOG.md | 178 ++++++++++++++++++++++++++++++--------------------- README.md | 48 +++++++------- _define.php | 18 ++++-- dcstore.xml | 10 +-- 4 files changed, 144 insertions(+), 110 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d359d1..0446ab1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,91 +1,121 @@ -dev -- [ ] enhance public template +cinecturlink2 2.0 - 2023.08.24 +=========================================================== +* Require Dotclear 2.27 +* Require PHP 8.1+ +* Upgrade to Dotclear 2.27 +* Upgrade to PHP 8.1 +* Upgrade to PHP namespace +* Upgrade to SQL statement +* Upgrade to Form Helper +* Upgrade to forms Actions, Filters, Listing +* Rename settings +* Move settings to blog pref +* Move templates to tplset path (dotty,mustek) +* Move third party repository +* Use Dotclear style for CHANGELOG -1.1.1 -- use SVG icon -- use dotclear methods for widget -- fix permissions -- fix autoload -- fix tables names -- fix install +cinecturlink2 1.1.1 - 2022.12.20 +=========================================================== +* use SVG icon +* use dotclear methods for widget +* fix permissions +* fix autoload +* fix tables names +* fix install -1.1.0 - 2022.11.20 -- fix compatibility with Dotclear 2.24 (required) +cinecturlink2 1.1.0 - 2022.11.20 +=========================================================== +* fix compatibility with Dotclear 2.24 (required) -1.0.0 - 2021.11.06 -- fix javascript (and externalize them) -- fix modal -- fix page title -- fix permissions (dc2.20) -- fix various bugs and typo -- update translations (and remove .lang.php file) -- update readme (shields.io, links, ...) -- update public templates (using dotty and berlin) -- update ui (follow dc graphic design) -- add user pref on filters options (dc 2.20) +cinecturlink2 1.0.0 - 2021.11.06 +=========================================================== +* fix javascript (and externalize them) +* fix modal +* fix page title +* fix permissions (dc2.20) +* fix various bugs and typo +* update translations (and remove .lang.php file) +* update readme (shields.io, links, ...) +* update public templates (using dotty and berlin) +* update ui (follow dc graphic design) +* add user pref on filters options (dc 2.20) -0.9 - 2021.09.11 -- add user pref on table columns -- fix typo in admin menu +cinecturlink2 0.9 - 2021.09.11 +=========================================================== +* add user pref on table columns +* fix typo in admin menu -0.8 - 2021.09.09 -- fix compatibility Dotclear v2.19 -- fix compatibility php7.3+, php8.0 -- fix license -- fix translation -- fix code style (near PSR2) -- fix widget options -- add option to show how many links use a category -- rewrite admin page (filter, sortable, breadcrumb, etc...) +cinecturlink2 0.8 - 2021.09.09 +=========================================================== +* fix compatibility Dotclear v2.19 +* fix compatibility php7.3+, php8.0 +* fix license +* fix translation +* fix code style (near PSR2) +* fix widget options +* add option to show how many links use a category +* rewrite admin page (filter, sortable, breadcrumb, etc...) -0.7 - 2013.11.03 -- Switch to Dotclear 2.6 -- Add dashboard icon -- Clean up code +cinecturlink2 0.7 - 2013.11.03 +=========================================================== +* Switch to Dotclear 2.6 +* Add dashboard icon +* Clean up code -0.6.3 - 2010.11.12 -- Fixed install on nightly build +cinecturlink2 0.6.3 - 2010.11.12 +=========================================================== +* Fixed install on nightly build -0.6.2 - 2010.07.07 -- Fixed error on non-existing repository (tks Geraldine) +cinecturlink2 0.6.2 - 2010.07.07 +=========================================================== +* Fixed error on non-existing repository (tks Geraldine) -0.6.1 - 2010.06.11 -- Removed rateIt behaviors (included in rateIt > 2.0) +cinecturlink2 0.6.1 - 2010.06.11 +=========================================================== +* Removed rateIt behaviors (included in rateIt > 2.0) -0.6 - 2010.06.06 -- Switched to DC 2.2 -- Fixed minor bugs -- Changed admin interface +cinecturlink2 0.6 - 2010.06.06 +=========================================================== +* Switched to DC 2.2 +* Fixed minor bugs +* Changed admin interface -0.5.4 - 2010.03.06 -- Removed behavior when update only link_count +cinecturlink2 0.5.4 - 2010.03.06 +=========================================================== +* Removed behavior when update only link_count -0.5.3 - 2010.03.01 -- Fixed bug with null values -- Cleaned add and update functions +cinecturlink2 0.5.3 - 2010.03.01 +=========================================================== +* Fixed bug with null values +* Cleaned add and update functions -0.5.1 - 2010.01.27 -- Fixed PostgreSQL compatibility on table creation +cinecturlink2 0.5.1 - 2010.01.27 +=========================================================== +* Fixed PostgreSQL compatibility on table creation -0.5 - 2010.01.15 -- Added a public page with navigation and categories -- Added RSS/Atom feeds -- Added new sort option on widget -- Added support of plugin sitemap -- Added support of plugin rateIt (first step) -- Fixed author note on new link -- Fixed typo -- Prepared DC 2.2 Break +cinecturlink2 0.5 - 2010.01.15 +=========================================================== +* Added a public page with navigation and categories +* Added RSS/Atom feeds +* Added new sort option on widget +* Added support of plugin sitemap +* Added support of plugin rateIt (first step) +* Fixed author note on new link +* Fixed typo +* Prepared DC 2.2 Break -0.3 - 2009.10.26 -- Removed option "open in new window" -- Added option "enable link" on widget -- Added option "random order" on widget -- Added reports to plugin activityReport +cinecturlink2 0.3 - 2009.10.26 +=========================================================== +* Removed option "open in new window" +* Added option "enable link" on widget +* Added option "random order" on widget +* Added reports to plugin activityReport -0.2 - 2009.10.21 -- Fixed cat_id in admin -- Added trigger to update public side +cinecturlink2 0.2 - 2009.10.21 +=========================================================== +* Fixed cat_id in admin +* Added trigger to update public side -0.1 - 2009.10.19 -- First lab release \ No newline at end of file +cinecturlink2 0.1 - 2009.10.19 +=========================================================== +* First lab release diff --git a/README.md b/README.md index a720063..06b4b56 100644 --- a/README.md +++ b/README.md @@ -1,30 +1,27 @@ # README -[![Release](https://img.shields.io/github/v/release/JcDenis/cinecturlink2)](https://github.com/JcDenis/cinecturlink2/releases) -[![Date](https://img.shields.io/github/release-date/JcDenis/cinecturlink2)](https://github.com/JcDenis/cinecturlink2/releases) -[![Issues](https://img.shields.io/github/issues/JcDenis/cinecturlink2)](https://github.com/JcDenis/cinecturlink2/issues) -[![Dotclear](https://img.shields.io/badge/dotclear-v2.24-blue.svg)](https://fr.dotclear.org/download) -[![Dotaddict](https://img.shields.io/badge/dotaddict-official-green.svg)](https://plugins.dotaddict.org/dc2/details/cinecturlink2) -[![License](https://img.shields.io/github/license/JcDenis/cinecturlink2)](https://github.com/JcDenis/cinecturlink2/blob/master/LICENSE) +[![Release](https://img.shields.io/badge/release-2.0-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/cinecturlink2/releases) +![Date](https://img.shields.io/badge/date-2023.08.24-c44d58.svg)] +[![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/cinecturlink2) +[![License](https://img.shields.io/badge/license-GPL--2.0-ececec.svg)](https://git.dotclear.watch/JcDenis/cinecturlink2/src/branch/master/LICENSE) -## WHAT IS CINECTURLINK2 ? +## ABOUT -_cinecturlink2_ is a plugin for the open-source -web publishing software called Dotclear. +_cinecturlink2_ is a plugin for the open-source web publishing software called [Dotclear](https://www.dotclear.org). -It help you to share books, musics and more with your visitor. -It is hightly based on cinecturlink for Dotclear 1 -by Tigroux and maintain by brol. +> Widgets and pages about books, musics, films, blogs you are interested in + +It is hightly based on cinecturlink for Dotclear 1 by Tigroux and maintain by brol. ## REQUIREMENTS - _cinecturlink2_ requires: - - * admin perms for configuration - * contentadmin permissions for management - * Dotclear 2.24 - * A writable directory on public path to store picture - * Note: it also creates dedicated database tables +* Dotclear 2.27 +* PHP 8.1+ +* Dotclear admin permission for configuration +* Dotclear contentadmin permission for management +* System writable directory on public path to store picture +* Note: it also creates dedicated database tables ## USAGE @@ -44,13 +41,14 @@ to your theme tpl path and adapt them. ## LINKS - * License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html) - * Source & contribution : [GitHub Page](https://github.com/JcDenis/cinecturlink2) - * Packages & details: [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/cinecturlink2) - * Discuss and help : [Dotclear Forum](https://forum.dotclear.org/viewtopic.php?id=40893) +* [License](https://git.dotclear.watch/JcDenis/cinecturlink2/src/branch/master/LICENSE) +* [Packages & details](https://git.dotclear.watch/JcDenis/cinecturlink2/releases) (or on [Dotaddict](https://plugins.dotaddict.org/dc2/details/cinecturlink2)) +* [Sources & contributions](https://git.dotclear.watch/JcDenis/cinecturlink2) (or on [GitHub](https://github.com/JcDenis/cinecturlink2)) +* [Issues & security](https://git.dotclear.watch/JcDenis/cinecturlink2/issues) (or on [GitHub](https://github.com/JcDenis/cinecturlink2/issues)) +* [Discuss and help](https://forum.dotclear.org/viewtopic.php?id=40893) ## CONTRIBUTORS - * Jean-Christian Denis +* Jean-Christian Denis (author) - 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 3470fb8..3ce6a66 100644 --- a/_define.php +++ b/_define.php @@ -24,15 +24,21 @@ $this->registerModule( 'Cinecturlink 2', 'Widgets and pages about books, musics, films, blogs you are interested in', 'Jean-Christian Denis and Contributors', - '1.1.1', + '2.0', [ - 'requires' => [['core', '2.24']], + 'requires' => [ + ['php', '8.1'], + ['core', '2.27'], + ], + 'settings' => [ + 'blog' => '#params.' . basename(__DIR__) . '_params', + ], 'permissions' => dcCore::app()->auth->makePermissions([ dcAuth::PERMISSION_CONTENT_ADMIN, ]), - 'type' => 'plugin', - 'support' => 'https://github.com/JcDenis/' . basename(__DIR__), - 'details' => 'https://plugins.dotaddict.org/dc2/details/' . basename(__DIR__), - 'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml', + 'type' => 'plugin', + '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 33ca760..77e45b9 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,12 +2,12 @@ Cinecturlink 2 - 1.1.1 + 2.0 Jean-Christian Denis and Contributors Widgets and pages about books, musics, films, blogs you are interested in - https://github.com/JcDenis/cinecturlink2/releases/download/v1.1.1/plugin-cinecturlink2.zip - 2.24 - https://plugins.dotaddict.org/dc2/details/cinecturlink2 - https://github.com/JcDenis/cinecturlink2 + https://git.dotclear.watch/JcDenis/cinecturlink2/releases/download/v2.0/plugin-cinecturlink2.zip + 2.27 + https://git.dotclear.watch/JcDenis/cinecturlink2/src/branch/master/README.md + https://git.dotclear.watch/JcDenis/cinecturlink2/issues