mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-30 20:27:07 +09:00
* 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>