* feat(website): add Manage DNS record management
Add a 'Manage DNS' button beside 'Manage DNS providers' on the
Certificates page. New page lists zones and records of a configured
DNS provider and supports add/edit/delete. Backend clients (stdlib
REST + request signing) for Cloudflare, AliYun, AWS Route53 and
TencentCloud; other providers return 'not supported yet'.
* feat(ssl): add Use IP button to DNS record value field
Fills Value with the panel System address for A/AAAA records, rejecting values that do not match the record type.
* feat(website): move Manage DNS to its own sidebar tab after Certificates
* feat(i18n): add Manage DNS translations for all languages
* test(website): add Manage DNS tests
* fix(menu): show Manage DNS in the sidebar
* feat(website): add custom HTTPS redirect port option
Allow HTTP-to-HTTPS redirects to omit the local HTTPS port for Cloudflare or other reverse-proxy deployments terminating at 443. Apply the setting to existing websites and update HTTPS settings labels.
(cherry picked from commit 27c1468405)
* feat(website): configure HTTPS redirect port per site
Add a per-site HTTPS redirect port policy next to the HTTP-to-HTTPS option. Sites can inherit the global setting, use the Nginx HTTPS port, or force standard port 443, defaulting existing sites to inheritance.
This supports reverse-proxied sites that need 443 and directly exposed sites that need 8443 on the same host. Global changes now update only inheriting sites, so adjusting one website does not rewrite other sites' redirect rules.
Hide the global custom-port switch when Nginx uses standard port 443.
(cherry picked from commit 301dc15d9d)
* Revert "feat(website): configure HTTPS redirect port per site"
This reverts commit 83d94f6cf9.
The per-site database strategy will be replaced by a config-driven design.
* feat(website): make HTTPS redirect port config-driven
Read the site redirect port from managed nginx rules instead of storing per-site policy in the database. Only update rules matching the old global port, preserve manual configurations, and avoid rewriting sites when the global redirect setting is unchanged.
---------
Co-authored-by: BOX <no@mail.com>
* feat(ai): sync gateway providers and model discovery
Add provider account types and protocol-aware model discovery, and replace predefined models with editable model pools.
Align provider icons with AI Gateway, preserve international Coding Plan restrictions, and filter account counts consistently with selectable accounts.
* fix(ai): preserve Ollama base paths during model discovery
* fix(ai): restore custom DashScope image protocol support
renderUpgradeEnv still wrote the .env with godotenv.Marshal, which turns
any value that parses as an integer into its canonical form. A password
such as 0123 was rewritten as 123 on upgrade, the same bug #14180 fixed
for install. Use the env package marshaller, and escape $ inside double
quotes there so values containing both $ and a quote still read back
unchanged.