Per Stark
c60db0fb56
perf: avoid small own clones and intermediate Vec allocations
...
- Derive Copy on 6 small enums (MessageRole, TaskState, StorageKind, EmbeddingBackend, PdfIngestMode, KnowledgeEntityType)
- Change create_ingestion_payload files param from Vec<FileInfo> to &[FileInfo]
- Remove 5 intermediate Vec allocations (4 embedding serialization + 1 format_history) using write! loop
- Remove 7 unnecessary .clone() calls exposed by Copy derive
2026-05-27 10:28:08 +02:00
Per Stark
f5f0454904
fix: html-router dependency of json-stream-parser
2026-05-27 09:59:26 +02:00
Per Stark
18aadab8ee
refactor: json-stream-parser aligned to clippy standard
2026-05-27 09:07:38 +02:00
Per Stark
414d2f5b34
chore: additional clippy fixes after rebasing
2026-05-27 07:37:18 +02:00
Per Stark
293440b0ee
fix: pin surrealdb
2026-05-26 20:21:40 +02:00
Per Stark
041d9bd81f
clippy: evaluations crate
2026-05-26 20:21:25 +02:00
Per Stark
b4383bb227
perf: pre-allocate collections with known capacity in hot paths
...
- Use with_capacity for chunk_by_source, results, per_entity_traces,
and selected_chunks in assemble() where bound is known
- Pre-allocate tokens/terms vectors in normalize_fts_query and
extract_keywords based on input length
- Pre-allocate neighbor_ids, seen, and ordered in graph expansion
based on relationship count
2026-05-26 20:21:25 +02:00
Per Stark
6c7b586fc5
perf: offload blocking calls to spawn_blocking
...
- Move headless_chrome PDF rasterization from async context to
spawn_blocking, keeping tokio worker threads responsive.
- Switch RerankerPool from tokio::sync::Mutex to std::sync::Mutex
and run TextRerank::rerank inside spawn_blocking, since the
rerank call is CPU-bound with no .await points.
2026-05-26 20:21:25 +02:00
Per Stark
1927149ce9
lint: inherit workspace clippy config in json-stream-parser and evaluations
...
Both crates were missing the [lints] workspace = true directive,
bypassing workspace clippy rules (unwrap_used, expect_used, etc.).
2026-05-26 20:21:25 +02:00
Per Stark
a52dc802de
refactor: simplify and improve testing for initialization
2026-05-26 20:21:24 +02:00
Per Stark
000852c94c
clippy: adhere to pedantic clippy, uniform test error handling
2026-05-26 20:21:13 +02:00
Per Stark
6a5d631287
chore: remove unused clap dep and fix test_session_table name
...
- Remove clap dependency from retrieval-pipeline (RetrievalStrategy
already has FromStr/Display; evaluations uses clap directly)
- Rename session table from test_session_table to session
2026-05-26 20:14:29 +02:00
Per Stark
b965c5a2e6
refactor: replace Box<dyn Error> with anyhow::Result
...
- ingestion_pipeline::run_worker_loop returns anyhow::Result<()>
- api_router::ApiState::new returns anyhow::Result<Self>
- html_router::HtmlState::new_with_resources is infallible, returns Self
- main/server/worker binary entry points return anyhow::Result<()>
2026-05-26 20:14:11 +02:00
Per Stark
79e46e9c09
refactor: extract serde helpers from stored_object! macro
...
Move FlexibleIdVisitor, deserialize_flexible_id, and four datetime serde helpers
from repeating inside every macro expansion into a shared
common/src/storage/types/serde_helpers.rs module.
14 macro invocations × 6 items = ~84 fewer redundant function definitions.
Fragile cross-module imports (file_info::deserialize_flexible_id etc.)
are updated to point to the canonical module.
2026-05-26 20:12:54 +02:00
Per Stark
f22a1e5ba4
chore: devenv inconsistency, spawn server manually in dev
2026-02-15 18:31:43 +01:00
Per Stark
4d237ff6d9
release: 1.0.2
v1.0.2
2026-02-15 11:57:04 +01:00
Per Stark
eb928cdb0e
test: minio to devenv, improved testing s3 and relationships
2026-02-15 08:52:56 +01:00
Per Stark
1490852a09
chore: dep updates & kv-mem separation to test feature
...
docker builder update
2026-02-15 08:51:48 +01:00
Per Stark
b0b01182d7
test: add admin auth integration coverage
2026-02-14 23:11:35 +01:00
Per Stark
679308aa1d
feat: caching chat history & dto
2026-02-14 19:43:34 +01:00
Per Stark
f93c06b347
fix: harden html responses and cache chat sidebar data
...
Use strict template response handling and sanitized template user context, then add an in-process conversation archive cache with mutation-driven invalidation for chat sidebar renders.
2026-02-14 17:47:14 +01:00
Per Stark
a3f207beb1
fix: simplified admin checking
2026-02-13 23:04:01 +01:00
Per Stark
e07199adfc
fix: name harmonization of endpoints & ingestion security hardening
2026-02-13 22:36:00 +01:00
Per Stark
f22cac891c
fix: redact ingestion payload logs and update changelog
2026-02-13 12:06:18 +01:00
Per Stark
b89171d934
fix: parameterize storage-layer queries and add injection tests
2026-02-12 21:42:46 +01:00
Per Stark
0133eead63
fix: border in navigation
2026-02-12 20:39:36 +01:00
Per Stark
e5d2b6605f
fix: browser back navigation from chat windows
...
addenum
2026-02-12 20:32:06 +01:00
Per Stark
bbad91d55b
fix: references bug
...
fix
2026-02-11 22:02:40 +01:00
Per Stark
96846ad664
release: 1.0.1
v1.0.1
2026-02-11 15:39:28 +01:00
Per Stark
269bcec659
docs: updated domain name
2026-02-11 15:17:03 +01:00
Per Stark
7c738c4b30
fix: gracefully handle old users
2026-02-11 07:50:19 +01:00
Per Stark
cb88127fcb
docs: updated readme
2026-01-18 18:48:53 +01:00
Per Stark
49e1fbd985
dev: devenv processes
2026-01-18 18:45:30 +01:00
Per Stark
f2fa5bbbcc
fix: edge case when deleting content
...
nit
2026-01-18 18:45:21 +01:00
Per Stark
a3bc6fba98
design: better dark mode
2026-01-17 23:31:05 +01:00
Per Stark
ece744d5a0
refactor: additional responsibilities to middleware, simplified handlers
...
fix
2026-01-17 21:07:25 +01:00
Per Stark
a9fda67209
theme: obsidian-prism
2026-01-17 08:45:47 +01:00
Per Stark
fa7f407306
feat: s3 storage backend
2026-01-16 23:38:47 +01:00
Per Stark
b25cfb4633
feat: add user theme preference
...
- Add theme field to User model (common)
- Create migration for theme field
- Add theme selection to Account Settings (html-router)
- Implement server-side theme rendering in base template
- Update JS for system/preference theme handling
- Remove header theme toggle for authenticated users
2026-01-16 13:54:07 +01:00
Per Stark
0df2b9810c
docs: addenum
2026-01-14 22:24:23 +01:00
Per Stark
354dc727c1
refactor: extendable templates
...
refactor: simplification
refactor: simplification
2026-01-13 22:18:00 +01:00
Per Stark
037057d108
fix: allow for multiple templates directories
2026-01-12 21:25:12 +01:00
Per Stark
9f17c6c2b0
fix: updating models in admin view
2026-01-12 21:01:53 +01:00
Per Stark
17f252e630
release: 1.0.0
...
fix: cargo dist
v1.0.0
2026-01-11 20:35:01 +01:00
Per Stark
db43be1606
fix: schemafull and textcontent
2026-01-02 15:41:22 +01:00
Per Stark
8e8370b080
docs: more complete and correct
2025-12-24 23:36:58 +01:00
Per Stark
84695fa0cc
chore: wording
2025-12-22 23:03:33 +01:00
Per Stark
654add98bc
fix: never block fts, rely on rrf
2025-12-22 22:56:57 +01:00
Per Stark
244ec0ea25
fix: migrating embeddings to new dimensions
...
changing order
2025-12-22 22:39:14 +01:00
Per Stark
d8416ac711
fix: ordering of index creation
2025-12-22 21:59:35 +01:00