Commit Graph

304 Commits

Author SHA1 Message Date
IGNY8 VPS (Salman)
a1b21f39f6 Updated iamge prompt flow adn frotnend backend 2025-11-11 18:10:18 +00:00
IGNY8 VPS (Salman)
fa696064e2 Add Generate Image Prompts Functionality: Implement new AI function for generating image prompts, update API endpoints, and integrate with frontend actions for content management. 2025-11-11 17:40:08 +00:00
IGNY8 VPS (Salman)
618ed0543d Enhance Content Management: Add sector name to ContentSerializer, improve Content view with pagination and search filters, and refactor Content page for better data handling and display. 2025-11-11 15:55:32 +00:00
IGNY8 VPS (Salman)
0924a8436c Remove outdated migration for status choices and implement normalization for task and content statuses in new migration. 2025-11-11 14:43:02 +00:00
Desktop
a7880c3818 Refactor content status terminology and enhance cluster serializers with idea and content counts 2025-11-11 18:51:32 +05:00
Desktop
b321c99089 Cleanup 2025-11-11 18:35:40 +05:00
Desktop
100d481b40 Bulk Delete 2025-11-11 00:32:00 +05:00
Desktop
60ec02595b ProgressModalUpdates 2025-11-11 00:27:37 +05:00
Desktop
14beeed75c Stage 3 & stage 4 2025-11-10 23:51:59 +05:00
Desktop
1bd9ebc974 Enhance AIEngine and ProgressModal for improved user feedback
- Added user-friendly messages for input description, preparation, AI call, parsing, and saving phases in AIEngine.
- Updated ProgressModal to display success messages and checklist-style progress steps based on function type.
- Improved handling of step logs and current phase determination for better user experience during asynchronous tasks.
2025-11-10 23:47:36 +05:00
Desktop
6c9da30b68 Revert "prep"
This reverts commit 46f5bb4d62.
2025-11-10 22:43:12 +05:00
Desktop
f8bbf99df8 Revert "Implement V2 AI functions and enhance progress handling"
This reverts commit e2f2d79d4c.
2025-11-10 22:42:08 +05:00
Desktop
e2f2d79d4c Implement V2 AI functions and enhance progress handling
- Added support for new V2 functions: `auto_cluster_v2` and `generate_ideas_v2`, including backend logic and API endpoints.
- Updated model configuration to ensure V2 functions validate the presence of models before execution.
- Enhanced progress modal to provide better feedback during asynchronous tasks, including task IDs for debugging.
- Updated frontend components to integrate new V2 functionalities and improve user experience with clustering and idea generation.
2025-11-10 22:16:02 +05:00
Desktop
46f5bb4d62 prep 2025-11-10 22:05:35 +05:00
Desktop
c21ce01cd2 Update engine.py 2025-11-10 20:44:15 +05:00
Desktop
b3b5166faa Update generate_ideas.py 2025-11-10 20:38:37 +05:00
Desktop
316b320c30 1 2025-11-10 20:24:51 +05:00
Desktop
4277c93e44 Enhance AICore model validation and logging
- Improved model configuration handling in AICore to ensure only supported models are set as default.
- Added error logging for invalid model configurations and warnings for missing models.
- Implemented validation checks for the active model to provide clear error messages when no valid model is configured.
- Enhanced user feedback during AI model selection to improve debugging and configuration clarity.
2025-11-10 20:18:19 +05:00
Desktop
d17d87a375 12 2025-11-10 20:05:05 +05:00
Desktop
c49223f097 1 2025-11-10 19:46:59 +05:00
Desktop
1d51c667b1 Refactor AIEngine and registry to improve function ID generation and support legacy names
- Updated AIEngine to normalize function names by replacing underscores with hyphens in generated function IDs for better consistency with frontend tracking.
- Enhanced registry to resolve function name aliases, allowing for backward compatibility with legacy function names when retrieving function instances.
2025-11-10 19:41:58 +05:00
IGNY8 VPS (Salman)
5d9db50c64 Enforce content status to 'draft' for newly generated content in GenerateContentFunction
- Updated GenerateContentFunction to ensure that the content status is always set to 'draft' upon creation.
- Clarified that the status can only be changed manually to 'review' or 'published', reinforcing the status management logic.
2025-11-10 14:38:01 +00:00
IGNY8 VPS (Salman)
bbf0aedfdc Update Content model to enforce status choices and add migration for status field changes
- Introduced STATUS_CHOICES in the Content model to restrict the status field to 'draft', 'review', and 'published'.
- Created a new migration to reflect the updated status choices without altering existing data.
- Removed 'completed' status from the frontend status color mapping for consistency.
2025-11-10 14:28:13 +00:00
IGNY8 VPS (Salman)
e067dc759c Enhance content parsing and metadata extraction in HTMLContentRenderer and ToggleTableRow
- Improved HTMLContentRenderer to better handle JSON content and extract HTML safely.
- Updated ToggleTableRow to robustly extract meta descriptions, including parsing potential JSON strings.
- Refactored Content page to conditionally display meta descriptions based on JSON parsing results, enhancing user experience.
2025-11-10 14:27:56 +00:00
IGNY8 VPS (Salman)
8b6e18649c Refactor content handling in GenerateContentFunction and update related models and serializers
- Enhanced GenerateContentFunction to save content in a dedicated Content model, separating it from the Tasks model.
- Updated Tasks model to remove SEO-related fields, now managed in the Content model.
- Modified TasksSerializer to include new content fields and adjusted the API to reflect these changes.
- Improved the auto_generate_content_task method to utilize the new save_output method for better content management.
- Updated frontend components to display new content structure and metadata effectively.
2025-11-10 14:06:15 +00:00
IGNY8 VPS (Salman)
8bb4c5d016 Add new fields to TasksSerializer and enhance auto_generate_content_task with detailed step tracking
- Updated TasksSerializer to include 'primary_keyword', 'secondary_keywords', 'tags', and 'categories'.
- Enhanced auto_generate_content_task to track progress with detailed steps, including initialization, preparation, AI call, parsing, and saving.
- Updated progress modal to reflect new phases and improved animation for smoother user experience.
- Adjusted routing and configuration for content and drafts pages in the frontend.
2025-11-10 13:17:48 +00:00
IGNY8 VPS (Salman)
b1d86cd4b8 Refactor generate_ideas function integration and add auto_generate_ideas action for cluster idea generation 2025-11-10 12:29:15 +00:00
IGNY8 VPS (Salman)
aa0e6b2c96 Fix webhook git pull with safe directory 2025-11-10 12:10:42 +00:00
IGNY8 VPS (Salman)
869b41b84d Simplify webhook to use direct git pull 2025-11-10 12:10:24 +00:00
IGNY8 VPS (Salman)
ec1d64b710 Fix webhook to run git pull directly in mounted repo 2025-11-10 12:08:22 +00:00
IGNY8 VPS (Salman)
26d3d0daec Refactor error handling in AIPromptViewSet to use http_status for consistency 2025-11-10 12:04:40 +00:00
IGNY8 VPS (Salman)
389ac24230 Fix webhook to properly sync git repo on push 2025-11-10 12:02:02 +00:00
IGNY8 VPS (Salman)
83694d3897 git-conf 2025-11-10 11:35:30 +00:00
Gitea Deploy
c1a2b6c3ed Force push overwrite from VPS 2025-11-10 06:41:37 +00:00
Gitea Deploy
38324aedcd Add function_id tracking and enable JSON mode for all AI functions 2025-11-10 06:31:22 +00:00
Gitea Deploy
c4c953fae2 Merge remote changes and add SEO fields to Tasks model, improve content generation response handling, and enhance progress bar animation 2025-11-09 21:25:11 +00:00
Gitea Deploy
961362e088 Add SEO fields to Tasks model, improve content generation response handling, and enhance progress bar animation
- Added primary_keyword, secondary_keywords, tags, and categories fields to Tasks model
- Updated generate_content function to handle full JSON response with all SEO fields
- Improved progress bar animation: smooth 1% increments every 300ms
- Enhanced step detection for content generation vs clustering vs ideas
- Fixed progress modal to show correct messages for each function type
- Added comprehensive logging to Keywords and Tasks pages for AI functions
- Fixed error handling to show meaningful error messages instead of generic failures
2025-11-09 21:22:34 +00:00
alorig
3633ccb7ca sd 2025-11-10 00:22:46 +05:00
alorig
71487575bd removeed ifeadea generaetion fucntion 2025-11-10 00:18:50 +05:00
alorig
9fe6153c22 fg 2025-11-10 00:13:11 +05:00
alorig
46920aa313 Update tasks.py 2025-11-09 23:58:05 +05:00
alorig
bee6a68718 logging 2025-11-09 23:50:19 +05:00
alorig
98e900da73 fg 2025-11-09 23:44:39 +05:00
alorig
913cd92e23 6 2025-11-09 23:33:33 +05:00
alorig
69d58d8bef 4 2025-11-09 23:10:10 +05:00
alorig
73e10ecb99 ai updaet 2025-11-09 22:55:37 +05:00
alorig
21f1b4d498 fixes 2025-11-09 19:55:23 +05:00
alorig
b7d9fd43c7 Stage 4 2025-11-09 19:34:54 +05:00
alorig
c04c688aa0 Stage 3 - AI refactor 2025-11-09 19:30:22 +05:00
alorig
375473308d Stage 1 & 2 refactor of AI engine 2025-11-09 19:22:15 +05:00