diff --git a/app.example.ini b/app.example.ini index f78f3399..c3030de3 100644 --- a/app.example.ini +++ b/app.example.ini @@ -20,3 +20,10 @@ Model = BaseUrl = Proxy = Token = + +[git] +Url = +AuthMethod = +Username = +Password = +PrivateKeyFile = diff --git a/frontend/src/api/auto_cert.ts b/frontend/src/api/auto_cert.ts new file mode 100644 index 00000000..46c6910f --- /dev/null +++ b/frontend/src/api/auto_cert.ts @@ -0,0 +1,13 @@ +import http from '@/lib/http' + +const auto_cert = { + get_dns_providers() { + return http.get('/auto_cert/dns/providers') + }, + + get_dns_provider(code: string) { + return http.get('/auto_cert/dns/provider/' + code) + } +} + +export default auto_cert diff --git a/frontend/src/views/domain/cert/Cert.vue b/frontend/src/views/domain/cert/Cert.vue index 0c62b2a9..e4b52698 100644 --- a/frontend/src/views/domain/cert/Cert.vue +++ b/frontend/src/views/domain/cert/Cert.vue @@ -4,6 +4,7 @@ import IssueCert from '@/views/domain/cert/IssueCert.vue' import {computed, ref} from 'vue' import {useGettext} from 'vue3-gettext' import ChangeCert from '@/views/domain/cert/ChangeCert.vue' +import DNSChallenge from '@/views/domain/cert/components/DNSChallenge.vue' const {$gettext} = useGettext() diff --git a/frontend/src/views/domain/cert/IssueCert.vue b/frontend/src/views/domain/cert/IssueCert.vue index 25524c61..796e1945 100644 --- a/frontend/src/views/domain/cert/IssueCert.vue +++ b/frontend/src/views/domain/cert/IssueCert.vue @@ -1,23 +1,19 @@ diff --git a/frontend/src/views/domain/cert/components/AutoCertStepOne.vue b/frontend/src/views/domain/cert/components/AutoCertStepOne.vue new file mode 100644 index 00000000..28122742 --- /dev/null +++ b/frontend/src/views/domain/cert/components/AutoCertStepOne.vue @@ -0,0 +1,68 @@ + + + + + diff --git a/frontend/src/views/domain/cert/components/DNSChallenge.vue b/frontend/src/views/domain/cert/components/DNSChallenge.vue new file mode 100644 index 00000000..77932f72 --- /dev/null +++ b/frontend/src/views/domain/cert/components/DNSChallenge.vue @@ -0,0 +1,70 @@ + + + + + diff --git a/frontend/src/views/domain/cert/components/ObtainCert.vue b/frontend/src/views/domain/cert/components/ObtainCert.vue new file mode 100644 index 00000000..1e82506d --- /dev/null +++ b/frontend/src/views/domain/cert/components/ObtainCert.vue @@ -0,0 +1,246 @@ + + + + + diff --git a/frontend/src/views/domain/ngx_conf/directive/DirectiveEditor.vue b/frontend/src/views/domain/ngx_conf/directive/DirectiveEditor.vue index a6309418..5c901dd2 100644 --- a/frontend/src/views/domain/ngx_conf/directive/DirectiveEditor.vue +++ b/frontend/src/views/domain/ngx_conf/directive/DirectiveEditor.vue @@ -31,7 +31,6 @@ function onSave(idx: number) { class="list-group" ghost-class="ghost" handle=".anticon-holder" - v-auto-animate >