Commit Graph

42 Commits

Author SHA1 Message Date
alorig
2074191eee phase 8 2025-11-18 07:13:34 +05:00
alorig
a6a80ad005 phase 6 ,7,9 2025-11-18 05:52:10 +05:00
IGNY8 VPS (Salman)
51cd021f85 fixed all phase 0 issues Enhance error handling for ModuleEnableSettings retrieval
- Added a check for the existence of the ModuleEnableSettings table before attempting to retrieve or fixed all phase 0 create settings for an account.
- Implemented logging and a user-friendly error response if the table does not exist, prompting the user to run the necessary migration.
- Updated migration to create the ModuleEnableSettings table using raw SQL to avoid model resolution issues.
2025-11-16 21:16:35 +00: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
Desktop
ab292de06c Revert "branch 1st"
This reverts commit 8a9dd44c50.
2025-11-17 01:35:13 +05:00
IGNY8 VPS (Salman)
8a9dd44c50 branch 1st 2025-11-16 20:08:58 +00:00
IGNY8 VPS (Salman)
9ec8908091 Phase 0: Fix ModuleEnableSettings list() - use get() instead of get_or_create
- Changed to use get() with DoesNotExist exception handling
- Creates settings only if they don't exist
- Better error handling with traceback
- Fixes 404 'Setting not found' errors
2025-11-16 19:26:18 +00:00
IGNY8 VPS (Salman)
0d468ef15a Phase 0: Improve ModuleEnableSettings get_queryset to filter by account
- Updated get_queryset to properly filter by account
- Ensures queryset is account-scoped before list() is called
- Prevents potential conflicts with base class behavior
2025-11-16 19:25:36 +00:00
IGNY8 VPS (Salman)
8fc483251e Phase 0: Fix ModuleEnableSettings 404 error - improve error handling
- Added proper exception handling in list() and retrieve() methods
- Use objects.get_or_create() directly instead of class method
- Added *args, **kwargs to method signatures for DRF compatibility
- Better error messages for debugging
- Fixes 404 'Setting not found' errors
2025-11-16 19:25:05 +00:00
IGNY8 VPS (Salman)
4de9128430 Phase 0: Fix ModuleEnableSettings permissions - allow read access to all authenticated users
- Changed permission_classes to get_permissions() method
- Read operations (list, retrieve) now accessible to all authenticated users
- Write operations (update, partial_update) still restricted to admins/owners
- Fixes 403 Forbidden errors when loading module settings in sidebar
2025-11-16 19:14:53 +00:00
IGNY8 VPS (Salman)
13bd7fa134 Phase 0: Add ModuleEnableSettings serializer, ViewSet, and URL routing
- Created ModuleEnableSettingsSerializer
- Created ModuleEnableSettingsViewSet with get_or_create logic
- Added URL routing for module enable settings
- One record per account, auto-created on first access
2025-11-16 18:40:10 +00:00
IGNY8 VPS (Salman)
a73b2ae22b Phase 0: Add ModuleEnableSettings model and migration
- Created ModuleEnableSettings model with enabled flags for all modules
- Added migration for ModuleEnableSettings
- Updated imports across system module files
2025-11-16 18:39:16 +00:00
IGNY8 VPS (Salman)
65c7fb87fa Refactor integration settings handling and error response mapping
- Simplify request data handling in the 'IntegrationSettingsViewSet' by removing unnecessary try-except blocks and improving clarity.
- Enhance API key retrieval logic with better fallback mechanisms for account settings.
- Implement detailed error mapping for OpenAI API responses, ensuring appropriate HTTP status codes are returned based on the response received.
- Update logging for improved visibility during account and settings lookups.
2025-11-16 09:55:12 +00:00
IGNY8 VPS (Salman)
d3ec7cf2e3 Refactor authentication and integration handling
- Exclude the 'MeView' endpoint from public API documentation, marking it as an internal authenticated endpoint.
- Enhance error handling in the 'IntegrationSettingsViewSet' to gracefully manage empty request data and improve logging for account and settings lookups.
- Update API key retrieval logic to ensure fallback mechanisms are more robust and informative.
- Refactor user data fetching in the auth store to utilize a unified API system, improving error handling and data consistency.
2025-11-16 09:49:24 +00:00
IGNY8 VPS (Salman)
7cd0e1a807 Add health check endpoint and refactor integration response handling
- Introduced a new public health check endpoint at `api/ping/` to verify API responsiveness.
- Refactored integration response handling to utilize a unified success and error response format across various methods in `IntegrationSettingsViewSet`, improving consistency and clarity in API responses.
- Updated URL patterns to include the new ping endpoint and adjusted imports accordingly.
2025-11-16 07:01:19 +00:00
Desktop
64b8280bce Implement security enhancements and unified response formats across API endpoints. Update permission classes for various ViewSets to ensure proper tenant isolation and compliance with API standards. Refactor authentication endpoints to utilize success and error response helpers, improving error tracking and response consistency. Complete documentation updates reflecting these changes and achieving full compliance with API Standard v1.0. 2025-11-16 11:35:47 +05:00
IGNY8 VPS (Salman)
3694e40c04 Enhance API documentation and schema management by implementing explicit tag configurations for Swagger and ReDoc. Introduce postprocessing hooks to filter auto-generated tags, ensuring only defined tags are used. Update viewsets across various modules to utilize the new tagging system, improving clarity and organization in API documentation. 2025-11-16 04:48:14 +00:00
IGNY8 VPS (Salman)
452d065c22 Implement unified API standard v1.0 across backend and frontend, enhancing error handling, response formatting, and monitoring capabilities. Refactor viewsets for consistent CRUD operations and introduce API Monitor for endpoint health checks. Update migrations to ensure database integrity and remove obsolete constraints and fields. Comprehensive test suite created to validate new standards and functionality. 2025-11-16 01:56:16 +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)
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)
7144281acc removal of ignored folders 2025-11-13 17:26:00 +00:00
Desktop
c508c888aa Enhance image size configuration and integration settings. Default image sizes are now set based on provider and model, with options for featured, desktop, and mobile images. Updated frontend to allow selectable image sizes in settings. 2025-11-12 18:43:32 +05:00
Desktop
bcc52c4891 Update Runware pricing across the application to reflect new cost of $0.009 per image in backend and frontend components. 2025-11-12 14:41:20 +05:00
IGNY8 VPS (Salman)
9f704313fb Enhance image processing and progress tracking in ImageQueueModal; update docker-compose for read-write access 2025-11-12 08:39:03 +00:00
Desktop
e3392d6642 sd 2025-11-12 05:18:35 +05:00
Desktop
4373657147 asd 2025-11-12 04:54:12 +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)
ce9663438b Enhance image generation functionality: Add console tracking to monitor progress and errors during image processing, and include image queue in response metadata for better integration. 2025-11-11 22:19:13 +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
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
bee6a68718 logging 2025-11-09 23:50:19 +05:00
Gitea Deploy
38efe4f3ee Add webhook endpoint with automatic container restart on push 2025-11-09 11:47:50 +00:00
igny8
d880314def Add Gitea webhook endpoint for push events 2025-11-09 10:55:08 +00:00
igny8
60b8188111 Initial commit: igny8 project 2025-11-09 10:27:02 +00:00