release 0.6

This commit is contained in:
Jean-Christian Paul Denis 2023-04-26 23:16:50 +02:00
parent 43f7a94f9d
commit 7315bcb88c
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
5 changed files with 35 additions and 26 deletions

View File

@ -1,3 +1,7 @@
0.6 - 2023.04.26
* require dotclear 2.26
* use namespace
0.5 - 2023.01.05
* update to dotclear 2.24
* use anonymous functions

View File

@ -3,7 +3,7 @@
[![Release](https://img.shields.io/github/v/release/JcDenis/comListe)](https://github.com/JcDenis/comListe/releases)
[![Date](https://img.shields.io/github/release-date/JcDenis/comListe)](https://github.com/JcDenis/comListe/releases)
[![Issues](https://img.shields.io/github/issues/JcDenis/comListe)](https://github.com/JcDenis/comListe/issues)
[![Dotclear](https://img.shields.io/badge/dotclear-v2.24-blue.svg)](https://fr.dotclear.org/download)
[![Dotclear](https://img.shields.io/badge/dotclear-v2.26-blue.svg)](https://fr.dotclear.org/download)
[![Dotaddict](https://img.shields.io/badge/dotaddict-official-green.svg)](https://plugins.dotaddict.org/dc2/details/comListe)
[![License](https://img.shields.io/github/license/JcDenis/comListe)](https://github.com/JcDenis/comListe/blob/master/LICENSE)
@ -19,7 +19,7 @@ It adds public page of all comments and trackbacks.
_comListe_ requires:
* admin perms for configuration
* Dotclear 2.24
* Dotclear 2.26
## USAGE

View File

@ -10,7 +10,7 @@
* @copyright Jean-Christian Denis
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
*/
if (!defined('DC_RC_PATH')) {
if (!defined('DC_RC_PATH') || is_null(dcCore::app()->auth)) {
return null;
}
@ -18,15 +18,18 @@ $this->registerModule(
'Comments list',
'Display a list of all comments and trackbacks of a blog in a public page',
'Benoit de Marne, Pierre Van Glabeke and contributors',
'0.5',
'0.6',
[
'requires' => [['core', '2.24']],
'requires' => [['core', '2.26']],
'permissions' => dcCore::app()->auth->makePermissions([
dcAuth::PERMISSION_ADMIN,
dcCore::app()->auth::PERMISSION_ADMIN,
]),
'type' => 'plugin',
'support' => 'http://forum.dotclear.org/viewtopic.php?pid=333985',
'details' => 'https://plugins.dotaddict.org/dc2/details/' . basename(__DIR__),
'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml',
'type' => 'plugin',
'settings' => [
'self' => '',
],
'support' => 'http://forum.dotclear.org/viewtopic.php?pid=333985',
'details' => 'https://plugins.dotaddict.org/dc2/details/' . basename(__DIR__),
'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml',
]
);

View File

@ -2,11 +2,11 @@
<modules xmlns:da="http://dotaddict.org/da/">
<module id="comListe">
<name>Comments list</name>
<version>0.5</version>
<version>0.6</version>
<author>Benoit de Marne, Pierre Van Glabeke and contributors</author>
<desc>Display a list of all comments and trackbacks of a blog in a public page</desc>
<file>https://github.com/JcDenis/comListe/releases/download/v0.5/plugin-comListe.zip</file>
<da:dcmin>2.24</da:dcmin>
<file>https://github.com/JcDenis/comListe/releases/download/v0.6/plugin-comListe.zip</file>
<da:dcmin>2.26</da:dcmin>
<da:details>https://plugins.dotaddict.org/dc2/details/comListe</da:details>
<da:support>http://forum.dotclear.org/viewtopic.php?pid=333985</da:support>
</module>

View File

@ -9,16 +9,18 @@
# DOT NOT MODIFY THIS FILE !
#
l10n::$locales['Comments list'] = 'Liste de commentaires';
l10n::$locales['open post'] = 'ouvrir le billet';
l10n::$locales['Link to comments list public page'] = 'Lien vers la page public de la liste des commentaires';
l10n::$locales['Pages:'] = 'Pages :';
l10n::$locales['Number of comments per page:'] = 'Nombre de commentaires par page :';
l10n::$locales['Total Comments:'] = 'Nombre total de commentaires :';
l10n::$locales['Source:'] = 'Source :';
l10n::$locales['No page title.'] = 'Pas de titre de page.';
l10n::$locales['Enable comListe'] = 'Activer comListe';
l10n::$locales['General options'] = 'Options générales';
l10n::$locales['Public page title:'] = 'Titre de la page public :';
l10n::$locales['Comments order:'] = 'Ordre des commentaires :';
l10n::$locales['Display a list of all comments and trackbacks of a blog in a public page'] = 'Afficher la liste de tous les commentaires et rétroliens d\'un blog dans une page publique';
use Dotclear\Helper\L10n;
L10n::$locales['Comments list'] = 'Liste de commentaires';
L10n::$locales['open post'] = 'ouvrir le billet';
L10n::$locales['Link to comments list public page'] = 'Lien vers la page public de la liste des commentaires';
L10n::$locales['Pages:'] = 'Pages :';
L10n::$locales['Number of comments per page:'] = 'Nombre de commentaires par page :';
L10n::$locales['Total Comments:'] = 'Nombre total de commentaires :';
L10n::$locales['Source:'] = 'Source :';
L10n::$locales['No page title.'] = 'Pas de titre de page.';
L10n::$locales['Enable comListe'] = 'Activer comListe';
L10n::$locales['General options'] = 'Options générales';
L10n::$locales['Public page title:'] = 'Titre de la page public :';
L10n::$locales['Comments order:'] = 'Ordre des commentaires :';
L10n::$locales['Display a list of all comments and trackbacks of a blog in a public page'] = 'Afficher la liste de tous les commentaires et rétroliens d\'un blog dans une page publique';