60 lines
3.8 KiB
Markdown
60 lines
3.8 KiB
Markdown
## [0.1] - 2025-01-15
|
|
|
|
### Initial Release - Complete Refactor
|
|
- **Phase 1 Complete**: Global Role & Scope Index implemented
|
|
- **Phase 2 Complete**: Folder restructure & component isolation
|
|
- **Phase 2.5 Complete**: Final refactor of layout, routing, and page loading structure
|
|
- **Phase 2.5.1 Complete**: Final cleanup of routing and layout includes
|
|
|
|
### Major Architecture Changes
|
|
- **Modular Structure**: All admin pages physically modularized by module
|
|
- **Component System**: UI components (forms, filters, tables, modals) extracted into reusable templates
|
|
- **Static Routing**: Eliminated dynamic routing, converted to static file includes
|
|
- **Layout Standardization**: All pages follow `ob_start() → $igny8_page_content → global-layout.php` pattern
|
|
- **Submodule System**: Complete subpage structure for planner, writer, thinker, settings, help modules
|
|
|
|
### Technical Improvements
|
|
- **Configuration-Driven UI**: Tables, forms, and filters generated dynamically from config files
|
|
- **Complete Component Loading**: All submodules now include filters, actions, table, and pagination
|
|
- **JavaScript Integration**: Proper localization and data setup for all submodules
|
|
- **Debug Isolation**: Development files moved to dedicated folders with proper guards
|
|
- **Help Module**: Centralized help, documentation, and testing functionality
|
|
|
|
### Files Restructured
|
|
- **Modules**: `/modules/planner/`, `/modules/writer/`, `/modules/thinker/`, `/modules/settings/`, `/modules/help/`
|
|
- **Components**: `/modules/components/` with reusable UI templates
|
|
- **Config**: `/modules/config/` with centralized configuration arrays
|
|
- **Core**: `/core/` with layout, admin, database, and cron functionality
|
|
- **AI**: `/ai/` with content generation and image processing
|
|
|
|
### Database & Configuration
|
|
- **Table Configurations**: Complete table structure definitions in `tables-config.php`
|
|
- **Filter Configurations**: Dynamic filter system in `filters-config.php`
|
|
- **Import/Export**: Centralized import/export configurations
|
|
- **KPI System**: Dashboard metrics and analytics configuration
|
|
|
|
### Developer Experience
|
|
- **File Organization**: Clear separation of concerns and modular architecture
|
|
- **Documentation**: Comprehensive documentation and troubleshooting guides
|
|
- **Debug Tools**: System testing and function testing interfaces
|
|
- **Code Standards**: Consistent file headers and scope declarations
|
|
|
|
## [5.3.0] - 2025-01-15
|
|
|
|
### Critical Cron vs Manual Function Analysis
|
|
- **CRITICAL DISCREPANCY IDENTIFIED**: Cron functions have significant differences from manual counterparts
|
|
- **Function Dependency Issues**: Cron handlers include extensive fallback logic for functions like `igny8_get_sector_options()`
|
|
- **User Context Problems**: Cron handlers manually set admin user context while manual AJAX handlers rely on authenticated user
|
|
- **Warning Suppression**: Cron handlers suppress PHP warnings that manual handlers don't, potentially masking issues
|
|
- **Database Connection**: Cron handlers explicitly declare `global $wpdb` while manual handlers use it directly
|
|
- **Risk Assessment**: Cron functions are at HIGH RISK of failing or behaving differently than manual functions
|
|
|
|
### Technical Analysis Findings
|
|
- **Auto Cluster**: Manual `igny8_ajax_ai_cluster_keywords()` vs Cron `igny8_auto_cluster_cron_handler()`
|
|
- **Auto Ideas**: Manual `igny8_ajax_ai_generate_ideas()` vs Cron `igny8_auto_generate_ideas_cron_handler()`
|
|
- **Auto Queue**: Manual `igny8_ajax_queue_ideas_to_writer()` vs Cron `igny8_auto_queue_cron_handler()`
|
|
- **Auto Content**: Manual `igny8_ajax_ai_generate_content()` vs Cron `igny8_auto_generate_content_cron_handler()`
|
|
- **Auto Image**: Manual `igny8_ajax_ai_generate_images_drafts()` vs Cron `igny8_auto_generate_images_cron_handler()`
|
|
- **Auto Publish**: Manual `igny8_ajax_bulk_publish_drafts()` vs Cron `igny8_auto_publish_drafts_cron_handler()`
|
|
|