From bbb4d5dbab20e3573f3a6138264328b68a9646f3 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Thu, 17 Aug 2023 16:27:02 +0200 Subject: [PATCH] release 3.3 --- CHANGELOG.md | 194 +++++++++++++++++++++++++++++---------------------- README.md | 35 ++++++---- _define.php | 12 ++-- dcstore.xml | 10 +-- 4 files changed, 140 insertions(+), 111 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f41aacf..8375680 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,104 +1,128 @@ -todo: -- add group and action on list filters +activityReport 3.3 - 2023.08.17 +=========================================================== +* Require Dotclear 2.27 +* Require PHP 8.1 +* Upgrade to Dotclear 2.27 stable +* Move third party repository +* Use Dotclear style for CHANGELOG -3.2 - 2023.05.13 -- require Dotclear 2.26 -- require php 8.1 -- add php_min to define.php -- fix uncomplete messages -- fix unknow params -- fix dashboard activity -- fix translation -- various type hint fix +activityReport 3.2 - 2023.05.13 +=========================================================== +* require Dotclear 2.26 +* require php 8.1 +* add php_min to define.php +* fix uncomplete messages +* fix unknow params +* fix dashboard activity +* fix translation +* various type hint fix -3.1 - 2023.04.23 -- require Dotclear 2.26 -- require php 8.1 -- use latest dotclear namespace (database) +activityReport 3.1 - 2023.04.23 +=========================================================== +* require Dotclear 2.26 +* require php 8.1 +* use latest dotclear namespace (database) -3.0 - 2023.04.20 -- require Dotclear 2.26 -- require php 8.1 -- use new SVG icon -- use namespace -- use Dotclear filter and list -- remove superadmin report -- remove settings db table -- change activity table structure -- reset settings and activities. -- various fix +activityReport 3.0 - 2023.04.20 +=========================================================== +* require Dotclear 2.26 +* require php 8.1 +* use new SVG icon +* use namespace +* use Dotclear filter and list +* remove superadmin report +* remove settings db table +* change activity table structure +* reset settings and activities. +* various fix -2.1 - 2022.12.20 -- use abstract plugin name -- fix install -- fix permissions -- fix tables names -- fix autoload -- fix translation -- fix force report -- fix freeze on lock fail +activityReport 2.1 - 2022.12.20 +=========================================================== +* use abstract plugin name +* fix install +* fix permissions +* fix tables names +* fix autoload +* fix translation +* fix force report +* fix freeze on lock fail -2.0 - 2022.11.20 -- fix compatibility with Dotclear 2.24 (required) -- use new constant ACTIVTY_REPORT_V2 to not break old install +activityReport 2.0 - 2022.11.20 +=========================================================== +* fix compatibility with Dotclear 2.24 (required) +* use new constant ACTIVTY_REPORT_V2 to not break old install -1.1 - 2021.09.03 -- fix Dotclear 2.19 compatibility -- fix pages design -- fix dashboard design -- move dashboard settings to user pref -- move settings to plugin config -- clean up code -- update translation -- update license +activityReport 1.1 - 2021.09.03 +=========================================================== +* fix Dotclear 2.19 compatibility +* fix pages design +* fix dashboard design +* move dashboard settings to user pref +* move settings to plugin config +* clean up code +* update translation +* update license -1.0.1 - 2010.06.08 - -Fixed (again) simultaneous report +activityReport 1.0.1 - 2010.06.08 +=========================================================== +* Fixed (again) simultaneous report -1.0 - 2010.06.06 -- Switched to DC 2.2 -- Fixed simultaneous report (used php flock) -- Added some stuff to admin interface +activityReport 1.0 - 2010.06.06 +=========================================================== +* Switched to DC 2.2 +* Fixed simultaneous report (used php flock) +* Added some stuff to admin interface -0.9 - 2010.01.29 -- Fixed timezone on mail report -- Added option to fix bug on big logs +activityReport 0.9 - 2010.01.29 +=========================================================== +* Fixed timezone on mail report +* Added option to fix bug on big logs -0.8 - 2010.01.12 -- Added support of _uninstall.php file -- Added support of html or plain text email -- Added support of plugin contribute +activityReport 0.8 - 2010.01.12 +=========================================================== +* Added support of _uninstall.php file +* Added support of html or plain text email +* Added support of plugin contribute -0.7.1 - 20091220 -- Fixed spam loop +activityReport 0.7.1 - 20091220 +=========================================================== +* Fixed spam loop -0.7 - 20091219 -- Added message for attempt on protected post +activityReport 0.7 - 20091219 +=========================================================== +* Added message for attempt on protected post -0.6.2 - 2009.12.08 -- Added extra messages -- Fixed bugs with uninstalled plugins -- Fixed typo +activityReport 0.6.2 - 2009.12.08 +=========================================================== +* Added extra messages +* Fixed bugs with uninstalled plugins +* Fixed typo -0.6.1 - 2009.11.11 -- Fixed bug with dashboard items. +activityReport 0.6.1 - 2009.11.11 +=========================================================== +* Fixed bug with dashboard items. -0.6 - 2009.11.08 -- Fixed date display (closes #340) -- Fixed RSS 'protection' (closes #339) -- Added blog name to mail subject +activityReport 0.6 - 2009.11.08 +=========================================================== +* Fixed date display (closes #340) +* Fixed RSS 'protection' (closes #339) +* Added blog name to mail subject -0.5 - 2009.10.26 -- Changed priority to -1000000 in order to work ?! -- Used a constant to see if activityReport plugin is on -- Fixed typo +activityReport 0.5 - 2009.10.26 +=========================================================== +* Changed priority to -1000000 in order to work ?! +* Used a constant to see if activityReport plugin is on +* Fixed typo -0.4 - 2009.10.19 -- Fixed fatal error on plugin update +activityReport 0.4 - 2009.10.19 +=========================================================== +* Fixed fatal error on plugin update -0.3 - 2009.0.927 -- Added atom/rss2 feeds -- Moved some class +activityReport 0.3 - 2009.0.927 +=========================================================== +* Added atom/rss2 feeds +* Moved some class -0.2 - 2009.09.15 -- First public release \ No newline at end of file +activityReport 0.2 - 2009.09.15 +=========================================================== +* First public release diff --git a/README.md b/README.md index 2882cb5..29d3cea 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,10 @@ # README -[![Release](https://img.shields.io/github/v/release/JcDenis/activityReport)](https://github.com/JcDenis/activityReport/releases) -[![Date](https://img.shields.io/github/release-date/JcDenis/activityReport)](https://github.com/JcDenis/activityReport/releases) -[![Issues](https://img.shields.io/github/issues/JcDenis/activityReport)](https://github.com/JcDenis/activityReport/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/activityReport) -[![License](https://img.shields.io/github/license/JcDenis/activityReport)](https://github.com/JcDenis/activityReport/blob/master/LICENSE) +[![Release](https://img.shields.io/badge/release-3.3-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/activityReport/releases) +[![Date](https://img.shields.io/badge/date-2023.08.17-c44d58.svg)](https://git.dotclear.watch/JcDenis/activityReport/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/activityReport) +[![License](https://img.shields.io/github/license/JcDenis/activityReport)](https://git.dotclear.watch/JcDenis/activityReport/blob/master/LICENSE) ## WHAT IS ACTIVITYREPORT ? @@ -17,13 +16,13 @@ themes and plugins from Dotclear administration pages. ## REQUIREMENTS - _activityReport_ requires: +_activityReport_ requires: - * Permissions admin - * Dotclear 2.26 - * PHP 8.1+ - * permission to add table on database - * permission to send email +* Permissions admin +* Dotclear 2.27 +* PHP 8.1+ +* permission to add table on database +* permission to send email ## USAGE @@ -38,6 +37,12 @@ Once it's done you can manage your reports from menu ## MORE - * License : GNU GPL v2 - * Source & contribution : [GitHub Page](https://github.com/JcDenis/pacKman) - * Packages & details: [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/pacKman) \ No newline at end of file +* License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html) +* Source & contribution : [Gitea Page](https://git.dotclear.watch/JcDenis/activityReport) or [GitHub Page](https://github.com/JcDenis/activityReport) +* Packages & details: [Gitea Page](https://git.dotclear.watch/JcDenis/activityReport/releases) or [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/activityReport) + +## CONTRIBUTORS + +* Jean-Christian Denis (author) + +You are welcome to contribute to this code. diff --git a/_define.php b/_define.php index 82ae80b..1800218 100644 --- a/_define.php +++ b/_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,11 +18,11 @@ $this->registerModule( 'Activity log', 'Log and receive your blog activity by email, feed, or on dashboard', 'Jean-Christian Denis and contributors', - '3.2', + '3.3', [ 'requires' => [ ['php', '8.1'], - ['core', '2.26'], + ['core', '2.27'], ], 'permissions' => dcCore::app()->auth->makePermissions([ dcCore::app()->auth::PERMISSION_USAGE, @@ -31,8 +31,8 @@ $this->registerModule( ]), 'priority' => 2, 'type' => 'plugin', - 'support' => 'https://github.com/JcDenis/' . basename(__DIR__), - 'details' => 'http://plugins.dotaddict.org/dc2/details/' . basename(__DIR__), - 'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/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', ] ); diff --git a/dcstore.xml b/dcstore.xml index 3617503..cda1bbe 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,12 +2,12 @@ Activity log - 3.2 + 3.3 Jean-Christian Denis and contributors Log and receive your blog activity by email, feed, or on dashboard - https://github.com/JcDenis/activityReport/releases/download/v3.2/plugin-activityReport.zip - 2.26 - http://plugins.dotaddict.org/dc2/details/activityReport - https://github.com/JcDenis/activityReport + https://git.dotclear.watch/JcDenis/activityReport/releases/download/v3.3/plugin-activityReport.zip + 2.27 + https://git.dotclear.watch/JcDenis/activityReport/src/branch/master/README.md + https://git.dotclear.watch/JcDenis/activityReport/issues