Commit graph

19 commits

Author SHA1 Message Date
Sam
ba6d81b77c
Merge commit from fork
Co-authored-by: Sam <samerton@users.noreply.github.com>
2026-03-15 18:43:46 +00:00
tadhgboyle
07d1e05229
Create and implement Cache#fetch (#3662)
* Create and implement `Cache#fetch`

* convert more

* fix

* wip

* wip

* Apply fixes from StyleCI (#3663)

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

* wip, more conversions

* clear widget cache on setting update

* fix

* convert

---------

Co-authored-by: StyleCI Bot <bot@styleci.io>
2025-05-20 18:37:24 -07: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
Robin
6936126fc1 Rename getGroupClass to getGroupStyle
without breaking backwards compatibility
2022-04-21 22:35:56 +02:00
Tadhg Boyle
9b054f9cb9 Misc fixes with DTO 2022-04-17 20:09:15 -07:00
samerton
02bd572242 Cache user query 2022-04-13 19:02:21 +01:00
Tadhg Boyle
a6d0b66b7e Add mention suggestions in TinyMCE 2022-03-30 21:15:17 -07:00
partydragen
a886ed2c0e
Fix undefined error 2021-11-27 20:49:10 +01:00
Tadhg
444e8f95a2 Remove unneeded optional param, use short array syntax 2021-11-04 09:31:17 -07:00
Tadhg
65b00b9486 replace define() with const where applicable 2021-11-02 21:28:04 -07:00
Tadhg
a9c678e4d4 convert all array(...) syntax to [...] 2021-10-29 22:00:05 -07:00
Tadhg
72c9647517 deprecate User getAllGroups($html) function, create getAllGroupHtml function + update references 2021-10-25 16:28:02 -07:00
Tadhg
1d8779a063 fix typo 2021-10-19 16:56:12 -07:00
Tadhg
c7a8f2c0e5 add required $template variable to Module::loadPage 2021-10-19 16:51:29 -07:00
Robin
36d4994312 rename $mod_nav to $staffcp_nav, move groups to be near users
because groups are closely related to users
2021-10-08 21:13:33 +02:00
samerton
02278b21fe Fix user popover 2020-12-25 22:43:06 +00:00
Tadhg
5b5acecbcc style fixes 2020-12-14 20:40:55 -08:00
Partydragen
442501132d Update Widgets to new system 2020-11-03 21:30:55 +01:00
samerton
4d20eb1038 Add user popups 2018-10-01 00:13:37 +01:00