pdf-quiz-generator/backend
Daniel 3d7c619461
Some checks failed
Tests / backend (push) Failing after 11s
Tests / frontend (push) Failing after 29s
Tests / e2e (push) Failing after 36s
feat: 20 MB on an upload, and delete one where they are listed
A source PDF is chunked, vectorised and then read by a model a chunk at
a time, so a 500 MB upload is not a big file — it is an hour of work
nobody asked for and a bucket that grows for ever. The cap is 20 MB, in
the config default, in backend/.env which was overriding it at
524288000, and in nginx, which was letting 500M through to be refused
by the application afterwards. A backup of .env is beside it.

And a document is deleted where the documents are listed. The endpoint
has always existed and removes the file, the vector collection and the
row — but reaching it meant opening the document first, which is a page
you go to in order to extract from it, not somewhere you visit to tidy
up. Delete, then Delete it or Keep, in the workbench list.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TqXevQJhxFrM7jJg82cgZN
2026-09-13 16:12:29 +02:00
..
alembic feat: no invite codes and no email sign-in codes — that is the provider's job 2026-09-13 13:56:48 +02:00
app feat: 20 MB on an upload, and delete one where they are listed 2026-09-13 16:12:29 +02:00
scripts refactor: remove the LMS 2026-09-12 23:27:51 +02:00
tests feat: half the bedside, half the mechanism 2026-09-13 16:05:57 +02:00
.dockerignore Initial commit: PDF Quiz Generator app 2026-03-30 20:04:53 +00:00
.env.bak-160955 feat: 20 MB on an upload, and delete one where they are listed 2026-09-13 16:12:29 +02:00
.env.example feat: ground AI drafts in the library and PubMed, and mend the card system 2026-09-13 02:44:42 +02:00
alembic.ini Wire Alembic to live Postgres and fix startup DDL race 2026-04-14 04:49:23 +02:00
Dockerfile Initial commit: PDF Quiz Generator app 2026-03-30 20:04:53 +00:00
manage.py Cross-browser job tracking, hamburger fix, CLI extract, quiz delete keeps bank questions 2026-04-01 02:30:47 +02:00
requirements.txt fix: WebP figures, the openai SDK removed, and a voice a site can add to 2026-09-12 17:13:05 +02:00