release 2023.08.06
This commit is contained in:
parent
5687b72e5f
commit
2a7a365eea
4 changed files with 82 additions and 60 deletions
90
CHANGELOG.md
90
CHANGELOG.md
|
@ -1,44 +1,64 @@
|
||||||
2023.05.13
|
dcLatestVersions 2023.08.06
|
||||||
- require dotclear 2.26
|
===========================================================
|
||||||
- release for dotclear 2.26 stable
|
* Require Dotclear 2.27
|
||||||
|
* Require PHP7.4+
|
||||||
|
* Upgrade to Dotclear 2.27
|
||||||
|
* Move third party repository
|
||||||
|
* Use Dotclear style for changelog
|
||||||
|
* Change user pref to plugin ID (breaking)
|
||||||
|
* Change widget id to plugin ID (breaking)
|
||||||
|
|
||||||
2023.04.23
|
dcLatestVersions 2023.05.13
|
||||||
- require dotclear 2.26
|
===========================================================
|
||||||
- use latest dotclear namespace
|
* require dotclear 2.26
|
||||||
- add plugin Uninstaller features
|
* release for dotclear 2.26 stable
|
||||||
- remove magic
|
|
||||||
- fix nullsafe warnings
|
|
||||||
|
|
||||||
2023.03.26
|
dcLatestVersions 2023.04.23
|
||||||
- require dotclear 2.26
|
===========================================================
|
||||||
- use namespace
|
* require dotclear 2.26
|
||||||
|
* use latest dotclear namespace
|
||||||
|
* add plugin Uninstaller features
|
||||||
|
* remove magic
|
||||||
|
* fix nullsafe warnings
|
||||||
|
|
||||||
2022.12.20
|
dcLatestVersions 2023.03.26
|
||||||
- change plugin name
|
===========================================================
|
||||||
- use anonymous functions
|
* require dotclear 2.26
|
||||||
- use abstract plugin name
|
* use namespace
|
||||||
- fix install
|
|
||||||
|
|
||||||
2022.11.20
|
dcLatestVersions 2022.12.20
|
||||||
- fix compatibility with Dotclear 2.24 (required)
|
===========================================================
|
||||||
|
* change plugin name
|
||||||
|
* use anonymous functions
|
||||||
|
* use abstract plugin name
|
||||||
|
* fix install
|
||||||
|
|
||||||
2021.08.27
|
dcLatestVersions 2022.11.20
|
||||||
- cleanup (PSR2,short array, ...)
|
===========================================================
|
||||||
- enhance widget style
|
* fix compatibility with Dotclear 2.24 (required)
|
||||||
- update license
|
|
||||||
|
|
||||||
2020.09.18 - Pierre Van Glabeke
|
dcLatestVersions 2021.08.27
|
||||||
- modif admin.php (merci à nanart)
|
===========================================================
|
||||||
|
* cleanup (PSR2,short array, ...)
|
||||||
|
* enhance widget style
|
||||||
|
* update license
|
||||||
|
|
||||||
2015.03.11 - Pierre Van Glabeke
|
dcLatestVersions 2020.09.18 - Pierre Van Glabeke
|
||||||
- ajout mode hors ligne et codage titre widget (widget)
|
===========================================================
|
||||||
- encodage UNIX (LF)
|
* modif admin.php (merci à nanart)
|
||||||
- modif url de support
|
|
||||||
- modifs localisation
|
|
||||||
- suppression icône
|
|
||||||
|
|
||||||
2013.11.18 - Jean-Christian Denis
|
dcLatestVersions 2015.03.11 - Pierre Van Glabeke
|
||||||
- First hg release
|
===========================================================
|
||||||
|
* ajout mode hors ligne et codage titre widget (widget)
|
||||||
|
* encodage UNIX (LF)
|
||||||
|
* modif url de support
|
||||||
|
* modifs localisation
|
||||||
|
* suppression icône
|
||||||
|
|
||||||
2013.07.22 - Jean-Christian Denis
|
dcLatestVersions 2013.11.18 - Jean-Christian Denis
|
||||||
- First release
|
===========================================================
|
||||||
|
* First hg release
|
||||||
|
|
||||||
|
dcLatestVersions 2013.07.22 - Jean-Christian Denis
|
||||||
|
===========================================================
|
||||||
|
* First release
|
||||||
|
|
22
README.md
22
README.md
|
@ -1,11 +1,11 @@
|
||||||
# README
|
# README
|
||||||
|
|
||||||
[![Release](https://img.shields.io/github/v/release/JcDenis/dcLatestVersions)](https://github.com/JcDenis/dcLatestVersions/releases)
|
[![Release](https://img.shields.io/github/v/release/JcDenis/dcLatestVersions)](https://git.dotclear.watch/JcDenis/dcLatestVersions/releases)
|
||||||
[![Date](https://img.shields.io/github/release-date/JcDenis/dcLatestVersions)](https://github.com/JcDenis/dcLatestVersions/releases)
|
[![Date](https://img.shields.io/github/release-date/JcDenis/dcLatestVersions)](https://git.dotclear.watch/JcDenis/dcLatestVersions/releases)
|
||||||
[![Issues](https://img.shields.io/github/issues/JcDenis/dcLatestVersions)](https://github.com/JcDenis/dcLatestVersions/issues)
|
[![Issues](https://img.shields.io/github/issues/JcDenis/dcLatestVersions)](https://git.dotclear.watch/JcDenis/dcLatestVersions/issues)
|
||||||
[![Dotclear](https://img.shields.io/badge/dotclear-v2.26-blue.svg)](https://fr.dotclear.org/download)
|
[![Dotclear](https://img.shields.io/badge/dotclear-v2.27-blue.svg)](https://fr.dotclear.org/download)
|
||||||
[![Dotaddict](https://img.shields.io/badge/dotaddict-official-green.svg)](https://plugins.dotaddict.org/dc2/details/dcLatestVersions)
|
[![Dotaddict](https://img.shields.io/badge/dotaddict-official-green.svg)](https://plugins.dotaddict.org/dc2/details/dcLatestVersions)
|
||||||
[![License](https://img.shields.io/github/license/JcDenis/dcLatestVersions)](https://github.com/JcDenis/dcLatestVersions/blob/master/LICENSE)
|
[![License](https://img.shields.io/github/license/JcDenis/dcLatestVersions)](https://git.dotclear.watch/JcDenis/dcLatestVersions/blob/master/LICENSE)
|
||||||
|
|
||||||
## WHAT IS DCLATESTVERSION ?
|
## WHAT IS DCLATESTVERSION ?
|
||||||
|
|
||||||
|
@ -16,14 +16,14 @@ Simply show visitors last versions of nightly build of Dotclear.
|
||||||
|
|
||||||
## REQUIREMENTS
|
## REQUIREMENTS
|
||||||
|
|
||||||
dcLatestVersions requires:
|
_dcLatestVersions_ requires:
|
||||||
|
|
||||||
* permissions to manage widgets
|
* permissions to manage widgets
|
||||||
* Dotclear 2.26
|
* Dotclear 2.27
|
||||||
|
|
||||||
## USAGE
|
## USAGE
|
||||||
|
|
||||||
First install dcLatestVersions, manualy from a zip package or from
|
First install _dcLatestVersions_, 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)
|
||||||
|
|
||||||
Add and configure "Dotclear's latest versions" from widgets manager.
|
Add and configure "Dotclear's latest versions" from widgets manager.
|
||||||
|
@ -32,10 +32,12 @@ You can add a dashboard item by enable it from your dashboard preferences.
|
||||||
## MORE
|
## MORE
|
||||||
|
|
||||||
* License : GNU GPL v2
|
* License : GNU GPL v2
|
||||||
* Source & contribution : [GitHub Page](https://github.com/JcDenis/dcLatestVersions)
|
* Source & contribution : [Gitea Page](https://git.dotclear.watch/JcDenis/dcLatestVersion) or [GitHub Page](https://github.com/JcDenis/dcLatestVersions)
|
||||||
* Packages & details: [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/dcLatestVersions)
|
* Packages & details: [Gitea Page](https://git.dotclear.watch/JcDenis/dcLatestVersion/releases) or [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/dcLatestVersions)
|
||||||
|
|
||||||
## CONTRIBUTORS
|
## CONTRIBUTORS
|
||||||
|
|
||||||
* Jean-Chirstian Denis
|
* Jean-Chirstian Denis
|
||||||
* Pierre Van Glabeke
|
* Pierre Van Glabeke
|
||||||
|
|
||||||
|
You are welcome to contribute to this code.
|
||||||
|
|
12
_define.php
12
_define.php
|
@ -10,7 +10,7 @@
|
||||||
* @copyright Jean-Christian Denis
|
* @copyright Jean-Christian Denis
|
||||||
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
|
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
*/
|
*/
|
||||||
if (!defined('DC_RC_PATH') || is_null(dcCore::app()->auth)) {
|
if (!defined('DC_RC_PATH')) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,16 +18,16 @@ $this->registerModule(
|
||||||
"Dotclear's latest versions",
|
"Dotclear's latest versions",
|
||||||
'Show the latest available versions of Dotclear',
|
'Show the latest available versions of Dotclear',
|
||||||
'Jean-Christian Denis, Pierre Van Glabeke',
|
'Jean-Christian Denis, Pierre Van Glabeke',
|
||||||
'2023.05.13',
|
'2023.08.06',
|
||||||
[
|
[
|
||||||
'requires' => [['core', '2.26']],
|
'requires' => [['core', '2.27']],
|
||||||
'permissions' => dcCore::app()->auth->makePermissions([
|
'permissions' => dcCore::app()->auth->makePermissions([
|
||||||
dcCore::app()->auth::PERMISSION_USAGE,
|
dcCore::app()->auth::PERMISSION_USAGE,
|
||||||
dcCore::app()->auth::PERMISSION_CONTENT_ADMIN,
|
dcCore::app()->auth::PERMISSION_CONTENT_ADMIN,
|
||||||
]),
|
]),
|
||||||
'type' => 'plugin',
|
'type' => 'plugin',
|
||||||
'support' => 'http://forum.dotclear.org/viewforum.php?id=16',
|
'support' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/issues',
|
||||||
'details' => 'http://plugins.dotaddict.org/dc2/details/' . basename(__DIR__),
|
'details' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/src/branch/master/README.md',
|
||||||
'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml',
|
'repository' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/raw/branch/master/dcstore.xml',
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
10
dcstore.xml
10
dcstore.xml
|
@ -2,12 +2,12 @@
|
||||||
<modules xmlns:da="http://dotaddict.org/da/">
|
<modules xmlns:da="http://dotaddict.org/da/">
|
||||||
<module id="dcLatestVersions">
|
<module id="dcLatestVersions">
|
||||||
<name>Dotclear's latest versions</name>
|
<name>Dotclear's latest versions</name>
|
||||||
<version>2023.05.13</version>
|
<version>2023.08.06</version>
|
||||||
<author>Jean-Christian Denis, Pierre Van Glabeke</author>
|
<author>Jean-Christian Denis, Pierre Van Glabeke</author>
|
||||||
<desc>Show the latest available versions of Dotclear</desc>
|
<desc>Show the latest available versions of Dotclear</desc>
|
||||||
<file>https://github.com/JcDenis/dcLatestVersions/releases/download/v2023.05.13/plugin-dcLatestVersions.zip</file>
|
<file>https://gitea.dotclear.watch/JcDenis/dcLatestVersions/releases/download/v2023.08.06/plugin-dcLatestVersions.zip</file>
|
||||||
<da:dcmin>2.26</da:dcmin>
|
<da:dcmin>2.27</da:dcmin>
|
||||||
<da:details>http://plugins.dotaddict.org/dc2/details/dcLatestVersions</da:details>
|
<da:details>https://git.dotclear.watch/JcDenis/dcLatestVersions/src/branch/master/README.md</da:details>
|
||||||
<da:support>http://forum.dotclear.org/viewforum.php?id=16</da:support>
|
<da:support>https://git.dotclear.watch/JcDenis/dcLatestVersions/issues</da:support>
|
||||||
</module>
|
</module>
|
||||||
</modules>
|
</modules>
|
||||||
|
|
Loading…
Reference in a new issue