clean up again

master
Jean-Christian Paul Denis 2021-09-02 22:43:05 +02:00
parent 2a8c796f82
commit aee31a7978
8 changed files with 108 additions and 94 deletions

View File

@ -1,45 +1,49 @@
postExpired xxxx.xx.xx 2021.08.20.1 - dev
* Not fix: Wrong timezone on admin vs public expired date - [ ] fix wrong timezone on admin vs public expired date
- [x] clean up again...
postExpired 2021.08.19 2021.08.20
* update license and fix PSR2 coding style - fix metadata call
postExpired 2013.11.13 2021.08.19
* Fixed wrong field name for category - update license and fix PSR2 coding style
postExpired 2013.11.03 2013.11.13
* Switch to Dotclear 2.6 - Fixed wrong field name for category
* Use new posts actions
* Save all options in one meta
* Limit plugin to contentadmin
postExpired 2013.06.30 2013.11.03
* Fixed post_type and posts_actions - Switch to Dotclear 2.6
- Use new posts actions
- Save all options in one meta
- Limit plugin to contentadmin
postExpired 0.5 - 2010-08-17 2013.06.30
* Added compatibility with plugins 'pages' and 'muppet' - Fixed post_type and posts_actions
postExpired 0.4 - 2010-08-03 0.5 - 2010-08-17
* Added actions (comments, trackbacks) (closes #525) - Added compatibility with plugins 'pages' and 'muppet'
* Speed up public part (less sql resquests)
* Fixed typo
postExpired 0.3.1 - 2010-06-21 0.4 - 2010-08-03
* Fixed user rights - Added actions (comments, trackbacks) (closes #525)
* Fixed (again) PHP 5.3 compatibility - Speed up public part (less sql resquests)
* Fixed typo - Fixed typo
postExpired 0.3 - 2010-06-08 0.3.1 - 2010-06-21
* Switched to DC 2.2 (settings,meta) - Fixed user rights
- Fixed (again) PHP 5.3 compatibility
- Fixed typo
postExpired 0.2.1 - 2010-05-28 0.3 - 2010-06-08
* Fixed DC 2.1.7 settings bugs - Switched to DC 2.2 (settings,meta)
postExpired 0.2 - 2010-04-14 0.2.1 - 2010-05-28
* Added actions choice (status,category,selected) - Fixed DC 2.1.7 settings bugs
* Added template block and value
* Added behaviors to open choices
* Enhanced db resquest on public side
postExpired 0.1 - 2010-04-10 0.2 - 2010-04-14
* First lab release - Added actions choice (status,category,selected)
- Added template block and value
- Added behaviors to open choices
- Enhanced db resquest on public side
0.1 - 2010-04-10
- First lab release

View File

@ -1,15 +1,15 @@
<?php <?php
# -- BEGIN LICENSE BLOCK ---------------------------------- /**
# * @brief postExpired, a plugin for Dotclear 2
# This file is part of postExpired, a plugin for Dotclear 2. *
# * @package Dotclear
# Copyright (c) 2009-2021 Jean-Christian Denis and contributors * @subpackage Plugin
# *
# Licensed under the GPL version 2.0 license. * @author Jean-Christian Denis and Contributors
# A copy of this license is available in LICENSE file or at *
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * @copyright Jean-Christian Denis
# * @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
# -- END LICENSE BLOCK ------------------------------------ */
if (!defined('DC_CONTEXT_ADMIN')) { if (!defined('DC_CONTEXT_ADMIN')) {
return null; return null;

View File

@ -1,15 +1,15 @@
<?php <?php
# -- BEGIN LICENSE BLOCK ---------------------------------- /**
# * @brief postExpired, a plugin for Dotclear 2
# This file is part of postExpired, a plugin for Dotclear 2. *
# * @package Dotclear
# Copyright (c) 2009-2021 Jean-Christian Denis and contributors * @subpackage Plugin
# *
# Licensed under the GPL version 2.0 license. * @author Jean-Christian Denis and Contributors
# A copy of this license is available in LICENSE file or at *
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * @copyright Jean-Christian Denis
# * @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
# -- END LICENSE BLOCK ------------------------------------ */
if (!defined('DC_RC_PATH')) { if (!defined('DC_RC_PATH')) {
return null; return null;
@ -21,10 +21,11 @@ $this->registerModule(
'Jean-Christian Denis and Contributors', 'Jean-Christian Denis and Contributors',
'2021.08.20.1', '2021.08.20.1',
[ [
'requires' => [['core', '2.19']],
'permissions' => 'usage,contentadmin', 'permissions' => 'usage,contentadmin',
'type' => 'plugin', 'type' => 'plugin',
'dc_min' => '2.18',
'support' => 'https://github.com/JcDenis/postExpired', 'support' => 'https://github.com/JcDenis/postExpired',
'details' => 'https://plugins.dotaddict.org/dc2/details/postExpired' 'details' => 'https://plugins.dotaddict.org/dc2/details/postExpired',
'repository' => 'https://raw.githubusercontent.com/JcDenis/postExpired/master/dcstore.xml'
] ]
); );

View File

@ -1,15 +1,15 @@
<?php <?php
# -- BEGIN LICENSE BLOCK ---------------------------------- /**
# * @brief postExpired, a plugin for Dotclear 2
# This file is part of postExpired, a plugin for Dotclear 2. *
# * @package Dotclear
# Copyright (c) 2009-2021 Jean-Christian Denis and contributors * @subpackage Plugin
# *
# Licensed under the GPL version 2.0 license. * @author Jean-Christian Denis and Contributors
# A copy of this license is available in LICENSE file or at *
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * @copyright Jean-Christian Denis
# * @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
# -- END LICENSE BLOCK ------------------------------------ */
if (!defined('DC_CONTEXT_ADMIN')) { if (!defined('DC_CONTEXT_ADMIN')) {
return null; return null;

View File

@ -1,15 +1,15 @@
<?php <?php
# -- BEGIN LICENSE BLOCK ---------------------------------- /**
# * @brief postExpired, a plugin for Dotclear 2
# This file is part of postExpired, a plugin for Dotclear 2. *
# * @package Dotclear
# Copyright (c) 2009-2021 Jean-Christian Denis and contributors * @subpackage Plugin
# *
# Licensed under the GPL version 2.0 license. * @author Jean-Christian Denis and Contributors
# A copy of this license is available in LICENSE file or at *
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * @copyright Jean-Christian Denis
# * @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
# -- END LICENSE BLOCK ------------------------------------ */
if (!defined('DC_RC_PATH')) { if (!defined('DC_RC_PATH')) {
return null; return null;

View File

@ -1,15 +1,15 @@
<?php <?php
# -- BEGIN LICENSE BLOCK ---------------------------------- /**
# * @brief postExpired, a plugin for Dotclear 2
# This file is part of postExpired, a plugin for Dotclear 2. *
# * @package Dotclear
# Copyright (c) 2009-2021 Jean-Christian Denis and contributors * @subpackage Plugin
# *
# Licensed under the GPL version 2.0 license. * @author Jean-Christian Denis and Contributors
# A copy of this license is available in LICENSE file or at *
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * @copyright Jean-Christian Denis
# * @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
# -- END LICENSE BLOCK ------------------------------------ */
if (!defined('DC_RC_PATH')) { if (!defined('DC_RC_PATH')) {
return null; return null;

11
dcstore.xml 100644
View File

@ -0,0 +1,11 @@
<modules xmlns:da="http://dotaddict.org/da/">
<module id="postExpired">
<name>Billets périmés</name>
<version>2021.08.20.1</version>
<author>Jean-Christian Denis and Contributors</author>
<desc>Change entries options at a given date</desc>
<file>https://github.com/JcDenis/postExpired/releases/download/v2021.08.20.1/plugin-postExpired.zip</file>
<da:details>https://plugins.dotaddict.org/dc2/details/postExpired</da:details>
<da:support>https://github.com/JcDenis/postExpired</da:support>
</module>
</modules>

View File

@ -57,6 +57,4 @@ $GLOBALS['__l10n']['Closed'] = 'Fermé';
$GLOBALS['__l10n']['Expired on'] = 'Expire le'; $GLOBALS['__l10n']['Expired on'] = 'Expire le';
#_public.php:26 #_public.php:26
$GLOBALS['__l10n']['This entry has no expiration date'] = 'Ce billet n\'a pas de date de péremption'; $GLOBALS['__l10n']['This entry has no expiration date'] = 'Ce billet n\'a pas de date de péremption';
?>