- Mär 27, 2025
-
-
verfasst von Henning Leutz
feat: add required attribute to cron.xml See merge request !27
-
verfasst von Henning Leutz
In this commit, we have improved the handling of cron tasks and introduced the 'required' attribute. Changes made include: - Added 'required' attribute to three cron exec in `cron.xml` to enforce their creation. - Updated `EventHandler` to only create `required` crons, and to stop creating non-required crons when the `$onlyRequired` argument is set to `true`. - Improved how crons are created with different scopes by replacing the switch statement with a `match` expression in `EventHandler`. - Added the handling of the 'required' attribute in `Manager` to ensure all cron objects are aware of if they are required or not. This attribute is set to `true` for required crons and `false` if not specified or not required. - Simplified the array replacement in `EventHandler`. This improvement in how cron tasks are managed will result in more efficient and robust operation of the system.
-
verfasst von Henning Leutz
feat: add cleanup cron history functionality See merge request !25
-
verfasst von Henning Leutz
This commit removes an unnecessary newline from QuiqqerCrons.php to improve readability of the code. No functional changes were made.
-
verfasst von Henning Leutz
Updated the EventHandler class to improve handling of cron jobs and exceptions. Changes include: - Refactored variable names for clarity - Adjusted method to check last cron job execution, replacing custom Cron Manager method with direct database query to limit potential errors - Used DateTime to calculate timestamps and format dates - Simplified array constructs and replaced string substitutions - Added exception declaration to methods - Improved experience when handling cron history during migration. Related: #58 Related: #59
-
verfasst von Henning Leutz
-
verfasst von Henning Leutz
Added a new functionality to the QUI Cron system for cleaning up cron history. These changes include: - An additional cron task defined in `cron.xml` for housekeeping the cron history. - A new function called `cleanupCronHistory(array $params, Manager $CronManager)` in `QuiqqerCrons.php` that removes old cron history entries which are older than a defined amount of weeks. - Added a new field and additional indexes in the `cron_history` table in `database.xml` to support the new feature. - New localized messages are added for the cron cleanup task 'title' and 'description' in `locale.xml`. Related: #59
-
- Mär 04, 2025
-
-
verfasst von Henning Leutz
chore(phpstan): update phpstan version and clear phpstan baseline See merge request !23
-
verfasst von Henning Leutz
Summary of changes: - Removed redundant PHPDoc from `ExecCrons` class. - Ensured the input `cronId` is cast to an integer before calling `runCron` in `ExecCrons` class. - Removed extraneous details from PHPDoc in `Manager` class. - Added more robust checking for parameters in `Manager` class. - Included method existence check for `deactivate` before calling it in `QuiqqerCrons` class. These changes contribute towards improving cron execution and handling potential errors more gracefully. Related: #57
-
verfasst von Henning Leutz
This commit updates the type declaration syntax in the `ExecCrons.php` and `Manager.php` files to use a space around the `|` operator for better code readability. This change does not affect the functionality of the code. Minor structural change.
-
verfasst von Henning Leutz
Updated the version of `phpstan` in `.phive/phars.xml` to `1.*` and installed `1.12.13`. Removed the specific lines of ignored errors in `phpstan-baseline.neon` to keep it clean and avoid masking significant errors. Now, `phpstan` will provide better and more specific coding style issues and potential bugs.
-
- Sep 12, 2024
-
-
verfasst von Henning Leutz
Next 2.x See merge request !21
-
verfasst von Henning Leutz
-
- Aug 22, 2024
-
-
verfasst von Henning Leutz
-
verfasst von Henning Leutz
-
- Aug 05, 2024
-
-
verfasst von Jan Wennrich
-
verfasst von Jan Wennrich
-
verfasst von Jan Wennrich
-
- Jun 11, 2024
-
-
verfasst von Henning Leutz
Next 2.x See merge request !20
-
verfasst von Henning Leutz
Dev archive See merge request !19
-
verfasst von Henning Leutz
-
verfasst von Henning Leutz
-
verfasst von Henning Leutz
Next 2.x See merge request !18
-
verfasst von Henning Leutz
Dev archive See merge request !17
-
verfasst von Henning Leutz
-
- Mai 16, 2024
-
-
verfasst von Henning Leutz
-
- Mai 10, 2024
-
-
verfasst von Henning Leutz
Next See merge request !16
-
verfasst von Henning Leutz
Dev See merge request !15
-
verfasst von Henning Leutz
-
verfasst von Henning Leutz
-
- Mai 06, 2024
-
-
verfasst von Henning Leutz
feat!: quiqqer v2 See merge request !14
-
verfasst von Henning Leutz
feat!: quiqqer v2 See merge request !13
-
verfasst von Jan Wennrich
feat!: quiqqer v2 See merge request !12
-
verfasst von Henning Leutz
-
verfasst von Henning Leutz
-
- Mai 02, 2024
-
-
verfasst von Jan Wennrich
-
- Mai 01, 2024
-
-
verfasst von Henning Leutz
-
- Apr 29, 2024
-
-
verfasst von Jan Wennrich
-
verfasst von Jan Wennrich
-
verfasst von Jan Wennrich
-