0
Fork 0
mirror of https://github.com/oblien/openship.git synced 2026-11-16 06:57:12 +00:00
openship/apps/api/test/modules/dns
Rohan Das 6565726c01
feat(dns): add DigitalOcean DNS provider (#1707)
* feat(dns): add DigitalOcean DNS provider support

- Add DigitalOcean DNS management for custom domains and DNS-verified HTTPS
- Preserve record ownership with paired TXT markers and update provider setup guidance

* fix(dns): parse DigitalOcean record IDs from formatted JSON

- Handle compact and pretty-printed API responses, with a fallback when Python is unavailable
- Cover record cleanup and API error responses in DNS hook tests

* fix(dns): harden DigitalOcean DNS provider after review

- Decode TXT input before writing so quoted values compare in-sync
- Treat zones not delegated to DigitalOcean nameservers as pending
- Resolve zones with one paginated domain list and strip wildcard labels
- Carry credential id and provider on unauthorized lookups so the
  reconnect modal targets the rejected credential
- Clean up ownership markers when the marked record is already gone
- Report read-only token verification accurately and surface missing
  write scope on 403
- Guard token redaction and requests against an empty token
- Share DNS name helpers and the DNS-01 cleanup hook template

* fix(dns): release owned records from inactive DigitalOcean zones

- Allow DNS cleanup to resolve inactive zones while keeping writes restricted to active zones
- Fetch DigitalOcean records and ownership markers concurrently

* fix(dns): resolve provider credentials oldest first

* Require strict JSON record IDs before DNS challenge cleanup

---------

Co-authored-by: Hydra <abdelhamedmo59@gmail.com>
History 2026-11-11 15:23:24 +02:00
..
cloudflare-dns-provider.test.ts fix(cloud): repair custom-domain SSL checks and Cloudflare TXT records 2026-09-28 14:38:50 +02:00
digitalocean-dns-provider.test.ts feat(dns): add DigitalOcean DNS provider (#1707) 2026-11-11 15:23:24 +02:00
dns-credential.service.test.ts feat(dns): add DigitalOcean DNS provider (#1707) 2026-11-11 15:23:24 +02:00
dns-registry.test.ts ship sdk, intial scale panel 2026-09-14 01:34:59 +03:00
managed-ingress.test.ts feat(ingress): manage server Cloudflare tunnels, DNS and Access 2026-10-15 14:25:00 +03:00