release 2022.11.20
This commit is contained in:
parent
8649c2c11e
commit
f0e2433749
6 changed files with 21 additions and 21 deletions
|
@ -1,5 +1,5 @@
|
||||||
2022.11.12
|
2022.11.20
|
||||||
- require Dotclear 2.24
|
- fix compatibility with Dotclear 2.24 (required)
|
||||||
|
|
||||||
2022.05.16
|
2022.05.16
|
||||||
- require Dotclear 2.22
|
- require Dotclear 2.22
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
[![Release](https://img.shields.io/github/v/release/JcDenis/periodical)](https://github.com/JcDenis/periodical/releases)
|
[![Release](https://img.shields.io/github/v/release/JcDenis/periodical)](https://github.com/JcDenis/periodical/releases)
|
||||||
[![Date](https://img.shields.io/github/release-date/JcDenis/periodical)](https://github.com/JcDenis/periodical/releases)
|
[![Date](https://img.shields.io/github/release-date/JcDenis/periodical)](https://github.com/JcDenis/periodical/releases)
|
||||||
[![Issues](https://img.shields.io/github/issues/JcDenis/periodical)](https://github.com/JcDenis/periodical/issues)
|
[![Issues](https://img.shields.io/github/issues/JcDenis/periodical)](https://github.com/JcDenis/periodical/issues)
|
||||||
[![Dotclear](https://img.shields.io/badge/dotclear-v2.20-blue.svg)](https://fr.dotclear.org/download)
|
[![Dotclear](https://img.shields.io/badge/dotclear-v2.24-blue.svg)](https://fr.dotclear.org/download)
|
||||||
[![Dotaddict](https://img.shields.io/badge/dotaddict-official-green.svg)](https://plugins.dotaddict.org/dc2/details/periodical)
|
[![Dotaddict](https://img.shields.io/badge/dotaddict-official-green.svg)](https://plugins.dotaddict.org/dc2/details/periodical)
|
||||||
[![License](https://img.shields.io/github/license/JcDenis/periodical)](https://github.com/JcDenis/periodical/blob/master/LICENSE)
|
[![License](https://img.shields.io/github/license/JcDenis/periodical)](https://github.com/JcDenis/periodical/blob/master/LICENSE)
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ and they will be publish ones after the others every week.
|
||||||
|
|
||||||
* admin permissions to configure plugin
|
* admin permissions to configure plugin
|
||||||
* usage,contentadmin permissions to link feeds
|
* usage,contentadmin permissions to link feeds
|
||||||
* Dotclear 2.22
|
* Dotclear 2.24
|
||||||
|
|
||||||
## NOTICE
|
## NOTICE
|
||||||
|
|
||||||
|
@ -47,8 +47,8 @@ You can also add or remove period to multiple posts from posts actions page.
|
||||||
|
|
||||||
* 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/periodical)
|
* Source & contribution : [GitHub Page](https://github.com/JcDenis/periodical)
|
||||||
* Packages & details: [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/periodical)
|
* Packages & details : [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/periodical)
|
||||||
* Discuss & help: [Dotclear Forum](https://forum.dotclear.org/viewtopic.php?id=42289)
|
* Discuss & help : [Dotclear Forum](https://forum.dotclear.org/viewtopic.php?id=42289)
|
||||||
|
|
||||||
## CONTRIBUTORS
|
## CONTRIBUTORS
|
||||||
|
|
||||||
|
|
|
@ -18,14 +18,13 @@ $this->registerModule(
|
||||||
'Periodical',
|
'Periodical',
|
||||||
'Published periodically entries',
|
'Published periodically entries',
|
||||||
'Jean-Christian Denis and contributors',
|
'Jean-Christian Denis and contributors',
|
||||||
'2022.11.12',
|
'2022.11.20',
|
||||||
[
|
[
|
||||||
'requires' => [['core', '2.24']],
|
'requires' => [['core', '2.24']],
|
||||||
'permissions' => dcCore::app()->auth->makePermissions([
|
'permissions' => dcCore::app()->auth->makePermissions([
|
||||||
dcAuth::PERMISSION_USAGE,
|
dcAuth::PERMISSION_USAGE,
|
||||||
dcAuth::PERMISSION_CONTENT_ADMIN,
|
dcAuth::PERMISSION_CONTENT_ADMIN,
|
||||||
]),
|
]),
|
||||||
'usage,contentadmin',
|
|
||||||
'type' => 'plugin',
|
'type' => 'plugin',
|
||||||
'support' => 'https://github.com/JcDenis/periodical',
|
'support' => 'https://github.com/JcDenis/periodical',
|
||||||
'details' => 'https://plugins.dotaddict.org/dc2/details/periodical',
|
'details' => 'https://plugins.dotaddict.org/dc2/details/periodical',
|
||||||
|
|
23
dcstore.xml
23
dcstore.xml
|
@ -1,12 +1,13 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
<modules xmlns:da="http://dotaddict.org/da/">
|
<modules xmlns:da="http://dotaddict.org/da/">
|
||||||
<module id="periodical">
|
<module id="periodical">
|
||||||
<name>Periodical</name>
|
<name>Periodical</name>
|
||||||
<version>2022.05.16</version>
|
<version>2022.11.20</version>
|
||||||
<author>Jean-Christian Denis and contributors</author>
|
<author>Jean-Christian Denis and contributors</author>
|
||||||
<desc>Published periodically entries</desc>
|
<desc>Published periodically entries</desc>
|
||||||
<file>https://github.com/JcDenis/periodical/releases/download/v2022.05.16/plugin-periodical.zip</file>
|
<file>https://github.com/JcDenis/periodical/releases/download/v2022.11.20/plugin-periodical.zip</file>
|
||||||
<da:dcmin>2.22</da:dcmin>
|
<da:dcmin>2.24</da:dcmin>
|
||||||
<da:details>https://plugins.dotaddict.org/dc2/details/periodical</da:details>
|
<da:details>https://plugins.dotaddict.org/dc2/details/periodical</da:details>
|
||||||
<da:support>https://github.com/JcDenis/periodical</da:support>
|
<da:support>https://github.com/JcDenis/periodical</da:support>
|
||||||
</module>
|
</module>
|
||||||
</modules>
|
</modules>
|
||||||
|
|
|
@ -226,7 +226,7 @@ class periodical
|
||||||
$params['sql'] .= 'AND T.periodical_id ' . $this->con->in($params['periodical_id']);
|
$params['sql'] .= 'AND T.periodical_id ' . $this->con->in($params['periodical_id']);
|
||||||
unset($params['periodical_id']);
|
unset($params['periodical_id']);
|
||||||
}
|
}
|
||||||
if (dcCore::app()->auth->check('admin', dcCore::app()->blog->id)) {
|
if (dcCore::app()->auth->check(dcAuth::PERMISSION_ADMIN, dcCore::app()->blog->id)) {
|
||||||
if (isset($params['post_status'])) {
|
if (isset($params['post_status'])) {
|
||||||
if ($params['post_status'] != '') {
|
if ($params['post_status'] != '') {
|
||||||
$params['sql'] .= 'AND P.post_status = ' . (int) $params['post_status'] . ' ';
|
$params['sql'] .= 'AND P.post_status = ' . (int) $params['post_status'] . ' ';
|
||||||
|
|
|
@ -172,7 +172,7 @@ class adminPeriodicalList extends adminGenericList
|
||||||
|
|
||||||
private function postLine($checked)
|
private function postLine($checked)
|
||||||
{
|
{
|
||||||
if (dcCore::app()->auth->check(dcCore::app()->auth->makePermissions([dcAuth::PERMISSION_CATEGORIES]), dcCore::app()->blog->id)) {
|
if (dcCore::app()->auth->check(dcAuth::PERMISSION_CATEGORIES, dcCore::app()->blog->id)) {
|
||||||
$cat_link = '<a href="category.php?id=%s">%s</a>';
|
$cat_link = '<a href="category.php?id=%s">%s</a>';
|
||||||
} else {
|
} else {
|
||||||
$cat_link = '%2$s';
|
$cat_link = '%2$s';
|
||||||
|
|
Loading…
Reference in a new issue