Add DDNS support (#324)

* feat: add ddns updater framework

Note: no functionality implemented yet

* feat: add webhook ddns provider

* feat: update dashboard template

* fix: check nil and cron task string

* fix: webhook string formated with unexcepted param

* fix: webhook header split error

* feat: cloudflare ddns provider

* refract: move ddns update trigger into ReportSystemInfo

* lang: update other languages text

* fix: clear codes and logics

* fix: move update ddns to goroutine to avoid blocking

* fix: clear unused codes

* fix: update timestamp to prevent cache
This commit is contained in:
Darc Z
2024-02-24 21:10:27 +08:00
committed by GitHub
parent c4b2c47beb
commit 3b5ee464a7
16 changed files with 439 additions and 6 deletions

View File

@@ -614,4 +614,10 @@ other = "Menu"
other = "Network"
[EnableShowInService]
other = "Enable Show in Service"
other = "Enable Show in Service"
[EnableDDNS]
other = "Enable DDNS"
[DDNSDomain]
other = "DDNS Domain"

View File

@@ -614,4 +614,10 @@ other = "Menú"
other = "Red"
[EnableShowInService]
other = "Mostrar en servicio"
other = "Mostrar en servicio"
[EnableDDNS]
other = "Habilitar DDNS"
[DDNSDomain]
other = "Dominio DDNS"

View File

@@ -615,3 +615,9 @@ other = "网络"
[EnableShowInService]
other = "在服务中显示"
[EnableDDNS]
other = "启用DDNS"
[DDNSDomain]
other = "DDNS域名"

View File

@@ -614,4 +614,10 @@ other = "菜單"
other = "網絡"
[EnableShowInService]
other = "在服務中顯示"
other = "在服務中顯示"
[EnableDDNS]
other = "啟用DDNS"
[DDNSDomain]
other = "DDNS網域"