Commit Graph

1136 Commits

Author SHA1 Message Date
Bingxi Zhao (Frank)
4f0ac98860 fix(i18n): refresh German API contracts and format banner 2026-09-27 02:28:10 +08:00
Philipp Eisbacher
9b139a772f feat(i18n): add German as a full interface language
Adds `de` alongside en/zh/fr/uk, following the seams the Ukrainian locale
established: the interface-language normalizers (settings + launcher), the
Settings language list, APP_LANGUAGES / normalizeLanguage, the lazy bundle
loader, the date locale, the CLI banner labels, the quiz-judge prompt and
the i18n audit's required locales. German already existed as a reply
language; this makes it selectable for the UI as well.

`web/locales/de/app.json` covers all 5200 English keys (audit: 3850/3850
used keys, strict). `language.german` is added to every catalog.

Tests: `tests/i18n/test_german_locale.py` pins each seam, and
`web/tests/german-locale-quality.test.ts` guards terminology (informal
"du", one term per concept, no context-free machine translations such as
"Lappen" for RAG). Three existing tests used `de` as their example of an
unsupported language; they now use `xx`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-24 22:00:58 +02:00
Bingxi Zhao (Frank)
a053fecf6e release: v1.6.11
The interface ships in French and Ukrainian alongside English and
Chinese, and /language pins a reply language for one conversation.
Immersive reading organizes collections as colored folders, adds a
fullscreen learning mode, and turns Explain / Translate / Guide me on a
selection into ordinary messages in the reading chat; "Quiz me on this
page" runs one quiz turn without changing the conversation's mode, which
retires the reading-openers endpoint and its task model. Images embedded
in DOCX, PPTX and PDF are extracted in place and reach vision models.

Office files preview as paged PDFs through LibreOffice (now in the Docker
image), falling back to the in-browser renderers without it. Web sources
re-sync on a durable schedule, linked folders sync on demand, .bib files
index, and a zotero_search tool queries Zotero. Settings gains Learning
progress and credential-free presets; admins import users from CSV;
split deployments can hand a session to a public device. Grok CLI joins
the subagents, Unifically the providers, ChatGPT exports the importers.

Gate cleanup: mypy/bandit findings in the new launcher, audio-overview,
web-source, reading-store and textbook modules; the task-model copy test
follows the retired reading_openers kind.

See assets/releases/ver1-6-11.md for the full notes, and the README
Releases row plus its eleven translations.
2026-09-24 09:59:56 +08:00
Bingxi Zhao (Frank)
53436f8190 feat(reading): collections as colored folders; rework reader interactions
Collections vs workspaces: a workspace holds many collections, and a
collection's files and reading conversations live in the workspace it
was created in. The library now shows collections as folders grouped
under their workspace, and creating one asks which workspace it goes
into.

- Folder page at /learning/reading/folders/[folderId]: breadcrumb,
  files, the collection's conversations, and "Start reading" that opens
  the whole folder in the reader. The reader's back link returns to it.
- Collections carry a user-picked color (new `color` column, migrated);
  tones are --folder-* tokens with dark variants.
- One shared "New collection" / "Edit collection" dialog with consistent
  type sizes.
- Selection popover gains AI actions; results land as cards at the foot
  of the companion. Read-aloud is a single header toggle.
- The three ⋯ menus (collection, document, conversation) merge into one.
- Outline toggle moves to the left and starts closed; navigator has
  Outline / Annotations tabs.
- Reading conversations live in the main sidebar (with a page-shaped idle
  mark) instead of a history dropdown in the companion.
- Fix sidebar rows never showing a selected state
  (bg-[var(--background)]/60 compiled to nothing).
- Composer floats over the conversation (no divider, bottom fade); the
  toolbar wraps by content instead of splitting under 420px.
2026-09-23 18:59:17 +08:00
Bingxi Zhao (Frank)
66ba712172 fix(reading): make selection actions reliable and sync reading sessions
- Strip PDF margin line numbers before verifying a selection, so explain
  and guide no longer fail with "Select text from the visible unit first".
- Quiz, vocabulary and study guidance go through
  json_with_reasoning_retry with a larger token budget; reasoning models
  exhausting max_tokens returned an empty answer that surfaced as
  "This reading action is temporarily unavailable" (503).
