diff --git a/CHANGELOG.md b/CHANGELOG.md index ee8046b..41eb843 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,131 +1,156 @@ -xxx.xx.xx -- [ ] Fix bit.ly multi domain for short links -- [ ] Add bit.ly custom domain -- [ ] Add public page of the list of know urls and in/visible status -- [ ] Add passworded links +kUtRL 2023.08.21 +=========================================================== +* Require Dotclear 2.27 +* Require PHP 8.1 +* Upgrade to Dotclear 2.27 stable +* Move to namespace +* Move third party repository +* Use Database SQL Statements +* Use Helper Forms +* Use Dotclear style for CHANGELOG -2022.12.22 -- use SVG icon -- use dc methods for widgets -- use constant for table name -- use abstract plugin id and settings namespace -- change settings id to shortest ones -- fix install -- fix permissions +kUtRL 2022.12.22 +=========================================================== +* use SVG icon +* use dc methods for widgets +* use constant for table name +* use abstract plugin id and settings namespace +* change settings id to shortest ones +* fix install +* fix permissions -2022.11.20 -- fix compatibility with Dotclear 2.24 (required) +kUtRL 2022.11.20 +=========================================================== +* fix compatibility with Dotclear 2.24 (required) -2021.11.06 -- never fix breaking comments or complexe public url (add warning) -- fix permissions (dc 2.20) -- fix js load -- fix various bugs, typo and ui enhancment -- add user pref on table cols -- add user pref on filters (dc 2.20) -- add constant to disable service on entire plateform -- re-add bit.ly (partially) -- move settings to plugin config page -- update translations (and remove .lang.php file) -- update to PSR12 +kUtRL 2021.11.06 +=========================================================== +* never fix breaking comments or complexe public url (add warning) +* fix permissions (dc 2.20) +* fix js load +* fix various bugs, typo and ui enhancment +* add user pref on table cols +* add user pref on filters (dc 2.20) +* add constant to disable service on entire plateform +* re-add bit.ly (partially) +* move settings to plugin config page +* update translations (and remove .lang.php file) +* update to PSR12 -2021.09.16 -- remove deprecated external service -- update php header to phpdoc style -- fix post page options display -- hack plugin permission to load plugin and shorten url on the fly +kUtRL 2021.09.16 +=========================================================== +* remove deprecated external service +* update php header to phpdoc style +* fix post page options display +* hack plugin permission to load plugin and shorten url on the fly -2021.08.28 - pre release -- add dashboard icon -- clean PSR-2 codding style and short array -- fix php 7.3+ and php 8.0.x compatibility -- fix compatibility with Dotclear 2.19 -- create readme file -- merge index file sub parts -- update admin pager for links list -- remove custom js -- fix widgets rendering -- fix public template now based on dotty -- fix translation +kUtRL 2021.08.28 - pre release +=========================================================== +* add dashboard icon +* clean PSR-2 codding style and short array +* fix php 7.3+ and php 8.0.x compatibility +* fix compatibility with Dotclear 2.19 +* create readme file +* merge index file sub parts +* update admin pager for links list +* remove custom js +* fix widgets rendering +* fix public template now based on dotty +* fix translation -2011.04.01 -- Changed version numbering -- Added service su.pr (stumbleUpon) -- Fixed wiki settings (thanks @ploum ) +kUtRL 2011.04.01 +=========================================================== +* Changed version numbering +* Added service su.pr (stumbleUpon) +* Fixed wiki settings (thanks @ploum ) -1.0 - 2011.02.13 -- Added generic class to easlily access services -- Changed generic service class (and class extend it) -- Fixed config of default service -- Fixed display of admin fake section -- Added checkbox helpers on admin +kUtRL 1.0 - 2011.02.13 +=========================================================== +* Added generic class to easlily access services +* Changed generic service class (and class extend it) +* Fixed config of default service +* Fixed display of admin fake section +* Added checkbox helpers on admin -0.6.1 - 2011.01.30 -- Cleaned up script +kUtRL 0.6.1 - 2011.01.30 +=========================================================== +* Cleaned up script -0.6 - 2011.01.18 -- Added default defined service (for all blogs of a multiblog) -- Added configurable external service -- Added goog.gl client service (first step) -- Added default settings for third part plugins -- Added behaviors after short link creation -- Added attribute to disable URL shortining on template tag with 'active mode' (fixed bug on URL of POST form) -- Remove all messenger functions: this is to another plugin to do that -- Remove priority in plugin definition +kUtRL 0.6 - 2011.01.18 +=========================================================== +* Added default defined service (for all blogs of a multiblog) +* Added configurable external service +* Added goog.gl client service (first step) +* Added default settings for third part plugins +* Added behaviors after short link creation +* Added attribute to disable URL shortining on template tag with 'active mode' (fixed bug on URL of POST form) +* Remove all messenger functions: this is to another plugin to do that +* Remove priority in plugin definition -0.5 - 2010.09.09 -- Removed old Twitter functions -- Added StatusNet small functions (Identica) -- Required plugin Tac for Twitter ability -- Added YOURLS client service +kUtRL 0.5 - 2010.09.09 +=========================================================== +* Removed old Twitter functions +* Added StatusNet small functions (Identica) +* Required plugin Tac for Twitter ability +* Added YOURLS client service -0.4.2 - 2010.08.09 -- Fixed bug on dcTwitter shorten service -- Fixed bug on custom local link -- Added category URL to active mode -- Added priority to plugin definition +kUtRL 0.4.2 - 2010.08.09 +=========================================================== +* Fixed bug on dcTwitter shorten service +* Fixed bug on custom local link +* Added category URL to active mode +* Added priority to plugin definition -0.4.1 - 2010.07.01 -- Fixed multiple bugs +kUtRL 0.4.1 - 2010.07.01 +=========================================================== +* Fixed multiple bugs -0.4 - 2010.06.28 -- Switched to DC 2.2 -- Fixed no short urls on preview mode -- Fixed lock hash of deleted urls -- Fixed hide new short url widget on kutrl pages -- Fixed typo -- Added active mode that shorten urls on default template values -- Added special tweeter message for post (can include post title) -- Added kutrl special 404 page +kUtRL 0.4 - 2010.06.28 +=========================================================== +* Switched to DC 2.2 +* Fixed no short urls on preview mode +* Fixed lock hash of deleted urls +* Fixed hide new short url widget on kutrl pages +* Fixed typo +* Added active mode that shorten urls on default template values +* Added special tweeter message for post (can include post title) +* Added kutrl special 404 page -0.3.3 - 2010.05.28 -- Fixed settings in tweeter class -- Renamed tweeter class +kUtRL 0.3.3 - 2010.05.28 +=========================================================== +* Fixed settings in tweeter class +* Renamed tweeter class -0.3.2 - 2010.05.25 -- FIxed minor bugs -- Fixed DC 2.1.7 +kUtRL 0.3.2 - 2010.05.25 +=========================================================== +* FIxed minor bugs +* Fixed DC 2.1.7 -0.3 2010.04.14 -- Added DC 2.2 compatibility (new settings) -- Added semi-custom hash on kUtRL service -- Added status update for Twitter/Identi.ca on new short link -- Added services error management (first step) -- Added options to widgets -- Upgraded bitly service to v3 -- Changed admin design +kUtRL 0.3 - 2010.04.14 +=========================================================== +* Added DC 2.2 compatibility (new settings) +* Added semi-custom hash on kUtRL service +* Added status update for Twitter/Identi.ca on new short link +* Added services error management (first step) +* Added options to widgets +* Upgraded bitly service to v3 +* Changed admin design -0.2 - 2009.12.23 -- Fixed public redirection with suffix -- Added short.to service +kUtRL 0.2 - 2009.12.23 +=========================================================== +* Fixed public redirection with suffix +* Added short.to service -0.1.2 - 2009.12.12 -- Added option to short url of new entry by default -- Fixed typo +kUtRL 0.1.2 - 2009.12.12 +=========================================================== +* Added option to short url of new entry by default +* Fixed typo -0.1.1 - 2009.12.12 -- Added option to display long url when unactive -- Fixed support of kutrl in feeds +kUtRL 0.1.1 - 2009.12.12 +=========================================================== +* Added option to display long url when unactive +* Fixed support of kutrl in feeds -0.1 - 2009.12.09 -- First lab release \ No newline at end of file +kUtRL 0.1 - 2009.12.09 +=========================================================== +* First lab release diff --git a/README.md b/README.md index f413611..2da8640 100644 --- a/README.md +++ b/README.md @@ -1,30 +1,30 @@ # README -[![Release](https://img.shields.io/github/v/release/JcDenis/kUtRL)](https://github.com/JcDenis/kUtRL/releases) -[![Date](https://img.shields.io/github/release-date/JcDenis/kUtRL)](https://github.com/JcDenis/kUtRL/releases) -[![Issues](https://img.shields.io/github/issues/JcDenis/kUtRL)](https://github.com/JcDenis/kUtRL/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/kUtRL) -[![License](https://img.shields.io/github/license/JcDenis/kUtRL)](https://github.com/JcDenis/kUtRL/blob/master/LICENSE) +[![Release](https://img.shields.io/badge/release-2023.08.21-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/kUtRL/releases) +[![Date](https://img.shields.io/badge/date-2023.08.21-c44d58.svg)](https://git.dotclear.watch/JcDenis/kUtRL/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/kUtRL) +[![License](https://img.shields.io/github/license/JcDenis/kUtRL)](https://git.dotclear.watch/JcDenis/kUtRL/blob/master/LICENSE) ## WHAT IS KUTRL ? -"kUtRL" is a plugin for the open-source +_kUtRL_ is a plugin for the open-source web publishing software called Dotclear. Create short URL on its own or from external services. ## REQUIREMENTS - kUtRL requires: +_kUtRL_ requires: - * admin permission to configure - * no permissions to shorten links on the fly - * Dotclear 2.24 +* admin permission to configure +* no permissions to shorten links on the fly +* Dotclear 2.27 +* PHP 8.1+ ## USAGE -First install kUtRL, manualy from a zip package or from +First install _kUtRL_, manualy from a zip package or from Dotaddict repository. (See Dotclear's documentation to know how do this) Manage settings, services and short URLs from sidebar menu "URL shortener". @@ -32,14 +32,14 @@ You can also add widgets, template block and values. ## LINKS - * License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html) - * Source & contribution : [GitHub Page](https://github.com/JcDenis/kUtRL) - * Packages & details: [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/kUtRL) - * Discussion & Help: [Dotclear Forum](http://forum.dotclear.org/viewtopic.php?pid=331158) +* License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html) +* Source & contribution : [Gitea Page](https://git.dotclear.watch/JcDenis/kUtRL) or [GitHub Page](https://github.com/JcDenis/kUtRL) +* Packages & details: [Gitea Page](https://git.dotclear.watch/JcDenis/kUtRL/releases) or [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/kUtRL) +* Discussion & Help: [Dotclear Forum](http://forum.dotclear.org/viewtopic.php?pid=331158) ## CONTRIBUTORS - * Jean-Christian Denis - * Pierre Van Glabeke +* Jean-Christian Denis +* Pierre Van Glabeke - You are welcome to contribute to this code. +You are welcome to contribute to this code. diff --git a/_define.php b/_define.php index 041b3b9..97bed77 100644 --- a/_define.php +++ b/_define.php @@ -18,17 +18,20 @@ $this->registerModule( 'Links shortener', 'Use, create and serve short url on your blog', 'Jean-Christian Denis and contributors', - '2022.12.22', + '2022.08.21', [ - 'requires' => [['core', '2.24']], + 'requires' => [ + ['core', '2.27'], + ['php', '8.1'], + ], 'permissions' => dcCore::app()->auth->makePermissions([ dcAuth::PERMISSION_USAGE, dcAuth::PERMISSION_CONTENT_ADMIN, dcAuth::PERMISSION_ADMIN, ]), - 'type' => 'plugin', - 'support' => 'https://github.com/JcDenis/' . basename(__DIR__), - 'details' => 'http://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 00dde34..6db6c55 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,12 +2,12 @@ Links shortener - 2022.12.22 + 2022.08.21 Jean-Christian Denis and contributors Use, create and serve short url on your blog - https://github.com/JcDenis/kUtRL/releases/download/v2022.12.22/plugin-kUtRL.zip - 2.24 - http://plugins.dotaddict.org/dc2/details/kUtRL - https://github.com/JcDenis/kUtRL + https://git.dotclear.watch/JcDenis/kUtRL/releases/download/v2022.08.21/plugin-kUtRL.zip + 2.27 + https://git.dotclear.watch/JcDenis/kUtRL/src/branch/master/README.md + https://git.dotclear.watch/JcDenis/kUtRL/issues