release 1.4

master
Jean-Christian Paul Denis 2022-12-04 15:58:10 +01:00
parent 3372aebd1c
commit b6e941b1c8
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
4 changed files with 22 additions and 96 deletions

View File

@ -1,83 +1,9 @@
dev 1.4 - 2022.12.04
- [ ] enhance public template - use dotclear breadcrumb, notice, redirection
- use constant for table name
- use constant for permissions
- add message on action
- update translation
1.1.0 - 2022.11.20 1.3 - 2022.11.27
- fix compatibility with Dotclear 2.24 (required) - update for Dotclear 2.24
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
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
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)
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
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
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
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
0.1 - 2009.10.19
- First lab release

View File

@ -18,7 +18,7 @@ $this->registerModule(
'alias', 'alias',
"Create aliases of your blog's URLs", "Create aliases of your blog's URLs",
'Olivier Meunier and contributors', 'Olivier Meunier and contributors',
'1.3', '1.4',
[ [
'requires' => [['core', '2.24']], 'requires' => [['core', '2.24']],
'permissions' => dcCore::app()->auth->makePermissions([ 'permissions' => dcCore::app()->auth->makePermissions([

View File

@ -2,10 +2,10 @@
<modules xmlns:da="http://dotaddict.org/da/"> <modules xmlns:da="http://dotaddict.org/da/">
<module id="alias"> <module id="alias">
<name>alias</name> <name>alias</name>
<version>1.3</version> <version>1.4</version>
<author>Olivier Meunier and contributors</author> <author>Olivier Meunier and contributors</author>
<desc>Create aliases of your blog's URLs</desc> <desc>Create aliases of your blog's URLs</desc>
<file>https://github.com/JcDenis/alias/releases/download/v1.3/plugin-alias.zip</file> <file>https://github.com/JcDenis/alias/releases/download/v1.4/plugin-alias.zip</file>
<da:dcmin>2.24</da:dcmin> <da:dcmin>2.24</da:dcmin>
<da:details>https://plugins.dotaddict.org/dc2/details/alias</da:details> <da:details>https://plugins.dotaddict.org/dc2/details/alias</da:details>
<da:support>https://github.com/JcDenis/alias</da:support> <da:support>https://github.com/JcDenis/alias</da:support>

View File

@ -18,7 +18,7 @@ dcPage::check(dcCore::app()->auth->makePermissions([dcAuth::PERMISSION_ADMIN]));
$o = new dcAliases(); $o = new dcAliases();
$aliases = $o->getAliases(); $aliases = $o->getAliases();
$part = $_REQUEST['part'] ?? 'list'; $part = $_REQUEST['part'] ?? 'list';
# Update aliases # Update aliases
if (isset($_POST['a']) && is_array($_POST['a'])) { if (isset($_POST['a']) && is_array($_POST['a'])) {
@ -53,8 +53,8 @@ if (isset($_POST['alias_url'])) {
if ($part == 'new') { if ($part == 'new') {
echo echo
dcPage::breadcrumb([ dcPage::breadcrumb([
__('Plugins') => '', __('Plugins') => '',
__('Aliases') => dcCore::app()->adminurl->get('admin.plugin.alias', ['part' => 'list']), __('Aliases') => dcCore::app()->adminurl->get('admin.plugin.alias', ['part' => 'list']),
__('New alias') => '', __('New alias') => '',
]) . ]) .
dcPage::notices() . dcPage::notices() .
@ -72,7 +72,7 @@ if ($part == 'new') {
echo echo
dcPage::breadcrumb([ dcPage::breadcrumb([
__('Plugins') => '', __('Plugins') => '',
__('Aliases') => '' __('Aliases') => '',
]) . ]) .
dcPage::notices() . dcPage::notices() .
'<p class="top-add"><a class="button add" href="' . '<p class="top-add"><a class="button add" href="' .