From 3bfa7f31d091806146fe39a5417a740593bdae64 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Thu, 16 Sep 2021 23:52:13 +0200 Subject: [PATCH] cosmetics --- CHANGELOG.md | 10 +++++++--- README.md | 24 ++++++++++++++++++++---- _define.php | 2 +- _install.php | 2 +- dcstore.xml | 3 ++- locales/fr/main.lang.php | 3 +-- 6 files changed, 32 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b83440b..1983a2b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,13 @@ xxx.xx.xx +- Never fix breaking comments or complexe public url - [ ] Add public page of the list of know urls and in/visible status - [ ] Add passworded links -- [ ] fix deprecated external service -- [x] update php header to phpdoc style -- [x] fix post page options display + +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 diff --git a/README.md b/README.md index 490abe6..0a1ab8f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,12 @@ # 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.19-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) + ## WHAT IS KUTRL ? "kUtRL" is a plugin for the open-source @@ -11,7 +18,8 @@ Create short URL on its own or from external services. kUtRL requires: - * admin permission + * admin permission to configure + * no permissions to shorten links on the fly * Dotclear 2.19 ## USAGE @@ -22,8 +30,16 @@ Dotaddict repository. (See Dotclear's documentation to know how do this) Manage settings, services and short URLs from sidebar menu "URL shortener". You can also add widgets, template block and values. -## MORE +## Links - * License : GNU GPL v2 + * 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) \ No newline at end of file + * Packages & details: [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 + + You are welcome to contribute to this code. \ No newline at end of file diff --git a/_define.php b/_define.php index 7747da7..a447ceb 100644 --- a/_define.php +++ b/_define.php @@ -16,7 +16,7 @@ if (!defined('DC_RC_PATH')) { } $this->registerModule( - 'kUtRL', + 'URL shortener', 'Use, create and serve short url on your blog', 'Jean-Christian Denis and contributors', '2021.08.28', diff --git a/_install.php b/_install.php index 9b92ca7..d29cd77 100644 --- a/_install.php +++ b/_install.php @@ -63,7 +63,7 @@ try { $s->put('kutrl_allow_external_url', true, 'boolean', 'Limited short url to current blog\'s url', false, true); $s->put('kutrl_tpl_passive', true, 'boolean', 'Return long url on kutrl tags if kutrl is unactivate', false, true); $s->put('kutrl_tpl_active', false, 'boolean', 'Return short url on dotclear tags if kutrl is active', false, true); - $s->put('kutrl_admin_entry_default', true, 'boolean', 'Create short link an new entry by default', false, true); + $s->put('kutrl_admin_entry_default', true, 'boolean', 'Create short link on new entry by default', false, true); # Settings for "local" service $local_css = ".shortenkutrlwidget input { border: 1px solid #CCCCCC; }\n" . diff --git a/dcstore.xml b/dcstore.xml index 32ae32a..705e011 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -1,10 +1,11 @@ -kUtRL +URL shortener 2021.08.28 Jean-Christian Denis and contributors Use, create and serve short url on your blog https://github.com/JcDenis/kUtRL/releases/download/v2021.08.28/plugin-kUtRL.zip +2.19 http://plugins.dotaddict.org/dc2/details/kUtRL https://github.com/JcDenis/kUtRL diff --git a/locales/fr/main.lang.php b/locales/fr/main.lang.php index c3d51d1..cc42632 100644 --- a/locales/fr/main.lang.php +++ b/locales/fr/main.lang.php @@ -521,5 +521,4 @@ $GLOBALS['__l10n']['You can use "bob!!" if you want a semi-custom link, it start $GLOBALS['__l10n']['Service:'] = 'Service :'; #index.php:540 -$GLOBALS['__l10n']['Delete selected short links'] = 'Effacer les liens sélectionnés'; - +$GLOBALS['__l10n']['Delete selected short links'] = 'Effacer les liens sélectionnés'; \ No newline at end of file