storage: add public card-images bucket (editor image block / Anki import) #81

Merged
raisondetredev merged 1 commit from refs/pull/81/head into main 2026-07-17 01:49:41 +02:00
raisondetredev commented 2026-07-17 01:46:53 +02:00 (Migrated from codeberg.org)

Public storage bucket for card images referenced by the editor's image block — first consumer: the Anki importer (learn feat/anki-import-media), which uploads a deck's media files and embeds them as URL-referenced image nodes.

Clones the audio bucket setup (20260614120329): public reads (the image block renders via a plain network fetch, and shared/imported studysets must render for other users), 10 MB limit, image mime allowlist (jpeg/png/gif/webp/svg+xml/avif), and owner-only writes keyed on the {auth.uid()}/ folder prefix.

Apply steps (bucket + policies must exist before the learn media PR is used):

  • cloud dev project foybksfxsuvhedsgrgkh
  • self-hosted prod (learn.halkyon.li), manually
Public storage bucket for card images referenced by the editor's `image` block — first consumer: the Anki importer (learn `feat/anki-import-media`), which uploads a deck's media files and embeds them as URL-referenced image nodes. Clones the `audio` bucket setup (20260614120329): public reads (the image block renders via a plain network fetch, and shared/imported studysets must render for other users), 10 MB limit, image mime allowlist (jpeg/png/gif/webp/svg+xml/avif), and owner-only writes keyed on the `{auth.uid()}/` folder prefix. **Apply steps** (bucket + policies must exist before the learn media PR is used): - cloud dev project `foybksfxsuvhedsgrgkh` - self-hosted prod (learn.halkyon.li), manually
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
project-halkyon/halkyon-infra!81
No description provided.