parent
8e928f448c
commit
1670e45982
56
CHANGELOG.md
56
CHANGELOG.md
|
@ -1,65 +1,89 @@
|
||||||
1.3 - 2023.05.13
|
disclaimer 1.4 - 2023.08.12
|
||||||
|
===========================================================
|
||||||
|
* Require dotclear 2.27
|
||||||
|
* Require PHP 7.4+
|
||||||
|
* Upgrade to Dotclear 2.27
|
||||||
|
* Move third party repository
|
||||||
|
* Use Dotclear style for CHANGELOG
|
||||||
|
|
||||||
|
disclaimer 1.3 - 2023.05.13
|
||||||
|
===========================================================
|
||||||
* require dotclear 2.26
|
* require dotclear 2.26
|
||||||
* some cleaning for dc2.26 stable
|
* some cleaning for dc2.26 stable
|
||||||
|
|
||||||
1.2 - 2023.04.25
|
disclaimer 1.2 - 2023.04.25
|
||||||
|
===========================================================
|
||||||
* require dotclear 2.26
|
* require dotclear 2.26
|
||||||
* fix message editor
|
* fix message editor
|
||||||
* fix nullsafe warnings
|
* fix nullsafe warnings
|
||||||
* use latest dotclear namespaces
|
* use latest dotclear namespaces
|
||||||
* add plugin Uninstaller features
|
* add plugin Uninstaller features
|
||||||
|
|
||||||
1.1 - 2023.04.10
|
disclaimer 1.1 - 2023.04.10
|
||||||
|
===========================================================
|
||||||
* require dotclear 2.26
|
* require dotclear 2.26
|
||||||
* use namespace
|
* use namespace
|
||||||
|
|
||||||
1.0 - 2022.12.21
|
disclaimer 1.0 - 2022.12.21
|
||||||
|
===========================================================
|
||||||
* update to dotclear 2.24
|
* update to dotclear 2.24
|
||||||
* remove currywurst template
|
* remove currywurst template
|
||||||
* add dotty template
|
* add dotty template
|
||||||
|
|
||||||
0.9 - 2015.07.19 - Pierre Van Glabek
|
disclaimer 0.9 - 2015.07.19 - Pierre Van Glabek
|
||||||
|
===========================================================
|
||||||
* héritabe thème mustek
|
* héritabe thème mustek
|
||||||
* dc2.8 requis
|
* dc2.8 requis
|
||||||
|
|
||||||
0.8.1 - 2015.04.22 - Pierre Van Glabeke
|
disclaimer 0.8.1 - 2015.04.22 - Pierre Van Glabeke
|
||||||
|
===========================================================
|
||||||
* modif url support
|
* modif url support
|
||||||
* modif tpl (validation html5)
|
* modif tpl (validation html5)
|
||||||
|
|
||||||
0.8 - 2015.02.20 - Pierre Van Glabeke
|
disclaimer 0.8 - 2015.02.20 - Pierre Van Glabeke
|
||||||
|
===========================================================
|
||||||
* ajout barre d'édition dcLegacyEditor
|
* ajout barre d'édition dcLegacyEditor
|
||||||
* correction tpl mustek disclaimer.html
|
* correction tpl mustek disclaimer.html
|
||||||
|
|
||||||
0.7 - 2015.01.06 - Pierre Van Glabeke
|
disclaimer 0.7 - 2015.01.06 - Pierre Van Glabeke
|
||||||
|
===========================================================
|
||||||
* compatibilité dc2.7
|
* compatibilité dc2.7
|
||||||
* modification tpl pour html5 (currywurst et mustek)
|
* modification tpl pour html5 (currywurst et mustek)
|
||||||
* modification localisation
|
* modification localisation
|
||||||
* modification fichier css
|
* modification fichier css
|
||||||
|
|
||||||
0.6.2 - 2013.11.14
|
disclaimer 0.6.2 - 2013.11.14
|
||||||
|
===========================================================
|
||||||
* Switch to Dotclear 2.6
|
* Switch to Dotclear 2.6
|
||||||
|
|
||||||
0.6.1 - 2010.11.12
|
disclaimer 0.6.1 - 2010.11.12
|
||||||
|
===========================================================
|
||||||
* Fixed install on nightly build
|
* Fixed install on nightly build
|
||||||
* Fixed some post fields
|
* Fixed some post fields
|
||||||
|
|
||||||
0.6 - 2010.06.05
|
disclaimer 0.6 - 2010.06.05
|
||||||
|
===========================================================
|
||||||
* Switched to DC 2.2
|
* Switched to DC 2.2
|
||||||
|
|
||||||
0.5 - 2009.12.13
|
disclaimer 0.5 - 2009.12.13
|
||||||
|
===========================================================
|
||||||
* Added LICENSE
|
* Added LICENSE
|
||||||
* Added versioning
|
* Added versioning
|
||||||
* Prepared DC 2.2 break
|
* Prepared DC 2.2 break
|
||||||
|
|
||||||
0.4.1 - 2009.11.12
|
disclaimer 0.4.1 - 2009.11.12
|
||||||
|
===========================================================
|
||||||
* Fixed ''header'' errors on public side
|
* Fixed ''header'' errors on public side
|
||||||
|
|
||||||
0.4 - 2009.09.23
|
disclaimer 0.4 - 2009.09.23
|
||||||
|
===========================================================
|
||||||
* Fixed DC 2.1.6 URL handlers ending
|
* Fixed DC 2.1.6 URL handlers ending
|
||||||
|
|
||||||
0.3 - 2009.09.15
|
disclaimer 0.3 - 2009.09.15
|
||||||
|
===========================================================
|
||||||
* Fixed search engine indexing
|
* Fixed search engine indexing
|
||||||
* Added support of plugin dcAdvancedCleaner
|
* Added support of plugin dcAdvancedCleaner
|
||||||
|
|
||||||
0.2 - 2009.08.16
|
disclaimer 0.2 - 2009.08.16
|
||||||
|
===========================================================
|
||||||
* Fixed php 5.3 compatibility
|
* Fixed php 5.3 compatibility
|
||||||
|
|
32
README.md
32
README.md
|
@ -1,11 +1,10 @@
|
||||||
# README
|
# README
|
||||||
|
|
||||||
[![Release](https://img.shields.io/github/v/release/JcDenis/disclaimer)](https://github.com/JcDenis/disclaimer/releases)
|
[![Release](https://img.shields.io/badge/release-1.4-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/disclaimer/releases)
|
||||||
[![Date](https://img.shields.io/github/release-date/JcDenis/disclaimer)](https://github.com/JcDenis/disclaimer/releases)
|
[![Date](https://img.shields.io/badge/date-2023.09.12-c44d58.svg)](https://git.dotclear.watch/JcDenis/disclaimer/releases)
|
||||||
[![Issues](https://img.shields.io/github/issues/JcDenis/disclaimer)](https://github.com/JcDenis/disclaimer/issues)
|
[![Dotclear](https://img.shields.io/badge/dotclear-v2.27-137bbb.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-9ac123.svg)](https://plugins.dotaddict.org/dc2/details/disclaimer)
|
||||||
[![Dotaddict](https://img.shields.io/badge/dotaddict-official-green.svg)](https://plugins.dotaddict.org/dc2/details/disclaimer)
|
[![License](https://img.shields.io/github/license/JcDenis/disclaimer)](https://git.dotclear.watch/JcDenis/disclaimer/blob/master/LICENSE)
|
||||||
[![License](https://img.shields.io/github/license/JcDenis/disclaimer)](https://github.com/JcDenis/disclaimer/blob/master/LICENSE)
|
|
||||||
|
|
||||||
## WHAT IS DISCLAIMER ?
|
## WHAT IS DISCLAIMER ?
|
||||||
|
|
||||||
|
@ -18,10 +17,11 @@ This plugin is inspired from plugin "Private mode" by Osku.
|
||||||
|
|
||||||
## REQUIREMENTS
|
## REQUIREMENTS
|
||||||
|
|
||||||
_disclaimer_ requires:
|
_disclaimer_ requires:
|
||||||
|
|
||||||
* admin permissions on blog
|
* admin permissions on blog
|
||||||
* Dotclear 2.26
|
* Dotclear 2.27
|
||||||
|
* PHP 7.4+
|
||||||
|
|
||||||
## USAGE
|
## USAGE
|
||||||
|
|
||||||
|
@ -32,17 +32,17 @@ You can activate and setup _disclaimer_ from blog preferences page.
|
||||||
|
|
||||||
## LINKS
|
## LINKS
|
||||||
|
|
||||||
* License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html)
|
* License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html)
|
||||||
* Source & contribution : [GitHub Page](https://github.com/JcDenis/disclaimer)
|
* Source & contribution : [Gitea Page](https://git.dotclear.watch/JcDenis/disclaimer) or [GitHub Page](https://github.com/JcDenis/disclaimer)
|
||||||
* Packages & details : [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/disclaimer)
|
* Packages & details : [Gitea Page](https://git.dotclear.watch/JcDenis/disclaimer/releases) or [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/disclaimer)
|
||||||
* Help & discuss : [Dotclear forum](http://forum.dotclear.org/viewtopic.php?id=40000)
|
* Help & discuss : [Dotclear forum](http://forum.dotclear.org/viewtopic.php?id=40000)
|
||||||
|
|
||||||
## CONTRIBUTORS
|
## CONTRIBUTORS
|
||||||
|
|
||||||
* Jean-Christian Denis (author)
|
* Jean-Christian Denis (author)
|
||||||
* Pierre Van Glabeke
|
* Pierre Van Glabeke
|
||||||
|
|
||||||
You are welcome to contribute to this code.
|
You are welcome to contribute to this code.
|
||||||
|
|
||||||
## HELP (in french)
|
## HELP (in french)
|
||||||
|
|
||||||
|
|
18
_define.php
18
_define.php
|
@ -10,7 +10,7 @@
|
||||||
* @copyright Jean-Christian Denis
|
* @copyright Jean-Christian Denis
|
||||||
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
|
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
*/
|
*/
|
||||||
if (!defined('DC_RC_PATH') || is_null(dcCore::app()->auth)) {
|
if (!defined('DC_RC_PATH')) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,18 +18,18 @@ $this->registerModule(
|
||||||
'Disclaimer',
|
'Disclaimer',
|
||||||
'Add a disclaimer to your blog entrance',
|
'Add a disclaimer to your blog entrance',
|
||||||
'Jean-Christian Denis, Pierre Van Glabeke',
|
'Jean-Christian Denis, Pierre Van Glabeke',
|
||||||
'1.3',
|
'1.4',
|
||||||
[
|
[
|
||||||
'requires' => [['core', '2.26']],
|
'requires' => [['core', '2.27']],
|
||||||
'permissions' => dcCore::app()->auth->makePermissions([
|
'permissions' => dcCore::app()->auth->makePermissions([
|
||||||
dcCore::app()->auth::PERMISSION_ADMIN,
|
dcCore::app()->auth::PERMISSION_ADMIN,
|
||||||
]),
|
]),
|
||||||
'type' => 'plugin',
|
'settings' => [
|
||||||
'support' => 'http://forum.dotclear.org/viewtopic.php?id=40000',
|
'blog' => '#params.' . basename(__DIR__) . 'Param',
|
||||||
'details' => 'https://github.com/JcDenis/' . basename(__DIR__),
|
|
||||||
'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml',
|
|
||||||
'settings' => [
|
|
||||||
'blog' => '#params.disclaimerParam',
|
|
||||||
],
|
],
|
||||||
|
'type' => 'plugin',
|
||||||
|
'support' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/issues',
|
||||||
|
'details' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/src/branch/master/README.md',
|
||||||
|
'repository' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/raw/branch/master/dcstore.xml',
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
10
dcstore.xml
10
dcstore.xml
|
@ -2,12 +2,12 @@
|
||||||
<modules xmlns:da="http://dotaddict.org/da/">
|
<modules xmlns:da="http://dotaddict.org/da/">
|
||||||
<module id="disclaimer">
|
<module id="disclaimer">
|
||||||
<name>Disclaimer</name>
|
<name>Disclaimer</name>
|
||||||
<version>1.3</version>
|
<version>1.4</version>
|
||||||
<author>Jean-Christian Denis, Pierre Van Glabeke</author>
|
<author>Jean-Christian Denis, Pierre Van Glabeke</author>
|
||||||
<desc>Add a disclaimer to your blog entrance</desc>
|
<desc>Add a disclaimer to your blog entrance</desc>
|
||||||
<file>https://github.com/JcDenis/disclaimer/releases/download/v1.3/plugin-disclaimer.zip</file>
|
<file>https://git.dotclear.watch/JcDenis/disclaimer/releases/download/v1.4/plugin-disclaimer.zip</file>
|
||||||
<da:dcmin>2.26</da:dcmin>
|
<da:dcmin>2.27</da:dcmin>
|
||||||
<da:details>https://github.com/JcDenis/disclaimer</da:details>
|
<da:details>https://git.dotclear.watch/JcDenis/disclaimer/src/branch/master/README.md</da:details>
|
||||||
<da:support>http://forum.dotclear.org/viewtopic.php?id=40000</da:support>
|
<da:support>https://git.dotclear.watch/JcDenis/disclaimer/issues</da:support>
|
||||||
</module>
|
</module>
|
||||||
</modules>
|
</modules>
|
||||||
|
|
Loading…
Reference in New Issue