diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5b2b999..dded805 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,40 +1,46 @@
-myUrlHandlers 2023.08.13
-===========================================================
-* Require Dotclear 2.27
-* Require PHP 7.4
-* Move third party repository
-* Use Dotclear style for CHANGELOG
-
-myUrlHandlers 2023.07.29
-===========================================================
-* require dotclear 2.27
-* require PHP 7.4+
-* update to dotclear 2.27-dev
-
-myUrlHandlers 2023.05.13
-===========================================================
-* require dotclear 2.26
-* cleanup for dc2.26 stable
-
-myUrlHandlers 2023.04.22
-===========================================================
-* require dotclear 2.26
-* add plugin Uninstaller features
-* fix nullsafe warnings
-
-myUrlHandlers 2023.03.27
-===========================================================
-* require dotclear 2.26
-* use dotclear Helper
-
-myUrlHandlers 2023.03.11
-===========================================================
-* Update to Dotclear 2.26
-* use abstract plugin id
-* use php namespace
-* use json instead of serialize
-* rename settings
-
-myUrlHandlers 2022.11.26
-===========================================================
+myUrlHandlers 2023.10.07
+===========================================================
+* Require Dotclear 2.28
+* Require PHP 8.1
+* Upgrade to Dotclear 2.28
+
+myUrlHandlers 2023.08.13
+===========================================================
+* Require Dotclear 2.27
+* Require PHP 7.4
+* Move third party repository
+* Use Dotclear style for CHANGELOG
+
+myUrlHandlers 2023.07.29
+===========================================================
+* require dotclear 2.27
+* require PHP 7.4+
+* update to dotclear 2.27-dev
+
+myUrlHandlers 2023.05.13
+===========================================================
+* require dotclear 2.26
+* cleanup for dc2.26 stable
+
+myUrlHandlers 2023.04.22
+===========================================================
+* require dotclear 2.26
+* add plugin Uninstaller features
+* fix nullsafe warnings
+
+myUrlHandlers 2023.03.27
+===========================================================
+* require dotclear 2.26
+* use dotclear Helper
+
+myUrlHandlers 2023.03.11
+===========================================================
+* Update to Dotclear 2.26
+* use abstract plugin id
+* use php namespace
+* use json instead of serialize
+* rename settings
+
+myUrlHandlers 2022.11.26
+===========================================================
* update to Dotclear 2.24
\ No newline at end of file
diff --git a/README.md b/README.md
index efd4098..c6f7da1 100644
--- a/README.md
+++ b/README.md
@@ -1,26 +1,22 @@
# README
[![Release](https://img.shields.io/badge/release-2023.08.13-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/myUrlHandlers/releases)
-[![Date](https://img.shields.io/badge/date-2023.08.13-c44d58.svg)](https://git.dotclear.watch/JcDenis/myUrlHandlers/releases)
+![Date](https://img.shields.io/badge/date-2023.08.13-c44d58.svg)
[![Dotclear](https://img.shields.io/badge/dotclear-v2.27-137bbb.svg)](https://fr.dotclear.org/download)
[![Dotaddict](https://img.shields.io/badge/dotaddict-official-9ac123.svg)](https://plugins.dotaddict.org/dc2/details/myUrlHandlers)
-[![License](https://img.shields.io/github/license/JcDenis/myUrlHandlers)](https://git.dotclear.watch/JcDenis/myUrlHandlers/blob/master/LICENSE)
+[![License](https://img.shields.io/badge/license-GPL--2.0-ececec.svg)](https://git.dotclear.watch/JcDenis/myUrlHandlers/src/branch/master/LICENSE)
-## WHAT IS MYURLHANLDERS ?
+## ABOUT
-_myUrlHandlers_ is a plugin for the open-source
-web publishing software called Dotclear.
+_myUrlHandlers_ is a plugin for the open-source web publishing software called [Dotclear](https://www.dotclear.org).
-You can change public URL of each Dotclear parts,
-like post, category, etc and some plugins having public parts.
+> You can change public URL of each Dotclear parts, like post, category, etc and some plugins having public parts.
## REQUIREMENTS
-_myUrlHandlers_ requires:
-
* contentadmin permissions for management
-* Dotclear 2.27
-* PHP 7.4+
+* Dotclear 2.28
+* PHP 8.1+
## USAGE
@@ -32,10 +28,11 @@ or you can add dashboard icon.
## LINKS
-* License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html)
-* Source & contribution : [Gitea Page](https://git.dotclear.watch/JcDenis/myUrlHandlers) or [GitHub Page](https://github.com/JcDenis/myUrlHandlers)
-* Packages & details: [Gitea Page](https://git.dotclear.watch/JcDenis/myUrlHandlers/releases) or [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/myUrlHandlers)
-* Discuss and help : [Dotclear Forum](https://forum.dotclear.org/viewtopic.php?id=40893)
+* [License](https://git.dotclear.watch/JcDenis/myUrlHandlers/src/branch/master/LICENSE)
+* [Packages & details](https://git.dotclear.watch/JcDenis/myUrlHandlers/releases) (or on [Dotaddict](https://plugins.dotaddict.org/dc2/myUrlHandlers/alias))
+* [Sources & contributions](https://git.dotclear.watch/JcDenis/myUrlHandlers) (or on [GitHub](https://github.com/JcDenis/myUrlHandlers))
+* [Issues & security](https://git.dotclear.watch/JcDenis/myUrlHandlers/issues) (or on [GitHub](https://github.com/JcDenis/myUrlHandlers/issues))
+* [Discuss and help](https://forum.dotclear.org/viewtopic.php?id=40893)
## CONTRIBUTORS
diff --git a/_define.php b/_define.php
index 5447b65..62d7b97 100644
--- a/_define.php
+++ b/_define.php
@@ -10,9 +10,7 @@
* @copyright Jean-Christian Denis
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
*/
-if (!defined('DC_RC_PATH')) {
- return null;
-}
+use Dotclear\App;
$this->registerModule(
'URL handlers',
@@ -20,9 +18,9 @@ $this->registerModule(
'Alex Pirine and contributors',
'2023.08.13',
[
- 'requires' => [['core', '2.27']],
- 'permissions' => dcCore::app()->auth->makePermissions([
- dcCore::app()->auth::PERMISSION_CONTENT_ADMIN,
+ 'requires' => [['core', '2.28']],
+ 'permissions' => App::auth()->makePermissions([
+ App::auth()::PERMISSION_CONTENT_ADMIN,
]),
'priority' => 150000,
'type' => 'plugin',
diff --git a/dcstore.xml b/dcstore.xml
index d00e0fc..9d05a4b 100644
--- a/dcstore.xml
+++ b/dcstore.xml
@@ -5,7 +5,7 @@