The Files library starts here. A user's every download, clip and upload now lands in a source folder made per origin (YouTube, Plex clips, uploads, one per other site), decided once in downloads/folders.py at every place a job is made. How long a file stays moves from the shared asset to the user's job: stamped from its folder when it is done, never for a file the user keeps. The GC warns each user once, then takes the expired file out of their library; the cache cap never evicts a kept file, and an evicted one leaves every holder's library. The media mount is /files now (FILES_ROOT, FILES_HOST_PATH, volume siftlode_files); docs/self-hosting.md says how to carry an old volume over. Migration 0102 places every existing job and carries each done file's expiry over from its asset. safe_abs_path takes a missing path and answers None, which drops one baselined type error.
46 lines
914 B
Plaintext
46 lines
914 B
Plaintext
# Secrets / local config
|
|
.env
|
|
*.env.local
|
|
|
|
# Python
|
|
__pycache__/
|
|
*.py[cod]
|
|
.venv/
|
|
venv/
|
|
.mypy_cache/
|
|
.pytest_cache/
|
|
.coverage
|
|
.ruff_cache/
|
|
|
|
# Node / frontend
|
|
node_modules/
|
|
frontend/dist/
|
|
*.log
|
|
|
|
# Playwright E2E (browsers install globally; these are per-run artifacts + the auth state)
|
|
frontend/test-results/
|
|
frontend/playwright-report/
|
|
frontend/blob-report/
|
|
frontend/playwright/.cache/
|
|
frontend/e2e/.auth/
|
|
|
|
# Data / dumps
|
|
*.dump
|
|
*.sql.gz
|
|
backups/
|
|
|
|
# Download center: locally downloaded media (the FILES_ROOT bind mount at the repo root).
|
|
# Anchored with a leading slash so it does NOT also ignore the backend/app/downloads package.
|
|
/files/
|
|
|
|
# OS / editor
|
|
.DS_Store
|
|
Thumbs.db
|
|
.idea/
|
|
.vscode/
|
|
|
|
# TypeScript incremental build artifacts — machine-local, absolute-path-bearing, and no gate lane
|
|
# reads or regenerates them, so a committed one is stale from the commit that adds it.
|
|
*.tsbuildinfo
|
|
frontend/e2e/.speed/
|