openreader/tests
Richard R 2c23dc9043 refactor(db): remove conditional database usage from API layer
Ensure all metadata operations consistently use the database layer,
removing filesystem-only fallback paths and conditional DB checks.

- Simplified migration scripts to always run on startup
- Updated document/audiobook APIs to always query DB
- Added ensureDbIndexed() calls across all routes
- Extracted test namespace utilities to dedicated module
- Removed migration-manager.ts (functionality consolidated)
- Updated rate limiter to assume DB is always available

BREAKING CHANGE: Database is now required in all configurations.
When auth is disabled, SQLite is used by default at /app/docstore/sqlite3.db.
2026-02-03 12:17:30 -07:00
..
files feat(tts): add smart sentence continuation 2025-11-14 12:00:03 -07:00
unit refactor(nlp): enhance EPUB text splitting for oversized sentences and remove unused functions 2026-01-21 14:27:20 -07:00
accessibility.spec.ts fix(api): stabilize DOCX to PDF conversion and cleanup 2025-11-12 16:21:11 -07:00
delete.spec.ts fix(api): stabilize DOCX to PDF conversion and cleanup 2025-11-12 16:21:11 -07:00
export.spec.ts refactor(db): remove conditional database usage from API layer 2026-02-03 12:17:30 -07:00
folders.spec.ts perf(test): optimize test execution and error handling 2025-11-14 18:52:49 -07:00
helpers.ts refactor(audiobooks): implement user-specific storage with composite primary keys 2026-02-03 12:17:06 -07:00
navigation.spec.ts perf(test): optimize test execution and error handling 2025-11-14 18:52:49 -07:00
play.spec.ts perf(test): optimize test execution and error handling 2025-11-14 18:52:49 -07:00
upload.spec.ts fix(tests): try to get tests working again 2026-01-28 01:04:01 -07:00