Commit Graph

240 Commits

Author SHA1 Message Date
alorig
6e25c5e307 345 2025-11-22 20:20:32 +05:00
alorig
cbb6198214 Update integration_service.py 2025-11-22 17:56:27 +05:00
alorig
c54ecd47fe 2 2025-11-22 17:52:05 +05:00
IGNY8 VPS (Salman)
a0d9bccb05 Refactor IGNY8 Bridge to use API key authentication exclusively
- Removed email/password authentication and related settings from the plugin.
- Updated API connection logic to utilize only the API key for authentication.
- Simplified the admin interface by removing webhook-related settings and messages.
- Enhanced the settings page with improved UI and status indicators for API connection.
- Added a new REST API endpoint to check plugin status and connection health.
- Updated styles for a modernized look and feel across the admin interface.
2025-11-22 10:31:07 +00:00
IGNY8 VPS (Salman)
029c66a0f1 Refactor WordPress integration service to use API key for connection testing
- Updated the `IntegrationService` to perform connection tests using only the API key, removing reliance on username and app password.
- Simplified health check logic and improved error messaging for better clarity.
- Added functionality to revoke API keys in the `WordPressIntegrationForm` component.
- Enhanced site settings page with a site selector and improved integration status display.
- Cleaned up unused code and improved overall structure for better maintainability.
2025-11-22 09:31:07 +00:00
alorig
1a1214d93f 123 2025-11-22 13:07:18 +05:00
alorig
e99bec5067 fix 2025-11-22 12:50:59 +05:00
alorig
3d3ac0647e 1 2025-11-22 12:29:01 +05:00
IGNY8 VPS (Salman)
dfeceb392d Update binary celerybeat-schedule file to reflect recent changes 2025-11-22 07:04:51 +00:00
alorig
ab15546979 1 2025-11-22 09:23:22 +05:00
alorig
5971750295 Fix: Integration content types last_structure_fetch path + add test script for manual structure push 2025-11-22 09:19:44 +05:00
IGNY8 VPS (Salman)
bcee76fab7 Implement site structure synchronization between WordPress and IGNY8 backend
- Added a new API endpoint in the `IntegrationViewSet` to update the WordPress site structure, including post types and taxonomies.
- Implemented a function to retrieve the site structure and sync it to the IGNY8 backend after establishing a connection.
- Scheduled a daily cron job to keep the site structure updated.
- Enhanced the WordPress plugin to trigger synchronization upon successful API connection.
- Updated relevant files to support the new synchronization feature, improving integration capabilities.
2025-11-22 03:36:35 +00:00
IGNY8 VPS (Salman)
84c18848b0 Refactor error_response function for improved argument handling
- Enhanced the `error_response` function to support backward compatibility by normalizing arguments when positional arguments are misused.
- Updated various views to pass `None` for the `errors` parameter in `error_response` calls, ensuring consistent response formatting.
- Adjusted logging in `ContentSyncService` and `WordPressClient` to use debug level for expected 401 errors, improving log clarity.
- Removed deprecated fields from serializers and views, streamlining content management processes.
2025-11-22 03:04:35 +00:00
IGNY8 VPS (Salman)
c84bb9bc14 backedn 2025-11-22 01:13:25 +00:00
IGNY8 VPS (Salman)
3735f99207 doc update 2025-11-22 00:59:52 +00:00
alorig
554c1667b3 vscode 1 2025-11-22 05:50:07 +05:00
IGNY8 VPS (Salman)
55dfd5ad19 Enhance Content Management with New Taxonomy and Attribute Models
- Introduced `ContentTaxonomy` and `ContentAttribute` models for improved content categorization and attribute management.
- Updated `Content` model to support new fields for content format, cluster role, and external type.
- Refactored serializers and views to accommodate new models, including `ContentTaxonomySerializer` and `ContentAttributeSerializer`.
- Added new API endpoints for managing taxonomies and attributes, enhancing the content management capabilities.
- Updated admin interfaces for `Content`, `ContentTaxonomy`, and `ContentAttribute` to reflect new structures and improve usability.
- Implemented backward compatibility for existing attribute mappings.
- Enhanced filtering and search capabilities in the API for better content retrieval.
2025-11-22 00:21:00 +00:00
alorig
a82be89d21 405 error 2025-11-21 20:59:50 +05:00
IGNY8 VPS (Salman)
1227df4a41 1 2025-11-21 15:54:01 +00:00
IGNY8 VPS (Salman)
9ec1aa8948 fix plguin 2025-11-21 15:26:44 +00:00
IGNY8 VPS (Salman)
c35b3c3641 Add Site Metadata Endpoint and API Key Management
- Introduced a new Site Metadata endpoint (`GET /wp-json/igny8/v1/site-metadata/`) for retrieving available post types and taxonomies, including counts.
- Added API key input in the admin settings for authentication, with secure storage and revocation functionality.
- Implemented a toggle for enabling/disabling two-way sync operations.
- Updated documentation to reflect new features and usage examples.
- Enhanced permission checks for REST API calls to ensure secure access.
2025-11-21 15:18:48 +00:00
IGNY8 VPS (Salman)
4a39c349f6 1 2025-11-21 14:03:11 +00:00
IGNY8 VPS (Salman)
744e5d55c6 wp api 2025-11-21 13:46:31 +00:00
IGNY8 VPS (Salman)
b293856ef2 1 2025-11-21 03:58:29 +00:00
IGNY8 VPS (Salman)
5106f7b200 Update WorkflowGuide component to include industry and sector selection; enhance site creation process with new state management and validation. Refactor SelectDropdown for improved styling and functionality. Add HomepageSiteSelector for better site management in Dashboard. 2025-11-21 03:34:52 +00:00
IGNY8 VPS (Salman)
c8adfe06d1 Remove obsolete migration and workflow files; delete Site Builder Wizard references and related components. Update documentation to reflect the removal of the WorkflowState model and streamline the site building process. 2025-11-21 00:59:34 +00:00
IGNY8 VPS (Salman)
a4d8cdbec1 1 2025-11-20 23:42:14 +00:00
IGNY8 VPS (Salman)
d14d6d89b1 Remove obsolete migration files and update initial migration timestamps for various modules; ensure consistency in migration history across the project. 2025-11-20 23:32:45 +00:00
IGNY8 VPS (Salman)
b38553cfc3 Remove obsolete workflow components from site building; delete WorkflowState model, related services, and frontend steps. Update serializers and routes to reflect the removal of the site builder wizard functionality. 2025-11-20 23:25:00 +00:00
IGNY8 VPS (Salman)
c31567ec9f Refactor workflow state management in site building; enhance error handling and field validation in models and serializers. Remove obsolete workflow components from frontend and adjust API response structure for clarity. 2025-11-20 23:08:07 +00:00
IGNY8 VPS (Salman)
1b4cd59e5b Refactor site building workflow and context handling; update API response structure for improved clarity and consistency. Adjust frontend components to align with new data structure, including error handling and loading states. 2025-11-20 21:50:16 +00:00
alorig
b0409d965b refactor-upto-phase 6 2025-11-20 21:29:14 +05:00
alorig
584dce7b8e stage 4-2 2025-11-20 04:00:51 +05:00
alorig
ec3ca2da5d stage 4-1 2025-11-20 03:30:39 +05:00
IGNY8 VPS (Salman)
6c05adc990 Update Stage 3 Completion Status and finalize metadata features
- Increased overall completion status to ~95% for both backend and frontend.
- Completed various UI enhancements including publish button logic, sidebar metadata display, and progress widgets.
- Finalized integration of metadata fields in Ideas and Tasks pages, along with validation and filtering capabilities.
- Updated documentation to reflect the latest changes and improvements in the metadata handling and UI components.
2025-11-19 22:04:54 +00:00
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
72e1f25bc7 stage 2-1 2025-11-19 21:07:08 +05:00
alorig
4ca85ae0e5 remaining stage 1 2025-11-19 20:53:29 +05:00
alorig
b5cc262f04 refactor stage completed - with migrations 2025-11-19 20:44:22 +05:00
IGNY8 VPS (Salman)
3802d2e9a3 migrations 2025-11-19 15:38:05 +00:00
IGNY8 VPS (Salman)
094a252c21 Update migration dependencies and foreign key references in site building and planner modules
- Changed migration dependencies in `0003_workflow_and_taxonomies.py` to reflect the correct order.
- Updated foreign key references from `account` to `tenant` in multiple migration files for consistency.
- Adjusted related names in foreign key fields to ensure proper relationships in the database schema.
2025-11-19 15:23:59 +00:00
alorig
8b7ed02759 refactor stage 1 2025-11-19 19:33:26 +05:00
IGNY8 VPS (Salman)
142077ce85 1 2025-11-19 14:03:45 +00:00
IGNY8 VPS (Salman)
c7f05601df rearr 2025-11-19 13:42:23 +00:00
IGNY8 VPS (Salman)
4c3da7da2b ds 2025-11-19 13:38:20 +00:00
IGNY8 VPS (Salman)
e4e7ddfdf3 Add generate_page_content functionality for structured page content generation
- Introduced a new AI function `generate_page_content` to create structured content for website pages using JSON blocks.
- Updated `AIEngine` to handle the new function and return appropriate messages for content generation.
- Enhanced `PageGenerationService` to utilize the new AI function for generating page content based on blueprints.
- Modified `prompts.py` to include detailed content generation requirements for the new function.
- Updated site rendering logic to accommodate structured content blocks in various layouts.
2025-11-18 23:30:20 +00:00
IGNY8 VPS (Salman)
6c6133a683 Enhance public access and error handling in site-related views and loaders
- Updated `DebugScopedRateThrottle` to allow public access for blueprint list requests with site filters.
- Modified `SiteViewSet` and `SiteBlueprintViewSet` to permit public read access for list requests.
- Enhanced `loadSiteDefinition` to resolve site slugs to IDs, improving the loading process for site definitions.
- Improved error handling in `SiteDefinitionView` and `loadSiteDefinition` for better user feedback.
- Adjusted CSS styles for better layout and alignment in shared components.
2025-11-18 22:40:00 +00:00
IGNY8 VPS (Salman)
8ab15d1d79 2 2025-11-18 21:31:04 +00:00