Commit Graph

418 Commits

Author SHA1 Message Date
Bingxi Zhao (Frank)
550268e1e3 fix: support Malay as a persistent reply language 2026-09-27 04:37:15 +08:00
Bingxi Zhao (Frank)
75aa71ae5b Merge remote-tracking branch 'origin/dev' into codex/pr-1567-review 2026-09-27 02:58:27 +08:00
Bingxi Zhao
848037549c Merge pull request #1580 from krxi/codex/task-board
feat: add a workspace-scoped task board
2026-09-27 02:35:23 +08:00
Bingxi Zhao (Frank)
7dd1f7f046 fix: allow learner task board through chat surface 2026-09-27 02:25:51 +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
krxi
2eb2f2de96 feat: add a workspace-scoped task board 2026-09-24 16:10:03 +03: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
polaris-smart
5357e0c29d refactor(auth): gate learner-only paths on "non-admin" instead of "exactly user"
Align the five remaining two-value gate idioms with the "only 'admin'
elevates" invariant that #1556 now documents: self-service learner-profile
access (_require_local_learner), the admin-managed learner-profile
GET/PUT target checks, the identity-layer set_learner_profile writer, and
device-credential activation (_active_account) admit every non-admin role
instead of only "user".

While the admitted vocabulary is still {"admin", "user"} this is
behavior-preserving; once "teacher"/"student" exist, ordinary accounts
keep learner profiles and device logins instead of being silently
excluded. Admins stay excluded everywhere, including admins carrying a
learner preset.

Tests: a teacher with a learner preset manages their own profile through
the self-service endpoints and via an admin actor; admins (even with a
learner preset) stay rejected at the self-service, admin-managed,
storage, and device-credential layers; a device credential issued for a
teacher logs in and reports the teacher role, while issuance for an admin
still fails closed.
2026-09-24 08:19:39 +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)
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)
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)
baa3263a7a fix(auth): forward requested handoff host and avoid shared quota lockout 2026-09-23 11:25:53 +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)
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)
ad2b28afba Merge language and voice follow-up fixes 2026-09-23 11:02:23 +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)
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)
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)
ce590620d7 Preserve reading source fidelity and resilient activity tracking 2026-09-23 10:54:37 +08:00
Bingxi Zhao (Frank)
fc0e0a9510 Unify French and Ukrainian language settings across app 2026-09-23 10:51:27 +08:00
Bingxi Zhao (Frank)
dfc4956eda Merge branch 'codex/pr-krypton-zqr-20260923' into codex/pr-batch-root
# Conflicts:
#	web/components/notebook/NotebookRecordRow.tsx
2026-09-23 10:51:03 +08:00
Bingxi Zhao (Frank)
777babc382 Preserve linked-folder sync snapshots and empty KB bootstrap 2026-09-23 10:49:20 +08:00
Bingxi Zhao (Frank)
f4e489cc1b Merge remote-tracking branch 'origin/dev' into codex/pr-batch-root 2026-09-23 10:48:39 +08:00
Bingxi Zhao (Frank)
e5598a72c5 Harden trusted handoff proxy and ticket lifetime; normalize CSV rows 2026-09-23 10:47:53 +08:00
Bingxi Zhao (Frank)
9453350015 Stage presets with canonical settings extension keys after #1383 2026-09-23 10:47:52 +08:00
Bingxi Zhao (Frank)
9612fa9e5f Merge latest origin/dev before PR batch integration 2026-09-23 10:38:20 +08:00
Bingxi Zhao (Frank)
453b06063b Merge PR #1344 Ukrainian locale after conflict resolution 2026-09-23 10:38:18 +08:00
Bingxi Zhao (Frank)
d6825cb695 Merge PR #1344: add Ukrainian language support 2026-09-23 10:34:40 +08:00
Bingxi Zhao (Frank)
d0e606a43e Merge PR #1479 timed media entity rendering 2026-09-23 10:34:32 +08:00
Bingxi Zhao (Frank)
ba7efc5dbf Merge PR #1477 mastery objective relations 2026-09-23 10:34:25 +08:00
Bingxi Zhao (Frank)
7d330f043c Merge remote-tracking branch 'origin/pr-1503' into codex/merge-pr-1503
# Conflicts:
#	deeptutor/services/session/turns/executor.py
2026-09-23 10:32:28 +08:00
Bingxi Zhao (Frank)
a6d15e4730 Merge PR #1535 mastery skills and persona presets 2026-09-23 10:29:34 +08:00
Bingxi Zhao (Frank)
915a5ae57b Merge commit 'refs/pr/1482' into codex/evan-backend-prs-20260923
# Conflicts:
#	deeptutor/api/routers/auth.py
#	tests/services/config/test_runtime_settings.py
#	web/locales/en/app.json
#	web/locales/zh/app.json
2026-09-23 10:29:26 +08:00
Bingxi Zhao (Frank)
0d3763e033 Merge commit 'refs/pr/1556' into codex/evan-backend-prs-20260923 2026-09-23 10:28:56 +08:00
Bingxi Zhao (Frank)
1dff2a2424 Merge commit 'refs/pr/1385' into codex/evan-backend-prs-20260923 2026-09-23 10:28:46 +08:00
Bingxi Zhao (Frank)
97573a3624 Merge commit 'refs/pr/1383' into codex/evan-backend-prs-20260923
# Conflicts:
#	deeptutor/api/routers/settings.py
#	web/components/settings/SettingsOverview.tsx
#	web/contracts/generated/api.ts
#	web/contracts/schema/openapi.json
#	web/locales/en/app.json
#	web/locales/zh/app.json
2026-09-23 10:28:42 +08:00
Bingxi Zhao (Frank)
b38a2245eb Merge PR #1334 linked folder manual sync 2026-09-23 10:28:15 +08:00
Bingxi Zhao (Frank)
9e254589c9 Merge commit 'refs/pr/1381' into codex/evan-backend-prs-20260923 2026-09-23 10:28:02 +08:00
Bingxi Zhao (Frank)
7dd8b2ac44 Merge commit 'refs/pr/1345' into codex/evan-backend-prs-20260923
# Conflicts:
#	web/components/settings/SettingsOverview.tsx
2026-09-23 10:27:55 +08:00
Bingxi Zhao (Frank)
24da87ae4e Merge PR #1368: account-scoped reading learning records 2026-09-23 10:27:53 +08:00
Bingxi Zhao (Frank)
a4d1e24c75 Merge commit 'refs/pr/1330' into codex/evan-backend-prs-20260923 2026-09-23 10:27:34 +08:00
Bingxi Zhao (Frank)
8534cea581 Merge PR #1372 linked folder sync controls 2026-09-23 10:27:32 +08:00