Commit graph

72 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
8c3bc13542 Merge branch 'main' into refactor/presenton-chat-stream 2026-04-27 19:54:01 +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
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
sauravniraula
f76d17314a
feat: integrates llmai instead of using old llm client and tool call handlers 2026-04-23 11:42:15 +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
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
shiva raj badu
8c5fd218d1
refactor: Update Onboarding screen 2026-04-16 22:26:56 +05:45
shiva raj badu
41f9eae61d
refactor: Update Onboarding UI 2026-04-16 19:00:24 +05:45
shiva raj badu
cfc7233447
refactor: Improve Mix panel events 2026-04-16 12:59:14 +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
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
0c772a28e4
fix: present mode theme issue 2026-03-29 17:27:31 +05:45
shiva raj badu
22ee90664c
feat: enhance Ollama URL handling in TextProvider and PresentonMode components, adding custom URL options and improving user experience 2026-03-04 12:34:46 +05:45
Sudip Parajuli
00ae125e83
Merge branch 'main' into feat/revamp_design 2026-03-02 19:37:50 +05:45
shiva raj badu
3cdbf246ab
feat: Update Text/Image provider & Pages Designs. 2026-03-02 00:02:19 +05:45
shiva raj badu
ebccd4976b
feat: Integrate TextProvider and ImageProvider components in settings page for enhanced LLM configuration options 2026-02-28 23:58:14 +05:45
sudipnext
d2e85a8ffa feat: implement Codex OAuth flow and integrate into application
- Added Codex authentication endpoints and logic for OAuth flow.
- Updated Docker configuration to expose port 1455 for Codex callback.
- Enhanced user configuration model to include Codex-related fields.
- Integrated Codex selection into the LLM provider UI.
- Implemented token management and refresh logic for Codex.
- Added utility functions for handling Codex OAuth tokens and state management.
2026-02-24 18:51:35 +05:45
sauravniraula
908bea18b5
feat: adds gpt image 1.5 2025-12-21 01:14:31 +05:45
shiva raj badu
f421260bfc
feat: nano banana image generation model integration 2025-12-19 00:41:55 +05:45
shiva raj badu
ea8db1bfdd
feat: replace local image provider with ComfyUI configuration in environment variables and user settings 2025-12-18 22:42:53 +05:45
shiva raj badu
e72cea3655
feat: integrate ComfyUI workflow for local image generation 2025-12-17 21:04:32 +05:45
shiva raj badu
c34fb75302
feat: local image provider 2025-12-15 19:12:34 +05:45
sauravniraula
bcf8dabbed
feat: adds option to disable image generation for slides 2025-11-28 00:27:54 +05:45
shiva raj badu
9765749a83
feat: add undo/redo buttons & re-generate in presentation page 2025-08-30 16:31:11 +05:45
sauravniraula
667415997e
chore: uses proper naming for vars and functions 2025-08-13 13:59:09 +05:45
sauravniraula
5f79275985
chore: adds ppt prepare and stream api call events 2025-08-13 13:31:33 +05:45
sauravniraula
88bbff4998
fix(nextjs): changes some event names and removes search query from button click event 2025-08-13 13:21:43 +05:45
sauravniraula
4b2a84b320
feat(nextjs): adds basic anonymous tracking that tracks navigation, api calls (Just name of endpoint is tracked) and button clicks 2025-08-12 20:15:17 +05:45
sauravniraula
5278146126
feat(nextjs): adds speaker note attribute in HtmlElement and extracts it on export 2025-08-12 16:57:57 +05:45
sauravniraula
56cd69a8b6
fix: division by zero, no paragraphs in text box model and elements with 0 width or height issue solved 2025-08-10 17:52:52 +05:45
sauravniraula
52215bb7e7
style: remove ollama icons 2025-08-09 03:47:52 +05:45
sauravniraula
3f523f1491
refactor: removes redis service and env variables, fix(fastapi): user config bool env variables issues, parse tool fix for custom llm on tool call structured output 2025-08-09 03:03:13 +05:45
sauravniraula
c599aa15e4
feat: adds options to select between tool calls/json schema and enable disable thinking for custom models 2025-08-04 14:50:55 +05:45
sauravniraula
686f60676e
chore(fastapi), feat(nextjs): adds tool calls selector 2025-08-04 13:46:07 +05:45
sauravniraula
6b9635d165
feat(nextjs): adds model selection options for openai and google, refactor 2025-08-01 00:15:56 +05:45
sauravniraula
ac5d278a9b
feat(nextjs): adds claude support in home and settings page 2025-07-30 23:30:39 +05:45
sauravniraula
b1192e8471
fix(nextjs+fastapi): adds invert in pptx picture box model, which when set inverts the image during export 2025-07-26 20:25:29 +05:45
sauravniraula
96f12e6c82
fix(nextjs): if element is svg convert it directly to png and pass opacity values in pptx picture model 2025-07-26 01:28:00 +05:45
sauravniraula
7122325401
feat(nextjs): elements with background image style will be extractly correctly on export 2025-07-26 00:52:18 +05:45
sauravniraula
cd8361ed2d
fix(nextjs): adds overlay to change icon color based on brightness and invert filters 2025-07-26 00:06:04 +05:45
sauravniraula
23d0c7fb17
feat(nextjs+fastapi): fixes presentation export 2025-07-24 01:45:50 +05:45
sauravniraula
521c85f726
fix(nextjs): parses border radius to int 2025-07-24 00:26:49 +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