Releases: BrainAV/core-cms
Releases · BrainAV/core-cms
v0.4.0 - 2026-01-17 - AI integration, Gutenberg-style editor enhancements, and dynamic sitemap
v0.4.0 - 2026-01-17 - AI integration, Gutenberg-style editor enhancements, and dynamic sitemap
Latest
Release v0.4.0 - AI integration, Gutenberg-style editor enhancements, and dynamic sitemap
- feat(ai): add AIService with multi-provider support and Admin Copilot
- feat(editor): implement block alignment and multi-column layouts
- fix(editor): resolve circular dependency in nested tools and recursive rendering logic
- feat(seo): add dynamic XML sitemap generation
- feat(theme): add auto-detecting light/dark mode theme
- docs: update ROADMAP, EDITOR guide, and CONTRIBUTING instructions
Added
- Themes: Added "Light and Dark Mode" theme (
themes/darklightmodes/) with auto-detection and toggle. - Dynamic Sitemap:
sitemap.php: XML generator for SEO..htaccess: Added route for/sitemap.xml.docs/SITEMAP.md: Documentation.
- AI Integration (Phase 5):
admin/settings.php: Added AI Configuration (Provider, Key, Model).includes/ai.php:AIServicewith drivers for Gemini, OpenAI, and Local LLMs.admin/api/ai.php: API endpoint for Admin Copilot.admin/post-edit.php: Added "AI Assist" button and modal to the editor.docs/AI_INTEGRATION.md: Architecture documentation.
- Editor Enhancements (Gutenberg-Quest):
- Added block alignment support (Left, Center, Right) for improved text flow.
- Added responsive multi-column layout support (Up to 3 columns) with nested blocks.
- Updated PHP renderer to handle recursive content and Alignment Block Tunes.
- Added
docs/EDITOR.mdroadmap to track block editor evolution. - Fixed: Circular reference crash in Editor.js registration.
- Fixed: Nested block alignment; alignment tunes now work correctly inside column blocks.
- Fixed: PHP variable collision in
render_blockscausing erratic rendering.
Changed
- Admin Dashboard: Refactored Quick Links into a modern card grid layout with icons.
- Admin Lists: Made Post and Page titles clickable in the manager to open the frontend view.
- Settings: Upgraded Footer Text field to use Editor.js (Block Editor) for rich content.
- Rendering: Updated
render_blocks()to support raw HTML strings (fixing Label Editor overrides). - Admin UI: Removed sticky footer from admin panel to resolve layout issues.
[0.3.0] - 2026-01-11
Added
- Site Identity Settings:
admin/settings.php: Added fields for Site Title, Logo URL, and Footer Text.templates/header.php: Updated to use dynamic title and logo.templates/footer.php: Updated to use dynamic footer text.docs/SETTINGS.md: Documentation for global settings.
- Marketing Assets:
docs/BLOG_POST_ANNOUNCEMENT.md: Draft blog post for public release.docs/SOCIAL_PREVIEW.md: AI prompt for generating the repo social image.
- Media Metadata:
admin/media-edit.php: Interface to edit Alt Text, Title, and Description.admin/media.php: Added "Edit" button to media items.db/schema.sql: Added columns tomediatable.
- Editor.js Image Tool:
admin/api/upload.php: API endpoint for handling image uploads from the editor.admin/post-edit.php: Configured Image Tool.
- Scroll to Top:
admin/settings.php: Added configuration for position, shape, and color.templates/footer.php: Injected button logic.
- User Roles & Management:
admin/users.php,admin/user-edit.php: Admin interface to manage users.- Implemented Role-Based Access Control (RBAC) for Admin, Editor, and Subscriber.
- Secured sensitive admin pages (
settings.php,menus.php) against non-admins.
- Theme System:
admin/themes.php: Manager to switch between active themes.includes/functions.php: Addedget_theme_path()for dynamic template loading.docs/THEMES.md&docs/THEME_BUILDER.md: Documentation for creating themes.themes/darkmode/: Added a sample "Dark Mode" theme to verify the system.
- Label Editor:
admin/labels.php: Interface to customize UI text without code changes.includes/functions.php: Addedget_label()helper.
- Menu Enhancements:
- Added manual reordering via sort order inputs.
- Implemented "Link by ID" to prevent broken links when slugs change.
Changed
- Admin Dashboard: Refactored Quick Links into a modern card grid layout.
- Content Lists: Made Post/Page titles clickable for quick frontend preview.
- Documentation: Updated
README.mdandADMIN_MANUAL.mdwith new features.
Full Changelog: v0.2.0...v0.3.0
v0.2.0 - 2026-01-09
[0.2.0] - 2026-01-09
Added
- Breadcrumbs System:
admin/settings.php: Interface to toggle breadcrumbs and customize separators.includes/functions.php: Addedrender_breadcrumbs()and option helpers.docs/BREADCRUMBS.md: Documentation.
- Admin UI Refactoring:
- Created
admin/includes/header.phpandadmin/includes/footer.phpfor consistent layout. - Updated all admin pages to use the shared templates.
- Fixed session management and path resolution in admin files.
- Created
- Deployment:
- Added
docs/DEPLOYMENT.mdwith FTP exclusion list.
- Added
- Pages Management:
admin/pages.php: Dedicated list view for managing static pages.- Updated
admin/post-edit.phpto support both Posts and Pages.
- Home Page Logic:
- Added
is_homeflag topoststable. - Implemented "Set as Homepage" functionality in Page Editor.
- Updated
index.phpto render designated static homepage.
- Added
- Menu System Upgrades:
- Added support for Sub-menus (nested dropdowns).
- Added "Add Content" dropdown to easily link existing Posts/Pages.
- Improved CSS styling for navigation (
.site-menu).
- Taxonomy System (Categories & Tags):
db/schema.sql: Added tables for categories, tags, and pivot tables.admin/categories.php: Manager for creating, editing, and deleting categories.admin/post-edit.php: Added UI to assign categories and tags to posts.docs/CATEGORIES_TAGS.md: Documentation for the taxonomy system.
- Media System:
admin/media.php: Library for uploading, viewing, and deleting files.docs/MEDIA.md: Documentation and security overview.uploads/.htaccess: Security rules to prevent script execution.
- User Profile System:
admin/profile.php: Interface for users to update Name, Email, Password, and Avatar.docs/PROFILE.md: Documentation for user settings.db/schema.sql: Addedavatarcolumn touserstable.
- Advanced Editor (Editor.js):
admin/post-edit.php: Replaced<textarea>with Block Editor (Headers, Lists, Quotes, Code).includes/functions.php: Addedrender_blocks()to convert JSON to HTML.index.php: Updated frontend to render block content.assets/css/style.css: Added styling for code blocks (pre,code) and editor elements.docs/EDITOR.md: Strategy documentation.
Changed
admin/index.php: Removed placeholder "Manage Events" link.docs/MENUS.md: Updated documentation to reflectmain-menuslug usage..github/ROADMAP.md: Added "Theme Manager" to Phase 4.
Full Changelog: v0.1.0...v0.2.0
v0.1.0 - Admin MVP, Routing, and Menu System
feat: release v0.1.0 - Admin MVP, Routing, and Menu System
- Core: Initialize project structure, database config, and schema.
- Admin: Implement secure Auth (Login/Logout), Dashboard, and Post CRUD.
- Routing: Add .htaccess, Front Controller (index.php), and 404 handling.
- Menus: Implement database-driven menu management (Containers & Items).
- Plugins: Add Event Planner installer and plugin documentation.
- Docs: Add Roadmap, Project Plan, Admin Manual, and Branding Guidelines.
- Assets: Add basic styling and logo placeholder.