release 2023.08.21

master v2023.08.21
Jean-Christian Paul Denis 2023-08-21 16:55:48 +02:00
parent adc711f877
commit 2f28f3069a
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
4 changed files with 169 additions and 141 deletions

View File

@ -1,131 +1,156 @@
xxx.xx.xx kUtRL 2023.08.21
- [ ] Fix bit.ly multi domain for short links ===========================================================
- [ ] Add bit.ly custom domain * Require Dotclear 2.27
- [ ] Add public page of the list of know urls and in/visible status * Require PHP 8.1
- [ ] Add passworded links * 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 kUtRL 2022.12.22
- use SVG icon ===========================================================
- use dc methods for widgets * use SVG icon
- use constant for table name * use dc methods for widgets
- use abstract plugin id and settings namespace * use constant for table name
- change settings id to shortest ones * use abstract plugin id and settings namespace
- fix install * change settings id to shortest ones
- fix permissions * fix install
* fix permissions
2022.11.20 kUtRL 2022.11.20
- fix compatibility with Dotclear 2.24 (required) ===========================================================
* fix compatibility with Dotclear 2.24 (required)
2021.11.06 kUtRL 2021.11.06
- never fix breaking comments or complexe public url (add warning) ===========================================================
- fix permissions (dc 2.20) * never fix breaking comments or complexe public url (add warning)
- fix js load * fix permissions (dc 2.20)
- fix various bugs, typo and ui enhancment * fix js load
- add user pref on table cols * fix various bugs, typo and ui enhancment
- add user pref on filters (dc 2.20) * add user pref on table cols
- add constant to disable service on entire plateform * add user pref on filters (dc 2.20)
- re-add bit.ly (partially) * add constant to disable service on entire plateform
- move settings to plugin config page * re-add bit.ly (partially)
- update translations (and remove .lang.php file) * move settings to plugin config page
- update to PSR12 * update translations (and remove .lang.php file)
* update to PSR12
2021.09.16 kUtRL 2021.09.16
- remove deprecated external service ===========================================================
- update php header to phpdoc style * remove deprecated external service
- fix post page options display * update php header to phpdoc style
- hack plugin permission to load plugin and shorten url on the fly * fix post page options display
* hack plugin permission to load plugin and shorten url on the fly
2021.08.28 - pre release kUtRL 2021.08.28 - pre release
- add dashboard icon ===========================================================
- clean PSR-2 codding style and short array * add dashboard icon
- fix php 7.3+ and php 8.0.x compatibility * clean PSR-2 codding style and short array
- fix compatibility with Dotclear 2.19 * fix php 7.3+ and php 8.0.x compatibility
- create readme file * fix compatibility with Dotclear 2.19
- merge index file sub parts * create readme file
- update admin pager for links list * merge index file sub parts
- remove custom js * update admin pager for links list
- fix widgets rendering * remove custom js
- fix public template now based on dotty * fix widgets rendering
- fix translation * fix public template now based on dotty
* fix translation
2011.04.01 kUtRL 2011.04.01
- Changed version numbering ===========================================================
- Added service su.pr (stumbleUpon) * Changed version numbering
- Fixed wiki settings (thanks @ploum ) * Added service su.pr (stumbleUpon)
* Fixed wiki settings (thanks @ploum )
1.0 - 2011.02.13 kUtRL 1.0 - 2011.02.13
- Added generic class to easlily access services ===========================================================
- Changed generic service class (and class extend it) * Added generic class to easlily access services
- Fixed config of default service * Changed generic service class (and class extend it)
- Fixed display of admin fake section * Fixed config of default service
- Added checkbox helpers on admin * Fixed display of admin fake section
* Added checkbox helpers on admin
0.6.1 - 2011.01.30 kUtRL 0.6.1 - 2011.01.30
- Cleaned up script ===========================================================
* Cleaned up script
0.6 - 2011.01.18 kUtRL 0.6 - 2011.01.18
- Added default defined service (for all blogs of a multiblog) ===========================================================
- Added configurable external service * Added default defined service (for all blogs of a multiblog)
- Added goog.gl client service (first step) * Added configurable external service
- Added default settings for third part plugins * Added goog.gl client service (first step)
- Added behaviors after short link creation * Added default settings for third part plugins
- Added attribute to disable URL shortining on template tag with 'active mode' (fixed bug on URL of POST form) * Added behaviors after short link creation
- Remove all messenger functions: this is to another plugin to do that * Added attribute to disable URL shortining on template tag with 'active mode' (fixed bug on URL of POST form)
- Remove priority in plugin definition * Remove all messenger functions: this is to another plugin to do that
* Remove priority in plugin definition
0.5 - 2010.09.09 kUtRL 0.5 - 2010.09.09
- Removed old Twitter functions ===========================================================
- Added StatusNet small functions (Identica) * Removed old Twitter functions
- Required plugin Tac for Twitter ability * Added StatusNet small functions (Identica)
- Added YOURLS client service * Required plugin Tac for Twitter ability
* Added YOURLS client service
0.4.2 - 2010.08.09 kUtRL 0.4.2 - 2010.08.09
- Fixed bug on dcTwitter shorten service ===========================================================
- Fixed bug on custom local link * Fixed bug on dcTwitter shorten service
- Added category URL to active mode * Fixed bug on custom local link
- Added priority to plugin definition * Added category URL to active mode
* Added priority to plugin definition
0.4.1 - 2010.07.01 kUtRL 0.4.1 - 2010.07.01
- Fixed multiple bugs ===========================================================
* Fixed multiple bugs
0.4 - 2010.06.28 kUtRL 0.4 - 2010.06.28
- Switched to DC 2.2 ===========================================================
- Fixed no short urls on preview mode * Switched to DC 2.2
- Fixed lock hash of deleted urls * Fixed no short urls on preview mode
- Fixed hide new short url widget on kutrl pages * Fixed lock hash of deleted urls
- Fixed typo * Fixed hide new short url widget on kutrl pages
- Added active mode that shorten urls on default template values * Fixed typo
- Added special tweeter message for post (can include post title) * Added active mode that shorten urls on default template values
- Added kutrl special 404 page * Added special tweeter message for post (can include post title)
* Added kutrl special 404 page
0.3.3 - 2010.05.28 kUtRL 0.3.3 - 2010.05.28
- Fixed settings in tweeter class ===========================================================
- Renamed tweeter class * Fixed settings in tweeter class
* Renamed tweeter class
0.3.2 - 2010.05.25 kUtRL 0.3.2 - 2010.05.25
- FIxed minor bugs ===========================================================
- Fixed DC 2.1.7 * FIxed minor bugs
* Fixed DC 2.1.7
0.3 2010.04.14 kUtRL 0.3 - 2010.04.14
- Added DC 2.2 compatibility (new settings) ===========================================================
- Added semi-custom hash on kUtRL service * Added DC 2.2 compatibility (new settings)
- Added status update for Twitter/Identi.ca on new short link * Added semi-custom hash on kUtRL service
- Added services error management (first step) * Added status update for Twitter/Identi.ca on new short link
- Added options to widgets * Added services error management (first step)
- Upgraded bitly service to v3 * Added options to widgets
- Changed admin design * Upgraded bitly service to v3
* Changed admin design
0.2 - 2009.12.23 kUtRL 0.2 - 2009.12.23
- Fixed public redirection with suffix ===========================================================
- Added short.to service * Fixed public redirection with suffix
* Added short.to service
0.1.2 - 2009.12.12 kUtRL 0.1.2 - 2009.12.12
- Added option to short url of new entry by default ===========================================================
- Fixed typo * Added option to short url of new entry by default
* Fixed typo
0.1.1 - 2009.12.12 kUtRL 0.1.1 - 2009.12.12
- Added option to display long url when unactive ===========================================================
- Fixed support of kutrl in feeds * Added option to display long url when unactive
* Fixed support of kutrl in feeds
0.1 - 2009.12.09 kUtRL 0.1 - 2009.12.09
- First lab release ===========================================================
* First lab release

