Commit Graph
6201 Commits
Author SHA1 Message Date
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
renovate[bot] d49c3be4bc Update php:8.5-apache Docker digest to d81a85c 2026-05-10 05:58:52 +00:00
Copilotandadmdly a0add76892 Clarify lookup error variable intent and tighten invalid action assertion (#3500)
* Initial plan

* Refine test naming and endpoint error assertion

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/c72c8914-fa26-41e3-8318-66a8eb660534

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 06:58:01 +01:00
renovate[bot] 0711437623 Update phpmyadmin:5 Docker digest to 0711eff 2026-05-09 13:41:32 +00:00
renovate[bot] e70a44b629 Update php:8.5-apache Docker digest to 9d8e90a 2026-05-09 05:02:04 +00:00
renovate[bot] 28926d60d5 Lock file maintenance 2026-05-08 16:37:50 +00:00
renovate[bot] 99424c82c3 Update release-drafter/release-drafter digest to c2e2804 2026-05-08 16:31:07 +00:00
renovate[bot] 2310f1d74e Update dependency doctrine/orm to v3.6.4 2026-05-08 07:48:34 +00:00
renovate[bot] cafee5e8be Update phpmyadmin:5 Docker digest to f11d965 2026-05-08 07:35:35 +00:00
renovate[bot] 0955f2311e Update github/codeql-action digest to 68bde55 2026-05-08 07:28:32 +00:00
renovate[bot] 938d900248 Update dependency sentry/sentry to v4.27.0 (#3494)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-08 08:26:31 +01:00
Copilotandadmdly aa45a9dbd1 Initialize Plesk DNS params, normalize Staff service naming/docs, and harden admin integration tests (#3499)
* Initial plan

* Apply requested fixes for Plesk, Staff service, and tests

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/bac3f6d2-a36b-4de4-b716-074e94a52148

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-08 08:00:43 +01:00
Copilotandadmdly 654ea31f2f Clarify exception annotations, remove dead massmailer code, normalize staff permission schema, and harden integration test assertions (#3498)
* Initial plan

* Apply requested fixes for annotations, permissions, and tests

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/724562e3-bb44-420b-9399-fef57791b724

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

* Narrow ip lookup test error suppression to warnings only

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/724562e3-bb44-420b-9399-fef57791b724

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

* Simplify invalid action regex and document error severity delegation

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/724562e3-bb44-420b-9399-fef57791b724

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

* Sanitize ip lookup warning text before logging in system test

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/724562e3-bb44-420b-9399-fef57791b724

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-08 07:06:28 +01:00
Yağızhan Burak Yakar 236e6a8572 Added type casting to more places (#3496) 2026-05-08 06:00:58 +01:00
FOSSBilling BotandFOSSBilling Bot 0ba0512618 Apply PHP Code Styling & Quality Changes (#3497)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2026-05-08 05:47:16 +01:00
renovate[bot] b2e53004a3 Update symfony packages to v7.4.10 2026-05-07 00:41:45 +00:00
Copilotandadmdly 3ddd77f505 Improve staff password update form accessibility and strengthen invalid theme action error assertions (#3491)
* chore: outline plan for accessibility and test assertions fixes

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/daf9b5cb-e907-47da-a054-c0efce9e49a9

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

* Initial plan

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

* fix accessibility in staff password update form and strengthen theme invalid-action test

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/daf9b5cb-e907-47da-a054-c0efce9e49a9

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

* add aria-readonly to readonly email field in staff password update form

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/daf9b5cb-e907-47da-a054-c0efce9e49a9

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

* refine test assertion message and keep readonly email input minimal

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/daf9b5cb-e907-47da-a054-c0efce9e49a9

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

* fix Theme Admin invalid-action test to assert API error payload from response

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/b050fc4d-67fd-4d52-b1c0-3a4916c2a801

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-07 00:04:08 +01:00
Copilotandadmdly 435852feb9 Fix label/input mismatch, duplicate autofocus, and improve error test assertions in staff password reset (#3493)
* Initial plan

* Fix email input accessibility, label/for mismatch, duplicate autofocus, and improve error test assertions

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/ff78cfe6-ae66-4c93-ba35-5af569b40725

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-06 23:42:05 +01:00
Adam DaleyandCopilot Autofix powered by AI 2206119011 Fix for code scanning alert no. 423: Workflow does not contain permissions (#3492)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2026-05-06 23:25:12 +01:00
Adam Daley 1cd99f4fe4 Refactor CI workflow and integrate multi-language support (#3490)
* Make CodeQL workflow multi-language matrix

* Consolidate merge-hold check into CI

* Merge labeler workflow into CI and adjust triggers

* Integrate Release Drafter into CI workflow

* Embed live-tests job into CI workflow

* Refactor CI workflow: consolidate permissions

* Enable release-drafter autolabeler

* Rename CI job name to 'Live Tests'

* Add composite action to prepare application assets

* Enable workflow concurrency and fail-fast

* Run live-tests after spellcheck

* Add live-tests dependency to preview-build

* Make concurrency group include workflow/event/PR
2026-05-06 23:14:05 +01:00
Yağızhan Burak Yakar 186dced3ff Fixed invisible company logo in staff auth pages (#3489)
* Fixed invisible company logo in staff auth pages

* Add missing API calls
2026-05-07 00:22:37 +03:00
Adam DaleyandCopilot Autofix powered by AI 0215699491 Fix for 1 code quality finding (#3488)
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-06 21:09:28 +01:00
Adam Daley 53eb4f2fca Refactor Twig environments and extensions (#2752)
* Replace Custom Twig components

Replace custom Twig components with native Twig components, remove unused custom Twig components, and move functionality to macros where appropriate.

m

Update partial_extensions.html.twig

* Update Twig components and migrate to FOSSBilling namespace

* Update Currency module...

* Refactor Twig environment config and loading

* Switch CSRF to cookie-based double-submit

* Add Api Twig extension and restore widget/svg helpers

* Cast language flags; improve JSON parsing

* Add markdown DI service and use in Admin API

* Refactor Twig extensions and markdown, simplify APIs

* Add sandboxed email Twig env, update render APIs

* Fix pagination URL usage and menu class

* Fix HTML markup in email templates

* Use macro for avatars and status badges

* Fix Twig spacing and pagination URL filter order

* Replace Custom Twig components

Replace custom Twig components with native Twig components, remove unused custom Twig components, and move functionality to macros where appropriate.

m

Update partial_extensions.html.twig

* Update Twig components and migrate to FOSSBilling namespace

* Refactor Twig environment config and loading

* Add Api Twig extension and restore widget/svg helpers

* Cast language flags; improve JSON parsing

* Add markdown DI service and use in Admin API

* Refactor Twig extensions and markdown, simplify APIs

* Fix pagination URL usage and menu class

* Fix Twig spacing and pagination URL filter order

* Use `current_theme` global and refactor `period_title`

* Allow markdown and date in email Twig sandbox

* Update email template examples

* Fix Twig URLs, quoting, and logo alt text

* Fix Twig templates: URLs, i18n, search params

* Use `templates/*` directories for module templates

* Tighten Twig sandbox and add tests

* Add Twig environment and template docs to `AGENTS.md`

* Use Symfony Filesystem/Finder and assorted fixes

* Fix ticket reply link fragment concatenation

* Close missing divs in dashboard template

* Use detailed `toApiArray` for client

* Fix module name resolution for email templates

* Regenerate `composer.lock`

* Use `markdown_to_html` filter in admin macro

* Handle null price/quantity and rename test method

* Use `Tools::isHTTPS()` for HTTPS checks

* Add 'area' param to `url` filter and update templates

* Use client area URLs in admin templates

* Use client area and guest API URLs in templates

* Remove client-side invoice delete feature

* Create Twig env via `TwigFactory` for PDF rendering

* Add embedded orderbutton JS and update render

* Add 'srclink' to cspell allowlist

* Use `renderEmailTplString` for email rendering

* Bump twig/markdown-extra to v3.24

* Use `markdown_to_html` for privacy policy

* Escape API JSON, handle null IP, client URLs

* Remove initial admin creation flow

* Handle HTTP failures and make tests robust

* Use `api_url` helper in admin templates

* Use `url` filter for footer link 5

* Add patch53 to remove legacy html templates

* Bump setting last_patch to 53

* Add patch54 to restore legacy email templates

* Use renderEmailTplString for email templating

* Remove redundant else/endif in order template

* Add file-hash cache buster for asset URLs

* Remove raw Twig filter and handle missing modules dir

* Return '-' for future timestamps

* Register and reuse TwigFactory and add CSRF cookie

* Adjust API URL helper and add Twig error handling

* Update composer.lock and package-lock.json

* Add twig_factory to ServiceTest DI

* Use url filter for link_page in template

* Composer - update deps and add markdown-extra

* Remove docblocks and inline comments in `TwigFactory`

* Add patches 53-55 and update `last_patch`

* Add `has_permission` Twig function; exclude `href`

* Remove duplicate network interface form

* Guard removal of legacy dirs; add network input

* Handle null category descriptions in template

* Add Twig adapter env and sandbox policy

* Add 'striptags' to cspell word list

* Update composer.lock (deps updated/removed)

* Sanitize custom payment adapter templates

* Remove redundant legacy API tests

* Bump `last_patch` setting to 56

* Coalesce null before `markdown_to_html`

* Move update patcher to system CLI command

* Remove stray `endif` from recaptcha macro

* Update composer.lock

* Fix extra closing brace in Api ServiceTest

* Fix test errors from main merge

- Remove testGetRequestCount tests (method moved to RateLimiter)
- Remove testGetDi from Staff and System GuestTest (protected method)
- Fix IP error message in testLoginCheckIpException
- Add rate_limiter mock to Staff GuestTest tests that need it

* Fix remaining Staff GuestTest issues

- Add extension service mock for captcha check
- Fix error message from 'User not found' to 'Admin not found'

* Fix Staff GuestTest: update query and add logger mock

* Fix Staff GuestTest: set admin status to active for password reset flow

* Fix stale API calls and inverted required condition

- Notification: replace removed system_string_render with direct output
- Antispam settings: replace |alink/|link with |url/|api_url filters
- build_form macro: fix inverted required condition for non-textarea inputs

* Sanitize JS/data URIs and disable buttons by permission

* Use client login/profile links in support emails

* Encode fb-api JSON and tighten URL sanitization

* Prefer session auth for API key methods

* Remove stray endif and fix template formatting

* Add CSRF token to CSV exports; fix template

* Remove stray endif in currency template

* Make invoice PDF generation return Response

* Fix Twig filters, templates, and form handling

* Remove readonly from anonymous class in test

* Inline DebugBar CSS/JS in renderHead

* Add Bootstrap Tab to global bootstrap

* Capitalize template UI strings

* Use CKEditor API for reply quotes

* Remove WYSIWYG module and move CKEditor to themes

* Bump `last_patch` in install SQL to 59

* Remove Spamchecker module

* Run domain management script only for active orders

* Standardize UI text capitalization & minor fixes

* Remove Spamchecker legacy tests; fix period test

* Rename Spamchecker tests to Antispam

* Restore antispam config in tests; remove fixture

* Refactor Antispam Guest tests for config checks

* Update theme build docs; remove Wysiwyg module

* Remove spamchecker from cspell and tweak comment

* Add spamchecker to cspell word list

* Capitalize 'Update Graphs' button label
2026-05-06 21:02:16 +01:00
Adam DaleyandCopilot Autofix powered by AI 6a6ff9d37e Fix for 1 code quality finding (#3487)
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-06 15:07:47 +01:00
Copilotandadmdly 0c9a5fe6a7 Refactor test doubles, fix cron admin mock inconsistency, and add missing coverage (#3486)
* Initial plan

* Refactor test helpers: extract named doubles, fix mock inconsistencies, add return types and negative test cases

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/e732bafd-6bd7-40c6-b976-f13240612867

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

* Fix CI failures: use named class instead of addMethods(), fix checkInvoiceAuth assertion

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/c519e2d3-203c-4eba-962a-547a5f1ddfe0

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

* Fix testTryTokenLoginRejectsCronAdminToken: give dbAdmin and cronAdmin the same ID so the ID-match check throws the expected exception

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/ae7acf19-c6bf-43c4-abaf-d50a321d69b3

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-06 14:59:18 +01:00
renovate[bot] eb5ae0554c Update actions/labeler digest to f27b608 2026-05-06 08:09:59 +00:00
renovate[bot] 2c5e03b20e Update dependency postcss to v8.5.14 (#3485)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-06 08:52:29 +01:00
renovate[bot] 438b136107 Update dependency sentry/sentry to v4.26.0 (#3483)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-06 08:42:18 +01:00
renovate[bot] c684b54e0a Update dependency prinsfrank/standards to v3.16.4 2026-05-06 01:46:06 +00:00
Adam Daley ab957e4ac2 Support returning PDF as HttpFoundation Response (#3482)
Support returning HttpFoundation Response (PDF)
2026-05-05 08:48:24 +01:00
Adam Daley 1d83a6c051 Prefer session auth for API key methods (#3479) 2026-05-05 05:56:17 +01:00
Yağızhan Burak YakarandAdam Daley 091bd5c67b Refactor guest API routes and reduce the information passed (#3474)
* Remove guest API system version endpoint

* Moved theme information to Admin API

* Removed references to the old "comment" module

* Remove unused cron endpoints

* Don't pass registrar information to guests

* Filter out Product toApiArray properties

* Redact public ticket information passed via the guest API

* Move redaction logic to the serializer

* Moved honeypot information to a Twig function

* More redaction

* Fixed tests

* Block additional paths

* Reduce the amount of information passed to clients

* Mask file downloads behind sendFile rather than serializing original path

* Move honeypot information to the new Twig function

* Add missing curly bracket

* Removed unused `get_slider` endpoint

* Turn publicMessageToApiArray into an allowlist

---------

Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
2026-05-04 21:48:11 +01:00