feat: add Purge CDN button and confirmation UI to CA management

This commit is contained in:
dyzulk
2026-01-07 11:07:04 +07:00
parent a1c38e4ab2
commit 2867288706
4 changed files with 69 additions and 4 deletions

View File

@@ -706,7 +706,14 @@
"label_latest_sync": "Latest Sync (Clean URLs)",
"desc_latest_sync": "Only update the primary public links for installers.",
"label_archive_sync": "Archive Sync (Versioned)",
"desc_archive_sync": "Only save permanent archives without changing public links."
"desc_archive_sync": "Only save permanent archives without changing public links.",
"btn_purge_cdn": "Purge CDN Assets",
"desc_purge_cdn": "PERMANENTLY delete all CA files from Cloudflare R2 and reset local sync status. Highly destructive.",
"purge_modal_title": "Purge All CDN Assets?",
"purge_modal_msg": "This action cannot be undone. All public certificates, installers, and bundles will be deleted from the CDN. Clients will not be able to download CA files until you re-sync.",
"purge_confirm_label": "Purge Everything",
"toast_purge_success": "CDN assets purged and local status reset successfully",
"toast_purge_failed": "Failed to purge CDN assets"
},
"SmtpTester": {
"page_title": "SMTP Tester",

View File

@@ -706,7 +706,14 @@
"label_latest_sync": "Sinkronisasi Terbaru (URL Bersih)",
"desc_latest_sync": "Hanya perbarui link publik utama pendukung installer.",
"label_archive_sync": "Sinkronisasi Arsip (Versi)",
"desc_archive_sync": "Hanya simpan arsip permanen tanpa mengubah link publik."
"desc_archive_sync": "Hanya simpan arsip permanen tanpa mengubah link publik.",
"btn_purge_cdn": "Kosongkan Aset CDN",
"desc_purge_cdn": "Hapus secara PERMANEN semua file CA dari Cloudflare R2 dan reset status sinkronisasi lokal. Sangat destruktif.",
"purge_modal_title": "Kosongkan Semua Aset CDN?",
"purge_modal_msg": "Tindakan ini tidak dapat dibatalkan. Semua sertifikat publik, installer, dan bundle akan dihapus dari CDN. Client tidak akan bisa mengunduh file CA sampai Anda melakukan sinkronisasi ulang.",
"purge_confirm_label": "Hapus Semuanya",
"toast_purge_success": "Aset CDN dikosongkan dan status lokal berhasil direset",
"toast_purge_failed": "Gagal mengosongkan aset CDN"
},
"SmtpTester": {
"page_title": "Pengetes SMTP",