release 1.3

This commit is contained in:
Jean-Christian Paul Denis 2023-05-13 11:39:06 +02:00
parent 7a3117e1ac
commit f28ffa423e
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
3 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,7 @@
1.3 - 2023.05.13
- require dotclear 2.26
- fix type hint and nullsafe warnings
1.2 - 2023.04.22
- require dotclear 2.26
- add plugin Uninstaller features

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,11 +18,11 @@ $this->registerModule(
'Http password',
'Manage .htpasswd file to make the blog private',
'Frederic PLE and contributors',
'1.2',
'1.3',
[
'requires' => [['core', '2.26']],
'permissions' => dcCore::app()->auth->makePermissions([
dcAuth::PERMISSION_USAGE,
dcCore::app()->auth::PERMISSION_USAGE,
initHttpPassword::PERMISSION,
]),
'type' => 'plugin',

View File

@ -2,10 +2,10 @@
<modules xmlns:da="http://dotaddict.org/da/">
<module id="httpPassword">
<name>Http password</name>
<version>1.2</version>
<version>1.3</version>
<author>Frederic PLE and contributors</author>
<desc>Manage .htpasswd file to make the blog private</desc>
<file>https://github.com/JcDenis/httpPassword/releases/download/v1.2/plugin-httpPassword.zip</file>
<file>https://github.com/JcDenis/httpPassword/releases/download/v1.3/plugin-httpPassword.zip</file>
<da:dcmin>2.26</da:dcmin>
<da:details>http://plugins.dotaddict.org/dc2/details/httpPassword</da:details>
<da:support>https://github.com/JcDenis/httpPassword</da:support>