vanilla_respondage/.gitignore
Tammo ter Hark d288ac8197 chore(files): sync files/preview.svg publicly (row 237)
The export now excludes only the WIP files/logos.svg, not preview.svg:
preview.svg is the editable source of files/preview.png and is committed and
shipped in the public zip like any other theme file (row 235 already removed
it from .gitignore). LimeSurvey's image validator still rejects SVG for option
images, so the preview shown inside LimeSurvey remains the exported PNG.

Verified: export_public.sh exit 0 (leak + external-host checks green — the URL
scan does not cover .svg and www.w3.org is allowlisted anyway), the new
dist zip contains files/preview.svg + files/preview.png and no logos.svg,
logos.svg stays gitignored.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-30 12:27:00 +01:00

80 lines
3.5 KiB
Text

# ---------------------------------------------------------------------------
# Public-repo policy (Forgejo): this repository contains ONLY the files needed
# to run the theme (config.xml, views/, options/, css/, scripts/, files/,
# README.md, LICENSE). Everything listed below is developer-local tooling or
# internal notes and is deliberately NOT tracked, so it never reaches Forgejo.
# ---------------------------------------------------------------------------
# variants/ — only the confidential parts stay local: the client definitions
# (*.json), the leak patterns (client names/colors) and the dev tests. The
# generic tooling (build.php, export_public.sh — verified to contain no client
# data) IS tracked, so variants can be built from the public repo alone, and
# variants/example/ IS tracked on purpose: it is the public example output of
# the build process (the respondage_respondage example variant). The canonical
# client definitions live in the private variants repository
# (vanilla_respondage_variants); point variants/build.php at that folder via
# its 2nd CLI argument or RESPONDAGE_VARIANTS_DIR.
/variants/*.json
/variants/leak-patterns.txt
/variants/tests/
# sass/ sources are developer-only and LEADING: every sass/*.sass (except _*
# partials) is compiled locally to its css/<name>.css counterpart (which IS
# committed — sass is leading, css is the build artifact). LimeSurvey serves
# the committed css and never compiles sass itself. The .sass files were purged
# from history with git filter-repo. Watcher: `sass --watch sass:css`.
/sass/
# Source maps are artifacts of the local sass compile — not needed at runtime
# (LimeSurvey serves css/ as-is).
/css/*.map
# Export zips, if an output dir inside the theme is ever used.
/dist/
# Work-in-progress logo artwork — local only, never commit/publish.
/files/logos.svg
# NOTE: files/preview.svg is deliberately NOT ignored (standing rule, row 235):
# it is the editable source of files/preview.png and is committed AND synced
# publicly (row 237: the export excludes only files/logos.svg, not preview.svg).
# In a variant (private variants repo) build.php adds it only once, at first
# creation, and never overwrites it afterwards. LimeSurvey's image validator
# rejects SVG for option images, so the theme preview itself is still the PNG.
# Session prompt log (prompts used + results). Internal working notes — never
# commit, never publish.
prompts.md
# Local LimeSurvey working notes (limesurvey.md) — internal, never commit/publish.
limesurvey.md
# Feature-request drafts for LimeSurvey core (English, well-substantiated) are
# internal too: never commit them to the public repo.
FEATURE_REQUEST*.md
# Bug-report drafts for LimeSurvey core (English, with repro + stack trace) are
# internal too: never commit them to the public repo.
BUG_REPORT*.md
# Parked-prompt index (moved out of prompts.md so it stays findable) and
# security-review reports are internal too: never commit, never publish.
OPEN_PROMPTS.md
SECURITY_REVIEW*.md
# Working agreements for the agent (AGENTS.md) are internal too: never commit.
AGENTS.md
# Local agent config for this repo (tool permissions) — never commit, never publish.
/.vibe/
# Local dev tooling (jsdom DOM tests for options/options.js): package files and
# node_modules live in the theme dir so tests run from here, but they are
# developer-local only — never commit, never publish.
/node_modules/
/package.json
/package-lock.json
# Runtime cache the app writes into the theme dir during local renders (twig
# cache) — never commit, never publish.
/tmp/