Commit Graph
6232 Commits
Author SHA1 Message Date
renovate[bot] 8a1bb13533 Update composer:2 Docker digest to 1364b5b 2026-05-15 00:20:23 +00:00
renovate[bot] 5144780269 Update docker/metadata-action action to v6 (#3551)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-15 01:19:20 +01:00
Adam Daley fb5863f7b1 Fix undefined birthday access in admin client update (#3549)
Fix birthday key guard in admin client update
2026-05-15 01:14:12 +01:00
Adam Daley a25f542ba2 Use matrix.suffix for artifact names and disable provenance for Docker builds (#3548)
* Use matrix.suffix for artifact names

* Disable provenance for Docker build outputs
2026-05-15 00:08:14 +01:00
Adam Daley fcdce39853 Use matrix.suffix for artifact names (#3547) 2026-05-14 23:05:43 +01:00
Copilotandadmdly 9a25eb7953 Refactor blocked IP config handling and fix profile/staff/huraga validation and template defects (#3546)
* Initial plan

* Apply requested Antispam, Profile, Staff and Huraga fixes

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/fa1bc0c9-8908-4805-9013-c48a6f6fad57

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

* Improve readability of blocked IP parsing helper

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/fa1bc0c9-8908-4805-9013-c48a6f6fad57

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>
2026-05-14 22:47:01 +01:00
Adam Daley 5f5a6e5a6a Refactor CI with build-push-action and Docker caching (#3545)
* Switch CI to build-push-action and add GHCR caching

* Set YAML `indent_size` to 2 in .editorconfig

* CI: Reuse Docker steps

* Update docker/login-action to v4

* Upload preview Docker image artifact in CI

* Add reusable docker-build workflow
2026-05-14 22:29:17 +01:00
Belle AerniandAdam Daley ac508b96b4 Fix issues with client profile saving (#3541)
* Fix issues with client profile saving

* didn't need that

---------

Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
2026-05-14 22:23:04 +01:00
Belle AerniandAdam Daley 9942355eb8 Prevent admin from blocking own IP (#3543)
Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
2026-05-14 22:14:45 +01:00
Copilotandadmdly 814f762b1e Fix CI spellcheck: correct typo in staff settings warning (#3544)
* Initial plan

* Fix spelling typo: 'resses' → 'addresses' in staff settings template

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/f8b22249-99ee-4690-93f9-f3379ef30af9

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>
2026-05-14 22:07:22 +01:00
4a9d44ff06 Refactor currency formatting and enhance admin UI features (#3539)
* Remove currency format fields & refactor formatting

* Handle missing currency and remove bold

* Adjust column widths in redirect settings form

* Add unified filter panel & request globals

* Normalize admin path and revamp activity UI

* Fix ADMIN_PREFIX check and ignore search filter

* Point docs links to docs.fossbilling.org

* ci: make live installer step retry before phpunit-live

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/3c14643b-8b1c-441d-8592-c3ba09df048f

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

* ci: avoid duplicate install attempt in live test retries

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/3c14643b-8b1c-441d-8592-c3ba09df048f

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

* Remove currency_format and simplify request handling

* Ensure request exists in DI for Twig tests

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>
2026-05-14 18:55:36 +01:00
369aae47ba Update Renovate php tool constraint to 8.3.* (#3528)
* Update php tool constraint to ~8.5.0

* chore: keep Renovate php constraint at supported minimum

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/6bd09fce-067f-4db3-bb3b-7f0b3d1b67c3

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

* chore: use explicit 8.3 series Renovate php constraint

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/31020e4c-b796-4c3c-8a6e-93ce9125b3ff

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>
Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
2026-05-14 18:02:06 +01:00
renovate[bot] 6948bd0f6a Update shivammathur/setup-php digest to 7c071df 2026-05-14 16:43:01 +00:00
50d976a05c Optimize patcher cache handling and tighten system/theme validation (#3536)
* Initial plan

* Apply system and theme review fixes

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/04e9c3b0-aa3b-4af8-8f42-b73ed4d4b0aa

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

* Refine patcher cache shortcut

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/04e9c3b0-aa3b-4af8-8f42-b73ed4d4b0aa

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

* Polish patcher and test constants

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/04e9c3b0-aa3b-4af8-8f42-b73ed4d4b0aa

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

* Clean up review polish

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/04e9c3b0-aa3b-4af8-8f42-b73ed4d4b0aa

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

* Finalize validation polish

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/04e9c3b0-aa3b-4af8-8f42-b73ed4d4b0aa

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

* Document helper intent

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/04e9c3b0-aa3b-4af8-8f42-b73ed4d4b0aa

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

* Fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* test: relax theme payload key assertions in live admin tests

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/da2430a4-c9d5-4dac-897b-db34790a2348

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>
Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-14 17:17:52 +01:00
renovate[bot] ef4f1c0875 Update dependency ckeditor5 to v48.1.0 (#3538)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-14 16:55:11 +01:00
FOSSBilling BotandFOSSBilling Bot bd610705f5 Apply PHP Code Styling & Quality Changes (#3537)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2026-05-14 15:53:10 +01:00
renovate[bot] 6a20469667 Update docker/dockerfile Docker tag to v1.24 (#3532) 2026-05-14 12:00:43 +01:00
Yağızhan Burak Yakar 7fa8889288 Add missing Config import to RunPatcher.php (#3535) 2026-05-14 11:37:36 +03:00
Yağızhan Burak Yakar 561af7524b Fix config retrieval in update patcher console command (#3534)
Fix config retrieval
2026-05-14 11:31:41 +03:00
renovate[bot] 9b391dd38c Update symfony packages to v7.4.11 2026-05-14 00:28:24 +00:00
Adam DaleyandCopilot Autofix powered by AI b78fcb920c Normalize request data and set _url in Twig globals (#3531)
* Normalize request data and set _url in Twig globals

* Fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-13 09:42:01 +01:00
renovate[bot] 1ff7ef4a2e Update dependency phpunit/phpunit to v12.5.25 2026-05-13 05:35:34 +00:00
renovate[bot] 497fad7e8e Update dependency rector/rector to v2.4.3 2026-05-13 00:57:21 +00:00
FOSSBilling Bot c421efba3a Apply PHP Code Styling & Quality Changes (#3527) 2026-05-13 00:44:26 +01:00
9acf34ec12 Fix installer re-entry in non-production environments (#3526)
* Fix installer re-entry in non-production environments

* fix(ci): remove preseeded config before live installer test

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/f3734598-a33a-4900-b4d5-7203db35a3b3

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

* fix(ci): clear app config before live installer post

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/f3734598-a33a-4900-b4d5-7203db35a3b3

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

* Fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix(ci): remove placeholder config before installer health check

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/7d41cc16-e0ee-414e-9fe3-d834bc8e6acf

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-12 02:38:03 +01:00
b49ccb9df8 Sanitize invoice handling, enhance security, and improve API responses (#3524)
* Sanitize invoice hash and secure asset paths

* Guard against missing client session

* Serialize invoice items into indexed inputs

* Validate URL field input type before checking

* Block legacy paid support hooks on ticket create

* Harden CSRF token validation in API client

* Add 'Paidsupport' to cspell word list

* Use Stripe metadata to link client and invoice

* Remove legacy Paidsupport hooks handling

* Add paidsupport to cspell word list

* Use config debug flag; always warn if install exists

* Revert "Use config debug flag; always warn if install exists"

This reverts commit fda6fcc0b05758d897a837d125ce1c0a35be0226.

* Fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix Stripe getClientFromTransaction and simplify UpdatePatcher cache invalidation

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/49a72bff-61f2-4a3e-9107-08aec7b255d2

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

* Fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Restrict Dompdf logo remote URLs to http/https schemes only

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/58c16027-cc36-4c11-a039-0bfcaf5a45f5

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

* Enable Buildx cache and add release archive

* Restrict `claimForProcessing` SQL and update tests

* Add HTML sanitizer and sandboxed Twig rendering

* Update test expected HTML in ServiceTest

* Add `RequestFactory` and trusted proxy support

* Use HttpFoundation Responses & Request everywhere

* Return HTTP Response objects for exports/downloads

* Refactor request routing, auth errors and CSV export

* Remove RequestFactory wrapper and minor cleanups

* Specify Response union return types

* Parenthesize response constructions before send

* Clean up PHPStan ignore rules

* Relax HTML test to accept optional tbody/br

* fix(theme): call getUploadedAssets without arguments

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/ce04bff6-ccde-4a10-8a68-f6278b1b550e

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>
2026-05-12 00:10:49 +01:00
8808e70547 Added new widget spots to the client area (#3519)
* Added new widget spots to the client area

* Fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-11 23:48:03 +01:00
Adam DaleyandCopilot Autofix powered by AI 267905784b Fix for 1 code quality finding in Theme legacy tests (#3525)
Apply suggested fix to tests/Modules/Theme/AdminTest.php from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
2026-05-11 23:26:38 +01:00
Adam DaleyandCopilot Autofix powered by AI 95ce4405cc Fix for 1 code quality finding in Theme legacy tests (#3523)
Apply suggested fix to tests/Modules/Theme/AdminTest.php from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
2026-05-11 20:23:18 +01:00
Adam DaleyandCopilot Autofix powered by AI ef84f36976 Fix for 1 code quality finding in Theme legacy test (#3522)
Apply suggested fix to tests/Modules/Theme/AdminTest.php from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
2026-05-11 20:00:25 +01:00
deda7c6194 Refactor admin "mark as paid" Invoice functionality to be more robust (#3505)
* Remove order-level invoice paid shortcut

* Add admin 'mark invoice paid' flow for orders

* Fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Trim admin custom gateway transaction ID before storing

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/b1ec86d8-1fae-4a33-b704-15f9cc3d6baa

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

* Fix test gateway ID and correct create() docblock return type

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/b63acd4a-b280-4e35-934a-29c15bf78e8c

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

* Fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Prevent duplicate transactions for already-paid invoices and fix API docblock

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/bf20ed38-ab95-4e4f-9a60-3624ca688d59

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

* Use strict comparison for invoice status check

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/bf20ed38-ab95-4e4f-9a60-3624ca688d59

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

* Wrap order creation in transaction

* Add DB transaction helper and update Order service

* Fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix boolean normalization security issues in mark_invoice_paid flow

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/15c7eb69-841d-408c-94be-a22dc07c67f4

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

* Import Tools and use it in Invoice Service

* Move invoice approve/mark-paid outside transaction to prevent side effect inconsistencies

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/58dcd4cb-ec49-4d31-ba25-224f1d742199

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

* Fix syncMarkInvoicePaidControls() initialization for AJAX-rendered contexts

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/58dcd4cb-ec49-4d31-ba25-224f1d742199

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

* Improve code clarity with better comments for transaction safety

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/58dcd4cb-ec49-4d31-ba25-224f1d742199

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

* Handle invoice follow-up errors and use model

* Fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>
2026-05-11 19:45:54 +01:00
Adam DaleyandCopilot Autofix powered by AI 2b9d5b9e58 Fix for 1 code quality finding in Theme legacy test (#3521)
Apply suggested fix to tests/Modules/Theme/AdminTest.php from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
2026-05-11 19:34:08 +01:00
961301c73d Sanitize invoice handling and enhance security measures (#3520)
* Sanitize invoice hash and secure asset paths

* Guard against missing client session

* Serialize invoice items into indexed inputs

* Validate URL field input type before checking

* Block legacy paid support hooks on ticket create

* Harden CSRF token validation in API client

* Add 'Paidsupport' to cspell word list

* Use Stripe metadata to link client and invoice

* Remove legacy Paidsupport hooks handling

* Add paidsupport to cspell word list

* Use config debug flag; always warn if install exists

* Revert "Use config debug flag; always warn if install exists"

This reverts commit fda6fcc0b05758d897a837d125ce1c0a35be0226.

* Fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Fix Stripe getClientFromTransaction and simplify UpdatePatcher cache invalidation

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/49a72bff-61f2-4a3e-9107-08aec7b255d2

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

* Fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Restrict Dompdf logo remote URLs to http/https schemes only

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/58c16027-cc36-4c11-a039-0bfcaf5a45f5

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>
2026-05-11 17:49:16 +01:00
renovate[bot] 5af957a8a0 Update composer:2 Docker digest to 02062f7 2026-05-11 15:49:34 +00:00
renovate[bot] 714342738d Update dependency doctrine/orm to v3.6.5 2026-05-11 15:15:24 +00:00
Adam DaleyandCopilot Autofix powered by AI bfa8143e29 Fix for 1 code quality finding in Theme legacy test (#3518)
Apply suggested fix to tests/Modules/Theme/AdminTest.php from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
2026-05-11 15:43:15 +01:00
Copilotandadmdly c7566e091e Stabilize Docker publish workflows by disabling fragile GHA cache imports (#3515)
Disable Docker GHA cache in preview/release workflows

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/07ce9c6d-cb2b-4bb5-9517-3aabe5276051

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>
2026-05-11 01:00:33 +01:00
renovate[bot] 3a3d11c754 Lock file maintenance 2026-05-10 23:31:00 +00:00
renovate[bot] e945751ed6 Pin dependencies (#3512)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-11 00:29:29 +01:00
renovate[bot] ffd7d63f8f Update docker/dockerfile Docker tag to v1.23 (#3513) 2026-05-11 00:19:27 +01:00
renovate[bot] 9985584f1c Update docker/setup-buildx-action action to v4 (#3514)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-11 00:12:29 +01:00
Copilotandadmdly e6601c7054 Harden request URL handling in bootstrap and stabilize Theme API not-found test assertions (#3511)
* Initial plan

* fix: harden index URL handling and relax brittle theme API error assertions

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/1a498284-9424-42d6-8e7f-dfe061a51478

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

* chore: address review nits in index and theme admin test

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/1a498284-9424-42d6-8e7f-dfe061a51478

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

* fix: keep url fallback type-safe when parse_url fails

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/1a498284-9424-42d6-8e7f-dfe061a51478

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

* test: clarify 740 error code reference in theme admin test

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/1a498284-9424-42d6-8e7f-dfe061a51478

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

* fix: add explicit null fallback for parsed request path

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/1a498284-9424-42d6-8e7f-dfe061a51478

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>
2026-05-10 23:55:59 +01:00
Adam DaleyandCopilot Autofix powered by AI fa6c2f86a5 Fix debug bar gate to use configured debug flag (#3510)
* Fix debug bar gate to use nested debug config

* Fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-10 22:54:05 +01:00
b82df887fe Enhance CI/CD with Docker optimizations and error handling (#3509)
* Bump Dockerfile syntax to 1.18

* Add getStatusCode to Response and update test

* Expect error code 740 for invalid theme action

* Use Docker-based CI/test image and live test script

* Add PHP 8.5 to CI matrix

* Add Buildx caching and optimize Docker build

* Add CI timeouts, quoting fixes, and release tree build

* Add concurrency, caching, and cleanup to CI

* Grant permissions for preview-build job

* Map error code 740 to HTTP 404 and update test

* Update cache-scope names in GitHub workflows

* Remove redundant status guard in theme admin test

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/b20f484f-0aaa-4afc-ae43-adb264bb05aa

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

* Grant cache export permissions to CI build job

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/a088c94f-a176-40fb-9e0b-ee3cac2aeb5b

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

* Disable cache for release artifact build

* Fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-10 22:43:16 +01:00
Copilotandadmdly 35ae244041 Gate debug bar to debug mode, harden URL/error handling, and fix UpdatePatcher query typing/binding (#3508)
* Initial plan

* fix: apply requested routing, patcher, and test hardening diffs

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/e959bfdb-4f67-4b6b-a029-cc296b5e8057

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

* test: make theme invalid-action status assertion compatible with live API helper

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/675d486f-4242-4143-9d17-987d7e104fd2

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>
2026-05-10 17:39:58 +01:00
Adam Daley f7f7fbc3df Enhance security, validation, and configuration for various services (#3507)
* Use `\A` and `\z` anchors in Finder regex

* Run config patches before core patches

* Ensure cron log exists and owned by www-data

* Change numeric inputs to text for plan limits

* Invoke global listeners for fired event

* Sanitize PDF filenames in `createPdfResponse`

* Use `array_key_exists` for blacklist check

* Prefer custom package value for DirectAdmin

* Validate password argument type in isPasswordStrong

* Skip non-installed non-core modules in Hook Service

* Instantiate `DoctrinePaginator` after limits

* Validate guest message is a string

* Adjust mocks in Hook ServiceTest

* Validate currency conversion rate input

* Stop accepting CSRF header token

* Add `.dockerignore` and modernize CI/Dockerfile

* Mock `CurrencyRepository` in `ServiceTest`

* Add antispam hooks for client/admin login

* Move password reset captcha before rate limiting

* Add sandbox attribute to email preview iframe

* Skip reprocessing and include payment_intent check

* Check password reset captcha after rate limit

* Enhance testCreateAndProcess with DB and TX mocks
2026-05-10 16:46:22 +01:00
Adam Daley ff0fef38a6 Fix fatal error when registering Doctrine PDO with debugbar collector (#3506)
Fix debugbar Doctrine PDO collector wrapping
2026-05-10 16:32:59 +01:00
Adam DaleyandCopilot Autofix powered by AI 38aa818aa1 Reject non-scalar select/radio config values (#3504)
* fix(order): reject non-scalar select/radio config values

* Fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-10 15:31:22 +01:00
Adam Daley d49168bd43 Fix patch 46 enum migration for legacy client values (#3503)
* Fix patch 46 enum migration for legacy client values

* Remove `document_type` updates from UpdatePatcher
2026-05-10 14:40:40 +01:00
7a2c20e264 Fix merge-hold status updates on PR label changes (#3502)
* Fix CI merge-hold checks on PR label changes

* Avoid duplicate CI on PR label events

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/cfc116ce-5ae8-439f-acc0-fe5ecd868c89

Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>
2026-05-10 14:19:22 +01:00