Commit graph

28 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
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
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
d07f8f05f6 fix: update placeholder image paths to use a consistent placeholder.jpg across image generation service and tests 2026-04-22 12:50:21 +05:45
sudipnext
e0a66c8963 Refactor code structure for improved readability and maintainability 2026-04-20 19:47:59 +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
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
c5e36ab565 fix: rename 'prompt' to 'content' in presentation generation API and update tests accordingly 2026-01-04 17:33:05 +05:45
shiva raj badu
d9cbf3ea5a
Merged with main 2025-08-05 22:37:25 +05:45
sudipnext
808f28a3b6 feat: add demo GIF for MCP architecture overview and remove obsolete regenerate_outline tests 2025-08-05 20:19:21 +05:45
sudipnext
bc3fe9c215 feat(tests): Add comprehensive tests for presentation tools and workflow 2025-08-03 20:41:20 +05:45
Suraj Jha
182c3d4c78 feat: endpoints to convert slide to html and html to react component 2025-07-30 03:02:08 +05:45
sudipnext
3fe860d431 feat(api): implement presentation generation endpoint with layout and export options 2025-07-25 13:00:33 +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
sudipnext
2171dba4e5 feat: replace 'imagen' with 'gemini_flash' across image provider configurations and related services 2025-07-19 11:22:20 +05:45
sudipnext
21dca979ce feat: add image provider configuration and validation
- Updated LLMConfig interface to include IMAGE_PROVIDER and PIXABAY_API_KEY.
- Enhanced handleSaveLLMConfig to log the saving process and validate IMAGE_PROVIDER.
- Implemented image provider validation logic in hasValidLLMConfig to check for required API keys based on the selected provider.
- Modified start.js to read IMAGE_PROVIDER and PIXABAY_API_KEY from environment variables and include them in the user configuration setup.
2025-07-18 17:52:23 +05:45
sauravniraula
03b2b06ff0
feat(fastapi): adds slide assets generation, adds dict and schema processors, fix(nextjs): changes image and icon schema fields to __xxxxx__ 2025-07-17 06:38:02 +05:45
sauravniraula
135a8a442d
feat(fastapi): adds get presentation from id endpoint 2025-07-17 00:27:49 +05:45
sauravniraula
788c8c4042
refactor(fastapi): progress 2025-07-14 18:49:48 +05:45
sauravniraula
31073b6016
refactor!: use presenton docker codebase 2025-06-23 15:13:04 +05:45
sauravniraula
2d84c27f17
Changes: solves llm provider not changing issue, dalle 3 as openai image generator 2025-05-12 23:54:03 +05:45
sauravniraula
8d8416211c
Merge branch 'main' of github.com:presenton/presenton 2025-05-10 23:46:34 +05:45
Suraj Jha
d058463307 deleted test icon 2025-05-10 21:48:13 +05:45
Suraj Jha
8e695ad51a add few initial tests 2025-05-10 21:27:30 +05:45
sauravniraula
2a4d4ce28a
Removes: other icons type (thin, light, etc) from icons_vectorstore 2025-05-10 20:34:39 +05:45
sauravniraula
78e1006f2e
Initial: presenton 2025-05-10 19:57:24 +05:45