Commit graph

70 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
9d5bdae20c feat: update DEFAULT_CODEX_MODEL to gpt-5.2 across relevant files 2026-04-20 14:13:09 +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
22c4356955 fix: update Codex model versions and default settings
- Changed DEFAULT_CODEX_MODEL to "gpt-5.1-codex-mini" in multiple files.
- Updated CHATGPT_MODELS to reflect the new model naming conventions and removed deprecated entries.
2026-04-16 14:48:05 +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
sudipnext
a3a6a1acd2 Refactor code structure and remove redundant changes in multiple sections 2026-04-16 13:33:21 +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
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
sudipnext
c13fce42af feat: enhance error handling and add new Ollama models 2026-04-13 21:01:09 +05:45
sudipnext
1aca07a647 feat: add font resolution for presentations and update model to include fonts 2026-04-13 12:31:08 +05:45
sudipnext
fd16768945 refactor: remove Sentry test error handling from main and renderer processes 2026-04-12 19:33:40 +05:45
Shiva Raj Badu
5c0c09e623
Merge pull request #512 from presenton/fix/comfy_ui
fix: ComfyUI generation issue
2026-04-11 22:04:25 +05:45
shiva raj badu
24177d3961
fix: ComfyUI generation issue 2026-04-11 22:02:42 +05:45
Sudip Parajuli
48db43e86b
Merge branch 'main' into feat/sentry-setup 2026-04-11 14:54:13 +05:45
sudipnext
9f2168a4c0 fix: allow theme to be None in presentation update 2026-04-10 00:54:46 +05:45
sauravniraula
708b2f1406
fix: changes template slide layout generation prompt for schema default fix 2026-04-09 22:51:33 +05:45
sauravniraula
0737779ca9
fix: implements changes to fix slide layout edit 2026-04-09 22:28:40 +05:45
sudipnext
8f776d9dee Refactor getFastAPIUrl function to prioritize query parameter retrieval after environment checks 2026-04-09 21:50:02 +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
cc8f0bb862 feat: Enhance presentation generation features and improve asset handling
- Added MAX_NUMBER_OF_SLIDES constant to limit slide generation.
- Updated GeneratePresentationRequest model to allow optional slide count and language detection.
- Implemented language resolution in edit_slide and generate_presentation_outlines utilities.
- Enhanced user prompts to include optional parameters for slide count and table of contents.
- Introduced outline utilities for managing table of contents and slide outlines.
- Improved image and icon processing in slides to utilize outline image URLs.
- Updated frontend components to resolve backend asset URLs for icons and images.
- Refactored upload components to handle optional slide count and language selection.
- Enhanced API utility functions to resolve backend asset URLs correctly.
2026-04-06 18:28:43 +05:45
sudipnext
b37aae4987 feat: add Sentry error capture methods to ElectronAPI for renderer and main processes 2026-04-06 11:29:08 +05:45
sudipnext
de7c0930ed refactor: remove memory usage instructions from system prompts for clarity 2026-04-05 15:08:33 +05:45
sudipnext
1095895ac6 refactor: incorporate user and workspace memory in layout selection and design decisions 2026-04-04 11:16:01 +05:45
sudipnext
124d05eb82 refactor: streamline system prompts for presentation generation and enhance layout selection guidelines 2026-04-04 09:08:48 +05:45
sudipnext
3ba705c4c4 refactor: enhance system prompt generation for presentation outlines with detailed instructions and web search integration 2026-04-04 08:10:04 +05:45
sudipnext
b1e3d826dd feat: integrate Sentry for error tracking in Next.js application
- Added @sentry/nextjs dependency to package.json
- Created sentry.edge.config.ts for edge feature initialization
- Created sentry.server.config.ts for server-side initialization
- Configured Sentry with DSN, tracesSampleRate, logs, and PII settings
2026-04-03 14:22:36 +05:45
sudipnext
172b8e657d feat: enhance Codex user profile management with username, email, and subscription status 2026-04-03 13:26:07 +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
cf74b79c8e feat: Update environment variable for FastAPI public URL 2026-03-29 17:11:35 +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
69baa06c81 feat: update Codex model versions and enhance content length limits 2026-03-27 18:30:03 +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
shiva raj badu
22ed1ff2e3
Fix: PDF export empty slide issue 2026-03-26 22:43:18 +05:45
sudipnext
653e35bb3d refactor: reorganize migration functions and enhance legacy database handling
- Moved the legacy database URL conversion function to improve clarity.
- Introduced a new function to handle legacy database stamping before migrations.
- Updated error handling during migration to ensure legacy databases are properly managed.
- Cleaned up redundant code and improved comments for better maintainability.
2026-03-26 16:29:52 +05:45
sudipnext
f050064771 feat: add legacy database migration support and new database schema
- Introduced functions to handle legacy database stamping and migration.
- Added a new Alembic migration script for initializing the database schema.
- Enhanced the migration process to check for unversioned databases and apply necessary stamps before upgrades.
- Created new migration files for adding a theme column to presentations.
2026-03-26 15:33:49 +05:45
sudipnext
e541c1d57c chore: remove obsolete Alembic migration for theme column in presentations 2026-03-26 08:39:08 +05:45