diff --git a/CHANGELOG.md b/CHANGELOG.md index 55f557b..9fd3d4e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,6 @@ -dev +1.2 - 2023.03.12 +- update to Dotclear 2.25 +- use namespace 1.1 - 2022.11.20 - fix compatibility with Dotclear 2.24 (required) diff --git a/README.md b/README.md index 634e6f9..ae85b54 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Release](https://img.shields.io/github/v/release/JcDenis/entryPhotoExifWidget)](https://github.com/JcDenis/entryPhotoExifWidget/releases) [![Date](https://img.shields.io/github/release-date/JcDenis/entryPhotoExifWidget)](https://github.com/JcDenis/entryPhotoExifWidget/releases) [![Issues](https://img.shields.io/github/issues/JcDenis/entryPhotoExifWidget)](https://github.com/JcDenis/entryPhotoExifWidget/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.25-blue.svg)](https://fr.dotclear.org/download) [![Dotaddict](https://img.shields.io/badge/dotaddict-official-green.svg)](https://plugins.dotaddict.org/dc2/details/entryPhotoExifWidget) [![License](https://img.shields.io/github/license/JcDenis/entryPhotoExifWidget)](https://github.com/JcDenis/entryPhotoExifWidget/blob/master/LICENSE) @@ -19,7 +19,7 @@ Show images exif of an entry in a widget. _entryPhotoExifWidget_ requires: * permissions to manage widgets - * Dotclear 2.24 + * Dotclear 2.25 ## USAGE diff --git a/_define.php b/_define.php index 6e97a0c..1edf1e0 100644 --- a/_define.php +++ b/_define.php @@ -15,16 +15,18 @@ if (!defined('DC_RC_PATH')) { } $this->registerModule( - 'Entry Photo Exif Widget', - 'Show images exif of an entry', + 'Entry Photo EXIF Widget', + 'Show images EXIF of an entry', 'Jean-Christian Denis and contibutors', - '1.1', + '1.2', [ - 'requires' => [['core', '2.24']], - 'permissions' => dcAuth::PERMISSION_ADMIN, - 'type' => 'plugin', - 'support' => 'https://github.com/JcDenis/entryPhotoExifWidget', - 'details' => 'https://plugins.dotaddict.org/dc2/details/entryPhotoExifWidget', - 'repository' => 'https://raw.githubusercontent.com/JcDenis/entryPhotoExifWidget/master/dcstore.xml', + 'requires' => [['core', '2.25']], + 'permissions' => dcCore::app()->auth->makePermissions([ + dcAuth::PERMISSION_ADMIN, + ]), + 'type' => 'plugin', + 'support' => 'https://github.com/JcDenis/' . basename(__DIR__), + 'details' => 'https://plugins.dotaddict.org/dc2/details/' . basename(__DIR__), + 'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml', ] ); diff --git a/dcstore.xml b/dcstore.xml index e40c953..fb06ba1 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -1,12 +1,12 @@ - Entry Photo Exif Widget - 1.1 + Entry Photo EXIF Widget + 1.2 Jean-Christian Denis and contibutors - Show images exif of an entry - https://github.com/JcDenis/entryPhotoExifWidget/releases/download/v1.1/plugin-entryPhotoExifWidget.zip - 2.24 + Show images EXIF of an entry + https://github.com/JcDenis/entryPhotoExifWidget/releases/download/v1.2/plugin-entryPhotoExifWidget.zip + 2.25 https://plugins.dotaddict.org/dc2/details/entryPhotoExifWidget https://github.com/JcDenis/entryPhotoExifWidget