Commit graph

85 commits

Author SHA1 Message Date
f0aabe4d5d First revision: DeepSeek, numeric questions, background assistant, UI fixes
All checks were successful
Verify and publish V2 container / build-and-push (push) Successful in 1m2s
Providers and pricing
- Add a DeepSeek provider: thinking mode with low/high/max effort, reasoning_content
  replayed between tool steps, cache-hit usage, /models discovery and catalog prices.
- Fix "does not support tool calling": a rejected forced tool_choice (DeepSeek thinking
  mode) now asks for the call in the prompt; only a genuine no-tools 400 is "unsupported".
- Seven reasoning-effort levels (Off to Max) mapped per adapter.
- Cached-input price per model, cache-write and DeepSeek off-peak aware cost estimates.
- Built-in bge-small embedding model (transformers.js) as the semantic search default.

Quizzes
- Numeric (type-the-answer) questions: units ignored, optional ± tolerance; editor,
  runner, importer, templates and generation prompts.
- Quiz start screen instead of showing answers; navigator ring no longer clipped and
  key legend removed; clock only for timed exams; 7-point letter grades.

Assistant and generation
- Assistant turns run on the server independently of the browser, with re-attach and
  an explicit stop; drafts tray shows generations in progress.
- Per-chat model switcher, @-tagging of class materials, full-width assistant page and
  a smaller assistant button.
- Editable generation instructions and built-in presets, separate from the chatbot
  import instructions.

Other
- Dialog footer padding, keyboard hints removed, copy buttons work over plain HTTP,
  class and folder shares include documents.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 12:48:17 -07:00
ccdad9728b Add drag reordering, exam deadlines, frozen shared quizzes, batched OCR and semantic search
All checks were successful
Verify and publish V2 container / build-and-push (push) Successful in 33s
- Drag-to-reorder for class materials, folders, quiz questions and deck cards. Pointer-based
  so touch works, plus keyboard (arrows/Home/End) with screen-reader announcements.
- Timed exams get a wall-clock deadline. The server refuses late answers, submits overdue
  exams with what was saved, and the countdown keeps running while the page is closed.
- Shared quiz sessions keep a frozen copy of their questions and flag later owner edits.
- Scanned PDFs are read in cached 8-page batches with real page numbers (pdf-lib), removing
  the 30 MB whole-file limit. Compatible providers now receive PDFs as file parts.
- Semantic search: embeddings for OpenAI, Gemini, Ollama and compatible servers, background
  indexing into chunk_vectors (migration 2), hybrid keyword + vector ranking for search, the
  assistant and focused generation, and a Settings -> AI section.

181 tests pass locally and in the Docker test stage on Node 24.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 11:48:20 -07:00
3046e46d1c Add V2 Forgejo workflow publishing study:v2 image
Pushes to v2 typecheck and test inside the Node 24 image via a new Dockerfile
test stage, build and smoke-test the production image as a fresh non-root
container, then publish :v2 and :v2-<sha>. Never touches V1's :latest.
Document the image tags and Unraid 99:100 volume ownership.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 11:29:22 -07:00
d7e19db468 Restore study gestures and shuffle progress; harden note autosave and record V1 comparison 2026-11-11 20:00:17 -07:00
4bf121728b Verify V1 scheduling and static boundaries; record Terra workflow and visual QA 2026-11-11 19:36:24 -07:00
ffaa1f6afa Harden private media and backup recovery; add V2 deployment and migration guides 2026-11-11 19:31:32 -07:00
c549c34f60 Polish: link buttons, theme-aware dark variant, assistant drawer overlay, sticky draft bar
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-11 18:32:46 -07:00
aed14cd04f Address first round of feedback
- Flashcards: whole card flips on click (both sides), 3D turn, swipe-away on grading,
  streak chip and flame bursts, bigger cards on desktop, arrow keys for everything
