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 authored and GitHub committed 2026-09-13 20:02:43 +02:00 Unverified
1 parent ff1a6c3caf
commit d600de2c2e
19 files changed
+148 -2

No files matched your search

+1
View File
@@ -116,6 +116,7 @@ func (a *XraySettingController) getXraySetting(c *gin.Context) {
"inboundTags": json.RawMessage(inboundTags),
"clientReverseTags": json.RawMessage(clientReverseTags),
"outboundTestUrl": outboundTestUrl,
"geodataSources": service.StandardGeodataSources(),
}
// Surface subscription outbounds (and their tags) so the frontend can: