left4me/l4d2web/services
mwiegand 92d6ebbe82
feat(l4d2-web): managed global map overlays with daily refresh
Adds two managed system overlays (l4d2center-maps, cedapug-maps) that
fetch curated map archives from upstream sources and reconcile addons
symlinks for non-Steam maps. A daily systemd timer enqueues a coalesced
refresh_global_overlays worker job; downloads, extraction, and rebuilds
run in the existing job worker and surface in the job log UI.

Schema: GlobalOverlaySource / GlobalOverlayItem / GlobalOverlayItemFile
plus nullable Job.user_id so system jobs render as "system" in the UI.
The new builder reconciles symlinks against the per-source vpk cache
and leaves foreign symlinks untouched. Initialize-time guard refuses
to mount a partial overlay if any expected vpk is missing from cache.

Refresh service uses shutil.move to handle EXDEV when /tmp and the
cache live on different filesystems.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-08 08:05:14 +02:00
..
__init__.py chore(l4d2): flatten component layout 2026-05-05 23:47:06 +02:00
global_map_cache.py feat(l4d2-web): managed global map overlays with daily refresh 2026-05-08 08:05:14 +02:00
global_map_sources.py feat(l4d2-web): managed global map overlays with daily refresh 2026-05-08 08:05:14 +02:00
global_overlay_refresh.py feat(l4d2-web): managed global map overlays with daily refresh 2026-05-08 08:05:14 +02:00
global_overlays.py feat(l4d2-web): managed global map overlays with daily refresh 2026-05-08 08:05:14 +02:00
host_commands.py fix(host): enforce flush=True to prevent pipeline block buffering 2026-05-06 20:34:41 +02:00
job_worker.py feat(l4d2-web): managed global map overlays with daily refresh 2026-05-08 08:05:14 +02:00
l4d2_facade.py feat(l4d2-web): managed global map overlays with daily refresh 2026-05-08 08:05:14 +02:00
overlay_builders.py feat(l4d2-web): managed global map overlays with daily refresh 2026-05-08 08:05:14 +02:00
overlay_creation.py feat(l4d2-web): overlay path helpers and creation 2026-05-07 16:38:39 +02:00
security.py security: harden boundary inputs and production defaults 2026-05-07 00:53:33 +02:00
spec_yaml.py chore(l4d2): flatten component layout 2026-05-05 23:47:06 +02:00
status.py chore(l4d2): flatten component layout 2026-05-05 23:47:06 +02:00
steam_workshop.py feat(l4d2-web): steam workshop API client and downloader 2026-05-07 16:37:39 +02:00
workshop_paths.py feat(l4d2-web): overlay path helpers and creation 2026-05-07 16:38:39 +02:00