diff --git a/.claude/settings.json b/.claude/settings.json new file mode 100644 index 0000000..c78aa47 --- /dev/null +++ b/.claude/settings.json @@ -0,0 +1,14 @@ +{ + "permissions": { + "allow": [ + "Bash(curl -sSL -o /tmp/qtest.txt -w \"quill2: %{http_code} size:%{size_download}\\\\n\" https://cdn.jsdelivr.net/npm/quill@2.0.3/dist/quill.min.js)", + "Bash(curl -sSL -o quill2.min.js -w \"js: %{http_code} %{size_download}\\\\n\" https://cdn.jsdelivr.net/npm/quill@2.0.3/dist/quill.min.js)", + "Bash(curl -sSL -o quill2.snow.css -w \"css: %{http_code} %{size_download}\\\\n\" https://cdn.jsdelivr.net/npm/quill@2.0.3/dist/quill.snow.css)", + "Bash(mv -f quill2.min.js quill.min.js)", + "Bash(mv -f quill2.snow.css quill.snow.css)", + "Bash(mkdir -p static/uploads)", + "Bash(touch static/uploads/.gitkeep)", + "Bash(py --version)" + ] + } +} diff --git a/.gitignore b/.gitignore index 03845ee..6763694 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,6 @@ instance/ *.db static/img/ static/vid/ +static/uploads/* +!static/uploads/.gitkeep logs/ diff --git a/CLAUDE.md b/CLAUDE.md index be7fb0b..aebebf6 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -106,16 +106,28 @@ shows only `is_published` topics (sections with no published topics are hidden). ## Content editing (rich text / publish / reorder) -- **Rich text:** Quill 1.3.7 vendored at `static/vendor/` (no CDN — survives a - locked-down server or strict CSP). It's a *progressive enhancement over a real - `