Commit graph

15 commits

Author SHA1 Message Date
Sudip Parajuli
7f4d6acdd8
Merge branch 'main' into feat/docker-release-electron-sync 2026-04-20 20:56:20 +05:45
sudipnext
c7860127f2 feat: add support for optional embedded Ollama and enhance database migration handling
- Updated docker-compose.yml to allow disabling embedded Ollama via environment variable.
- Refactored Dockerfile and Dockerfile.dev for improved dependency management and installation process.
- Enhanced FastAPI migration scripts to handle orphaned Alembic revisions and added new database migration logic.
- Improved error handling in background tasks and Codex authentication endpoints.
- Added support for font file uploads with better validation and extraction of font names.
- Introduced new image search functionality with support for Pexels and Pixabay APIs.
2026-04-15 15:39:35 +05:45
voidborne-d
f8156df6f5 fix: configure SQLAlchemy connection pool and dispose engines on shutdown
- Add configurable pool settings via environment variables:
  DB_POOL_SIZE, DB_MAX_OVERFLOW, DB_POOL_TIMEOUT, DB_POOL_RECYCLE,
  DB_POOL_PRE_PING (defaults: 5, 10, 30s, 1800s, true)
- Enable pool_pre_ping by default to detect and recycle stale connections
- Add dispose_engines() called during FastAPI lifespan shutdown to
  release all connections back to the database
- Skip pool configuration for SQLite (uses file-lock, not connection pools)
- Apply changes to both servers/ and electron/ FastAPI instances

Fixes #453 (stale connections exhausting pool)
Fixes #454 (missing pool configuration)
2026-03-20 06:08:54 +00:00
shiva raj badu
28f2b18e06
feat: completed theme & custom theme UI 2026-03-03 10:50:11 +05:45
sauravniraula
c143fdf964
fix: list new tables for creation 2025-09-16 17:49:52 +05:45
sauravniraula
c63bf35c51
fix: adds support for sslmode and other params in database url 2025-08-16 20:48:42 +05:45
Suraj Jha
2f653d78cf
update: send template name and description and show them 2025-08-10 00:24:13 +05:45
shiva raj badu
d9cbf3ea5a
Merged with main 2025-08-05 22:37:25 +05:45
sauravniraula
fccd04172a
fix(fastapi): fix issue where all tables were created in both DBs 2025-08-05 20:48:38 +05:45
sauravniraula
ec9104c91c
refactor(fastapi): removes redis and uses sqlite to store background task status 2025-08-04 21:56:48 +05:45
sauravniraula
c982e4b709
refactor: removes redis and uses sqlite to store background tasks status 2025-08-04 17:32:25 +05:45
sauravniraula
443855e05a
fix(fastapi): adds async driver in database url based on type 2025-07-30 12:23:04 +05:45
sauravniraula
9cb7d9f432
perf(fastapi): uses async sql engine 2025-07-29 17:19:31 +05:45
sauravniraula
99cde255ac
fix(fastapi): adds a default transparent shadow effect if shadow is None while creating PPTX, fix(nextjs): improvements on presentation_to_pptx_model endpoint, fix(nextjs): improves pdf export 2025-07-24 00:13:58 +05:45
sauravniraula
788c8c4042
refactor(fastapi): progress 2025-07-14 18:49:48 +05:45