Files
277ce9b50e Rework the Update FOSSBilling page (#3607)
* Rework the Update FOSSBilling page

* Add preflight PHP version checks and fix Twig i18n variables

* Implement better loading state and increase timeout limit

* Add mandatory backup checkbox

* Neutralize update button href while disabled to prevent bypass via middle-click

Set href="#" initially (button starts disabled) and store the real
endpoint in data-update-href. The JS updateButtonState() function now
also toggles href: "#" when disabled, real URL when enabled. This
prevents middle-click / open-in-new-tab from triggering the update
before the backup acknowledgement checkbox is checked.

* Add unit test for FOSSBillingExtension::trans placeholder replacement

---------

Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-05-27 03:41:50 +01:00
..