89b9102787
Enforce active status checks and validate staff permissions ( #3591 )
...
* Enforce order active status checks
* Default missing form field flags to 0
* Validate and enforce staff permission updates
* Use `createStub` in Staff tests
* Enforce permission checks for bank params
* Allow client profile/logout pages w/o validation
* Set order status to active in Api_ClientTest
* 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 >
* Add testServiceNotActiveException for non-active order status guard
Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/2a58a630-cf21-4358-804d-9a9d8be70d21
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com >
* Use FOSSBilling\InformationException in Admin API
---------
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-20 00:14:54 +01:00
renovate[bot]
aed08fa28b
Update dependency postcss to v8.5.15 ( #3590 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-19 23:47:44 +01:00
renovate[bot] and Adam Daley
7dce9dbe47
Update dependency ckeditor5 to v48.1.1 ( #3588 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Adam Daley <admdly@users.noreply.github.com >
2026-05-19 23:11:31 +01:00
FOSSBilling Bot and FOSSBilling Bot
14b4f69c07
Apply PHP Code Styling & Quality Changes ( #3589 )
...
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2026-05-19 10:31:17 -07:00
9a1ac2a7b1
Normalize module names in hasManagePermission ( #3584 )
...
* Normalize module names in hasManagePermission
* Fix Extension service test mod_service mock signature
Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/4ef94929-a11e-45a9-ae6b-51571ce64e1c
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com >
* Rename $permissionModule to $permission_module for consistency
Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/352f1681-92c0-45cf-b923-d87d8684a141
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-18 12:10:28 +01:00
ac00bf1bda
Refactor dashboard and enhance charts with transaction support ( #3581 )
...
* Support optional `transaction.ipn_hash` with repair
* Refactor dashboard tables and product sales card
* Refactor dashboard client/avatar and activity tables
* Replace ApexCharts with Chart.js sparklines
* Preserve decimal income and enhance chart tooltips
* Normalize admin navigation URIs
* 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 >
* refactor(Stats): split _genFlotArray into typed _genFlotArrayInt and _genFlotArrayFloat helpers
Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/fb8520de-2038-4e33-af3e-3520d999c939
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com >
* fix(Invoice): use processTransaction return value in markAsPaidByAdmin instead of returning true unconditionally
Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/fc7131ac-81aa-416b-af57-7d65d9bd20c3
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com >
* fix(Invoice): remove runtime DDL migration from ServiceTransaction; simplify supportsTransactionIpnHash to schema-check only
Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/e4b07e3f-7660-4fba-84c0-0105d6b2a318
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-18 08:57:37 +01:00
a25247dda1
Simplify Antispam template conditionals/handlers and harden Support GuestTest config restoration ( #3579 )
...
* Initial plan
* refactor antispam settings template and support guest test cleanup
Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/ede2c4f7-bcca-42f7-bb2b-cd8f324ba00a
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: restore full Support config snapshot in GuestTest teardown
Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/dcaa48e9-3f13-48bf-9eb6-c6633a6152b6
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-18 06:48:53 +01:00
Adam Daley
a31a0f4636
Fix honeypot checkbox false-state rendering ( #3576 )
2026-05-17 03:22:08 +01:00
fc619fabc0
Enhance payment UI, add locale settings, and improve email templates ( #3575 )
...
* Add `auto_detect_locale` setting, API, UI and tests
* Add public tickets toggle and templates
* Add meta descriptions and OG/canonical tags
* Render invoice gateways as logo buttons
Replace plain radio labels for invoice gateways with a styled button-like radio group: add helper text, wrap gateways in a flex container, generate unique input IDs (`order-gateway-<id>`), use `btn-check` inputs with `.btn` labels showing gateway logos (or title fallback), include tooltip and `aria-label`, and retain the original currency filtering and first-item checked behavior. This updates markup/CSS classes for improved UX and visual clarity without altering payment selection logic.
* Remove plaintext password exposure
* Client welcome email, password reset & tests
* Refactor admin system messages to alerts
* Fix password reset audit IP source
Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/d307ec12-1c92-4e31-9369-9d74d3be7a04
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com >
* Use Tools::normalizeBoolean for localization settings
Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/8329021b-ded8-4906-9615-fb48472ac4b4
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-17 03:03:03 +01:00
Copilot and admdly
a276a14046
Normalize Antispam settings template consistency and Guest API test/message wording ( #3574 )
...
* Initial plan
* Fix antispam template consistency and guest test/style updates
Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/963452fe-b40d-4834-be28-2f3451252219
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-17 01:12:56 +01:00
79e797fd39
Enable honeypot prevention by default ( #3542 )
...
* Enable honeypot prevention by default
* 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-17 00:41:40 +01:00
7c04d4dbf6
Enhance security and permissions for client operations ( #3572 )
...
* Always send client password reset email
* Sanitize email content and sandbox iframes
* Remove API key info methods
* Add `InvoiceOperation` enum and validate gateways
* Normalize `ext` and enforce permission in getConfig
* Require staff permissions and simplify sessions
* Fix imports, formatters, perms, tests
* Remove array return type from getEnv
* Add staff permission checks to admin APIs
* 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 >
* Remove strtolower normalization from getConfig to preserve original casing behavior
Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/cfcdb64d-db87-4603-ab22-ac0e8a5c4720
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com >
* Remove unused $data parameter from Profile Admin destroy_sessions
Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/a42719bb-cbae-4e3b-994c-b429a0757447
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com >
* Move extension permission check to Admin API
* Use gh CLI to cleanup untagged GHCR versions
---------
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-17 00:00:32 +01:00
ecd74a7b65
Harden session cookie handling and simplify legacy tests ( #3570 )
...
* Initial plan
* fix session cookie handling and clean legacy tests
Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/9e1e623b-d220-42b5-a434-5ddee8324bc3
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 for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
* Remove incomplete EntityManagerFactory test instead of leaving markTestIncomplete placeholder
Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/48e905a2-4d3c-4b73-93b4-de6101030d14
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-16 21:48:30 +01:00
Adam Daley
6f4fefe7f7
Handle non-scalar period codes safely ( #3566 )
2026-05-16 16:15:21 +01:00
Adam Daley and Yağızhan
7131eea3d3
Normalize legacy period fields ( #3560 )
...
* Normalize legacy zero period sentinel
* Add patch62 to normalize period fields
* Ignore zero-price or no-period lines, normalize periods
* Add patch 62 to the list of patches
* Fixed tests
---------
Co-authored-by: Yağızhan <hi@yagiz.dev >
2026-05-16 13:57:17 +01:00
Adam Daley
8f3796340d
Fix obsolete sessions persisting past regeneration grace period ( #3562 )
...
* Fix obsolete session grace-period invalidation
* Remove obsolete comments from Session.php
2026-05-16 12:23:20 +01:00
Copilot and admdly
09ce074384
Fix Client Admin API docs/guards and correct Guest API test fixture typos ( #3561 )
...
* Initial plan
* fix client admin api docs and validation edge cases
Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/4dcf2f2c-77f2-4343-83ef-ecd1e9d63d82
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com >
* refactor currency assignment in client admin update
Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/4dcf2f2c-77f2-4343-83ef-ecd1e9d63d82
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-16 12:10:11 +01:00
Adam Daley
3bd8e853b5
Add cache namespace seed for entity metadata ( #3559 )
2026-05-16 11:05:02 +01:00
Adam Daley and Copilot Autofix powered by AI
b2be307766
Enhance session management and image output configurations ( #3558 )
...
* Add session regeneration with grace period
* Enable push and canonical name for image outputs
* Remove redundant Docker Hub login scope
* Clear runtime cache around patching
* Add `default_currency` global to Twig
* Make default currency nullable
* 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-16 08:19:12 +01:00
Adam Daley and Copilot Autofix powered by AI
2d137acdd1
Fixes for 2 code quality findings in Client module ( #3556 )
...
* Apply suggested fix to src/modules/Client/Api/Admin.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/Client/Api/Admin.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>
2026-05-16 06:37:56 +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
Copilot and admdly
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
Belle Aerni and Adam 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 Aerni and Adam 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
Copilot and admdly
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
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
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
Adam Daley and Copilot 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
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
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
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
Copilot and admdly
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 Daley and Copilot 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
Copilot and admdly
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 Daley and Copilot 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
Copilot and admdly
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
Copilot and admdly
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 Bot and FOSSBilling Bot
0ba0512618
Apply PHP Code Styling & Quality Changes ( #3497 )
...
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2026-05-08 05:47:16 +01:00
Copilot and admdly
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