View File

@ -1,30 +1,30 @@
# README # README
[![Release](https://img.shields.io/github/v/release/JcDenis/kUtRL)](https://github.com/JcDenis/kUtRL/releases) [![Release](https://img.shields.io/badge/release-2023.08.21-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/kUtRL/releases)
[![Date](https://img.shields.io/github/release-date/JcDenis/kUtRL)](https://github.com/JcDenis/kUtRL/releases) [![Date](https://img.shields.io/badge/date-2023.08.21-c44d58.svg)](https://git.dotclear.watch/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.27-137bbb.svg)](https://fr.dotclear.org/download)
[![Dotclear](https://img.shields.io/badge/dotclear-v2.24-blue.svg)](https://fr.dotclear.org/download) [![Dotaddict](https://img.shields.io/badge/dotaddict-official-9ac123.svg)](https://plugins.dotaddict.org/dc2/details/kUtRL)
[![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://git.dotclear.watch/JcDenis/kUtRL/blob/master/LICENSE)
[![License](https://img.shields.io/github/license/JcDenis/kUtRL)](https://github.com/JcDenis/kUtRL/blob/master/LICENSE)
## WHAT IS KUTRL ? ## WHAT IS KUTRL ?
"kUtRL" is a plugin for the open-source _kUtRL_ is a plugin for the open-source
web publishing software called Dotclear. web publishing software called Dotclear.
Create short URL on its own or from external services. Create short URL on its own or from external services.
## REQUIREMENTS ## REQUIREMENTS
kUtRL requires: _kUtRL_ requires:
* admin permission to configure * admin permission to configure
* no permissions to shorten links on the fly * no permissions to shorten links on the fly
* Dotclear 2.24 * Dotclear 2.27
* PHP 8.1+
## USAGE ## 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) Dotaddict repository. (See Dotclear's documentation to know how do this)
Manage settings, services and short URLs from sidebar menu "URL shortener". 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 ## LINKS
* License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html) * License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html)
* Source & contribution : [GitHub Page](https://github.com/JcDenis/kUtRL) * Source & contribution : [Gitea Page](https://git.dotclear.watch/JcDenis/kUtRL) or [GitHub Page](https://github.com/JcDenis/kUtRL)
* Packages & details: [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/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) * Discussion & Help: [Dotclear Forum](http://forum.dotclear.org/viewtopic.php?pid=331158)
## CONTRIBUTORS ## CONTRIBUTORS
* Jean-Christian Denis * Jean-Christian Denis
* Pierre Van Glabeke * Pierre Van Glabeke
You are welcome to contribute to this code. You are welcome to contribute to this code.

View File

@ -18,17 +18,20 @@ $this->registerModule(
'Links shortener', 'Links shortener',
'Use, create and serve short url on your blog', 'Use, create and serve short url on your blog',
'Jean-Christian Denis and contributors', '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([ 'permissions' => dcCore::app()->auth->makePermissions([
dcAuth::PERMISSION_USAGE, dcAuth::PERMISSION_USAGE,
dcAuth::PERMISSION_CONTENT_ADMIN, dcAuth::PERMISSION_CONTENT_ADMIN,
dcAuth::PERMISSION_ADMIN, dcAuth::PERMISSION_ADMIN,
]), ]),
'type' => 'plugin', 'type' => 'plugin',
'support' => 'https://github.com/JcDenis/' . basename(__DIR__), 'support' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/issues',
'details' => 'http://plugins.dotaddict.org/dc2/details/' . basename(__DIR__), 'details' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/src/branch/master/README.md',
'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml', 'repository' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/raw/branch/master/dcstore.xml',
] ]
); );

View File

@ -2,12 +2,12 @@
<modules xmlns:da="http://dotaddict.org/da/"> <modules xmlns:da="http://dotaddict.org/da/">
<module id="kUtRL"> <module id="kUtRL">
<name>Links shortener</name> <name>Links shortener</name>
<version>2022.12.22</version> <version>2022.08.21</version>
<author>Jean-Christian Denis and contributors</author> <author>Jean-Christian Denis and contributors</author>
<desc>Use, create and serve short url on your blog</desc> <desc>Use, create and serve short url on your blog</desc>
<file>https://github.com/JcDenis/kUtRL/releases/download/v2022.12.22/plugin-kUtRL.zip</file> <file>https://git.dotclear.watch/JcDenis/kUtRL/releases/download/v2022.08.21/plugin-kUtRL.zip</file>
<da:dcmin>2.24</da:dcmin> <da:dcmin>2.27</da:dcmin>
<da:details>http://plugins.dotaddict.org/dc2/details/kUtRL</da:details> <da:details>https://git.dotclear.watch/JcDenis/kUtRL/src/branch/master/README.md</da:details>
<da:support>https://github.com/JcDenis/kUtRL</da:support> <da:support>https://git.dotclear.watch/JcDenis/kUtRL/issues</da:support>
</module> </module>
</modules> </modules>