* 🐛 Fix current route theme selection
* Fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* Fix stray brace and comment in Theme Service
* Update phpstan ignore annotation in Theme Service
---------
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Apply suggested fix to src/modules/Page/templates/client/mod_page_login.html.twig from Copilot Autofix
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
* Initial plan
* Fix duplicate getHttpCode/getStatusCode, improve wasSuccessful result check, and test email validation via Validate class
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
* Improve type safety, auth checks and PHPStan fixes (#3250)
* Improve type safety, auth checks and PHPStan fixes
* Remove @phpstan-ignore annotations
* Improve type safety, auth checks and PHPStan fixes
* Remove @phpstan-ignore annotations
* Remove redundant @phpstan-ignore comment
* Improve code robustness and reliability (#3248)
* Harden code against null/undefined values
* Update dependency lockfiles
* Sanitize ticket input and use IDs in email list
* Restructure tests and add test utilities
* Move E2E tests to `Library\E2E` namespace
* Update `php-build` action ref in workflows
* Switch tests to Pest and add test scaffolding
* Refactor E2E tests to Pest-style tests
m
Skip E2E tests when env not configured
* Refactor Unit tests and update test config
Add test datasets and refine test helpers
* Add DEBUG guard, fix API JSON decode, update tests
* Refactor tests: add types and Mockery expectations
* Adjust tests, phpstan config, and composer script
* Instantiate test APIs locally, remove beforeEach
* Refactor runtime checks, types & logging
* Apply PHP Code Styling Changes
m
* Add PHPStan ignores, test renames & small fixes
* Enable Pest tests in CI workflow
* Remove legacy tests; add new unit tests/config
* Avoid undefined index in fingerprint comparison
* Ignore properties absent in both fingerprints
* Remove public_ticket_create API method
* Add Fingerprint unit tests
* Remove em dash from fingerprint test name
* Switch to Pest; assorted bug fixes & refactors
* Prefer getDi() and guard DEBUG define
* Refactor tests: DBAL, Antispam rename, helpers
* Refactor email tests to use Doctrine entities
* Update tests, use DBAL mocks & improve Formbuilder admin
* Validate plan_id and update unit tests
* Replace error_log with DI logger and update tests
* Expect db->store in Invoice Service test
* Use DI logger instead of error_log; fix tests
* Fix typo in Hook Service test
* Fix Staff test spelling fixture
* Complete Pest test migration
* Fix Product test spelling fixtures
* Fix Product test spelling fixtures
* Run live tests with Pest and load helpers
* Migrate tests to ApiClient; remove legacy APIHelper
* Fix Email test spelling
* Remove unused PHPUnit bridge
* Organize Cypress end-to-end tests
* Document Pest test directory root
* Remove noisy Pest comments
* Apply suggested fix to tests-legacy/modules/Product/ServiceTest.php from Copilot Autofix
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
* Apply suggested fix to tests-legacy/modules/Product/ServiceTest.php from Copilot Autofix
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
---------
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
* Enforce one-time payment support per gateway
* Require gateway keys based on mode
* Add update readiness checks and UI integration
* Expose product form_id to guest API output
* Return structured issues and small UI/test tweaks
* Compute gateway field-required; catch Throwable
* Skip unwritable path simulation when root
* Use temp dirs for data/uploads in tests
* 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>
* Fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* Fix test uploads mkdir error handling
* fix: hide recurrent-only gateways for one-time invoices
* Fix constructor and update install/vendor paths
* Skip update finalization in tests
* Improve exception output in testing mode
* Throw FOSSBilling exception and enhance error log
* Add PHPUnit tests for Box_Log
* Log exception details for CI debugging
* Revise Box_Log tests for PSR-3 and placeholders
* Write exception log to real data dir for CI visibility
* Fix duplicated block in compute_field_required macro
---------
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>
* Add PSR-3 styled logger method names to Box_Log
* Switch to using PSR-3 style method names in logger callers
* Handle writer failures centrally and harden masking behavior
* Fix wrong context format used
---------
Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
Apply suggested fix to src/library/FOSSBilling/Doctrine/EntityManagerFactory.php from Copilot Autofix
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
* Apply suggested fix to src/library/FOSSBilling/UpdatePatcher.php from Copilot Autofix
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
* Apply suggested fix to src/library/FOSSBilling/UpdatePatcher.php from Copilot Autofix
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
* Apply suggested fix to src/library/FOSSBilling/UpdatePatcher.php from Copilot Autofix
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
* Apply suggested fix to src/library/FOSSBilling/UpdatePatcher.php from Copilot Autofix
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
* Fix undefined UpdatePatcher method call in downloadable migration
---------
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Apply suggested fix to src/library/FOSSBilling/UpdatePatcher.php from Copilot Autofix
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
* Apply suggested fix to src/modules/Massmailer/templates/admin/mod_massmailer_index.html.twig from Copilot Autofix
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
* Apply suggested fix to src/modules/Massmailer/templates/admin/mod_massmailer_index.html.twig from Copilot Autofix
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
---------
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
* Add proxy candidate UI and system URL support
* Use SYSTEM_URL default in installer session
* Installer UI: reorganize options & proxy settings
* Fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* Use relative installer redirects in bootstrap
* Handle empty forwarded headers in RequestFactory
---------
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>
* Add `stored_filename` for downloadable files
* Remove orphaned stored files when a new downloadable file is uploaded
When uploading a new product file or directly replacing a service's file,
the old stored_filename was left on disk indefinitely.
- Add isStoredFilenameReferenced() to check whether a stored filename is
still referenced by any product config, order config, or
service_downloadable row before deleting.
- Add removeStoredFileIfOrphaned() that deletes the physical file only when
no references remain (protects against the patch65 migration scenario
where one stored_filename may be shared by multiple sibling records).
- In uploadProductFile(), capture the old stored filename before saving the
new config and remove it after all records are updated.
- In updateProductFile(), capture the old stored filename when a new file
is directly uploaded for a service/order and remove it after all records
are updated.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>