Skip to content

v0.3.0

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Nov 14:46
· 11 commits to main since this release
v0.3.0
8662f91

Changelog

Features

  • 3843ab3 feat(admin): set a media quota for one user
  • 195c55e feat(anki): read .apkg packages in all three formats (M17-23)
  • 501d5aa feat(anki): write legacy apkg packages from a deck
  • 1d17b90 feat(answer): add the answer-control registry (M17-13)
  • fef2f02 feat(api): bury a card through the shared service layer
  • d472008 feat(api): note type endpoints and the note_type payload (M17-16)
  • 3981266 feat(api): offer one stock definition per study shape
  • 63ac893 feat(cardframe): review image-occlusion cards (M17-30)
  • 7b94002 feat(cardframe): run the Anki reviewer environment in the frame (M17-17)
  • cd8ead1 feat(cloze): complete alternative wording authoring and feedback
  • b52b4e1 feat(cloze): implement M20-1 metadata grading and isolation
  • 6e77137 feat(decks): make the deck description plain text
  • 3eab7cd feat(decks): render a Markdown deck description when the flag is set (M17-29)
  • 0b52e82 feat(decks): show note list rows as text with resizable columns
  • 5c9ccbc feat(editor): add a media library picker to the rich-text field (M22-2)
  • 9c3d9ad feat(editor): add a wrap toggle for the field editor
  • b2fb418 feat(editor): edit a note's source link
  • 415a000 feat(editor): edit and preview a note of any note type (M17-35)
  • da11618 feat(editor): hide the note type selector when a deck has one type
  • 92b4e91 feat(editor): insert ruby annotations and speech from the toolbar
  • d0cd47a feat(editor): sandboxed rich-text field editor (M17-18)
  • 9977aa1 feat(export): offer .apkg package export only
  • b2d35a6 feat(frame): serve frame media through signed tokens (M17-2)
  • f550bfd feat(frontend): add the image occlusion note editor (M17-31)
  • 75f6f9f feat(frontend): delete a note from its editor
  • 616a617 feat(frontend): frame the card face editors with a Markdown toolbar header
  • d0ce10d feat(frontend): give empty lists an icon through one EmptyState component
  • 41583f5 feat(frontend): keep the deck list's filters in the address and return to them
  • bf03ed1 feat(frontend): mark the home page's metrics and actions with icons
  • 607bbb1 feat(frontend): put icons on actions whose meaning has a common symbol
  • ea7ff0c feat(frontend): put icons on the review page's actions and its empty state
  • 796b2da feat(frontend): return from the note editor to the page that opened it
  • 92830b1 feat(import): add preset mode selection, progress switch and counters
  • 7f1ebbc feat(import): import .apkg packages into a deck (M17-24)
  • 2c6e419 feat(jobs): record periodic task rounds and allow manual runs (M23-1)
  • 887f883 feat(mail): render administrator HTML templates without sanitising
  • e6437e7 feat(media): add the global media browser with filters (M22-1)
  • 8369cbc feat(media): resolve media by name and accept every class (M17-22)
  • 8fea952 feat(note-edit): add a shortcut to create a note type from the editor
  • 38ea64a feat(note-edit): add a shortcut to edit the note's type
  • ef5efc1 feat(note-edit): page the preview one card at a time
  • be3ce33 feat(note-types): move the guide to a help page with worked examples
  • 6ca2422 feat(notetype): add the note type model and Anki stock definitions (M17-5, M17-6)
  • dc7dc79 feat(notetype): answer engram's basic types with the question, as Anki's Basic does
  • 3479820 feat(notetype): complete Anki's cloze port and its golden (M17-8)
  • 3467a8f feat(notetype): generate a note's cards from its fields (M17-9)
  • 7cee421 feat(notetype): keep a note type's cards consistent on update (M17-40)
  • 1ac1c89 feat(notetype): leave the card type scale to the frame
  • d3ecdda feat(notetype): manage a deck's note types (M17-27)
  • b393db0 feat(notetype): port Anki's audio, TTS and LaTeX rendering (M17-10)
  • 6dec34e feat(notetype): port Anki's template engine and filters (M17-7)
  • 7914eff feat(notetype): port Anki's type-in answer comparison (M17-11)
  • 3d5f9d7 feat(notetype-help): preview every worked example as rendered cards
  • ecd254f feat(notetypes): add four common note type templates
  • 68faa89 feat(notetypes): explain the note type page and its template syntax
  • 47edf1d feat(review): complete audio, video and TTS playback (M17-25)
  • 0f8badb feat(review): cover the question with a placeholder until its face is shown
  • 04d9d33 feat(review): drive the review page from the note type (M17-34)
  • 1985c94 feat(review): drop the app bar from the review page
  • e47363f feat(review): give card frames the note type CSS and body class (M17-33)
  • 3632e36 feat(review): keep a long card's buttons on screen and land the reveal on the answer
  • 49bcb02 feat(review): let the learner turn off scrolling to the answer
  • 6865a54 feat(review): show every card face in the sandboxed frame (M17-3)
  • d0e004f feat(review): type-in in the frame (M17-26)
  • 555ee14 feat(store): a note write keeps cards that became empty (M17-45)
  • 367ffc6 feat(store): add note type and media name schema (M17-12)
  • 74c589b feat(store): convert notes to note types (M17-14)
  • 0d61ba8 feat(store): generate cards during a note type change (M17-60)
  • 791b052 feat(store): purge soft-deleted notes when their note type is deleted (M17-59)
  • 26d438e feat(store): search notes on a derived search_text column (M16-1)
  • e752588 feat(store): ship deck package format 2 (M17-20)
  • 7af2b70 feat(store): stream large Anki package imports (M17-53)
  • 58c7eaa feat(web): add deck card preview page (M21-1)
  • 38abfcd feat(web): preview unsaved note type templates on the server (M17-56)
  • cb62bf0 feat(web): serve the card frame page and runtime (M17-1)
  • 5494a0a feat(web): show scheduled tasks and their history on the jobs page (M23-2)
  • 1507a43 feat: add Anki package exports to HTTP and CLI
  • b06e3dd feat: add single-use deck export downloads
  • bdb6a21 feat: empty-card cleanup and change note type (M17-28)
  • 01e2f8a feat: expose note type management over MCP
  • c3953bd feat: import Anki scheduling and review history
  • 1208893 feat: make cloze metadata built in and add the package export switch (M20-6)
  • 13ee80a feat: make cloze metadata field built in and optional on export
  • d5236e9 feat: move the server render and review path to note types (M17-15)
  • b067b32 feat: preserve FSRS memory state in Anki exports
  • f36af61 feat: read Anki package scheduling data
  • 2c2f15a feat: support preset selection for package imports

