Commit graph

406 commits

Author SHA1 Message Date
sudipnext
b20199a4e3 feat: Integrate Vertex AI and Azure OpenAI support
- Added environment variables for Vertex AI and Azure OpenAI configurations in docker-compose and user configuration models.
- Updated the application logic to handle Vertex and Azure as new LLM providers, including validation and API key management.
- Enhanced the UI components to support model selection and API key input for Vertex and Azure.
- Updated relevant utility functions and constants to accommodate the new providers.
- Ensured proper error handling for configuration requirements specific to Vertex and Azure.
2026-04-30 06:03:39 +05:45
sudipnext
5766e252aa feat: Implement PDF export functionality with session handling
- Added middleware to handle session cookies for the PDF export route.
- Introduced a new API endpoint for exporting presentation data using session cookies.
- Updated the PdfMakerPage component to accept and utilize the export cookie.
- Enhanced the presentation export logic to include session token extraction from cookies.
- Updated routing configuration to include the new PDF maker path.
2026-04-27 21:13:57 +05:45
sudipnext
6ccd223576 feat: Add settings.json for pitch deck presentation templates 2026-04-27 20:57:59 +05:45
sudipnext
8c3bc13542 Merge branch 'main' into refactor/presenton-chat-stream 2026-04-27 19:54:01 +05:45
sudipnext
64cdac963b chore: Update llmai dependency to version 0.2.2 and enhance chat prompt clarity
- Updated the llmai dependency from version 0.2.1 to 0.2.2 for improved functionality.
- Revised the system prompt in the chat service to clarify the use of context and tools, emphasizing the importance of accurate responses based on live data.
- Enhanced the chat UI to better reflect tool usage and assistant activities, improving user experience.
2026-04-27 17:21:25 +05:45
sudipnext
46d2f02da4 feat: update presentation export version and enhance export functionality with cookie handling
Co-authored-by: Copilot <copilot@github.com>
2026-04-27 12:01:54 +05:45
Sudip Parajuli
4fd1a84f59
Merge pull request #542 from presenton/refactor/use-export-package
refactor/use export package
2026-04-27 10:49:19 +05:45
shiva raj badu
3b5f28f018
fix: Stream scrolling effect 2026-04-26 23:24:30 +05:45
shiva raj badu
57d1f9c30a
feat: New template pitch deck 2026-04-26 22:51:27 +05:45
sudipnext
4c271170b5 feat: Add chat history management and asset generation features
- Introduced a new `ChatHistoryMessageModel` to persist chat messages in the database.
- Implemented a migration script to create the `chat_history_messages` table.
- Enhanced chat services to support storing and retrieving chat history.
- Added functionality for generating multiple media assets in a single API call.
- Updated the chat UI to display assistant activities and tool usage more effectively.
- Refactored API calls to use absolute URLs for better reliability.
2026-04-26 13:12:50 +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
sudipnext
17ea7d9f95 feat: Implement streaming chat functionality in FastAPI and update UI
- Added a new endpoint for streaming chat messages in FastAPI, allowing real-time interaction.
- Enhanced the `PresentationChatService` to support streaming replies with event types for chunked responses, status updates, and tool tracing.
- Updated the chat UI to handle and display assistant activities, including loading states and tool usage.
- Introduced new models for SSE responses and integrated them into the chat service.
- Improved error handling and response management in the chat API.
2026-04-25 15:49:39 +05:45
shiva raj badu
77646d49b6
fix: Chat interface UI issues 2026-04-24 16:02:44 +05:45
shiva raj badu
5b35db4107
feat: API implement in chat interface 2026-04-24 16:00:24 +05:45
sudipnext
2e7e31db8c feat: implement PDF/PPTX export functionality with dedicated routes and components
- Added new middleware to handle session authentication for presentation retrieval.
- Introduced new layout and page components for PDF export, ensuring no loading state is shown during headless rendering.
- Enhanced ConfigurationInitializer to manage loading state based on route.
- Updated DashboardApi to include credentials in requests for presentation data.
- Refactored hasValidLLMConfig function for cleaner validation logic.
2026-04-24 10:30:51 +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
shiva raj badu
8af82252b8
feat: Chat interface 2026-04-23 22:02:46 +05:45
sudipnext
c6e7f6bb78 refactor: streamline authentication handling and remove deprecated components, enhancing session management in Next.js middleware 2026-04-22 12:43:17 +05:45
sudipnext
effa9ad026 feat: implement single-user authentication with environment variable support and update FastAPI middleware for session management 2026-04-21 17:41:37 +05:45
Sudip Parajuli
7f4d6acdd8
Merge branch 'main' into feat/docker-release-electron-sync 2026-04-20 20:56:20 +05:45
sudipnext
3eecd1a8c3 refactor: simplify document content rendering in DocumentPreviewPage 2026-04-20 20:32:18 +05:45
shiva raj badu
7c96044688
Merge branch 'feat/docker-release-electron-sync' of github.com:presenton/presenton into feat/docker-release-electron-sync 2026-04-20 19:55:28 +05:45
shiva raj badu
2fa5384e96
refactor:Improve Document Preview page 2026-04-20 19:55:00 +05:45
sudipnext
9d5bdae20c feat: update DEFAULT_CODEX_MODEL to gpt-5.2 across relevant files 2026-04-20 14:13:09 +05:45
shiva raj badu
48047cf288
refactor: improve export filename safety and config handling, cleanup components 2026-04-19 23:04:32 +05:45
sudipnext
3a4aacd0dd feat: enhance user configuration handling and add error messaging for model pulling 2026-04-19 13:15:19 +05:45
sudipnext
3d06644914 feat: update placeholder image references and improve asset handling
- Replaced all instances of the placeholder image path from "/static/images/placeholder.jpg" to "/static/images/replaceable_template_image.png".
- Added a new Nginx location block for serving app data with a long cache expiration.
- Enhanced the image generation service to return the new template image when generation fails.
- Updated various services and endpoints to ensure consistent handling of asset paths, including resolving backend asset URLs.
- Removed Electron-specific checks from several components to streamline API calls and improve compatibility with web deployments.
- Improved error handling and logging in the PDF export process.
- Adjusted Next.js configuration for API routing to ensure proper asset serving in Docker environments.
2026-04-18 20:56:37 +05:45
sudipnext
da84c79cb0 refactor: Update Dockerfile and improve custom template handling 2026-04-18 17:58:11 +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
shiva raj badu
8c5fd218d1
refactor: Update Onboarding screen 2026-04-16 22:26:56 +05:45
shiva raj badu
bd455a0819
merged 2026-04-16 19:04:16 +05:45
shiva raj badu
41f9eae61d
refactor: Update Onboarding UI 2026-04-16 19:00:24 +05:45
sudipnext
a3a6a1acd2 Refactor code structure and remove redundant changes in multiple sections 2026-04-16 13:33:21 +05:45
shiva raj badu
cfc7233447
refactor: Improve Mix panel events 2026-04-16 12:59:14 +05:45
shiva raj badu
5018c9b9f1
refactor: Improve Presentation page, Present Mode & theme 2026-04-15 23:30:18 +05:45
shiva raj badu
af5ce9e33b
refactor: improve file upload section layout and enhance API error handling 2026-04-15 22:38:01 +05:45
shiva raj badu
e12c6dcdab
style: enhance upload page background gradient 2026-04-15 22:23:12 +05:45
shiva raj badu
13527f244b
fix: adjust layout and font settings in presentation and upload components 2026-04-15 22:09:39 +05:45
shiva raj badu
4af3534c6d
feat: new templates & update template preview, template selection, custom template 2026-04-15 21:52:55 +05:45
Saurav Niraula
8b63e407e1
Merge pull request #497 from hilotechinc/main
feat: add Open WebUI as image generation provider
2026-04-15 18:34:09 +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
cab99c6bd2 feat: Implement stock image search functionality with Pexels and Pixabay integration 2026-04-07 18:00:16 +05:45
shiva raj badu
bda9d2b99e
refactor: Update content & fix some issues 2026-04-07 11:37:21 +05:45
Christopher Quenneville
f2703ec003 feat: add Open WebUI as image generation provider
Add native support for Open WebUI's image generation API as a new
image provider option. Open WebUI exposes an OpenAI-like
/v1/images/generations endpoint but with key differences that
require special handling:

