From fd11b545f2d4948dbcec3d31adc7e72b25f2e4a3 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Thu, 20 Apr 2023 14:23:16 +0200 Subject: [PATCH] release 3.0 --- CHANGELOG.md | 13 +++++++++++++ README.md | 12 ++++++------ _define.php | 18 +++++++++--------- dcstore.xml | 10 +++++----- 4 files changed, 33 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d13b2c..99f5d81 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,19 @@ todo: - [ ] use sql statment - [ ] fix and add actitivy +check formats + +3.0 +- 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 diff --git a/README.md b/README.md index a4de713..2882cb5 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![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.24-blue.svg)](https://fr.dotclear.org/download) +[![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) @@ -19,11 +19,11 @@ themes and plugins from Dotclear administration pages. _activityReport_ requires: - * Permissions superadmin or admin - * Dotclear 2.24 - - * plugin add a table to database - * plugin send email + * Permissions admin + * Dotclear 2.26 + * PHP 8.1+ + * permission to add table on database + * permission to send email ## USAGE diff --git a/_define.php b/_define.php index 70d0561..ca43bd0 100644 --- a/_define.php +++ b/_define.php @@ -15,21 +15,21 @@ if (!defined('DC_RC_PATH')) { } $this->registerModule( - 'Activity report', - 'Receive your blog activity by email, feed, or on dashboard', + 'Activity log', + 'Log and receive your blog activity by email, feed, or on dashboard', 'Jean-Christian Denis and contributors', - '2.1', + '3.0', [ - 'requires' => [['core', '2.24']], + 'requires' => [['core', '2.26']], 'permissions' => dcCore::app()->auth->makePermissions([ dcAuth::PERMISSION_USAGE, dcAuth::PERMISSION_CONTENT_ADMIN, dcAuth::PERMISSION_ADMIN, ]), - 'priority' => -1000000, - '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', + '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', ] ); diff --git a/dcstore.xml b/dcstore.xml index 99967be..cf7c98e 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -1,12 +1,12 @@ - Activity report - 2.1 + Activity log + 3.0 Jean-Christian Denis and contributors - Receive your blog activity by email, feed, or on dashboard - https://github.com/JcDenis/activityReport/releases/download/v2.1/plugin-activityReport.zip - 2.24 + Log and receive your blog activity by email, feed, or on dashboard + https://github.com/JcDenis/activityReport/releases/download/v3.0/plugin-activityReport.zip + 2.26 http://plugins.dotaddict.org/dc2/details/activityReport https://github.com/JcDenis/activityReport