Bug fixes

  • accac13 fix(anki): preserve memory across imported cram grades
  • 7eee3b3 fix(anki): read the engram note-type key from a modern package
  • 80fc6b0 fix(anki): replay measured histories with target rollover timing
  • 84d77ff fix(anki): report answer specs lost through an Anki re-export
  • 4fb8db2 fix(anki): warn only for unaligned memory fallback
  • 606ab34 fix(answer): let a control declare itself self-assessed
  • 76e9d5f fix(answer): refuse a grade-mapping threshold outside its domain
  • 3cb921c fix(answer): refuse an option index past the int32 range
  • 3569ccd fix(answer): score a repeated correct index once
  • 957260a fix(api): answer an unreadable note with the same 404 as an unknown id
  • b6a0294 fix(api): answer an unrecognised store failure as internal_error
  • 5e084c7 fix(api): authorise an import before reading the archive
  • 4b0a8d6 fix(api): bound the multipart import body
  • bc00dd0 fix(api): count the home due number from the review queue
  • d2cb7f5 fix(api): keep a bulk-import row failure out of the response
  • d69b975 fix(api): keep a note on its note type when the kind alias names it (M17-37)
  • 4249607 fix(api): keep a note's source link on edit and return it
  • 59697f7 fix(api): keep note metadata the import does not name
  • e55f826 fix(api): never return an internal error's text to a client
  • 084f684 fix(api): refuse another account's preset when creating a deck
  • 195f4f2 fix(api): report a failed export instead of a short success
  • 3b5a5b1 fix(api): return a note's stored extra metadata
  • 058fb7f fix(auth): create the OIDC account and its identity in one write
  • 53bd9b7 fix(auth): evict the oldest pending OIDC login instead of refusing
  • 39eb2f4 fix(auth): keep the per-IP failure budget across a successful login
  • 98099ed fix(auth): rotate the session when the password changes
  • 3fa655f fix(cardframe): reserve no scrollbar gutter inside the frame
  • 9fa44b4 fix(cardframe): show faces that carry audio or speech tags
  • 6d9c91a fix(cardframe): size the frame to the body around its content
  • 7ad69c1 fix(decks): edit the deck description in place like the name
  • d2b0aaf fix(decks): show the description as plain text in deck lists
  • a92cf76 fix(editor): disable formatting controls while the field shows raw HTML
  • 46ebf18 fix(editor): drop clipboard fragment comments on paste and drop
  • f07ca3c fix(editor): hide the rich-text frame until it carries the page theme
  • 1b42c2f fix(editor): let the rich-text frame take the field's background
  • 87467f6 fix(editor): load field media inside the rich-text frame
  • 4c07443 fix(editor): make the toolbar wrap as one flow without stranded separators
  • 6e10423 fix(export): refuse template media the exporter cannot read
  • c297a93 fix(frontend): build test fixtures from the current payload shapes
  • a125123 fix(frontend): call a note a card everywhere in the interface
  • d99e948 fix(frontend): drop a stale note-list response
  • 251380f fix(frontend): drop a stale optimiser status response
  • 5001202 fix(frontend): drop the unused bulk result state
  • aed1b18 fix(frontend): fetch the create-deck presets once per dialog
  • f50451b fix(frontend): insert parameters literally into messages
  • a22c1a9 fix(frontend): keep the sidebar to the current account
  • d74138a fix(frontend): leave Space and Enter to the focused control
  • ba3118e fix(frontend): read a form-encoded plus as a space in query strings
  • 0e7511d fix(frontend): treat a malformed percent-escape as an absent component
  • 171c135 fix(frontend): type an external reference as nullable
  • 24ed35c fix(frontend): type the import report's cards_removed field
  • 8e2df2a fix(frontend): withhold the share policy until it has been read
  • 2a5ad99 fix(frontend): write a renamed field name verbatim (M17-58)
  • a2699cf fix(i18n): apply each locale's plural rule to count messages
  • 6978170 fix(i18n): rewrite cloze alternatives copy for end users
  • b331ba1 fix(import): choose the .apkg top deck from the decks that hold cards (M17-47)
  • c2eb838 fix(import): format deck config skipped row as boolean and document fields
  • 248f7f5 fix(import): keep media whose cleanup lookup failed
  • 1196271 fix(import): remove cards of missing templates on a structural re-import (M17-51)
  • 6e6a275 fix(import): restore soft-deleted notes on .apkg re-import (M17-48)
  • dd1af6e fix(jobs): bound the wait for output pipes a killed job left open
  • 8478a55 fix(jobs): commit the preset write-back with the job's terminal row
  • 45db20a fix(jobs): refuse to start a job that left the queue
  • 9fd14fe fix(jobs): remove the exported review log on every terminal path
  • e06f46e fix(jobs): stop the runner on shutdown and persist a terminal job state
  • 82a3f46 fix(mail): bound every SMTP stage and close a cancelled connection
  • 52d2ccf fix(mail): give the outbox's resolver the environment stand-in
  • 6167fcd fix(mail): stop the outbox round when a status write fails
  • cd51cce fix(mail): use a per-message boundary and reject control characters in preset names
  • 8329fa3 fix(mcp): answer the /mcp refusals with the shared error envelope
  • 4b08000 fix(mcp): apply the REST due-card default to get_due_cards
  • 5ab17a8 fix(mcp): judge every tool call from the current account row
  • 5c8a65d fix(mcp): refuse sessions the owner table no longer holds
  • 82eff78 fix(media): keep a zero-byte file as an empty attachment
  • 49150ac fix(media): keep the reclamation grace out of the store (M22-1)
  • 75812a3 fix(media): preview audio and video in the media browser (M22-1)
  • dfc6a8d fix(media): reclaim the rest of a batch after a failed file removal
  • fb044b8 fix(migration): read a database whose decks have no public id (M17-46)
  • 20dcdab fix(note-edit): drop the empty band under the action bar
  • 72b1959 fix(notes): return stored field HTML instead of legacy plain-text shapes (M17-49)
  • 582ebd8 fix(notetype): keep one image-occlusion grammar
  • 9f511be fix(notetype): name stock labels with the current catalog keys
  • e81f287 fix(notetype): remove only the cards of removed templates on update (M17-50)
  • 3e7bc1d fix(notetype): resolve audio-tag closings in one pass
  • 38c8d61 fix(notetypes): drop stock source labels and localise the control picker
  • 755c679 fix(notetypes): localise answer control role labels
  • 37e8515 fix(notetypes): open a deck's note types in a real browser
  • 28f36c2 fix(retention): document the worker's ten-minute sweep interval
  • 5884318 fix(review): keep one type size across card faces
  • 2729ca4 fix(review): keep the card frames mounted across cards and reveals
  • af0dc69 fix(review): let the note type's CSS shape the card face
  • 94f1d10 fix(review): render Deck and Subdeck from the card's subdeck path (M17-44)
  • 74fee4a fix(review): render a legacy cloze:0 card as an empty card
  • b2e29b3 fix(review): render failed card fields as plain text with a retry
  • 47b8b19 fix(review): set the card face default to 1.2rem
  • 133986b fix(review): show an answer that repeats the question alone, as Anki does
  • 0aea33f fix(review): tighten the card's vertical rhythm
  • 3eb943d fix(schedule): preserve usable memory when undoing imported reviews
  • 99e58e2 fix(schedule): refuse scheduling parameters the library would replace
  • 4a4f573 fix(schedule): refuse steps the scheduler cannot represent
  • 802da1f fix(schedule): remove the unreachable retrievability queue order
  • 245db53 fix(schedule): restore the logged scheduled days on undo
  • 170e591 fix(schema): reject whitespace-only tags and note types
  • 2053d28 fix(store): charge media kept for restorable notes
  • a942b4b fix(store): clear orphan marks in bounded batches
  • 0422014 fix(store): clear orphan marks on media an Anki import reuses
  • 3f1df0d fix(store): convert the ruby shortcode in migrated notes (M17-38)
  • 9c566a1 fix(store): copy the source note type when cloning a deck
  • 5a74eb7 fix(store): count soft-deleted notes when deleting a note type
  • 60cb1d0 fix(store): create only the note types Anki creates on import
  • beeec00 fix(store): derive the due forecast from the local calendar day
  • 82b2d76 fix(store): escape LIKE wildcards in the admin user search (M16-2)
  • 3c284a2 fix(store): fold tag matching over the whole of Unicode on SQLite
  • 8ecc8a4 fix(store): keep cards of unmapped templates the target declares
  • 1c569fa fix(store): keep cloze cards across a cloze-to-cloze change
  • ebe1829 fix(store): keep notes.note_type_id NOT NULL across Sync (M17-32)
  • 060302c fix(store): keep sub-day revlog intervals in exported packages
  • 9abede4 fix(store): keep the deck's id lists on the database side when exporting
  • d700036 fix(store): leave buried new cards out of reminder and health due counts
  • af32956 fix(store): make the upgrade preflight read an early notes table
  • c8ef1ca fix(store): merge tags inside one locked transaction
  • f081bb8 fix(store): recompute note search text on a note type edit
  • b6b74e8 fix(store): remove cards whose template the note type cannot resolve
  • 90cf1d3 fix(store): remove deck note types and media names with the deck
  • 6bc58be fix(store): remove the dead .edeck preset and limit code
  • 0fc22a8 fix(store): report a bad import option as invalid_request
  • e47328f fix(store): rewrite only the media reference, not the attribute name
  • de234f9 fix(store): rewrite ruby shortcodes in their HTML context
  • 9a3b8c0 fix(store): scope note type save derived work
  • c01a553 fix(store): scope the note-type media reference to its own deck
  • 7774e15 fix(store): serialise a note type delete against note writes
  • e889212 fix(store): serialise concurrent imports into one deck
  • dcee5b9 fix(store): serialise migration steps with a database lock
  • c0dc781 fix(store): validate answer specs on every note type write (M17-41)
  • 785e30b fix(store): write imported .apkg media outside the import transaction (M17-61)
  • 28a56cb fix(store): write only the preset columns each caller owns
  • 2a9af5f fix(store): write profile, locale and reminder settings column by column
  • a5c3cae fix(web): allow the same-origin card frame in the site CSP
  • cbd6405 fix(web): bound the batch export archive
  • 3123af1 fix(web): cap and time-bound JSON request bodies
  • a20dea8 fix(web): let the sandboxed card frame load its module assets
  • 8a5de83 fix(web): redact credential-bearing paths from the request log
  • 0f45543 fix(web): refuse an unknown user status action
  • 68b374d fix(web): require the password before an email change
  • 193b3c4 fix(web): run no inline script in the editing frame (M17-42)
  • 5afa5a8 fix(web): save each admin settings submission in one transaction
  • 957a581 fix(web): side effects of a user deletion only after it commits
  • 21f28d0 fix(web): stop computing interval previews no page displays
  • 1470de3 fix: avoid importing an unrelated deck configuration
  • ddb4205 fix: batch Anki progress import queries
  • d2d0f7f fix: clarify import preset selection rules
  • 1b8a651 fix: clarify import preset selection rules
  • 29d4113 fix: clarify package import report labels
  • 90712e4 fix: clarify preset maximum interval limit
  • 8890143 fix: compare a cloze type-in card with its own deletion (M17-55)
  • a0e9326 fix: compare imported card state timestamps by instant
  • f642bd9 fix: correct learning steps validation comment
  • 4e5fdf5 fix: derive imported memory from the relevant history
  • 5c18c80 fix: derive missing Anki memory states
  • ba5ee1e fix: enforce scheduler limits on package presets
  • 731d871 fix: export only Anki packages from transports
  • d3d7f4d fix: export replay oracle as legacy collection
  • e999db4 fix: handle Anki learning intervals in seconds
  • 510b147 fix: identify invalid import preset selections
  • 3b656be fix: import filtered cards into their home deck
  • 8070d50 fix: import interday and filtered deck due dates
  • 5e1dd95 fix: interpret learning due dates in every queue
  • e229080 fix: omit preset details when importing into existing decks
  • 6c3b488 fix: preserve MCP Anki archive imports
  • b2e22b3 fix: preserve imported review scheduling history
  • 1413643 fix: preserve last review times in Anki packages
  • 2783c9b fix: preserve newer progress on Anki reimport
  • a31c634 fix: preserve preset import store errors
  • 051e2f3 fix: preserve progress without package review time
  • 9ae9ac5 fix: preserve the learning due oracle pair
  • 9738ea6 fix: preserve valid legacy deck configurations
  • 9fd9f2b fix: protect imported progress from concurrent reviews
  • 29c371c fix: register MCP session before handshake response (M20-3)
  • eee925b fix: reject empty preset weights in Anki export
  • 9aa2fde fix: reject preset IDs for existing deck imports
  • 51697a1 fix: reject preset IDs for new imports
  • f73b26c fix: reject real Anki identifiers and codes
  • 8a613e1 fix: reject unreadable Anki review history
  • 1bf7367 fix: repair refused preset scheduler parameters
  • 066959f fix: repair stored preset scheduler limits
  • 4a07334 fix: report discarded Anki progress accurately
  • 8d114ea fix: report discarded progress for skipped cards
  • 17466ef fix: report discarded reviews for skipped Anki cards
  • c296bef fix: report invalid Anki integer column values
  • 78a5d4a fix: report rejected Anki package weights
  • f8d128f fix: report skipped Anki import data
  • a52d431 fix: restore new state after Anki reset
  • e7b462b fix: show unread package cards in import report
  • 2b1f2e8 fix: tolerate malformed Anki scheduling data
  • d3938d5 fix: validate URL import preset before fetching
  • 253a2bb fix: validate import preset selection before ticket issuance
  • 6a7beb8 fix: validate imported Anki FSRS weights
  • 6afa7d2 fix: validate imported Anki memory states
  • 00de153 fix: validate imported edeck weights
  • 238ede0 fix: validate imported preset scheduler limits
  • 49268bd fix: warn on non-learning Anki memory replay
  • 92815c4 fix: warn when Anki memory state is approximated

