clean up and release

This commit is contained in:
Jean-Christian Paul Denis 2021-09-02 23:12:57 +02:00
parent 56f64b7fe0
commit 099beae734
5 changed files with 51 additions and 35 deletions

View File

@ -1,5 +1,9 @@
tinyPacker 0.3 - 2021.0818
* cleaned code and adopt PSR2
0.4 - 2021.09.02
- clean up code
- add dcstore.xml
tinyPacker 0.1 - 2010.10.22
* first version
0.3 - 2021.08.18
- cleaned code and adopt PSR2
0.1 - 2010.10.22
- first version

View File

@ -2,7 +2,7 @@
## WHAT IS tinyPacker ?
tinyPacker is a plugin for the open-source
_tinyPacker_ is a plugin for the open-source
web publishing software called Dotclear.
It is a one button packager for plugins and theme
@ -10,15 +10,15 @@ direct from Dotclear blog manager.
## REQUIREMENTS
tinyPacker requires:
_tinyPacker_ requires:
* Super administrator permissions
* Dotclear 2.18
* A writable public directory.
* Super administrator permissions
* Dotclear 2.18
* A writable public directory.
## USAGE
First install tinyPacker, manualy from a zip package or from
First install _tinyPacker_, manualy from a zip package or from
Dotaddict repository. (See Dotclear's documentation to know how do this)
Go to ''plugins manager'' or ''themes manager'',

View File

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

View File

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

11
dcstore.xml Normal file
View File

@ -0,0 +1,11 @@
<modules xmlns:da="http://dotaddict.org/da/">
<module id="tinyPacker">
<name>Tiny packer</name>
<version>0.4</version>
<author>Jean-Christian Denis</author>
<desc>Quick pack theme or plugin into public dir</desc>
<file>https://github.com/JcDenis/tinyPacker/releases/download/v0.4/plugin-tinyPacker.zip</file>
<da:details>https://plugins.dotaddict.org/dc2/details/tinyPacker</da:details>
<da:support>https://github.com/JcDenis/tinyPacker</da:support>
</module>
</modules>