Commit graph

33 commits

Author SHA1 Message Date
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
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
Sudip Parajuli
48db43e86b
Merge branch 'main' into feat/sentry-setup 2026-04-11 14:54:13 +05:45
sudipnext
8f776d9dee Refactor getFastAPIUrl function to prioritize query parameter retrieval after environment checks 2026-04-09 21:50:02 +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
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
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
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
7a56045db3 feat: implement theme management and color generation endpoints 2026-03-22 19:43:54 +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
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
sudipnext
1141719da6 Enhance authentication UI and improve chart rendering
- Updated the success and state mismatch HTML pages in openai_codex.py for a better user experience during authentication, including new styles and auto-reload functionality.
- Modified ChartWithBulletsSlideLayout.tsx to disable animations for various chart components and adjusted the layout for better responsiveness.
2026-03-15 14:08:21 +05:45
sudipnext
7660379b7d feat: enhance image handling in FastAPI and Next.js with web-safe URLs 2026-03-13 13:34:25 +05:45
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