- Review and browse keep the sidebar on desktop
- Quizzes: live practice score, partial-credit explanation, time limit for shared exams
- Class page: items grouped by type inside each folder
- Import: copyable, editable instructions for outside chatbots
- Assistant: reads notes and links to library items

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-11 18:30:07 -07:00
c59591ccb9 Reject mismatched uploads; add local mock AI runner
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-11 13:31:01 -07:00
75158c4449 Add mock AI provider and AI integration tests; fix sign-in transition and card flip
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-11 13:30:27 -07:00
74a98ac1f1 Add the V2 web app: design system, shell, study flows, AI, settings, sharing
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-11 08:53:01 -07:00
eae109c166 Add HTTP routes, app wiring, V1 migration, backups, templates and API tests
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-11 08:22:47 -07:00
3e74ecd843 Start Study Desk V2: remove V1 sources, add backend foundation
V1 remains intact on main and in history. This branch replaces it with a new
application: node:sqlite storage with migrations, scrypt auth and sessions,
content/SRS/attempt/stats services, document extraction and chunking, a
provider-neutral AI layer (OpenAI, Anthropic, Gemini, OpenAI-compatible,
Ollama), the generation pipeline and the tool-using assistant.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-11 08:16:41 -07:00
7bd0a9aad4 Limit CI linting to changed source files
All checks were successful
Verify and publish container / build-and-push (push) Successful in 1m10s
2026-08-08 18:54:39 -07:00
e8dffc9692 Remove obsolete project artifacts
Some checks failed
Verify and publish container / build-and-push (push) Failing after 33s
2026-08-08 18:50:16 -07:00
5db7fc8afd Harden migration preflight and startup adoption checks
All checks were successful
Verify and publish container / build-and-push (push) Successful in 1m26s
2026-08-08 18:17:17 -07:00
931e674814 Fixed CL failure
All checks were successful
Verify and publish container / build-and-push (push) Successful in 1m9s
2026-08-07 19:59:02 -07:00
a95f7c1d18 Harden changed-file lint workflow
Some checks failed
Verify and publish container / build-and-push (push) Failing after 1m0s
2026-08-07 19:50:38 -07:00
e86b0b21df Merge pull request 'Refactor Study Desk application structure' (#3) from codex/majorfixes into main
Some checks failed
Verify and publish container / build-and-push (push) Failing after 34s
Reviewed-on: #3
2026-08-07 19:33:37 -07:00
089439ed90 Refactor Study Desk application structure 2026-08-07 19:31:23 -07:00
faaccf8a7e Changed: Show newly created material groups first and place uncategor -
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m8s
2026-08-01 08:48:26 -07:00
c3c26718f9 Delete task.md
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m10s
2026-07-31 10:46:36 -07:00
7b9ff1931c Configure Prisma migrations and dark mode
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m9s
2026-07-29 14:24:59 -07:00
3cf20514f4 Improve activity banner light theme styling
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m17s
2026-07-29 14:14:41 -07:00
32bce673ac Add streak counter to flashcards
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m17s
2026-07-27 14:05:35 -07:00
a6af3a49ad Highlight assisted crossword cells in final results
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m1s
2026-07-14 20:33:39 -07:00
5bec95fb30 Initial crossword addition and arcade redesign
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m41s
2026-07-14 19:32:41 -07:00
611a585757 Initial addition of the Arcade study feature. Add connections as the first working game.
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m4s
2026-07-13 17:35:18 -07:00
7b90409f2e Add deck generation and study flow improvements
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m22s
2026-07-13 14:56:33 -07:00
d6f3502cb1 Tighten typing and input validation across study pages
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m2s
2026-07-13 06:55:17 -07:00
6d1d918355 Improve responsive layout for study and quiz cards
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m14s
2026-07-13 06:32:54 -07:00
e3265f03e2 Remove activity summary stats from banner
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m0s
2026-07-12 12:01:31 -07:00
dad62c9914 Add study activity tracking and refresh class header UI
All checks were successful
Automated Container Build / build-and-push (push) Successful in 54s
2026-07-12 11:44:26 -07:00
95af276d2e Refactor login flow with reset token support
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m6s
2026-07-12 07:53:48 -07:00
f0548bcc6e Fix: share popup not closing when clicking outside menu
All checks were successful
Automated Container Build / build-and-push (push) Successful in 57s
2026-07-11 19:36:17 -07:00
061d13f421 Update AGENTS.md
All checks were successful
Automated Container Build / build-and-push (push) Successful in 59s
2026-07-11 19:29:45 -07:00
c84332d072 Update agents.md, add share icon to main cards
All checks were successful
Automated Container Build / build-and-push (push) Successful in 58s
2026-07-11 19:19:27 -07:00
631dfa5923 New: Ui Redesign 2026-07-11 13:48:02 -07:00
009d1eb065 Make Restart button equal size text button
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m7s
2026-07-10 16:26:36 -07:00
4203a3df41 Update progress badge layout in SharedGroupViewer
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m0s
2026-07-10 16:22:23 -07:00
3cb9634524 Add minimize group feature with local storage persistence
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m10s
2026-07-10 16:15:51 -07:00
7af0935657 Implement local browser caching for shared groups and UI improvements
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m10s
2026-07-10 16:01:22 -07:00
42ed0d275b fix: Update category breakdown layout to grid to prevent text truncation
All checks were successful
Automated Container Build / build-and-push (push) Successful in 52s
2026-06-28 19:36:35 -07:00
7d3831149c style: Enhance progress bar visibility across flashcards and quizzes
All checks were successful
Automated Container Build / build-and-push (push) Successful in 58s
2026-06-28 13:26:52 -07:00
9dfb84bbd6 chore: Update website description metadata
All checks were successful
Automated Container Build / build-and-push (push) Successful in 57s
2026-06-28 13:05:27 -07:00
0f0d0b7e9a fix: Resolve overlapping pointer events for secondary flashcard actions
All checks were successful
Automated Container Build / build-and-push (push) Successful in 53s
2026-06-28 12:53:21 -07:00
ec9bc40bd4 fix: Restore proper shuffle button logic and fix broken SVG path
All checks were successful
Automated Container Build / build-and-push (push) Successful in 58s
2026-06-28 12:48:15 -07:00
454db7fb1d fix: Improve mobile layout for flashcards, splitting action rows
All checks were successful
Automated Container Build / build-and-push (push) Successful in 52s
2026-06-28 12:43:32 -07:00
2457bfcb39 fix: Resolve redundant quiz titles by merging them into the page header
All checks were successful
Automated Container Build / build-and-push (push) Successful in 55s
2026-06-28 12:32:43 -07:00
d3d094e442 feat: Add toggle for collapsing quiz topics list
All checks were successful
Automated Container Build / build-and-push (push) Successful in 51s
2026-06-28 12:29:03 -07:00