Koha-clms/Koha/Template/Plugin
David Cook 222777ba98 Bug 35955: Cache CSRF token in template plugin
This change uses the Koha::Cache::Memory::Lite cache to
cache the CSRF token, so that it is only generated once,
and is re-used by the Koha::Template::Plugin::Koha object
throughout the entire template processing for the HTTP request.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 108c955eac)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2024-03-12 11:55:23 +01:00
..
AdditionalContents.pm Bug 31383: (bug 29691 follow-up) Remove get_opac_news_by_id 2023-10-23 10:45:34 -03:00
Asset.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
AudioAlerts.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
AuthClient.pm Bug 33708: Provide non-public endpoint for OAuth/OIDC for staff interface 2023-05-18 11:35:15 -03:00
AuthorisedValues.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
Biblio.pm Bug 29002: (follow-up) Make CanBook more resilient 2023-11-03 14:22:49 -03:00
Branches.pm Bug 32721: (QA follow-up) Drop fields from API response 2023-10-19 16:00:56 -03:00
Cache.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Categories.pm Bug 32127: Sort by description in Koha::Template::Plugin::Categories 2023-04-14 11:35:23 -03:00
CirculationRules.pm Bug 30901: Add POD for Koha::Template::Plugin::CirculationRules 2022-08-16 10:43:10 -03:00
ClassSources.pm Bug 11844: Fix QA issues (POD, TT filters, file exec flag) 2023-05-16 12:58:38 +02:00
Context.pm Bug 23166: Early return if no set 2020-08-25 12:01:38 +02:00
Desks.pm Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
ExtendedAttributeTypes.pm Bug 34519: (follow-up) fix QA tool complaints 2023-11-08 17:52:39 -03:00
Frameworks.pm Bug 33607: Handle default framework 2023-05-16 15:17:44 -03:00
HtmlId.pm Bug 27336: Add POD for new package 2021-01-11 10:27:37 +01:00
HtmlTags.pm
…
I18N.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
ItemTypes.pm Bug 29454: Use Koha Cache Memory Lite to stash itemtype descriptions for template plugin 2022-06-24 11:55:34 -03:00
JSConsents.pm Bug 27378: Introduce cookie consent to OPAC and staff client 2023-09-12 09:45:07 -03:00
Koha.pm Bug 35955: Cache CSRF token in template plugin 2024-03-12 11:55:23 +01:00
KohaDates.pm Bug 33029: Add wrapper method for dt_from_string to KohaDates template toolkit plugin 2023-07-06 12:24:17 -03:00
KohaPlugins.pm Bug 31503: (follow-up) Add 'feature_enabled' to Koha::Plugins 2023-10-25 10:35:22 -03:00
KohaSpan.pm
…
Languages.pm Bug 18213: Add Template plugin and fix for C4/Languages 2019-03-28 15:57:32 +00:00
Notices.pm Bug 32986: (follow-up) Fix CircAutoPrintQuickSlip and remove unecessary module usage 2023-11-08 17:59:35 -03:00
Price.pm
…
Registers.pm Bug 24665: Add support for filtering by cash register 2020-11-06 15:55:17 +01:00
Remove_MARC_punctuation.pm
…
TablesSettings.pm Bug 34913: DataTables upgrade: Update CSS and option names 2024-01-29 10:15:53 +01:00
To.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
raw.pm
…