- Response is a bare JSON array instead of {"data": [...]}
- Image URLs are relative paths (e.g. /api/v1/files/.../content)
- File downloads require the same Bearer auth token

The implementation uses raw HTTP calls via aiohttp rather than the
OpenAI SDK to handle these differences. No model parameter is sent
since Open WebUI manages the image model in its own admin settings.

Backend changes:
- New OPEN_WEBUI enum value in ImageProvider
- generate_image_open_webui() method in ImageGenerationService
- Environment getters/setters for OPEN_WEBUI_IMAGE_URL and
  OPEN_WEBUI_IMAGE_API_KEY
- UserConfig model and config loading/saving pipeline updated

Frontend changes:
- New "Open WebUI" option in image provider dropdown
- Settings UI with URL and optional API key fields
- Validation, field mappings, and config persistence

Docker:
- OPEN_WEBUI_IMAGE_URL and OPEN_WEBUI_IMAGE_API_KEY added to all
  docker-compose service definitions

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 12:27:45 -05:00
shiva raj badu
68c0a3df9b
feat: Providers logs and UI display 2026-04-02 12:51:36 +05:45
shiva raj badu
5f191ebf11
feat: add telemetry in electron app & UI improvements 2026-04-02 01:10:53 +05:45
shiva raj badu
e79ad34ff7
feat: revamp document preview page 2026-03-29 20:47:03 +05:45
shiva raj badu
0c772a28e4
fix: present mode theme issue 2026-03-29 17:27:31 +05:45
shiva raj badu
76841ae4ce
fix: Presentation page responsive issue 2026-03-27 14:26:32 +05:45
shiva raj badu
f112934662
fix: scrollbar & theme in sidebar 2026-03-27 00:14:28 +05:45