Add git repository selection for panel updates
- Add repository URL setting to panel_settings table - Support for multiple git hosting providers (GitHub, Gitea, GitLab, etc.) - UI selector for predefined repositories (git.tzim.uz and github.com) or custom URL - Update service now uses repository from database settings - API endpoints: GET/PUT /api/updates/repository - Migration for default repository setting - Translations for repository selection UI
This commit is contained in:
@@ -690,6 +690,26 @@ class I18nService:
|
||||
"ru": "коммитов позади",
|
||||
"en": "commits behind"
|
||||
},
|
||||
"git_repository": {
|
||||
"ru": "Git-репозиторий",
|
||||
"en": "Git Repository"
|
||||
},
|
||||
"repository_url": {
|
||||
"ru": "URL репозитория",
|
||||
"en": "Repository URL"
|
||||
},
|
||||
"select_repository": {
|
||||
"ru": "Выберите репозиторий",
|
||||
"en": "Select Repository"
|
||||
},
|
||||
"custom_repository": {
|
||||
"ru": "Другой репозиторий",
|
||||
"en": "Custom Repository"
|
||||
},
|
||||
"repository_saved": {
|
||||
"ru": "Репозиторий сохранён",
|
||||
"en": "Repository saved"
|
||||
},
|
||||
"panel_info": {
|
||||
"ru": "Информация о панели",
|
||||
"en": "Panel Information"
|
||||
|
||||
Reference in New Issue
Block a user