Commit graph

10 commits

Author SHA1 Message Date
Sam
6f15e14392
chore: fix styleci (#3588)
Co-authored-by: Sam <samerton@users.noreply.github.com>
2025-03-29 10:50:03 +00:00
Sam
db647d9b4e
Add Smarty and Twig template engines (#3452)
* Add Smarty and Twig template engines

* Update composer.json

* Convert Widgets class to template engine and PHPStan fixes

* Fix widget initialisation

* Fix panel widget initialisation

* chore: remove debug return

* feat: convert 403/404 pages to new template system and general tidy

* chore: style fixes

* feat: update latest pages to new template engine

* feat: template base should not be nullable in onPageLoad

* feat: set template base directory upon initialisation and allow custom smarty security directories

* chore: fix style
2025-02-24 18:44:29 +00:00
tadhgboyle
0c80570609
Enable StyleCI (#3475)
* Create StyleCI config file

* Disable `phpdoc_separation`

* Apply fixes from StyleCI (#3476)

Co-authored-by: StyleCI Bot <bot@styleci.io>

* style: styleci fixes

---------

Co-authored-by: StyleCI Bot <bot@styleci.io>
Co-authored-by: Sam <samerton@users.noreply.github.com>
2024-03-09 11:19:55 +00:00
Sam
1589b76c65
Queue system (#3274)
* Add new queue system

* Amend creation of task from new

* Fix unused terms

* Prevent task returning error from running infinitely

* Run tasks in transactions

* Update gitignore and package-lock

* Use PDO helpers for transaction

* WIP convert forum post task

* Trigger forum post conversion during upgrade

* Fix task scheduling and increase forum posts converted to 50

* Rename ONE_OF to IN
2023-03-30 18:42:40 +01:00
samerton
eba881731a Add support for determining load before/after for assets 2022-06-02 17:58:22 +01:00
Tadhg Boyle
94e64c1207
Add PHPDocs to core classes for new class docs site (#2602) 2022-02-14 20:48:15 -08:00
Tadhg Boyle
ad17142a16
Misc cleanup (#2566) 2022-01-15 15:18:05 -08:00
Tadhg
e0133a5cd5 Get PHP-CS to pass! 2021-12-07 22:14:12 -08:00
Tadhg
a9c678e4d4 convert all array(...) syntax to [...] 2021-10-29 22:00:05 -07:00
Tadhg
ed271f4e69 move module class to Core folder 2021-10-28 09:27:12 -07:00
Renamed from core/classes/Misc/Module.php (Browse further)