release 2023.04.25

This commit is contained in:
Jean-Christian Denis 2023-04-25 15:17:17 +02:00
parent 3a33babb3d
commit 35697890a1
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951
5 changed files with 45 additions and 29 deletions

View file

@ -1,3 +1,16 @@
todo:
- cleanup plugin importExport features
2023.04.26
- require dotclear 2.26
- require PHP 8.0+
- use namespace
- use sql statement
- add use columns preference
- add list filters
- add plugin Uninstaller features (no direct actions)
- various fixes
2022.12.23 2022.12.23
- use SVG icon - use SVG icon
- use constant for table name - use constant for table name

View file

@ -3,7 +3,7 @@
[![Release](https://img.shields.io/github/v/release/JcDenis/postWidgetText)](https://github.com/JcDenis/postWidgetText/releases) [![Release](https://img.shields.io/github/v/release/JcDenis/postWidgetText)](https://github.com/JcDenis/postWidgetText/releases)
[![Date](https://img.shields.io/github/release-date/JcDenis/postWidgetText)](https://github.com/JcDenis/postWidgetText/releases) [![Date](https://img.shields.io/github/release-date/JcDenis/postWidgetText)](https://github.com/JcDenis/postWidgetText/releases)
[![Issues](https://img.shields.io/github/issues/JcDenis/postWidgetText)](https://github.com/JcDenis/postWidgetText/issues) [![Issues](https://img.shields.io/github/issues/JcDenis/postWidgetText)](https://github.com/JcDenis/postWidgetText/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/postWidgetText) [![Dotaddict](https://img.shields.io/badge/dotaddict-official-green.svg)](https://plugins.dotaddict.org/dc2/details/postWidgetText)
[![License](https://img.shields.io/github/license/JcDenis/postWidgetText)](https://github.com/JcDenis/postWidgetText/blob/master/LICENSE) [![License](https://img.shields.io/github/license/JcDenis/postWidgetText)](https://github.com/JcDenis/postWidgetText/blob/master/LICENSE)
@ -20,7 +20,8 @@ Add a widget related to an entry with custom titles and content.
* permissions to manage widgets * permissions to manage widgets
* permissions to manage entries * permissions to manage entries
* Dotclear 2.20 * Dotclear 2.26
* PHP 8.0+
Note this plugin add table called post_option to Dotclear database. Note this plugin add table called post_option to Dotclear database.

View file

@ -18,9 +18,9 @@ $this->registerModule(
'Post widget text', 'Post widget text',
'Add a widget with a text related to an entry', 'Add a widget with a text related to an entry',
'Jean-Christian Denis and Contributors', 'Jean-Christian Denis and Contributors',
'2022.12.23', '2023.04.25',
[ [
'requires' => [['core', '2.24']], 'requires' => [['core', '2.26']],
'permissions' => dcCore::app()->auth->makePermissions([ 'permissions' => dcCore::app()->auth->makePermissions([
dcCore::app()->auth::PERMISSION_USAGE, dcCore::app()->auth::PERMISSION_USAGE,
dcCore::app()->auth::PERMISSION_CONTENT_ADMIN, dcCore::app()->auth::PERMISSION_CONTENT_ADMIN,

View file

@ -2,11 +2,11 @@
<modules xmlns:da="http://dotaddict.org/da/"> <modules xmlns:da="http://dotaddict.org/da/">
<module id="postWidgetText"> <module id="postWidgetText">
<name>Post widget text</name> <name>Post widget text</name>
<version>2022.12.23</version> <version>2023.04.25</version>
<author>Jean-Christian Denis and Contributors</author> <author>Jean-Christian Denis and Contributors</author>
<desc>Add a widget with a text related to an entry</desc> <desc>Add a widget with a text related to an entry</desc>
<file>https://github.com/JcDenis/postWidgetText/releases/download/v2022.12.23/plugin-postWidgetText.zip</file> <file>https://github.com/JcDenis/postWidgetText/releases/download/v2023.04.25/plugin-postWidgetText.zip</file>
<da:dcmin>2.24</da:dcmin> <da:dcmin>2.26</da:dcmin>
<da:details>https://plugins.dotaddict.org/dc2/details/postWidgetText</da:details> <da:details>https://plugins.dotaddict.org/dc2/details/postWidgetText</da:details>
<da:support>https://github.com/JcDenis/postWidgetText</da:support> <da:support>https://github.com/JcDenis/postWidgetText</da:support>
</module> </module>

View file

@ -9,25 +9,27 @@
# DOT NOT MODIFY THIS FILE ! # DOT NOT MODIFY THIS FILE !
# #
l10n::$locales['Post widget text'] = 'Widget texte de billet'; use Dotclear\Helper\L10n;
l10n::$locales['Add a widget with a text related to an entry'] = 'Ajouter un widget avec du texte relatif à un billet';
l10n::$locales['More about this entry'] = 'En savoir plus sur ce billet'; L10n::$locales['Post widget text'] = 'Widget texte de billet';
l10n::$locales['Use excerpt if no content'] = 'Utiliser le résumé si le widget n\'a pas de contenu'; L10n::$locales['Add a widget with a text related to an entry'] = 'Ajouter un widget avec du texte relatif à un billet';
l10n::$locales['Show widget even if empty'] = 'Afficher le widget même si il est vide'; L10n::$locales['More about this entry'] = 'En savoir plus sur ce billet';
l10n::$locales['You are not allowed to create an entry text widget'] = 'Vous n\'êtes pas autorisé à créer un widget texte sur ce billet'; L10n::$locales['Use excerpt if no content'] = 'Utiliser le résumé si le widget n\'a pas de contenu';
l10n::$locales['You are not allowed to update entries text widget'] = 'Vous n\'êtes pas autorisé à modifier les widgets texte des billets'; L10n::$locales['Show widget even if empty'] = 'Afficher le widget même si il est vide';
l10n::$locales['You are not allowed to delete this entry text widget'] = 'Vous n\'êtes pas autorisé à effacer le widget texte de ce billet'; L10n::$locales['You are not allowed to create an entry text widget'] = 'Vous n\'êtes pas autorisé à créer un widget texte sur ce billet';
l10n::$locales['You are not allowed to delete entries text widget'] = 'Vous n\'êtes pas autorisé à effacer les widgets texte des billets'; L10n::$locales['You are not allowed to update entries text widget'] = 'Vous n\'êtes pas autorisé à modifier les widgets texte des billets';
l10n::$locales['Post title'] = 'Titre du billet'; L10n::$locales['You are not allowed to delete this entry text widget'] = 'Vous n\'êtes pas autorisé à effacer le widget texte de ce billet';
l10n::$locales['Post date'] = 'Date du billet'; L10n::$locales['You are not allowed to delete entries text widget'] = 'Vous n\'êtes pas autorisé à effacer les widgets texte des billets';
l10n::$locales['Widget title'] = 'Titre du widget'; L10n::$locales['Post title'] = 'Titre du billet';
l10n::$locales['Widget date'] = 'Date du widget'; L10n::$locales['Post date'] = 'Date du billet';
l10n::$locales['Enable post widget text on this blog'] = 'Activer les widgets texte de billet sur ce blog'; L10n::$locales['Widget title'] = 'Titre du widget';
l10n::$locales['Enable import/export behaviors'] = 'Activer les fonctions d\'import/export'; L10n::$locales['Widget date'] = 'Date du widget';
l10n::$locales['Additional widget'] = 'Widget additionnel'; L10n::$locales['Enable post widget text on this blog'] = 'Activer les widgets texte de billet sur ce blog';
l10n::$locales['Widget title:'] = 'Titre du widget :'; L10n::$locales['Enable import/export behaviors'] = 'Activer les fonctions d\'import/export';
l10n::$locales['Wigdet text:'] = 'Texte du widget :'; L10n::$locales['Additional widget'] = 'Widget additionnel';
l10n::$locales['No widget'] = 'Pas de widget'; L10n::$locales['Widget title:'] = 'Titre du widget :';
l10n::$locales['Posts widgets successfully delete.'] = 'Widgets de billets effacés.'; L10n::$locales['Wigdet text:'] = 'Texte du widget :';
l10n::$locales['Posts widgets'] = 'Widgets de billets'; L10n::$locales['No widget'] = 'Pas de widget';
l10n::$locales['Delete selected widgets'] = 'Effacer les widgets texte selectionnés'; L10n::$locales['Posts widgets successfully delete.'] = 'Widgets de billets effacés.';
L10n::$locales['Posts widgets'] = 'Widgets de billets';
L10n::$locales['Delete selected widgets'] = 'Effacer les widgets texte selectionnés';