presenton/electron/servers/fastapi
sudipnext c8faab97d9 Refactor database URL handling and ensure SQLite parent directory creation
- Introduced a helper function `_to_sync_database_url` to standardize the conversion of async database URLs to sync URLs in `env.py` and `migrations.py`.
- Added `_ensure_sqlite_parent_dir` function in `db_utils.py` to create the parent directory for SQLite databases if it doesn't exist, ensuring compatibility with Windows paths.
- Updated the `get_database_url_and_connect_args` function to call `_ensure_sqlite_parent_dir` before processing the database URL.
- Simplified the `sync_export_runtime.js` script by removing the build step and directly using committed runtime artifacts, ensuring a smoother export process.
2026-03-16 07:47:43 +05:45
..
alembic Refactor database URL handling and ensure SQLite parent directory creation 2026-03-16 07:47:43 +05:45
api feat: enhance image handling in FastAPI and Next.js with web-safe URLs 2026-03-13 13:34:25 +05:45
assets updated 2026-02-20 12:02:23 +05:45
build/server updated 2026-02-20 12:02:23 +05:45
constants feat: integrate Codex OAuth flow and enhance user configuration 2026-02-28 09:08:10 +05:45
enums feat: integrate Codex OAuth flow and enhance user configuration 2026-02-28 09:08:10 +05:45
models feat: implement unified setup installer for LibreOffice and Chromium dependencies 2026-03-11 20:31:34 +05:45
services feat: implement unified setup installer for LibreOffice and Chromium dependencies 2026-03-11 20:31:34 +05:45
static updated 2026-02-20 12:02:23 +05:45
tests updated 2026-02-20 12:02:23 +05:45
utils Refactor database URL handling and ensure SQLite parent directory creation 2026-03-16 07:47:43 +05:45
.python-version updated 2026-02-20 12:02:23 +05:45
alembic.ini feat: implement database migration on startup and update dependencies for FastAPI 2026-03-08 20:05:44 +05:45
build_vectorstore.py updated 2026-02-20 12:02:23 +05:45
mcp_server.py updated 2026-02-20 12:02:23 +05:45
migrations.py Refactor database URL handling and ensure SQLite parent directory creation 2026-03-16 07:47:43 +05:45
openai_spec.json updated 2026-02-20 12:02:23 +05:45
placeholder feat: implement database migration on startup and update dependencies for FastAPI 2026-03-08 20:05:44 +05:45
pyproject.toml feat: implement database migration on startup and update dependencies for FastAPI 2026-03-08 20:05:44 +05:45
runtime_hook_docling.py updated 2026-02-20 12:02:23 +05:45
server.py updated 2026-02-20 12:02:23 +05:45
server.spec feat: implement database migration on startup and update dependencies for FastAPI 2026-03-08 20:05:44 +05:45
uv.lock feat: implement database migration on startup and update dependencies for FastAPI 2026-03-08 20:05:44 +05:45