Commit Graph
13 Commits
Author SHA1 Message Date
FOSSBilling BotandFOSSBilling Bot 14b4f69c07 Apply PHP Code Styling & Quality Changes (#3589)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2026-05-19 10:31:17 -07:00
Copilotandadmdly 75adc6b68a Tighten Extension and Support tests for search, filtering, and cleanup behavior (#3585)
* Initial plan

* test: tighten extension and support assertions

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/d0a59b4d-2d45-4554-8421-7e284d2b02c0

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:33:47 +01:00
Copilotandadmdly d95cb87ab9 Improve test clarity in Stats and Support test suites (#3583)
* Initial plan

* Improve test clarity: rename $service, strengthen support ticket assertions

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/61bfd3c5-c19a-4b3e-83cb-b0225d0883cb

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

* Fix live test: use correct hash param and actual API response fields for ticket_get

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/e8fb2514-db0a-418a-a5ff-e2612aa236c8

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 10:45:45 +01:00
b17d218c43 Fixes for 2 code quality findings in Support module legacy tests (#3580)
* Apply suggested fix to tests/Modules/Support/GuestTest.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/Modules/Support/GuestTest.php from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Fix Support GuestTest expected guest-disabled message

Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/af77878f-4387-4a3e-8d5b-da7003f35918

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

---------

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>
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com>
2026-05-18 07:49:01 +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
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
2f22c210ab Apply PHP Code Styling & Quality Changes (#3285)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
2026-03-04 07:11:16 +00:00
Adam DaleyandCopilot Autofix powered by AI 5dffd5af9a Fixes for 2 code quality findings (#3280)
* Apply suggested fix to tests/Modules/Support/GuestTest.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/Modules/Support/GuestTest.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-02-27 21:48:25 +00:00
Copilotandadmdly e0ee5c5cf6 Improve test robustness in Support GuestTest (#3278)
* Improve test robustness in Support GuestTest

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

* Fix error message strings to match actual API responses

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-02-27 21:24:00 +00:00
Adam DaleyandCopilot Autofix powered by AI 74d24d4d1f Fixes for 2 code quality findings (#3274)
* Apply suggested fix to tests/Modules/Support/GuestTest.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/Modules/Support/GuestTest.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-02-27 21:04:44 +00:00
Belle Aerni 982703d0b3 Reduce invoice & guest hash entropy (#3242)
* Reduce invoice & guest hash entropy

* Update GuestTest.php

* derp
2026-02-26 01:21:41 +00:00
Belle Aerni 075c809881 Updated our rector configs (#2224)
* Some rector config work

* Increased type coverage, added dead code
2024-04-09 00:51:42 -07:00
Belle Aerni 0493c3a3e5 Further test improvements (#2122)
* Slight structure change to the testcases

* Fix

* Ported some random low-level tests

* Spelling

* Ported over some other low-level tests

* Fixes

* And now other fixes

* Another one
2024-02-06 13:13:04 -08:00