Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/beta.24 #402

Merged
merged 4 commits into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions api/certificate/issue.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ func IssueCert(c *gin.Context) {
log := &cert.Logger{}
log.SetCertModel(&certModel)

payload.CertID = certModel.ID

go cert.IssueCert(payload, logChan, errChan)

go handleIssueCertLogChan(ws, log, logChan)
Expand Down
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nginx-ui-app-next",
"version": "2.0.0-beta.23",
"version": "2.0.0-beta.24",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
26 changes: 15 additions & 11 deletions app/src/language/en/app.po
Original file line number Diff line number Diff line change
Expand Up @@ -74,19 +74,19 @@ msgstr "Add Location"
msgid "Advance Mode"
msgstr "Advance Mode"

#: src/views/preference/OpenAISettings.vue:39
#: src/views/preference/OpenAISettings.vue:42
msgid "API Base Url"
msgstr ""

#: src/views/certificate/DNSChallenge.vue:82
msgid "API Document"
msgstr ""

#: src/views/preference/OpenAISettings.vue:51
#: src/views/preference/OpenAISettings.vue:54
msgid "API Proxy"
msgstr ""

#: src/views/preference/OpenAISettings.vue:63
#: src/views/preference/OpenAISettings.vue:66
msgid "API Token"
msgstr ""

Expand Down Expand Up @@ -920,7 +920,7 @@ msgstr ""
msgid "Leave blank for no change"
msgstr "Leave blank for no change"

#: src/views/preference/OpenAISettings.vue:47
#: src/views/preference/OpenAISettings.vue:50
msgid "Leave blank for the default: https://api.openai.com/"
msgstr ""

Expand Down Expand Up @@ -1047,7 +1047,7 @@ msgstr "Memory and Storage"
msgid "Minutes"
msgstr ""

#: src/views/preference/OpenAISettings.vue:27
#: src/views/preference/OpenAISettings.vue:30
#, fuzzy
msgid "Model"
msgstr "Advance Mode"
Expand Down Expand Up @@ -1712,8 +1712,10 @@ msgstr ""
msgid "The input is not a SSL Certificate Key"
msgstr "Certificate Status"

#: src/views/preference/OpenAISettings.vue:30
msgid "The model name should only contain letters, numbers, dashes, and dots."
#: src/views/preference/OpenAISettings.vue:33
msgid ""
"The model name should only contain letters, unicode, numbers, hyphens, "
"dashes, and dots."
msgstr ""

#: src/views/certificate/CertificateEditor.vue:165
Expand All @@ -1726,7 +1728,9 @@ msgid "The path exists, but the file is not a private key"
msgstr ""

#: src/views/preference/BasicSettings.vue:120
msgid "The server name should only contain letters, numbers, dashes, and dots."
msgid ""
"The server name should only contain letters, unicode, numbers, hyphens, "
"dashes, and dots."
msgstr ""

#: src/views/domain/cert/components/AutoCertStepOne.vue:50
Expand All @@ -1743,8 +1747,8 @@ msgstr ""
msgid "The url is invalid"
msgstr ""

#: src/views/preference/OpenAISettings.vue:42
#: src/views/preference/OpenAISettings.vue:54
#: src/views/preference/OpenAISettings.vue:45
#: src/views/preference/OpenAISettings.vue:57
msgid "The url is invalid."
msgstr ""

Expand Down Expand Up @@ -1786,7 +1790,7 @@ msgid ""
"continue?"
msgstr ""

#: src/views/preference/OpenAISettings.vue:66
#: src/views/preference/OpenAISettings.vue:69
msgid "Token is not valid"
msgstr ""

Expand Down
26 changes: 15 additions & 11 deletions app/src/language/es/app.po
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ msgstr "Adicional"
msgid "Advance Mode"
msgstr "Modo avanzado"

#: src/views/preference/OpenAISettings.vue:39
#: src/views/preference/OpenAISettings.vue:42
msgid "API Base Url"
msgstr "URL Base de la API"

Expand All @@ -85,11 +85,11 @@ msgstr "URL Base de la API"
msgid "API Document"
msgstr "Token de la API"

#: src/views/preference/OpenAISettings.vue:51
#: src/views/preference/OpenAISettings.vue:54
msgid "API Proxy"
msgstr "Proxy de la API"

#: src/views/preference/OpenAISettings.vue:63
#: src/views/preference/OpenAISettings.vue:66
msgid "API Token"
msgstr "Token de la API"

Expand Down Expand Up @@ -883,7 +883,7 @@ msgstr "Comprobado por última vez el"
msgid "Leave blank for no change"
msgstr "Para no modificar dejar en blanco"

#: src/views/preference/OpenAISettings.vue:47
#: src/views/preference/OpenAISettings.vue:50
msgid "Leave blank for the default: https://api.openai.com/"
msgstr "Dejar en blanco para el valor predeterminado: https://api.openai.com/"

Expand Down Expand Up @@ -1002,7 +1002,7 @@ msgstr "Memoria y almacenamiento"
msgid "Minutes"
msgstr ""

#: src/views/preference/OpenAISettings.vue:27
#: src/views/preference/OpenAISettings.vue:30
#, fuzzy
msgid "Model"
msgstr "Modo de ejecución"
Expand Down Expand Up @@ -1649,8 +1649,10 @@ msgstr "La entrada no es un Certificado SSL"
msgid "The input is not a SSL Certificate Key"
msgstr "La entrada no es una clave de certificado SSL"

#: src/views/preference/OpenAISettings.vue:30
msgid "The model name should only contain letters, numbers, dashes, and dots."
#: src/views/preference/OpenAISettings.vue:33
msgid ""
"The model name should only contain letters, unicode, numbers, hyphens, "
"dashes, and dots."
msgstr ""

#: src/views/certificate/CertificateEditor.vue:165
Expand All @@ -1663,7 +1665,9 @@ msgid "The path exists, but the file is not a private key"
msgstr "La ruta existe, pero el archivo no es una clave privada"

#: src/views/preference/BasicSettings.vue:120
msgid "The server name should only contain letters, numbers, dashes, and dots."
msgid ""
"The server name should only contain letters, unicode, numbers, hyphens, "
"dashes, and dots."
msgstr ""

#: src/views/domain/cert/components/AutoCertStepOne.vue:50
Expand All @@ -1680,8 +1684,8 @@ msgstr ""
msgid "The url is invalid"
msgstr "La URL no es válida"

#: src/views/preference/OpenAISettings.vue:42
#: src/views/preference/OpenAISettings.vue:54
#: src/views/preference/OpenAISettings.vue:45
#: src/views/preference/OpenAISettings.vue:57
#, fuzzy
msgid "The url is invalid."
msgstr "La URL no es válida"
Expand Down Expand Up @@ -1728,7 +1732,7 @@ msgstr ""
"de la autoridad al backend, y debemos guardar este archivo y volver a cargar "
"Nginx. ¿Estás seguro de que quieres continuar?"

#: src/views/preference/OpenAISettings.vue:66
#: src/views/preference/OpenAISettings.vue:69
msgid "Token is not valid"
msgstr "El token no es válido"

Expand Down
26 changes: 15 additions & 11 deletions app/src/language/fr_FR/app.po
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ msgstr "Supplémentaire"
msgid "Advance Mode"
msgstr "Mode avancé"

#: src/views/preference/OpenAISettings.vue:39
#: src/views/preference/OpenAISettings.vue:42
msgid "API Base Url"
msgstr "URL de base de l'API"

Expand All @@ -85,11 +85,11 @@ msgstr "URL de base de l'API"
msgid "API Document"
msgstr "Jeton d'API"

#: src/views/preference/OpenAISettings.vue:51
#: src/views/preference/OpenAISettings.vue:54
msgid "API Proxy"
msgstr "Proxy d'API"

#: src/views/preference/OpenAISettings.vue:63
#: src/views/preference/OpenAISettings.vue:66
msgid "API Token"
msgstr "Jeton d'API"

Expand Down Expand Up @@ -917,7 +917,7 @@ msgstr "Dernière vérification le"
msgid "Leave blank for no change"
msgstr "Laisser vide pour aucun changement"

#: src/views/preference/OpenAISettings.vue:47
#: src/views/preference/OpenAISettings.vue:50
msgid "Leave blank for the default: https://api.openai.com/"
msgstr "Laissez vide pour la valeur par défaut : https://api.openai.com/"

Expand Down Expand Up @@ -1046,7 +1046,7 @@ msgstr "Mémoire et stockage"
msgid "Minutes"
msgstr ""

#: src/views/preference/OpenAISettings.vue:27
#: src/views/preference/OpenAISettings.vue:30
#, fuzzy
msgid "Model"
msgstr "Mode d'exécution"
Expand Down Expand Up @@ -1714,8 +1714,10 @@ msgstr ""
msgid "The input is not a SSL Certificate Key"
msgstr "Chemin de la clé du certificat SSL"

#: src/views/preference/OpenAISettings.vue:30
msgid "The model name should only contain letters, numbers, dashes, and dots."
#: src/views/preference/OpenAISettings.vue:33
msgid ""
"The model name should only contain letters, unicode, numbers, hyphens, "
"dashes, and dots."
msgstr ""

#: src/views/certificate/CertificateEditor.vue:165
Expand All @@ -1728,7 +1730,9 @@ msgid "The path exists, but the file is not a private key"
msgstr ""

#: src/views/preference/BasicSettings.vue:120
msgid "The server name should only contain letters, numbers, dashes, and dots."
msgid ""
"The server name should only contain letters, unicode, numbers, hyphens, "
"dashes, and dots."
msgstr ""

#: src/views/domain/cert/components/AutoCertStepOne.vue:50
Expand All @@ -1746,8 +1750,8 @@ msgstr ""
msgid "The url is invalid"
msgstr ""

#: src/views/preference/OpenAISettings.vue:42
#: src/views/preference/OpenAISettings.vue:54
#: src/views/preference/OpenAISettings.vue:45
#: src/views/preference/OpenAISettings.vue:57
msgid "The url is invalid."
msgstr ""

Expand Down Expand Up @@ -1796,7 +1800,7 @@ msgstr ""
"transmettre la demande de l'autorité au backend, et nous devons enregistrer "
"ce fichier et recharger le Nginx. Êtes-vous sûr de vouloir continuer?"

#: src/views/preference/OpenAISettings.vue:66
#: src/views/preference/OpenAISettings.vue:69
msgid "Token is not valid"
msgstr ""

Expand Down
26 changes: 15 additions & 11 deletions app/src/language/ko_KR/app.po
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ msgstr "추가적인"
msgid "Advance Mode"
msgstr "고급 모드"

#: src/views/preference/OpenAISettings.vue:39
#: src/views/preference/OpenAISettings.vue:42
msgid "API Base Url"
msgstr "API 기본 URL"

Expand All @@ -84,11 +84,11 @@ msgstr "API 기본 URL"
msgid "API Document"
msgstr "API 토큰"

#: src/views/preference/OpenAISettings.vue:51
#: src/views/preference/OpenAISettings.vue:54
msgid "API Proxy"
msgstr "API 프록시"

#: src/views/preference/OpenAISettings.vue:63
#: src/views/preference/OpenAISettings.vue:66
msgid "API Token"
msgstr "API 토큰"

Expand Down Expand Up @@ -890,7 +890,7 @@ msgstr "마지막 확인 시간"
msgid "Leave blank for no change"
msgstr "변경사항이 없으면 비워두세요"

#: src/views/preference/OpenAISettings.vue:47
#: src/views/preference/OpenAISettings.vue:50
msgid "Leave blank for the default: https://api.openai.com/"
msgstr "기본값을 사용하려면 비워 두세요: https://api.openai.com/"

Expand Down Expand Up @@ -1022,7 +1022,7 @@ msgstr "메모리 및 저장소"
msgid "Minutes"
msgstr "분"

#: src/views/preference/OpenAISettings.vue:27
#: src/views/preference/OpenAISettings.vue:30
#, fuzzy
msgid "Model"
msgstr "실행 모드"
Expand Down Expand Up @@ -1690,8 +1690,10 @@ msgstr "입력이 SSL 인증서가 아닙니다"
msgid "The input is not a SSL Certificate Key"
msgstr "Certificate Status"

#: src/views/preference/OpenAISettings.vue:30
msgid "The model name should only contain letters, numbers, dashes, and dots."
#: src/views/preference/OpenAISettings.vue:33
msgid ""
"The model name should only contain letters, unicode, numbers, hyphens, "
"dashes, and dots."
msgstr ""

#: src/views/certificate/CertificateEditor.vue:165
Expand All @@ -1704,7 +1706,9 @@ msgid "The path exists, but the file is not a private key"
msgstr "경로는 존재하지만 파일은 개인 키가 아닙니다"

#: src/views/preference/BasicSettings.vue:120
msgid "The server name should only contain letters, numbers, dashes, and dots."
msgid ""
"The server name should only contain letters, unicode, numbers, hyphens, "
"dashes, and dots."
msgstr ""

#: src/views/domain/cert/components/AutoCertStepOne.vue:50
Expand All @@ -1722,8 +1726,8 @@ msgstr ""
msgid "The url is invalid"
msgstr "유효한 URL이 아닙니다"

#: src/views/preference/OpenAISettings.vue:42
#: src/views/preference/OpenAISettings.vue:54
#: src/views/preference/OpenAISettings.vue:45
#: src/views/preference/OpenAISettings.vue:57
#, fuzzy
msgid "The url is invalid."
msgstr "유효한 URL이 아닙니다"
Expand Down Expand Up @@ -1769,7 +1773,7 @@ msgstr ""
"시할 수 있는 위치를 추가해야 하며,이 파일을 저장하고 Nginx를 다시로드해야 합"
"니다.계속하시겠습니까?"

#: src/views/preference/OpenAISettings.vue:66
#: src/views/preference/OpenAISettings.vue:69
msgid "Token is not valid"
msgstr "토큰이 유효하지 않습니다"

Expand Down
Loading