Skip to content

Commit bba5d37

Browse files
committed
fix: dns credential editor issue #1106
1 parent 0e0f443 commit bba5d37

File tree

20 files changed

+3301
-2614
lines changed

20 files changed

+3301
-2614
lines changed

app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@ant-design/icons-vue": "^7.0.1",
1818
"@formkit/auto-animate": "^0.8.2",
1919
"@simplewebauthn/browser": "^13.1.0",
20-
"@uozi-admin/curd": "^4.3.8",
20+
"@uozi-admin/curd": "^4.3.9",
2121
"@uozi-admin/request": "^2.7.1",
2222
"@vue/reactivity": "^3.5.16",
2323
"@vue/shared": "^3.5.16",

app/pnpm-lock.yaml

Lines changed: 374 additions & 346 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/src/api/dns_credential.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,7 @@ export interface DnsCredential extends ModelBase {
77
config?: DNSProvider
88
provider: string
99
code: string
10-
configuration: {
11-
credentials: {
12-
[key: string]: string
13-
}
14-
additional: {
15-
[key: string]: string
16-
}
17-
}
10+
configuration: DNSProvider['configuration']
1811
}
1912

2013
const baseUrl = '/dns_credentials'

app/src/language/ar/app.po

Lines changed: 166 additions & 145 deletions
Large diffs are not rendered by default.

app/src/language/de_DE/app.po

Lines changed: 224 additions & 182 deletions
Large diffs are not rendered by default.

app/src/language/en/app.po

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ msgstr ""
120120
#: src/views/backup/AutoBackup/AutoBackup.vue:273
121121
#: src/views/certificate/ACMEUser.vue:90
122122
#: src/views/certificate/CertificateList/certColumns.tsx:92
123-
#: src/views/certificate/DNSCredential.vue:30
123+
#: src/views/certificate/DNSCredential.vue:44
124124
#: src/views/config/configColumns.tsx:41
125125
#: src/views/environments/group/columns.ts:41
126126
#: src/views/environments/list/envColumns.tsx:96
@@ -189,7 +189,7 @@ msgstr ""
189189
msgid "Added successfully"
190190
msgstr ""
191191

192-
#: src/views/certificate/components/DNSChallenge.vue:110
192+
#: src/views/certificate/components/DNSChallenge.vue:92
193193
msgid "Additional"
194194
msgstr ""
195195

@@ -215,7 +215,7 @@ msgstr ""
215215
msgid "API Base Url"
216216
msgstr ""
217217

218-
#: src/views/certificate/components/DNSChallenge.vue:83
218+
#: src/views/certificate/components/DNSChallenge.vue:65
219219
msgid "API Document"
220220
msgstr ""
221221

@@ -944,6 +944,10 @@ msgstr ""
944944
msgid "Config Template"
945945
msgstr ""
946946

947+
#: src/views/certificate/DNSCredential.vue:25
948+
msgid "Configuration"
949+
msgstr ""
950+
947951
#: src/views/config/InspectConfig.vue:32
948952
msgid "Configuration file is test successful"
949953
msgstr ""
@@ -1079,7 +1083,7 @@ msgstr ""
10791083
msgid "Credential"
10801084
msgstr ""
10811085

1082-
#: src/views/certificate/components/DNSChallenge.vue:99
1086+
#: src/views/certificate/components/DNSChallenge.vue:81
10831087
msgid "Credentials"
10841088
msgstr ""
10851089

@@ -1376,12 +1380,12 @@ msgid "Disk IO"
13761380
msgstr ""
13771381

13781382
#: src/routes/modules/certificates.ts:56
1379-
#: src/views/certificate/DNSCredential.vue:38
1383+
#: src/views/certificate/DNSCredential.vue:52
13801384
msgid "DNS Credentials"
13811385
msgstr ""
13821386

13831387
#: src/components/AutoCertForm/DNSChallenge.vue:94
1384-
#: src/views/certificate/components/DNSChallenge.vue:72
1388+
#: src/views/certificate/components/DNSChallenge.vue:54
13851389
msgid "DNS Provider"
13861390
msgstr ""
13871391

