Commit Graph

84 Commits

Author SHA1 Message Date
IGNY8 VPS (Salman)
746a51715f Implement Stage 3: Enhance content generation and metadata features
- Updated AI prompts to include metadata context, cluster roles, and product attributes for improved content generation.
- Enhanced GenerateContentFunction to incorporate taxonomy and keyword objects for richer context.
- Introduced new metadata fields in frontend components for better content organization and filtering.
- Added cluster match, taxonomy match, and relevance score to LinkResults for improved link management.
- Implemented metadata completeness scoring and recommended actions in AnalysisPreview for better content optimization.
- Updated API services to support new metadata structures and site progress tracking.
2025-11-19 20:07:05 +00:00
IGNY8 VPS (Salman)
bae9ea47d8 Implement Stage 3: Enhance content metadata and validation features
- Added entity metadata fields to the Tasks model, including entity_type, taxonomy, and cluster_role.
- Updated CandidateEngine to prioritize content relevance based on cluster mappings.
- Introduced metadata completeness scoring in ContentAnalyzer.
- Enhanced validation services to check for entity type and mapping completeness.
- Updated frontend components to display and validate new metadata fields.
- Implemented API endpoints for content validation and metadata persistence.
- Migrated existing data to populate new metadata fields for Tasks and Content.
2025-11-19 19:21:30 +00:00
alorig
38f6026e73 stage2-2 2025-11-19 21:56:03 +05:00
alorig
52c9c9f3d5 stage2-2 and docs 2025-11-19 21:19:53 +05:00
IGNY8 VPS (Salman)
fc6dd5623a Add refresh token functionality and improve login response handling
- Introduced RefreshTokenView to allow users to refresh their access tokens using a valid refresh token.
- Enhanced LoginView to ensure correct user/account loading and improved error handling during user serialization.
- Updated API response structure to include access and refresh token expiration times.
- Adjusted frontend API handling to support both new and legacy token response formats.
2025-11-16 21:06:22 +00:00
IGNY8 VPS (Salman)
1d39f3f00a Phase 0: Fix token race condition causing logout after login
- Updated getAuthToken/getRefreshToken to read from Zustand store first (faster, no parsing delay)
- Added token existence check before making API calls in AppLayout
- Added retry mechanism with 100ms delay to wait for Zustand persist to write token
- Made 403 error handler smarter - only logout if token actually exists (prevents false logouts)
- Fixes issue where user gets logged out immediately after successful login
2025-11-16 19:22:45 +00:00
IGNY8 VPS (Salman)
8102aa74eb Phase 0: Add frontend module config and update settings store
- Created modules.config.ts with module definitions
- Added ModuleEnableSettings API functions
- Updated settingsStore with module enable settings support
- Added isModuleEnabled helper method
2025-11-16 18:43:24 +00:00
IGNY8 VPS (Salman)
7665b8c6e7 Refactor API response handling across multiple components to ensure consistency with the unified format. Update error handling and response validation in ValidationCard, usePersistentToggle, Status, Prompts, and api.ts to improve user feedback and maintain compatibility with the new API standards. 2025-11-16 00:19:01 +00:00
Desktop
5908115686 fixes of broken fucntions 2025-11-16 04:56:48 +05:00
IGNY8 VPS (Salman)
0ec594363c Implement unified API standard across backend viewsets and serializers, enhancing error handling and response formatting. Update AccountModelViewSet to standardize CRUD operations with success and error responses. Refactor various viewsets to inherit from AccountModelViewSet, ensuring compliance with the new standard. Improve frontend components to handle API responses consistently and update configuration for better user experience. 2025-11-15 23:04:31 +00:00
IGNY8 VPS (Salman)
5a3706d997 Enhance ApiStatusIndicator to conditionally render for aws-admin accounts only. Improve error handling in API response management across various components, ensuring expected 400 responses are logged appropriately. Update Credits and ApiMonitor components to handle null values gracefully and implement CRUD operations for planner and writer endpoints. 2025-11-15 21:44:10 +00:00
IGNY8 VPS (Salman)
a75ebf2584 Enhance API response handling and implement unified API standard across multiple modules. Added feature flags for unified exception handling and debug throttling in settings. Updated pagination and response formats in various viewsets to align with the new standard. Improved error handling and response validation in frontend components for better user feedback. 2025-11-15 20:18:42 +00:00
IGNY8 VPS (Salman)
8d7210c8a6 Update Docker Compose and backend settings; enhance Vite configuration for reverse proxy and improve API error handling. Removed VITE_ALLOWED_HOSTS from Docker Compose, clarified allowed hosts in settings.py, and added handling for 403 Forbidden responses in api.ts to clear invalid tokens. 2025-11-15 13:12:01 +00:00
Desktop
31bfadf38a ind page 2025-11-13 00:59:55 +05:00
Desktop
3fca67858e stadardize site slector sector selctor 2025-11-12 22:55:51 +05:00
IGNY8 VPS (Salman)
9a22fcf0f4 Add image fetching functionality and enhance ContentViewTemplate 2025-11-12 10:38:14 +00:00
IGNY8 VPS (Salman)
9f20b8e065 Add bulk update functionality for image status
- Introduced a new endpoint in the backend to handle bulk updates of image statuses by content ID or image IDs.
- Updated the frontend to include a new row action for updating image status and integrated a modal for status confirmation.
- Enhanced the API service to support bulk status updates and updated the images page to manage status updates effectively.
2025-11-12 01:37:41 +00:00
IGNY8 VPS (Salman)
645c6f3f9e Refactor image processing and add image file serving functionality
- Updated image directory handling to prioritize mounted volume for persistence.
- Enhanced logging for directory write tests and fallback mechanisms.
- Introduced a new endpoint to serve image files directly from local paths.
- Added error handling for file serving, including checks for file existence and readability.
- Updated the frontend to include a new ContentView component and corresponding route.
2025-11-12 01:24:44 +00:00
Desktop
19b4c9faa3 image generation function implementation 2025-11-12 04:32:42 +05:00
Desktop
27ec18727c Add Image Generation Settings Endpoint and Update Frontend Modal: Implement a new API endpoint to fetch image generation settings, enhance the ImageQueueModal to display progress and status, and integrate the settings into the image generation workflow. 2025-11-12 03:50:34 +05:00
IGNY8 VPS (Salman)
5638ea78df Add Image Generation from Prompts: Implement new functionality to generate images from prompts, including backend processing, API integration, and frontend handling with progress modal. Update settings and registry for new AI function. 2025-11-11 20:49:11 +00:00
IGNY8 VPS (Salman)
ecc275cc61 added imae adn prompt icons on contetn page 2025-11-11 18:34:58 +00:00
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)
fedf415646 dd move 2025-11-11 16:03:58 +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
Desktop
a7880c3818 Refactor content status terminology and enhance cluster serializers with idea and content counts 2025-11-11 18:51:32 +05:00
Desktop
727c999413 Refactor ProgressModal and API logging
- Removed AI request logging from `autoGenerateIdeas`, `generateSingleIdea`, `autoGenerateContent`, and `autoGenerateImages` functions to streamline API calls.
- Updated `useProgressModal` to enhance step logging by directly processing request and response steps, improving clarity and performance.
- Cleaned up deprecated logging imports in `TablePageTemplate` to reflect the removal of frontend debug logging.
2025-11-10 23:55:12 +05:00
Desktop
14beeed75c Stage 3 & stage 4 2025-11-10 23:51:59 +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
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
60b8188111 Initial commit: igny8 project 2025-11-09 10:27:02 +00:00