Performance

  • bb82c1f perf(import): index package notes by id in the .apkg card loop (M17-52)

Refactors

  • fb25d7b refactor(api): list every stock definition under one namespace
  • d85fcc1 refactor(api): remove the transitional card-kind layer (M17-36)
  • 3e8a526 refactor(auth): define email normalisation and account input once
  • e264d6e refactor(auth): let Auditor.Record apply the best-effort rule itself
  • c2f17e2 refactor(frontend): delete the dead shortcode editor UI and stale sanitising comments (M17-39)
  • 98ce490 refactor(frontend): draw the last hand-written SVG icons with lucide
  • 631d3d7 refactor(frontend): format numbers, percentages, bytes and dates in one module
  • 6578af6 refactor(frontend): give retry, paging and delete-confirm buttons their icons
  • 258d9b2 refactor(frontend): remove the /help/shortcodes reference page
  • 7ccdd1d refactor(mail): run the outbox on the shared worker lifecycle
  • 3d9a1d2 refactor(mail): send every mail through one Mailer
  • 6ee06f9 refactor(media): one implementation of content-addressed media writes
  • 3662624 refactor(notetype): remove the browser appearance editor
  • 17da42f refactor(reviewday): give the review day a single implementation
  • 533c03b refactor(schedule): load deck caps and usage in one place
  • b72c16f refactor(store): define due and new cards once and share them everywhere
  • 0d3baa0 refactor(store): drop the unused streamed media helper
  • 654dcf7 refactor(store): name the package helpers after what they return
  • 156065b refactor(store): spell out the import preset validation
  • 420b37a refactor: document Anki memory state derivation
  • 2819f73 refactor: name the package codec after the format, not the vendor
  • c783dd8 refactor: remove leftover copies of library and wrapper functions
  • f2adaab refactor: remove legacy deck package store format
  • 9b44f41 refactor: separate Anki card data decoding from memory derivation
  • d4be0db refactor: share package weight validation
  • b072db7 refactor: share preset weight decoding
  • 36f43e5 refactor: take the vendor name out of the stock keys and the error text

Other changes

  • a879da7 chore(decks): remove the bundled deck library