clean up and release

master
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 0.4 - 2021.09.02
* cleaned code and adopt PSR2 - clean up code
- add dcstore.xml
tinyPacker 0.1 - 2010.10.22 0.3 - 2021.08.18
* first version - cleaned code and adopt PSR2
0.1 - 2010.10.22
- first version

View File

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

View File

@ -1,15 +1,15 @@
<?php <?php
# -- BEGIN LICENSE BLOCK ---------------------------------- /**
# * @brief tinyPacker, a plugin for Dotclear 2
# This file is part of tinyPacker, 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
# 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 tinyPacker, a plugin for Dotclear 2
# This file is part of tinyPacker, 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
# 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;
@ -19,12 +19,13 @@ $this->registerModule(
'Tiny packer', 'Tiny packer',
'Quick pack theme or plugin into public dir', 'Quick pack theme or plugin into public dir',
'Jean-Christian Denis', 'Jean-Christian Denis',
'0.3', '0.4',
[ [
'requires' => [['core', '2.19']],
'permissions' => null, 'permissions' => null,
'type' => 'plugin', 'type' => 'plugin',
'dc_min' => '2.18',
'support' => 'https://github.com/JcDenis/tinyPacker', '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 100644
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>