commit 6dd2c6d85b8c8caeb6c67fb7730a30605fdb366e Author: Jake Deery Date: Thu Jan 29 14:45:34 2026 +0000 Bug 14962: Add hints as option on Vue FormElement This patch adds the ability to add hints to form elements in Vue, essential for the On Display module. Please see the test files commit for instructions on how to test this bundle of patches. Sponsored-by: ByWater Solutions Signed-of-by: Martin Renvoize commit b936dc5d732ef20453b2003439c45f30fa358e28 Author: Jonathan Druart Date: Mon Mar 16 16:41:13 2026 +0100 Bug 38365: Fix Cypress tests ReferenceError: window is not defined at /kohadevbox/koha/t/cypress/plugins/dist/api-client.cjs.js:521:26 at /kohadevbox/koha/t/cypress/plugins/dist/api-client.cjs.js:523:3 at Object. (/kohadevbox/koha/t/cypress/plugins/dist/api-client.cjs.js:747:3) at Module._compile (node:internal/modules/cjs/loader:1521:14) at Module._extensions..js (node:internal/modules/cjs/loader:1623:10) at Object.require.extensions. [as .js] (/kohadevbox/Cypress/12.17.4/Cypress/resources/app/node_modules/ts-node/dist/index.js:851:20) at Module.load (node:internal/modules/cjs/loader:1266:32) at Function.Module._load (node:internal/modules/cjs/loader:1091:12) at Module.require (node:internal/modules/cjs/loader:1289:19) at require (node:internal/modules/helpers:182:18) at Object. (/kohadevbox/koha/t/cypress/plugins/api-client.js:11:23) at Module._compile (node:internal/modules/cjs/loader:1521:14) at Module._extensions..js (node:internal/modules/cjs/loader:1623:10) at Object.require.extensions. [as .js] (/kohadevbox/Cypress/12.17.4/Cypress/resources/app/node_modules/ts-node/dist/index.js:851:20) at Module.load (node:internal/modules/cjs/loader:1266:32) at Function.Module._load (node:internal/modules/cjs/loader:1091:12) at Module.require (node:internal/modules/cjs/loader:1289:19) at require (node:internal/modules/helpers:182:18) at Object. (/kohadevbox/koha/t/cypress/plugins/insertData.js:14:29) at Module._compile (node:internal/modules/cjs/loader:1521:14) at Module._extensions..js (node:internal/modules/cjs/loader:1623:10) at Object.require.extensions. [as .js] (/kohadevbox/Cypress/12.17.4/Cypress/resources/app/node_modules/ts-node/dist/index.js:851:20) commit 1e1a446a554f9c7bc8808347793b9f7b77433fb1 Author: Jonathan Druart Date: Mon Mar 16 16:19:07 2026 +0100 Bug 38365: Fix xt/author/valid-templates.t 13:12:25 # Failed test '/kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/includes/str/import_from_kbart_file.inc' 13:12:25 # at xt/author/valid-templates.t line 147. 13:12:25 # undef error - : filter not found 13:12:25 13:12:25 # Failed test '/kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/includes/str/job_progress.inc' 13:12:25 # at xt/author/valid-templates.t line 147. 13:12:25 # undef error - : filter not found 13:12:25 13:12:25 # Failed test [13:12:08] xt/author/valid-templates.t ................................................. 13:12:25 Dubious, test returned 28 (wstat 7168, 0x1c00) 13:12:25 Failed 28/870 subtests 13:12:26 '/kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/includes/str/tinymce_i18n.inc' 13:12:26 # at xt/author/valid-templates.t line 147. 13:12:26 # undef error - : filter not found 13:12:28 13:12:28 # Failed test '/kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/includes/str/erm_sushi_harvester.inc' 13:12:28 # at xt/author/valid-templates.t line 147. 13:12:28 # undef error - : filter not found commit f124229b23dac43ed79b7be31cc31144208557ef Author: Jonathan Druart Date: Mon Mar 16 14:07:57 2026 +0100 Bug 38365: Fix Koha/Middleware/ContentSecurityPolicy.t GIT_INSTALL is not set and we get the wrong root. The test suite does not pass on a non git install anyway. commit edb99983f71ae0191cfb84c89cd1fef373d0422d Author: David Cook Date: Mon Mar 16 23:04:02 2026 +0000 Bug 38365: Require a non-empty nonce in FrameworkPlugin.t Test plan: 0. Apply the patch 1. Run the following: prove t/db_dependent/FrameworkPlugin.t \ t/db_dependent/Koha/Plugins/Valuebuilder_hooks.t \ t/db_dependent/Koha/UI/Form/Builder/Biblio.t \ t/db_dependent/Koha/UI/Form/Builder/Item.t \ t/db_dependent/Serials.t Squashed version of the following patches: Bug 38365: Fix Koha/UI/Form/Builder/Biblio.t # Failed test at t/db_dependent/Koha/UI/Form/Builder/Biblio.t line 216. # ' # ' # doesn't match '(?^us:)' # Looks like you failed 1 test of 4. Bug 38365: Fix Koha/UI/Form/Builder/Item.t # There were 16 warning(s) # Previous test 0 '' # Use of uninitialized value $csp_nonce in concatenation (.) or string at /kohadevbox/koha/Koha/FrameworkPlugin.pm line 381. # at /kohadevbox/koha/Koha/FrameworkPlugin.pm line 381. Bug 38365: Fix Serials.t Bug 38365: Fix FrameworkPlugin.t commit 99cfa225372c562008615c64a4b41dd00b47bf38 Author: Jonathan Druart Date: Fri Mar 13 10:43:14 2026 +0100 Bug 38365: Do not rely on KOHA_HOME in tests We never do that in our tests, and KOHA_HOME is not defined for the kohadev-koha user in ktd. Signed-off-by: Jonathan Druart Signed-off-by: Jonathan Druart commit 046e0f7885a2d46ce2b0eb6af5ffd00dbc6ad478 Author: Lari Taskula Date: Tue Mar 10 12:34:55 2026 +0200 Bug 38365: Adjust t/mock_templates/opac-tmpl/bootstrap/en/modules/opac-csp.tt This file now tidies after the patch "Make tidy.pl compatible with script elements with attributes" To test: 1. prove t/db_dependent/Koha/Middleware/ContentSecurityPolicy.t Signed-off-by: Jonathan Druart Signed-off-by: Jonathan Druart commit e00059dd1a117ae02cb9e2ae86eee9069ae3f74f Author: Jonathan Druart Date: Thu Mar 12 10:50:39 2026 +0100 Bug 38365: Add CSP nonces to all inline script and style tags Signed-off-by: Lari Taskula Amended-by: Jonathan Druart Regenerated the patch on top of bug 41324, using: perl misc/devel/add_csp_nonces.pl --apply ============================================================ Summary: Files scanned: 881 Files modified: 456 Tags modified: 800 ============================================================ Also note that this manual change: koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt -