renovate[bot]
1f248fd701
chore(deps): update dependency phpunit/phpunit to v12.5.16
2026-04-04 04:56:59 +00:00
renovate[bot]
7ca5b1a37e
chore(deps): update dependency php-debugbar/php-debugbar to v3.6.4
2026-04-04 02:10:38 +00:00
renovate[bot]
0e53ca6fd2
chore(deps): update dependency php-debugbar/php-debugbar to v3.6.3
2026-04-03 05:13:44 +00:00
renovate[bot]
c7960787de
chore(deps): update dependency doctrine/orm to v3.6.3
2026-04-03 00:28:07 +00:00
b6c95c8d14
chore(deps): update dependency phpstan/phpstan to v2.1.46 ( #3383 )
...
* chore(deps): update dependency phpstan/phpstan to v2.1.46
* chore: update phpstan baseline for v2.1.46 Closure method errors in di.php
Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/fb80efa5-2d6d-4046-8e4b-19b428abecaa
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 >
2026-04-02 08:37:14 +01:00
renovate[bot]
2d9bc1e08e
chore(deps): update dependency sentry/sentry to v4.24.0 ( #3385 )
2026-04-02 06:53:58 +01:00
renovate[bot]
8d6e005183
chore(deps): update dependency php-debugbar/php-debugbar to v3.6.2
2026-04-02 00:54:23 +00:00
renovate[bot]
fdfed8dba4
chore(deps): update symfony packages to v7.4.8
2026-04-01 05:48:26 +00:00
renovate[bot]
73ea89d551
chore(deps): update dependency phpunit/phpunit to v12.5.15
2026-04-01 01:57:02 +00:00
FOSSBilling Bot and FOSSBilling Bot
915dc56d0e
Apply PHP Code Styling & Quality Changes ( #3384 )
...
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2026-03-31 19:53:03 +01:00
renovate[bot]
c3471df03d
chore(deps): update dependency php-debugbar/php-debugbar to v3.6.1
2026-03-31 02:05:14 +00:00
renovate[bot]
7ab6340c0d
chore(deps): lock file maintenance
2026-03-30 08:40:13 +00:00
renovate[bot]
64f7c9e34a
chore(deps): update dependency php-debugbar/php-debugbar to v3.6.0 ( #3382 )
2026-03-30 01:50:13 +01:00
c382a7a995
Code quality: type hints, method renames, null guards, and test fixes across Formbuilder, Page, Invoice, and Theme modules ( #3380 )
...
* Initial plan
* Apply code quality improvements: rename methods, add type hints, fix null checks, improve tests
Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/7815527d-3f30-486a-9f69-232031ba2d6e
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com >
* Use `isValidFieldType` instead of `typeValidation`
* Allow rendered privacy policy HTML
Remove the Twig escape filter from the company privacy policy output so the HTML produced by the markdown filter is rendered. This change ensures markdown-generated markup displays correctly in the privacy policy card instead of being HTML-escaped.
---------
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-03-29 08:49:49 +01:00
9c2a4d521c
Add file-backed email templates ( #3372 )
...
* Add `is_custom` and file-backed email templates
* Detect and handle missing default email templates
* Standardize capitalization in email templates
* Group OR conditions with parentheses in queries
* Add `is_custom` and file-backed email templates
* Detect and handle missing default email templates
* Standardize capitalization in email templates
* Group OR conditions with parentheses in queries
* Fix test expectations to match updated OR condition SQL format
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com >
Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/932b3ffe-6478-4ed4-b74d-a1af2681ff0d
* Update src/modules/Email/templates/admin/mod_email_template.html.twig
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Wrap order status OR conditions in parentheses
* Add tests to preserve client scope in searches
* Optimize `getTemplateList`: DB-level filtering/pagination, remove per-request batch sync (#3373 )
* Optimize getTemplateList: DB-level filtering, pagination, remove templateBatchGenerate from list
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com >
Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/fab0e6c0-51ef-4501-98f8-f5ab823816ab
* Fix test: remove stale decrypt expectation now that list uses deep=false
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com >
Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/6a891d33-a7dc-436d-9bd2-4a48923d91d7
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com >
* Add test for resetting custom email template
* Add `is_overridden` flag for email templates
* Improve detection of overridden email templates
* Update src/modules/Email/Service.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Detect template overrides by comparing defaults
* Migrate Email module to Doctrine
* Ignore whitespace when comparing email templates
* Use Doctrine `EmailTemplate` repo; update tests
* Avoid re-enabling templates; handle rows
* Add email template schema check and row mapping
* Add Type and Status columns to email templates
* Limit run-patcher & remove email schema migration
* Update tests-legacy/modules/Email/Api/Api_AdminTest.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/library/FOSSBilling/UpdatePatcher.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/modules/Email/Service.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/modules/Email/Service.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update tests-legacy/modules/Email/ServiceTest.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Fix getTemplateList skipping EmailTemplate entities from pagination result (#3379 )
* Initial plan
* Fix getTemplateList to handle EmailTemplate entities from pagination result
Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/5567a644-4032-40aa-a6af-8eda8cbcea36
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-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-03-28 03:38:20 +00:00
renovate[bot]
0a5271103a
chore(deps): update github/codeql-action digest to c10b806
2026-03-28 01:48:07 +00:00
renovate[bot]
9ebdf7218a
chore(deps): lock file maintenance
2026-03-27 09:30:01 +00:00
renovate[bot]
e12906cd8f
chore(deps): pin dependencies ( #3376 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-27 09:05:35 +00:00
FOSSBilling Bot and FOSSBilling Bot
41adc03d57
Apply PHP Code Styling & Quality Changes ( #3375 )
...
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2026-03-27 08:50:47 +00:00
Adam Daley
3d51718d83
Capitalise titles in templates ( #3374 )
...
Capitalize titles in Twig templates
2026-03-26 07:25:50 +00:00
renovate[bot]
1490949c80
chore(deps): update dependency phpstan/phpstan to v2.1.44
2026-03-26 01:07:23 +00:00
Copilot and admdly
8c0e838983
Fix legacy var declarations, deprecated toGMTString(), and weak uniqid() in tests ( #3370 )
...
* Initial plan
* Fix var declarations, deprecated toGMTString(), and improve uniqid() entropy
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com >
Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/03b1e492-4f8d-478b-8e7d-7e65a592a723
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com >
2026-03-25 17:44:48 +00:00
renovate[bot]
1307dfda91
chore(deps): update dependency phpstan/phpstan to v2.1.43
2026-03-25 00:07:25 +00:00
FOSSBilling Bot
3847ebb216
Apply PHP Code Styling & Quality Changes ( #3369 )
2026-03-25 00:06:34 +00:00
Adam Daley
717953f1f3
Fix manual order form_id, add invoice product selector, and improve tab & URL parameter support ( #3172 )
...
* Fix multiple issues: #2902 , #2831 , #2774 , #2794
- Fix #2902 : Save form_id when admin creates order manually
- Fix #2831 : Add product dropdown when preparing invoice
- Fix #2774 : Support ?tab URL parameter to pre-select tabs
- Fix #2794 : Support URL parameters for pre-selecting order form values
For issue #2902 :
When admins create orders manually, the form_id field was not being saved,
preventing form builder fields from appearing in "Edit order config" tab.
Now saves form_id from product to maintain compatibility.
For issue #2831 :
Added product selector to invoice preparation form that allows admins to
select products from existing catalog instead of manually typing
product names and prices. Selected products are added as invoice items.
For issue #2774 :
Added URL parameter parsing to pre-select tabs when page loads.
Supports ?tab=tabname parameter in URLs, useful for pagination and
direct links to specific tabs.
For issue #2794 :
Added URL parameter support for pre-filling order form values:
- period: Pre-select billing cycle (e.g., ?period=1Y)
- name: Pre-fill domain name (for domain orders)
- tld: Pre-select TLD (for domain orders)
* Fix JavaScript syntax error - remove duplicate DOMContentLoaded event listener
* Enhance invoice product selection and admin JS
* Clarify client selector placeholder text
* Pre-fill domain form via URL params
2026-03-24 01:17:46 +00:00
renovate[bot]
c725910674
chore(deps): update fossbilling/.workflows digest to 14f9ee1
2026-03-24 00:34:46 +00:00
Copilot and admdly
80904bf305
Fix test code quality issues in Invoice, Order, and Theme service tests ( #3368 )
...
* Initial plan
* Fix test code quality issues in Invoice, Order, and Theme service tests
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com >
Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/c1924b0a-fdc2-47a8-83e0-7cbd543023bc
* Fix CI failures: remove invalid RuntimeException throw, lowercase 'currency' in Service.php, remove void return assertion
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com >
Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/f9b14015-5296-458e-b57e-252972989402
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com >
2026-03-24 00:33:50 +00:00
e18fe0062d
Set form_id from product when admin creates order ( #3365 )
...
* Set `order form_id` and validate config
* Update src/modules/Order/Service.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* [WIP] [WIP] Address feedback on setting form_id in order creation PR (#3366 )
Initial plan
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
* fix(Order): Render formbuilder fields in Edit order config tab
When an order has a form_id, the Edit order config tab now renders all
formbuilder fields with proper input types (text, select, checkbox,
radio, textarea) instead of just showing existing config keys.
This completes the fix for admin-created orders not showing formbuilder
fields in the order config editor.
Fixes #2902
* Add unit tests for `updateOrderConfig()` form validation paths (#3367 )
* Initial plan
* Add unit tests for updateOrderConfig() validation (required field, select/radio/checkbox options)
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com >
Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/3fe9a767-5075-4d33-9e2c-cee02f03c7f1
---------
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 <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com >
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com >
2026-03-24 00:07:54 +00:00
65a028ef1e
Normalize Massmailer filters and migrate to Doctrine entities ( #3360 )
...
* Normalize and validate Massmailer filters
* Migrate Massmailer to Doctrine entities
* Add strict typing to Massmailer API and Service
* Use DBAL/Doctrine for modules and add `ExtensionMeta`
* Fix PHPDoc `@return` type mismatch in Massmailer Admin API (#3361 )
* Initial plan
* Fix PHPDoc @return type mismatch in Massmailer Admin API
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com >
Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/bc7567ec-98df-4f54-83b9-06906daa43f1
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com >
* Update src/modules/Redirect/Service.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update tests-legacy/modules/Massmailer/ServiceTest.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/modules/Notification/Service.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Fix TypeError in Massmailer `create()` when entity ID is null post-flush (#3362 )
* Initial plan
* Throw exception when create() returns null ID instead of causing TypeError
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com >
Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/a842fa3a-e1ff-40b8-b038-30b789ff3499
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com >
* Fix test assertion for DBAL integer return type in Massmailer ServiceTest (#3364 )
* Initial plan
* fix: update test assertion to expect int id from DBAL query
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com >
Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/c18cfc23-4f38-4d1e-8468-03b332a6760d
---------
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 >
* Fix `TypeError` in Massmailer `copy()` and `create()` due to nullable ID return (#3363 )
* Initial plan
* Fix nullable ID return type mismatch in Massmailer Admin API copy() and create()
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com >
Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/b52c3722-adfe-4772-8bb4-628b1b56e989
---------
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 <198982749+Copilot@users.noreply.github.com >
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-03-23 22:27:55 +00:00
Adam Daley and Copilot Autofix powered by AI
786a00f9f1
Fixes for 2 code quality findings in Invoice tests ( #3359 )
...
* Apply suggested fix to tests-legacy/modules/Invoice/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/Invoice/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>
2026-03-23 12:15:34 +00:00
Copilot and admdly
b47ef9d237
Refactor invoice template layout constants, fix divider rendering, and correct typos ( #3358 )
...
* Initial plan
* Fix magic numbers, typos, and code quality issues in Invoice template and System/Invoice services
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com >
Agent-Logs-Url: https://github.com/FOSSBilling/FOSSBilling/sessions/cddfc8bc-b60d-4544-9e8a-ed5452e49ce1
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: admdly <2807620+admdly@users.noreply.github.com >
2026-03-23 07:26:12 +00:00
renovate[bot]
e8db435f13
chore(deps): lock file maintenance
2026-03-23 00:56:42 +00:00
Adam Daley
256dc0570f
Remove client-side invoice deletion and add unpaid invoice button ( #3356 )
...
* Remove client-side invoice delete feature
- Remove delete() method from Invoice Client API
- Remove deleteInvoiceByClient() from Invoice Service
- Remove client delete button from admin invoice template
- Remove related test methods
* Add Delete button for unpaid invoices
2026-03-21 19:13:49 +00:00
Adam Daley
f3e32ec43a
Move and update paths for Invoice PDF templates ( #3355 )
...
* Move invoice PDF templates and update paths
* Migrate Invoice PDF templates to new location
* Bump `last_patch` to 51 in install SQL
2026-03-21 08:24:41 +00:00
renovate[bot]
4f88416349
chore(deps): update github/codeql-action digest to 3869755
2026-03-21 00:51:54 +00:00
renovate[bot]
2c7d669847
chore(deps): update phpmyadmin:5 docker digest to f3a5bfe
2026-03-20 05:44:41 +00:00
renovate[bot]
bf48b27d65
chore(deps): update dependency league/commonmark to v2.8.2 [security]
2026-03-20 00:51:29 +00:00
Adam Daley
27b1d927d4
Improve file handling, safety, and default values ( #3353 )
2026-03-19 19:30:19 +00:00
dependabot[bot]
cf865356bf
Bump @dicebear/core from 9.4.0 to 9.4.1 in the npm_and_yarn group across 1 directory ( #3352 )
...
Bump @dicebear/core in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the / directory: [@dicebear/core](https://github.com/dicebear/dicebear ).
Updates `@dicebear/core` from 9.4.0 to 9.4.1
- [Release notes](https://github.com/dicebear/dicebear/releases )
- [Changelog](https://github.com/dicebear/dicebear/blob/10.x/CHANGELOG.md )
- [Commits](https://github.com/dicebear/dicebear/compare/v9.4.0...v9.4.1 )
---
updated-dependencies:
- dependency-name: "@dicebear/core"
dependency-version: 9.4.1
dependency-type: direct:production
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-19 18:33:41 +00:00
FOSSBilling Bot and FOSSBilling Bot
34e8a10787
Apply PHP Code Styling & Quality Changes ( #3351 )
...
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2026-03-19 13:41:16 +00:00
Adam Daley and Copilot Autofix powered by AI
b093b84924
Fix for 1 code quality finding in Page ( #3350 )
...
Apply suggested fix to src/modules/Page/templates/client/mod_page_privacy-policy.html.twig from Copilot Autofix
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
2026-03-19 10:09:14 +00:00
renovate[bot]
49a0311b02
chore(deps): update twig monorepo to v3.24.0 (minor) ( #3349 )
...
chore(deps): update twig monorepo to v3.24.0
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-19 09:42:02 +00:00
renovate[bot]
0adb6c4d45
chore(deps): update release-drafter/release-drafter digest to 139054a
2026-03-19 05:04:48 +00:00
renovate[bot]
6803255575
chore(deps): update actions/cache digest to 6682284
2026-03-19 00:52:04 +00:00
renovate[bot]
d75549a9aa
chore(deps): update dependency phpstan/phpstan to v2.1.42
2026-03-18 09:01:43 +00:00
renovate[bot]
4a73d20b6a
chore(deps): update release-drafter/release-drafter digest to 44a942e
2026-03-18 04:45:16 +00:00
renovate[bot]
0d308429a5
chore(deps): update phpmyadmin:5 docker digest to 5be5569
2026-03-18 00:50:28 +00:00
renovate[bot]
d9a1c894b3
chore(deps): update php:8.5-apache docker digest to e55a9f8
2026-03-18 00:15:38 +00:00
Copilot and admdly
a17b1d6f44
Fix duplicate CSS class and mismatched HTML heading tags in templates ( #3348 )
...
* Initial plan
* Fix duplicate py-3 CSS class and mismatched HTML heading tags in templates
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-03-18 00:15:10 +00:00
Adam Daley
691c3f7aa7
Use templates/* directories for module templates ( #3347 )
...
* Use `templates/*` directories for module templates
* Update template globs and fix icon path
2026-03-17 21:28:15 +00:00