@@ -2790,7 +2794,7 @@ msgstr ""
27902794
#: src/views/certificate/ACMEUser.vue:11
27912795
#: src/views/certificate/CertificateEditor.vue:162
27922796
#: src/views/certificate/CertificateList/certColumns.tsx:9
2793-
#: src/views/certificate/DNSCredential.vue:8
2797+
#: src/views/certificate/DNSCredential.vue:9
27942798
#: src/views/config/components/ConfigRightPanel/Basic.vue:34
27952799
#: src/views/config/components/Mkdir.vue:64
27962800
#: src/views/config/configColumns.tsx:5
@@ -3130,7 +3134,7 @@ msgid "Not Valid Before: %{date}"
31303134
msgstr ""
31313135

31323136
#: src/components/AutoCertForm/AutoCertForm.vue:38
3133-
#: src/views/certificate/DNSCredential.vue:48
3137+
#: src/views/certificate/DNSCredential.vue:62
31343138
msgid "Note"
31353139
msgstr ""
31363140

@@ -3226,7 +3230,7 @@ msgstr ""
32263230
msgid "On"
32273231
msgstr ""
32283232

3229-
#: src/views/certificate/DNSCredential.vue:58
3233+
#: src/views/certificate/DNSCredential.vue:72
32303234
msgid "Once the verification is complete, the records will be removed."
32313235
msgstr ""
32323236

@@ -3442,7 +3446,7 @@ msgstr ""
34423446
msgid "Please fill in required S3 configuration fields"
34433447
msgstr ""
34443448

3445-
#: src/views/certificate/DNSCredential.vue:52
3449+
#: src/views/certificate/DNSCredential.vue:66
34463450
msgid ""
34473451
"Please fill in the API authentication credentials provided by your DNS "
34483452
"provider."
@@ -3499,7 +3503,7 @@ msgstr ""
34993503
msgid "Please log in."
35003504
msgstr ""
35013505

3502-
#: src/views/certificate/DNSCredential.vue:61
3506+
#: src/views/certificate/DNSCredential.vue:75
35033507
msgid ""
35043508
"Please note that the unit of time configurations below are all in seconds."
35053509
msgstr ""
@@ -3595,7 +3599,7 @@ msgstr ""
35953599
msgid "Project Team"
35963600
msgstr ""
35973601

3598-
#: src/views/certificate/DNSCredential.vue:16
3602+
#: src/views/certificate/DNSCredential.vue:17
35993603
msgid "Provider"
36003604
msgstr ""
36013605

@@ -4197,7 +4201,7 @@ msgstr ""
41974201
msgid "Schedule Type"
41984202
msgstr ""
41994203

4200-
#: src/views/certificate/components/DNSChallenge.vue:90
4204+
#: src/views/certificate/components/DNSChallenge.vue:72
42014205
msgid "SDK"
42024206
msgstr ""
42034207

@@ -5027,7 +5031,7 @@ msgstr ""
50275031

50285032
#: src/views/backup/AutoBackup/AutoBackup.vue:236
50295033
#: src/views/certificate/ACMEUser.vue:83
5030-
#: src/views/certificate/DNSCredential.vue:24
5034+
#: src/views/certificate/DNSCredential.vue:38
50315035
#: src/views/config/components/ConfigRightPanel/Basic.vue:54
50325036
#: src/views/config/configColumns.tsx:34
50335037
#: src/views/environments/group/columns.ts:35
@@ -5188,7 +5192,7 @@ msgid ""
51885192
"to restore."
51895193
msgstr ""
51905194

5191-
#: src/views/certificate/DNSCredential.vue:55
5195+
#: src/views/certificate/DNSCredential.vue:69
51925196
msgid ""
51935197
"We will add one or more TXT records to the DNS records of your domain for "
51945198
"ownership verification."

0 commit comments

Comments
 (0)