Commit graph vanilla_respondage/.gitignore
Author SHA1 Message Date
756c0ec2d1 refactor(css): row 216 — sass is leading for ALL css files, not just plain.css
Previously only css/plain.css was compiled from sass/plain.sass; css/custom.css
and css/fonts.css were hand-written. Now every theme stylesheet has a leading
sass source: sass/plain.sass, sass/custom.sass, sass/fonts.sass (partials _*),
compiled with 'sass --watch sass:css' (dart-sass 1.83.4 added as local
devDependency; node_modules/package.json stay gitignored). css/*.css are build
artifacts and remain the committed runtime files; sass/ stays developer-local.
Recompiled output is semantically identical to the previous hand-written files
(dart-sass normalization only: 2-space indent, double quotes, @charset).
variants/export_public.sh step 0 now checks BOTH directions for every pair:
stale css/<name>.css vs sass/<name>.sass aborts, and a css file without a sass
source aborts; compiler resolved from PATH or node_modules/.bin/sass.
.gitignore/README document the workflow.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-30 09:11:39 +01:00
261e8c5989 chore(gitignore): row 208 — ignore files/logos.svg (work-in-progress logo artwork)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-29 19:24:34 +01:00
b224627cda feat(options): row 204 — place the last Colors-category options on visible tabs; park open prompts; security review filed
- sliderhandlecolor moved to the Questions category (full-width row at
  the end of the Questions pane, after the border section hr);
  privacybackgroundcolor moved to Page background (column 1, under the
  background image switch). The Colors category is gone entirely; the
  options.twig tab loop keeps a Colors exclusion as a safety net.
  Both values are still applied in custom_header.twig (verified live).
  Variants rebuilt + example config synced; jsdom 8/8.
- Prompt V cleanup verified: no respondage_vanilla folder/zip left in
  upload/themes/survey, zero DB references (surveys, template_configuration,
  lime_templates). Remaining resets/flushassets are owner actions.
- Security review (Prompt B) executed, approval-gated: report in
  SECURITY_REVIEW_20261129.md (S1 HIGH raw option values into <style>/
  attributes → stored XSS; S2 MEDIUM raw imagefile option HTML in
  options.twig:98-104; S3-S7 info/safe), core FR filed as
  FEATURE_REQUEST_security_theme_option_raw_output.md. No fixes without
  owner approval.
- Parked prompts moved from prompts.md to OPEN_PROMPTS.md (findable
  index): PL, HB, AN, A, C open; Z/B/V marked done. New local files
  gitignored + export-excluded (OPEN_PROMPTS.md, SECURITY_REVIEW*.md).

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-29 17:46:47 +01:00
b74f0e07cf chore(repo): keep limesurvey.md local-only (gitignored + export-excluded)
limesurvey.md in the theme root accumulates local working notes on
LimeSurvey (theme inheritance, custom options page, twig cache, CLI
fixtures, DB tables). Like prompts.md/AGENTS.md it must never be
committed or published: added to .gitignore and to the export tar
excludes. The notes file itself is not tracked.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-24 22:58:44 +01:00
d61deb0ab1 feat(variants): public example variant respondage_respondage under variants/example/
Adds variants/example/respondage_respondage/ — the generated output of
variants/build.php (config.xml with name/extends + overridden options,
empty footer override, example logo/preview) as a tracked, public example
of the build result. .gitignore explicitly keeps only the confidential
variants/ parts local (*.json, leak-patterns.txt, tests/); the example is
NOT ignored. export_public.sh skips respondage_respondage when deriving
leak patterns from sibling respondage_* folders (it is the public example,
not a client), so the leak check stays green with the example included.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-24 22:52:24 +01:00
0a725f516c chore(repo): publish generic variant tooling, keep client data private
Public-repo audit (owner request): the tracked set is now exactly the
runtime files plus the generic variant tooling needed to build variants:
.gitignore no longer ignores variants/ as a whole, only the confidential
parts (*.json client definitions, leak-patterns.txt, tests/); build.php
and export_public.sh are tracked. export_public.sh tar-excludes those
confidential parts, so the public zip contains runtime files +
variants/build.php + variants/export_public.sh and nothing else.
Verified: leak grep on HEAD clean (no client names), export zip listing
matches, leak-check green with sibling-derived patterns, all referenced
assets HTTP 200 (core files like scripts/theme.js resolve via the parent
vanilla theme through <extends>, no 404s).

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-24 22:47:23 +01:00
cffd3cefa6 feat!: rename theme respondage_vanilla -> vanilla_respondage, variants -> respondage_<client>
Prompt V (prompts.md rows 51-54). Mother theme folder + <name> renamed to
vanilla_respondage (version 3.3.0); client variants renamed to
respondage_defensie / respondage_erasmus (<extends>vanilla_respondage</extends>,
auto-derived by build.php). export_public.sh now derives the release name from
the theme dir and the leak-check glob matches ../respondage_* siblings, so the
public-release leak check keeps working after the rename (sabotage-tested).
All doc/tooling references updated; local-only files stay gitignored.

Also includes the pending uncommitted theme work from this testing week
(custom options page, header logos, sticky-header options, bundled OFL fonts,
per-element font overrides, font-dropdown reordering, jsdom tests) that was
verified locally but not yet pushed.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-24 22:04:11 +01:00
37f28f08e6 chore: stop tracking sass/ (developer-only sources, not in public repo)
The .sass files are compiled locally to css/plain.css, which IS committed
(LimeSurvey never compiles sass itself). sass/ is now gitignored and removed
from the index; history is purged separately with git filter-repo.
export_public.sh sync-guard now skips gracefully when sass/ is absent.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-22 14:04:02 +01:00
f747404bd3 fix(export): no client names hardcoded in export_public.sh leak check
The leak-check grep pattern no longer contains (obfuscated) client names.
Patterns are now derived at runtime from:
- sibling variant theme folders (../<name>_vanilla, excluding this theme)
- variants/leak-patterns.txt (gitignored; canonical copy in the private
  repo respondage_vanilla_variants)
The export tar also excludes leak-patterns.txt, and the script was verified:
export builds clean, and a planted client string is correctly detected.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-16 20:41:23 +01:00
cbf7041243 feat(variants): thin client themes on one shared code base
Architecture: a client theme extends this mother theme via <extends> and
contains only a generated config.xml + its own files/ (logos). LimeSurvey
inherits all views/css/js/images from the mother, so changes here apply to
every variant immediately.

- variants/<client>.json holds ONLY the house-style values (colors, fonts,
  font sizes/weights/colors, logo files, logotopmargin, custom fonts).
- variants/build.php generates ../<client>/config.xml from the mother
  config.xml + the json: only those values are replaced, <extends> is set,
  <engine> is emptied except <optionspage>. Unknown option keys fail the
  build loudly, so drift is caught at build time.
- Client definitions (variants/<client>.json) are gitignored (see .gitignore)
  and live in a PRIVATE variants repo or locally; build.php reads them from
  there via its 2nd argument or RESPONDAGE_VARIANTS_DIR.
- README.md: "Client variants" workflow.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-16 19:51:19 +01:00