mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-02 13:18:24 +09:00
* 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>