- Renaming or deleting a reading conversation from the main sidebar
  updates the reading catalog too.
2026-09-23 18:59:02 +08:00
Bingxi Zhao (Frank)
64c13a8e10 fix(core): keep reply language validation within core layer 2026-09-23 13:40:14 +08:00
Bingxi Zhao (Frank)
0558356d14 Add opt-in cross-browser Partner conversation continuity 2026-09-23 13:34:08 +08:00
Bingxi Zhao (Frank)
f363e5f119 fix(chat): persist explicit reply language per conversation 2026-09-23 13:07:39 +08:00
Bingxi Zhao (Frank)
8b0ae3891f fix(feishu): keep model picker selectable and avoid callback deadlock 2026-09-23 12:44:11 +08:00
Bingxi Zhao (Frank)
44a76ed0a9 feat(partners): add provider-first Feishu model picker 2026-09-23 12:37:45 +08:00
Bingxi Zhao (Frank)
ffbe0a541b fix(agentic): replay reasoning in repair and report retries 2026-09-23 12:30:01 +08:00
Bingxi Zhao (Frank)
7f6c16ef09 fix(book): retry output-capped structured responses 2026-09-23 12:25:41 +08:00
Bingxi Zhao (Frank)
6e3dfe59ab fix(manim): retry reasoning-starved structured stages at low effort 2026-09-23 12:22:32 +08:00
Bingxi Zhao (Frank)
0843e7d518 fix(feishu): dispatch card actions on supported WebSocket SDKs 2026-09-23 12:18:43 +08:00
Bingxi Zhao (Frank)
f14e8e065d feat(feishu): deliver threaded replies and private model picker (#1517) 2026-09-23 12:08:17 +08:00
Bingxi Zhao (Frank)
55490af65e Merge issue fixes into PR synthesis
Combine knowledge bootstrap coverage and preserve later progress-isolation tests, native notebook tooltip, and locale-aware tool-hint fallback. Regenerate frontend contracts and align test fixtures with merged APIs.
2026-09-23 12:06:19 +08:00
Bingxi Zhao (Frank)
8880529c65 Merge PR batch with local follow-up fixes
Preserve precise learner KB route guards, combine UI and response language domains, carry normalized EPUB extraction, and regenerate frontend contracts.

Update locale fallback coverage for the completed Ukrainian translation bundle.
2026-09-23 12:01:14 +08:00
Bingxi Zhao (Frank)
0306ed1568 fix(tests): accept locale-specific plurals and legacy runtime override 2026-09-23 11:38:53 +08:00
Bingxi Zhao (Frank)
adf8c4d8cf fix(chat): preserve prior answer when regenerate admission fails 2026-09-23 11:30:24 +08:00
Bingxi Zhao (Frank)
55e96e429e style: satisfy repository lint and format gates 2026-09-23 11:28:41 +08:00
Bingxi Zhao (Frank)
21b9307031 fix(reading): enforce current learner grants on saved sources and tabs 2026-09-23 11:27:03 +08:00
Bingxi Zhao (Frank)
baa3263a7a fix(auth): forward requested handoff host and avoid shared quota lockout 2026-09-23 11:25:53 +08:00
Bingxi Zhao (Frank)
0ec3c1644f fix(session): keep current preferences when resending saved turn 2026-09-23 11:22:34 +08:00
Bingxi Zhao (Frank)
b3949a919a fix(knowledge): isolate reindex progress across workers (#1478)
(cherry picked from commit 3ae386ac08)
2026-09-23 11:16:39 +08:00
Bingxi Zhao (Frank)
c0d19dae04 fix(multi-user): preserve newer grant writes during preset rollback 2026-09-23 11:15:47 +08:00
Bingxi Zhao (Frank)
7730fd0c5f fix(grants): persist atomically and fail closed on corrupt data 2026-09-23 11:15:42 +08:00
Bingxi Zhao (Frank)
3ae386ac08 fix(knowledge): isolate reindex progress across workers (#1478) 2026-09-23 11:14:18 +08:00
Bingxi Zhao (Frank)
a83683640e fix(learning): replay retention changes and late evidence consistently (#1541) 2026-09-23 11:14:02 +08:00
Bingxi Zhao (Frank)
ce02c1fdbb fix(knowledge): track confirmed files during empty-index bootstrap (#1481) 2026-09-23 11:12:10 +08:00
Bingxi Zhao (Frank)
924f8cd227 fix(learning): preserve latest assessment projections on retries (#1542) 2026-09-23 11:12:04 +08:00
Bingxi Zhao (Frank)
1203688304 style: format integrated auth config and extraction changes 2026-09-23 11:09:14 +08:00
Bingxi Zhao (Frank)
9b5ec5b697 Merge branch 'codex/resend-backend-fix' into codex/pr-batch-root 2026-09-23 11:07:16 +08:00
Bingxi Zhao (Frank)
5868e8acfa fix(session): replay saved request on failed turn resend 2026-09-23 11:06:35 +08:00
Bingxi Zhao (Frank)
98529ad0c7 fix(chat, text): replay the visible failed turn and retain repeated section titles 2026-09-23 11:03:23 +08:00
Bingxi Zhao (Frank)
807a7983fe fix(config): seed the runtime visualize defaults 2026-09-23 11:03:12 +08:00
Bingxi Zhao (Frank)
ad2b28afba Merge language and voice follow-up fixes 2026-09-23 11:02:23 +08:00
Bingxi Zhao (Frank)
9b6aaaf71c Merge configuration, provider, and learner access follow-up fixes 2026-09-23 11:01:52 +08:00
Bingxi Zhao (Frank)
706699eca6 Format merged voice and settings modules 2026-09-23 11:01:26 +08:00
Bingxi Zhao (Frank)
9c2eea7446 Normalize regional French and Ukrainian language codes 2026-09-23 11:01:15 +08:00
Bingxi Zhao (Frank)
2faceb1f5a fix(knowledge): persist reindex hashes only for indexed sources (#1481) 2026-09-23 11:00:54 +08:00
Bingxi Zhao (Frank)
e750a8ddd0 fix(multi-user): restore prior grant if preset update fails 2026-09-23 11:00:37 +08:00
Bingxi Zhao (Frank)
69058b48bb fix(rag): avoid false IMA citations on empty and failed search (#1500) 2026-09-23 11:00:37 +08:00
Bingxi Zhao (Frank)
02cef7596a fix(learning): persist cross-surface assessment evidence safely (#1542) 2026-09-23 11:00:32 +08:00
Bingxi Zhao (Frank)
8b08debd7c fix(learning): make review timing and retention settings consistent (#1541) 2026-09-23 11:00:25 +08:00
Bingxi Zhao (Frank)
0b3d5be873 style(reading): format combined extraction and store changes 2026-09-23 10:59:12 +08:00
Bingxi Zhao (Frank)
705e9bf9d5 Merge branch 'codex/reading-learning-prs-20260923' into codex/pr-batch-root
# Conflicts:
#	deeptutor/reading/extract.py
#	deeptutor/reading/store.py
#	web/components/notebook/NotebookRecordRow.tsx
#	web/locales/en/app.json
#	web/locales/zh/app.json
2026-09-23 10:58:38 +08:00
Bingxi Zhao (Frank)
064034a283 Merge branch 'codex/evan-backend-prs-20260923' into codex/pr-batch-root
# Conflicts:
#	deeptutor/api/routers/settings.py
#	tests/api/test_settings_router.py
#	web/components/notebook/NotebookRecordRow.tsx
#	web/components/settings/SettingsOverview.tsx
#	web/context/app-shell-storage.ts
#	web/features/knowledge/api/sources.ts
#	web/features/settings/store/SettingsStore.tsx
2026-09-23 10:56:37 +08:00
Bingxi Zhao (Frank)
6ac8deed51 fix(multi-user): scope learner KB reads and persist grants before preset 2026-09-23 10:55:46 +08:00
Bingxi Zhao (Frank)
317675eb83 Accept valid GeoGebra Text alignment forms 2026-09-23 10:55:02 +08:00
Bingxi Zhao (Frank)
304022624e Decode timed captions once across parser and storage 2026-09-23 10:54:53 +08:00