release 1.0

This commit is contained in:
Jean-Christian Denis 2023-05-05 15:46:24 +02:00
parent 0dc9e111cf
commit 91ec9bb57c
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951
5 changed files with 37 additions and 33 deletions

View file

@ -2,6 +2,16 @@ dev
- [ ] add cache system
- [ ] add option for gravatar built in unknow avatar @see https://fr.gravatar.com/site/implement/images/
1.0 - 2023.05.05
- require dotclear 2.26
- require php 8.1+
- use namespace
- fix phpstan level 9 warnings
- use short settings names (lost old settings)
- use json rather than serialize (lost old settings)
- use only one default avatar
- add plugin UNinstaller features
0.9 - 2022.11.20
- fix compatibility with Dotclear 2.24 (required)

View file

@ -3,7 +3,7 @@
[![Release](https://img.shields.io/github/v/release/JcDenis/noodles)](https://github.com/JcDenis/noodles/releases)
[![Date](https://img.shields.io/github/release-date/JcDenis/noodles)](https://github.com/JcDenis/noodles/releases)
[![Issues](https://img.shields.io/github/issues/JcDenis/noodles)](https://github.com/JcDenis/noodles/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/noodles)
[![License](https://img.shields.io/github/license/JcDenis/noodles)](https://github.com/JcDenis/noodles/blob/master/LICENSE)
@ -20,7 +20,8 @@ your blog. comments, posts, widgets...
_noodles_ requires:
* Permissions admin
* Dotclear 2.24
* Dotclear 2.26
* PHP 8.1+
## USAGE

View file

@ -18,9 +18,9 @@ $this->registerModule(
'Noodles',
'Add users gravatars everywhere',
'Jean-Christian Denis and contributors',
'0.9',
'1.0',
[
'requires' => [['core', '2.24']],
'requires' => [['core', '2.26']],
'permissions' => dcCore::app()->auth->makePermissions([
dcCore::app()->auth::PERMISSION_CONTENT_ADMIN,
]),

View file

@ -2,11 +2,11 @@
<modules xmlns:da="http://dotaddict.org/da/">
<module id="noodles">
<name>Noodles</name>
<version>0.9</version>
<version>1.0</version>
<author>Jean-Christian Denis and contributors</author>
<desc>Add users gravatars everywhere</desc>
<file>https://github.com/JcDenis/noodles/releases/download/v0.9/plugin-noodles.zip</file>
<da:dcmin>2.24</da:dcmin>
<file>https://github.com/JcDenis/noodles/releases/download/v1.0/plugin-noodles.zip</file>
<da:dcmin>2.26</da:dcmin>
<da:details>http://plugins.dotaddict.org/dc2/details/noodles</da:details>
<da:support>https://github.com/JcDenis/noodles</da:support>
</module>

View file

@ -11,29 +11,22 @@
use Dotclear\Helper\L10n;
L10n::$locales['Entries titles'] = 'Titres des billets';
L10n::$locales['Authors widget'] = 'Widgets des auteurs';
L10n::$locales['Local'] = 'Locale';
L10n::$locales['Begin'] = 'Début';
L10n::$locales['End'] = 'Fin';
L10n::$locales['Before'] = 'Avant';
L10n::$locales['After'] = 'Après';
L10n::$locales['Maximum file size exceeded'] = 'Taille maximum de fichier dépassée';
L10n::$locales['Something went wrong while download file'] = 'Une erreur est survenue lors du téléchargement de l\'image';
L10n::$locales['Image must be in png format'] = 'L\'image doit être au format png';
L10n::$locales['Failed to save image'] = 'Impossible de sauvegarder l\'image';
L10n::$locales['Something went wrong while search file'] = 'Une erreur est survenue pendant la recherche de fichier';
L10n::$locales['Local default avatar is not reachable!'] = 'L\'avatar local par défaut n\'est pas accessible !';
L10n::$locales['See local default avatar.'] = 'Voir l\'avatar local par défaut.';
L10n::$locales['Enable plugin noodles on this blog'] = 'Activer le plugin Noodles sur ce blog';
L10n::$locales['Select default avatar to display on unknown users.'] = 'Selectionner l\'avatar par défaut à afficher pour les utilisateurs inconnus.';
L10n::$locales['Blog default image'] = 'Image du blog';
L10n::$locales['Upload a new avatar'] = 'Téléverser un nouvel avatar';
L10n::$locales['Image must be in "png" format and have a maximum file size of 30Ko'] = 'L\'image doit être au format "png" et avoir une taille maximum de 30Ko';
L10n::$locales['API default image'] = 'Image par défaut de l\'API';
L10n::$locales['Public directory is not writable, you can not use custom gravatar.'] = 'Le répertoire public n\'est pas accissble en écriture, vous ne pouvez pas utiliser les avatars customisés';
L10n::$locales['Image API:'] = 'API des avatars :';
L10n::$locales['Default image:'] = 'Avatar par défaut :';
L10n::$locales['You can add your own default avatar by adding file "%s" in media manager.'] = 'Vous pouvez ajouter votr epropre avatar par défaut en ajoutant un fichier "%s" au gestionnaire de média.';
L10n::$locales['Search area'] = 'Zone de recherche';
L10n::$locales['Size'] = 'Taille';
L10n::$locales['Rating'] = 'Évaluation';
L10n::$locales['Target'] = 'Cible';
L10n::$locales['Place'] = 'Emplacement';
L10n::$locales['Adjust avatar CSS'] = 'Ajuster la CSS de l\'image';
L10n::$locales['Target and Place are for javascript.'] = 'Les cible et emplacement sont utilisés par les scripts javascript.';
L10n::$locales['Add users gravatars everywhere'] = 'Ajouter les avatars partout';
L10n::$locales['Entries titles'] = 'Titres des billets';
L10n::$locales['Authors widget'] = 'Widgets des auteurs';