release 2022.12.20

master
Jean-Christian Paul Denis 2022-12-20 22:21:48 +01:00
parent a590e8bd8c
commit 75465242e0
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
5 changed files with 19 additions and 13 deletions

View File

@ -1,3 +1,9 @@
2022.12.20
- change plugin name
- use anonymous functions
- use abstract plugin name
- fix install
2022.11.20
- fix compatibility with Dotclear 2.24 (required)

View File

@ -7,7 +7,7 @@
*
* @author Jean-Christian Denis, Pierre Van Glabeke
*
* @copyright Jean-Crhistian Denis
* @copyright Jean-Christian Denis
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
*/
if (!defined('DC_RC_PATH')) {
@ -15,19 +15,19 @@ if (!defined('DC_RC_PATH')) {
}
$this->registerModule(
'dcLatestVersions',
"Dotclear's latest versions",
'Show the latest available versions of Dotclear',
'Jean-Christian Denis, Pierre Van Glabeke',
'2022.11.20',
'2022.12.20',
[
'requires' => [['core', '2.24']],
'permissions' => dcCore::app()->auth->makePermissions([
dcAuth::PERMISSION_USAGE,
dcAuth::PERMISSION_CONTENT_ADMIN,
]),
'type' => 'plugin',
'support' => 'http://forum.dotclear.org/viewforum.php?id=16',
'details' => 'http://plugins.dotaddict.org/dc2/details/dcLatestVersions',
'repository' => 'https://raw.githubusercontent.com/JcDenis/dcLatestVersions/master/dcstore.xml',
'type' => 'plugin',
'support' => 'http://forum.dotclear.org/viewforum.php?id=16',
'details' => 'http://plugins.dotaddict.org/dc2/details/' . basename(__DIR__),
'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml',
]
);

View File

@ -7,7 +7,7 @@
*
* @author Jean-Christian Denis, Pierre Van Glabeke
*
* @copyright Jean-Crhistian Denis
* @copyright Jean-Christian Denis
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
*/
if (!defined('DC_CONTEXT_ADMIN')) {
@ -26,7 +26,7 @@ $mod_conf = [[
try {
# Check module version
if (!dcCore::app()->newVersion(
basename(__DIR__),
basename(__DIR__),
dcCore::app()->plugins->moduleInfo(basename(__DIR__), 'version')
)) {
return null;

View File

@ -7,7 +7,7 @@
*
* @author Jean-Christian Denis, Pierre Van Glabeke
*
* @copyright Jean-Crhistian Denis
* @copyright Jean-Christian Denis
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
*/
if (!defined('DC_RC_PATH')) {

View File

@ -1,11 +1,11 @@
<?xml version="1.0"?>
<modules xmlns:da="http://dotaddict.org/da/">
<module id="dcLatestVersions">
<name>dcLatestVersions</name>
<version>2022.11.20</version>
<name>Dotclear's latest versions</name>
<version>2022.12.20</version>
<author>Jean-Christian Denis, Pierre Van Glabeke</author>
<desc>Show the latest available versions of Dotclear</desc>
<file>https://github.com/JcDenis/dcLatestVersions/releases/download/v2022.11.20/plugin-dcLatestVersions.zip</file>
<file>https://github.com/JcDenis/dcLatestVersions/releases/download/v2022.12.20/plugin-dcLatestVersions.zip</file>
<da:dcmin>2.24</da:dcmin>
<da:details>http://plugins.dotaddict.org/dc2/details/dcLatestVersions</da:details>
<da:support>http://forum.dotclear.org/viewforum.php?id=16</da:support>