feat(cms): white-label email templates and API doc config
All checks were successful
Build and publish / build (pull_request) Successful in 4m38s
All checks were successful
Build and publish / build (pull_request) Successful in 4m38s
Replace all hardcoded muellerprints brand identity in email templates with template variables (shopName, shopContactName, shopAddress, shopPhone, shopEmail, shopLogoUrl, shopSecondaryLogoUrl) sourced from env vars SHOP_NAME, SHOP_CONTACT_NAME, SHOP_ADDRESS, SHOP_PHONE, SHOP_EMAIL, SHOP_LOGO_URL, SHOP_SECONDARY_LOGO_URL. API documentation title/description now driven by API_TITLE and API_DESCRIPTION env vars. Closes #1
This commit is contained in:
21
CHANGELOG.md
21
CHANGELOG.md
@@ -2,7 +2,26 @@
|
||||
|
||||
All notable changes to libreshop/cms are documented here.
|
||||
|
||||
## Unreleased
|
||||
## [0.1.1] - 2026-04-29
|
||||
|
||||
### Changed
|
||||
|
||||
- White-label email templates: replace all hardcoded muellerprints company
|
||||
identity (name, contact, address, phone, email, logo URLs) with
|
||||
`<%= shopName %>` / `<%= shopContactName %>` / `<%= shopAddress %>` /
|
||||
`<%= shopPhone %>` / `<%= shopEmail %>` / `<%= shopLogoUrl %>` /
|
||||
`<%= shopSecondaryLogoUrl %>` template variables, sourced from env vars
|
||||
`SHOP_NAME`, `SHOP_CONTACT_NAME`, `SHOP_ADDRESS`, `SHOP_PHONE`,
|
||||
`SHOP_EMAIL`, `SHOP_LOGO_URL`, `SHOP_SECONDARY_LOGO_URL`.
|
||||
- `config/constants.ts`: export shop brand constants from env.
|
||||
- `src/api/order/services/order.ts`: inject shop context into template calls.
|
||||
- `config/plugins.ts`: API doc title/description driven by `API_TITLE` /
|
||||
`API_DESCRIPTION` env vars (defaults: `"Paperwork API"`).
|
||||
- `src/extensions/documentation/config/settings.json`: neutral placeholder.
|
||||
|
||||
Closes #1
|
||||
|
||||
## [0.1.0] - 2026-04-29
|
||||
|
||||
- Extracted from `mp/cms/` (2026-04-29). The component history before
|
||||
the extraction lives in the `muellerprints` repository.
|
||||
|
||||
Reference in New Issue
Block a user