1 Changelog V1.21.75
Forgejo Actions edited this page 2026-10-11 11:24:39 +00:00

v1.21.75

Date: 2026-10-11

Features

  • Optional second map tile style ("satellite") alongside the operator-configured base tile provider (ADR 0018 boundary, same operational_settings record map_tile_provider). MapTileProviderSettings / UpdateMapTileProviderSettingsRequest gain three nullable fields: satelliteTileUrlTemplate, satelliteName, satelliteAttribution. Null/blank template = satellite disabled (name/attribution nulled); when set, the template must contain {z}, {x}, {y} (order-independent, so Esri-style {z}/{y}/{x} passes) and start with https://, http:// or /. satelliteName defaults to Satellite when blank, satelliteAttribution may be empty. Legacy stored JSON without the satellite fields decodes cleanly with the layer disabled; no UI change until an operator saves a satellite template.

Notes

  • Backend: MapTileProviderSettings.java, UpdateMapTileProviderSettingsRequest.java, MapSettingsService.java (sanitize/decode/toView + StoredMapSettings), tests in MapSettingsServiceTest (defaults, round-trip, invalid template rejection, blank clears, legacy JSON decode).
  • Frontend: apps/web/src/lib/api/map.ts contract type (+3 optional fields), Super Admin card in admin/setup/+page.svelte (defaultMapProvider, saveMapProvider, useEsriSatellitePreset, clearSatelliteLayer) and AdminDataTab.svelte satellite form fields incl. Esri World Imagery preset, clear action, and privacy note. Map page/album page/MediaInfoPanel call sites unchanged; MapView.svelte satellite toggle is a separate lane.
  • Docs: deploy/README.md, docs/wiki/ops/map-tiles-and-places-privacy.md, docs/wiki/user/places-and-map.md; OpenAPI specs/001-v1-baseline/contracts/core-api.openapi.yaml schemas updated with the nullable satellite fields.
  • Version bump 1.21.74 → 1.21.75 (PR branch, gradle.properties).