User tests: Successful: Unsuccessful:
split from #40519
add the plg_system_actionlogs feature "Days to delete logs after" to a proper scheduled task plugin
Hint: The execution times and hours shown for tasks in the administrator are in the UTC timezone.
Make a new installation with this PR applied.
Check if there is an enabled task scheduler plugin "Task - Delete Action Logs".
Check if there is any scheduled task using that plugin.
On a Joomla 4.4-dev version or 4.4.0 alpha 4, note the endabled status and the configuration parameters of the of the "System - User Actions Log" plugin.
Now either disable that plugin or enable it and optionally change some of the configuration parameters to a value different to the default.
Update to the patched package or custom update URL created by Drone for this PR.
Check if the configuration parameters of the "System - User Actions Log" plugin have been removed.
Check if there is a task scheduler plugin "Task - Delete Action Logs".
Check enabled status and configuration parameters of that plugin.
Check if there is a scheduled task "DeleteActionLogs" using that plugin. If so, check the configuration parameters, too.
Repeat the previous steps with different endabled status of the "System - User Actions Log" plugin and - if enabled - different configuration parameters.
Deletion of outdated user action logs is done by the "System - User Actions Log" plugin.
The "Task - Delete Action Logs" plugin is enabled.
There is no scheduled task using that plugin because on a new installation old user action logs are not configured to be deleted (parameter "Days to delete logs after" = 0).
The configuration parameters of the "System - User Actions Log" plugin have been removed by the update.
A new task scheduler plugin "Task - Delete Action Logs" has been created and is enabled.
If the "System - User Actions Log" plugin was enabled and field "Days to delete action logs after" was set to a value greater than zero in the parameters of that plugin before the update, a new scheduled task "DeleteActionLogs" has been created and is enabled.
The task will execute every 24 hours at the hour of the Joomla installation.
The configuration parameter "Days to delete action logs after" of that task is set to the same value of the same parameter of the old system plugin.
If the old "System - User Actions Log" plugin was disabled or field "Days to delete action logs after" was set to zero in the parameters of that plugin before the update, there is no task for that plugin.
Please select:
Documentation link for docs.joomla.org: link will be added later
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
Category | ⇒ | Administration com_admin SQL Postgresql Language & Strings Installation Libraries Front End Plugins |
Status | New | ⇒ | Pending |
Labels |
Added:
Language Change
PR-5.0-dev
|
Title |
|
Labels |
Added:
Feature
|
done
please resolve conflicts, since the checkin task has been merged.
Building multiple PRs editing the same files would better be done based on each other.
Labels |
Added:
Documentation Required
|
I've updated the testing instructions by more detailed tests.
I have tested this item ✅ successfully on f422632
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-09-03 19:44:26 |
Closed_By | ⇒ | HLeithner |
thanks richard awesome work
thank you all for your help
@alikon I've allowed myself to update your branch to latest 5.0-dev and fix the conflict. Please pull the changes before you continue to work on your local clone.