feat(geodata): add standard source presets (#6504)

* feat(geodata): add standard source presets

Expose the existing geofile allowlist to the Geodata editor so administrators can configure the supported scheduled downloads without copying URLs manually

Tested with npm run test, npm run lint, npm run typecheck, npm run format:check, and go test ./internal/web/service ./internal/web/controller -run '^(TestStandardGeodataSources|TestGeodata)' -count=1

Assisted-by: OpenCode:openai/gpt-5.6-terra (mostly)

* fix(geodata): preserve custom source entries

Add missing standard sources instead of replacing existing custom entries.

Assisted-by: OpenCode:openai/gpt-5.6-terra (mostly)
This commit is contained in:
ilyusha
2026-09-13 21:02:43 +03:00
committed by GitHub
parent ff1a6c3caf
commit d600de2c2e
19 changed files with 148 additions and 2 deletions
+1
View File
@@ -221,6 +221,7 @@
"geodataOutbound": "Скачивать через outbound (необязательно)",
"geodataFile": "Имя файла",
"geodataAddFile": "Добавить файл",
"geodataUseStandardSources": "Использовать штатные источники",
"geodataSaveRestart": "Сохранить и перезапустить Xray",
"geodataConfirmTitle": "Сохранить настройки geodata?",
"geodataConfirmContent": "Шаблон конфигурации Xray будет обновлён, а Xray перезапущен.",