Commit graph

31 commits

Author SHA1 Message Date
sudipnext
8c3bc13542 Merge branch 'main' into refactor/presenton-chat-stream 2026-04-27 19:54:01 +05:45
sudipnext
35f784379b feat: Enhance LiteParse runner and document processing
- Updated the LiteParse runner to support two output formats: raw text and JSON, improving compatibility and flexibility.
- Introduced error handling for missing file arguments and file existence checks, enhancing robustness.
- Added functions to clean and extract text from LiteParse JSON outputs, handling malformed JSON gracefully.
- Updated the DocumentsLoader to utilize the new text cleaning functionality, ensuring cleaner document outputs.
- Implemented tests for the new text extraction and cleaning features, ensuring reliability and correctness.
2026-04-26 18:10:49 +05:45
sudipnext
4e87dc8b70 refactor: Update database session management and enhance chat memory services
- Replaced `get_container_db_async_session` with `async_session_maker` for improved session handling in background tasks.
- Refactored chat memory services to utilize a shared `mem0` client for better memory management.
- Introduced new methods for retrieving and storing chat history, integrating with SQL and memory layers.
- Enhanced error handling and response management in chat-related services.
- Cleaned up unused code and improved overall structure for maintainability.
2026-04-25 19:10:39 +05:45
sauravniraula
11904c6cb0
refactor: cleans old unused export files from both docker and electron and uses package for export 2026-04-24 10:12:23 +05:45
Sudip Parajuli
7f4d6acdd8
Merge branch 'main' into feat/docker-release-electron-sync 2026-04-20 20:56:20 +05:45
sudipnext
5e4ee9e039 Refactor presentation export runtime handling
- Update sync-presentation-export script to read version from package.json instead of export-version.json.
- Change entrypoint from index.js to index.cjs for CommonJS compatibility.
- Implement logic to ensure CommonJS entrypoint is created if missing.
- Modify ExportTaskService to resolve entrypoint path dynamically.
- Remove inline Puppeteer PDF export logic in favor of bundled export package.
- Add runtime availability checks and sync script execution in start.js.
- Introduce helper functions for output path normalization and entrypoint resolution.
2026-04-18 16:49:42 +05:45
sudipnext
040c619889 fix: refine web search handling in LLM client and presentation outline generation
- Updated LLMClient to include CODEX in web search checks.
- Simplified web search logic in generate_ppt_outline to improve clarity and efficiency.
- Ensured consistent usage of web search settings across methods.
2026-04-16 20:11:25 +05:45
sudipnext
4370b0291b feat: enhance web search functionality in LLM client and presentation generation
- Added methods to enable web search based on user settings and LLM provider.
- Updated presentation outline generation to utilize prefetched web facts.
- Modified system prompts to clarify web search usage.
- Improved UI text in advanced settings to better inform users about web search controls.
2026-04-16 14:40:31 +05:45
Saurav Niraula
6522299f25
Merge pull request #456 from voidborne-d/fix/db-connection-pool-config
fix: configure SQLAlchemy connection pool and dispose engines on shutdown
2026-04-15 18:35:31 +05:45
sauravniraula
f95c1b1eb6
feat: implements overflow mitigation loop on structured generation; fix: changes slide content generation system prompt to avoid clipping 2026-04-15 15:56:01 +05:45
shiva raj badu
24177d3961
fix: ComfyUI generation issue 2026-04-11 22:02:42 +05:45
Sudip Parajuli
bd8fd77113
Merge pull request #502 from presenton/fix/various-issues
Fix/various issues
2026-04-08 19:40:06 +05:45
sauravniraula
92de673e11
feat: adds working new template generation with openai, google, anthropic and codex; fix: improves libreoffice binary detection 2026-04-08 17:58:49 +05:45
sauravniraula
087d64ed62
feat: implements new template generation flow; refactor: removes old template generation flow and adds new endpoints 2026-04-08 11:25:13 +05:45
sudipnext
cab99c6bd2 feat: Implement stock image search functionality with Pexels and Pixabay integration 2026-04-07 18:00:16 +05:45
sudipnext
c7e9a6872b feat: enhance document conversion services with improved logging and error handling
- Added logging to track the start and completion of document conversions in DocumentConversionService.
- Implemented detailed error logging for subprocess failures in both DocumentConversionService and LiteParseService.
- Introduced helper functions for logging command strings and output snippets to improve debuggability.
- Updated DocumentsLoader to log file processing details and fallback parsing attempts.
2026-03-31 14:06:57 +05:45
sudipnext
429cb6c09b feat: improve ImageMagick path resolution in LiteParseService 2026-03-31 11:26:30 +05:45
sudipnext
414381112b feat: enhance LiteParse service to support Electron as Node runtime 2026-03-31 11:06:06 +05:45
Sudip Parajuli
28ff86c19b
Merge pull request #481 from presenton/feat/liteparseVsDocling
Feat/liteparse vs docling
2026-03-30 20:23:27 +05:45
sudipnext
6a6afc7ab7 feat: enhance document handling with new conversion service and MIME type support 2026-03-29 18:58:16 +05:45
sudipnext
f200c84d0c feat: Add support for dynamic FastAPI origin in image asset handling 2026-03-29 17:11:22 +05:45
sudipnext
3207422651 feat: add language parameter to decomposeDocuments API call
- Updated the decomposeDocuments method in PresentationGenerationApi to accept an optional language parameter.
- Modified the UploadPage component to pass the selected language from the config when calling the decomposeDocuments method.
2026-03-28 15:34:53 +05:45
sudipnext
d347786aaa feat: improve handling of Anthropic responses and add retry logic for content retrieval 2026-03-27 16:45:31 +05:45
sudipnext
024f174867 feat: add migration for theme column in presentations and enhance database migration handling
- Introduced a new Alembic migration to add a 'theme' column to the 'presentations' table.
- Updated migration scripts to handle unversioned databases more gracefully.
- Added a script for programmatically deleting local SQLite database files and running migrations.
- Enhanced database initialization logic to conditionally run migrations based on environment settings.
2026-03-25 20:09: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
sudipnext
b56af5e801 feat: implement unified setup installer for LibreOffice and Chromium dependencies 2026-03-11 20:31:34 +05:45
sudipnext
d185d10462 feat: implement image path resolution utility to streamline image handling in FastAPI endpoints and PPTX presentation creator 2026-03-08 20:55:20 +05:45
sudipnext
2d462d8df4 feat: implement database migration on startup and update dependencies for FastAPI 2026-03-08 20:05:44 +05:45
sudipnext
34eed2413f feat: update version to 0.6.1-beta and ensure array schemas have items in JSON responses 2026-03-02 17:11:25 +05:45
sudipnext
00be7ee946 feat: integrate Codex OAuth flow and enhance user configuration
- Added Codex-related fields to UserConfig and LLMConfig for managing OAuth tokens and model settings.
- Implemented Codex authentication endpoints and integrated them into the application.
- Enhanced LLMClient to support Codex as a valid provider, including token management and refresh logic.
- Updated UI components to include Codex configuration options and authentication status handling.
- Refactored environment variable utilities to accommodate Codex-specific settings.
2026-02-28 09:08:10 +05:45
sudipnext
9959b5a677 updated 2026-02-20 12:02:23 +05:45