parent
f46c9c8d52
commit
19c4447e46
92
CHANGELOG.md
92
CHANGELOG.md
|
@ -1,47 +1,67 @@
|
|||
2023.05.13
|
||||
- require dotclear 2.26
|
||||
- fix type hint and nullsafe warnings
|
||||
lastBlogUpdate 2023.08.12
|
||||
===========================================================
|
||||
* Require Dotclear 2.27
|
||||
* Require PHP 7.4+
|
||||
* Upgrade to Dotclear 2.27
|
||||
* Move third party repository
|
||||
* Use Dotclear style for CHANGELOG
|
||||
|
||||
2023.04.22
|
||||
- require dotclear 2.26
|
||||
- use latest helper namespace
|
||||
- fix nullsafe warnings
|
||||
lastBlogUpdate 2023.05.13
|
||||
===========================================================
|
||||
* require dotclear 2.26
|
||||
* fix type hint and nullsafe warnings
|
||||
|
||||
2023.03.2025
|
||||
- require dotclear 2.26
|
||||
- use namespace
|
||||
lastBlogUpdate 2023.04.22
|
||||
===========================================================
|
||||
* require dotclear 2.26
|
||||
* use latest helper namespace
|
||||
* fix nullsafe warnings
|
||||
|
||||
2022.11.20
|
||||
- fix compatibility with Dotclear 2.24 (required)
|
||||
lastBlogUpdate 2023.03.2025
|
||||
===========================================================
|
||||
* require dotclear 2.26
|
||||
* use namespace
|
||||
|
||||
2021.08.27
|
||||
- cleanup (PSR2, short array, ...)
|
||||
- enhance widget style
|
||||
- update license
|
||||
lastBlogUpdate 2022.11.20
|
||||
===========================================================
|
||||
* fix compatibility with Dotclear 2.24 (required)
|
||||
|
||||
2015.04.22 - Pierre Van Glabeke
|
||||
- modif url support
|
||||
- suppression icône
|
||||
lastBlogUpdate 2021.08.27
|
||||
===========================================================
|
||||
* cleanup (PSR2, short array, ...)
|
||||
* enhance widget style
|
||||
* update license
|
||||
|
||||
2015.01.29 - Pierre Van Glabeke
|
||||
- ajout option hors ligne widget
|
||||
- modif code pour affichage widget (compatibilité currywurst)
|
||||
- modifs locales
|
||||
lastBlogUpdate 2015.04.22 - Pierre Van Glabeke
|
||||
===========================================================
|
||||
* modif url support
|
||||
* suppression icône
|
||||
|
||||
2013.11.12
|
||||
- Tiny clean up and add options to widgets
|
||||
lastBlogUpdate 2015.01.29 - Pierre Van Glabeke
|
||||
===========================================================
|
||||
* ajout option hors ligne widget
|
||||
* modif code pour affichage widget (compatibilité currywurst)
|
||||
* modifs locales
|
||||
|
||||
2013.06.30
|
||||
- Used new 'homeonly' style for widgets
|
||||
lastBlogUpdate 2013.11.12
|
||||
===========================================================
|
||||
* Tiny clean up and add options to widgets
|
||||
|
||||
0.5 - 2010-06-05
|
||||
- Switched to DC 2.2
|
||||
lastBlogUpdate 2013.06.30
|
||||
===========================================================
|
||||
* Used new 'homeonly' style for widgets
|
||||
|
||||
0.4
|
||||
- Added media update
|
||||
- Moved public function to _public.php
|
||||
- Fixed some l10n
|
||||
lastBlogUpdate 0.5 - 2010-06-05
|
||||
===========================================================
|
||||
* Switched to DC 2.2
|
||||
|
||||
0.3
|
||||
- Fixed php 5.3 compatibility
|
||||
- Fixed wrong timezone
|
||||
lastBlogUpdate 0.4
|
||||
===========================================================
|
||||
* Added media update
|
||||
* Moved public function to _public.php
|
||||
* Fixed some l10n
|
||||
|
||||
lastBlogUpdate 0.3
|
||||
===========================================================
|
||||
* Fixed php 5.3 compatibility
|
||||
* Fixed wrong timezone
|
38
README.md
38
README.md
|
@ -1,43 +1,43 @@
|
|||
# README
|
||||
|
||||
[![Release](https://img.shields.io/github/v/release/JcDenis/lastBlogUpdate)](https://github.com/JcDenis/lastBlogUpdate/releases)
|
||||
[![Date](https://img.shields.io/github/release-date/JcDenis/lastBlogUpdate)](https://github.com/JcDenis/lastBlogUpdate/releases)
|
||||
[![Issues](https://img.shields.io/github/issues/JcDenis/lastBlogUpdate)](https://github.com/JcDenis/lastBlogUpdate/issues)
|
||||
[![Dotclear](https://img.shields.io/badge/dotclear-v2.26-blue.svg)](https://fr.dotclear.org/download)
|
||||
[![Dotaddict](https://img.shields.io/badge/dotaddict-official-green.svg)](https://plugins.dotaddict.org/dc2/details/lastBlogUpdate)
|
||||
[![License](https://img.shields.io/github/license/JcDenis/lastBlogUpdate)](https://github.com/JcDenis/lastBlogUpdate/blob/master/LICENSE)
|
||||
[![Release](https://img.shields.io/badge/release-2023.08.12-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/lastBlogUpdate/releases)
|
||||
[![Date](https://img.shields.io/badge/date-2023.08.12-c44d58.svg)](https://git.dotclear.watch/JcDenis/lastBlogUpdate/releases)
|
||||
[![Dotclear](https://img.shields.io/badge/dotclear-v2.27-137bbb.svg)](https://fr.dotclear.org/download)
|
||||
[![Dotaddict](https://img.shields.io/badge/dotaddict-official-9ac123.svg)](https://plugins.dotaddict.org/dc2/details/lastBlogUpdate)
|
||||
[![License](https://img.shields.io/github/license/JcDenis/lastBlogUpdate)](https://git.dotclear.watch/JcDenis/lastBlogUpdate/blob/master/LICENSE)
|
||||
|
||||
## WHAT IS LASTBLOGUPDATE ?
|
||||
|
||||
**last blog update** is a plugin for the open-source
|
||||
_last blog update_ is a plugin for the open-source
|
||||
web publishing software called Dotclear.
|
||||
|
||||
Simply show visitors last update of posts, comments, etc of your blog.
|
||||
|
||||
## REQUIREMENTS
|
||||
|
||||
**lastBlogUpdate** requires:
|
||||
_lastBlogUpdate_ requires:
|
||||
|
||||
* permissions to manage widgets
|
||||
* Dotclear 2.26
|
||||
* permissions to manage widgets
|
||||
* Dotclear 2.27
|
||||
* PHP 7.4+
|
||||
|
||||
## USAGE
|
||||
|
||||
First install **lastBlogUpdate**, manualy from a zip package or from
|
||||
First install _lastBlogUpdate_, manualy from a zip package or from
|
||||
Dotaddict repository. (See Dotclear's documentation to know how do this)
|
||||
|
||||
Add and configure **Last blog update** from widgets manager.
|
||||
Add and configure _Last blog update_ from widgets manager.
|
||||
|
||||
## LINKS
|
||||
|
||||
* License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html)
|
||||
* Source & contribution : [GitHub Page](https://github.com/JcDenis/lastBlogUpdate)
|
||||
* Packages & details : [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/lastBlogUpdate)
|
||||
* Discuss and help : [Dotclear Forum](ttp://forum.dotclear.org/viewtopic.php?pid=332950#p332950)
|
||||
* License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html)
|
||||
* Source & contribution : [Gitea Page](https://git.dotclear.watch/JcDenis/lastBlogUpdate) or [GitHub Page](https://github.com/JcDenis/lastBlogUpdate)
|
||||
* Packages & details : [Gitea Page](https://git.dotclear.watch/JcDenis/lastBlogUpdate/releases) or [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/lastBlogUpdate)
|
||||
* Discuss and help : [Dotclear Forum](ttp://forum.dotclear.org/viewtopic.php?pid=332950#p332950)
|
||||
|
||||
## CONTRIBUTORS
|
||||
|
||||
* Jean-Christian Denis
|
||||
* Pierre Van Glabeke
|
||||
* Jean-Christian Denis
|
||||
* Pierre Van Glabeke
|
||||
|
||||
You are welcome to contribute to this code.
|
||||
You are welcome to contribute to this code.
|
||||
|
|
12
_define.php
12
_define.php
|
@ -10,7 +10,7 @@
|
|||
* @copyright Jean-Christian Denis
|
||||
* @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;
|
||||
}
|
||||
|
||||
|
@ -18,16 +18,16 @@ $this->registerModule(
|
|||
'Last blog update',
|
||||
'Show the dates of last updates of your blog in a widget',
|
||||
'Jean-Christian Denis, Pierre Van Glabeke',
|
||||
'2023.05.13',
|
||||
'2023.08.12',
|
||||
[
|
||||
'requires' => [['core', '2.26']],
|
||||
'requires' => [['core', '2.27']],
|
||||
'permissions' => dcCore::app()->auth->makePermissions([
|
||||
dcCore::app()->auth::PERMISSION_USAGE,
|
||||
dcCore::app()->auth::PERMISSION_CONTENT_ADMIN,
|
||||
]),
|
||||
'type' => 'plugin',
|
||||
'support' => 'http://forum.dotclear.org/viewtopic.php?pid=332950#p332950',
|
||||
'details' => 'http://plugins.dotaddict.org/dc2/details/lastBlogUpdate',
|
||||
'repository' => 'https://raw.githubusercontent.com/JcDenis/lastBlogUpdate/master/dcstore.xml',
|
||||
'support' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/issues',
|
||||
'details' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/src/branch/master/README.md',
|
||||
'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/">
|
||||
<module id="lastBlogUpdate">
|
||||
<name>Last blog update</name>
|
||||
<version>2023.05.13</version>
|
||||
<version>2023.08.12</version>
|
||||
<author>Jean-Christian Denis, Pierre Van Glabeke</author>
|
||||
<desc>Show the dates of last updates of your blog in a widget</desc>
|
||||
<file>https://github.com/JcDenis/lastBlogUpdate/releases/download/v2023.05.13/plugin-lastBlogUpdate.zip</file>
|
||||
<da:dcmin>2.26</da:dcmin>
|
||||
<da:details>http://plugins.dotaddict.org/dc2/details/lastBlogUpdate</da:details>
|
||||
<da:support>http://forum.dotclear.org/viewtopic.php?pid=332950#p332950</da:support>
|
||||
<file>https://git.dotclear.watch/JcDenis/lastBlogUpdate/releases/download/v2023.08.12/plugin-lastBlogUpdate.zip</file>
|
||||
<da:dcmin>2.27</da:dcmin>
|
||||
<da:details>https://git.dotclear.watch/JcDenis/lastBlogUpdate/src/branch/master/README.md</da:details>
|
||||
<da:support>https://git.dotclear.watch/JcDenis/lastBlogUpdate/issues</da:support>
|
||||
</module>
|
||||
</modules>
|
||||
|
|
Loading…
Reference in New Issue