kokjan/CHANGELOG.md

44 lines
3.1 KiB
Markdown
Raw Normal View History

# Changelog
## [2026-02-27] - Modernization, Backend Tools, GIS Refactoring & Dashboard Enhancements
### Added
- **GIS Module Refactoring:**
- Renamed legacy `map` module to `gis` for clarity and standardization.
- Performed system-wide namespace refactoring to `backend\modules\gis`.
- Redesigned GIS main dashboard with a modern Interactive Card UI and Font Awesome 5.11 icons.
- **RBAC for GIS:**
- Created a new RBAC role `gis` (GIS Data Manager) via database migration.
- Added `/gis/*` permission covering all GIS module actions.
- Configured `authManager` in console application to utilize shared RBAC files at `@backend/rbac/`.
- **Premium Backend Dashboard:**
- Redesigned the main dashboard with categorized module shortcuts for better organization.
- Categorized modules into: Administration & Strategy, Assets & Resources, and Public Services & Revenue.
- Added shortcuts for 18+ essential local government modules including Supply, Durable, Saraban, Tax, Welfare, Waterworks, ITA, Disaster, Waste, EMS 1669, GIS, and more.
- **Online Theme Editor:**
- Implemented a secure online code editor (Ace Editor) for managing theme layout files (`main.php`, `_top.php`, etc.).
- Added automatic `.bak` file backup upon saving.
- **Secure File Manager:**
- Implemented a modern Cloud Explorer-style file manager with sub-folder support.
- Features: Multi-file upload, drag-and-drop, real-time file search, and breadcrumb navigation.
- **Image Auto-Resizing:** Supports choosing target widths (384, 512, 1024, 1200px) during upload while maintaining aspect ratio.
- **Enhanced Security:** Implemented strict MIME type validation (deep content sniffing) and an extension whitelist to prevent malicious uploads.
- **Bot Filtering for Statistics:**
- Integrated user-agent detection in `AbtComponent` to exclude search engine bots and crawlers from visitor counts, ensuring data accuracy.
### Changed
- **Backend Icon Standardization:** Upgraded all backend dashboard and file manager icons to **Font Awesome 5.11** for a sharper, modern look.
- **Frontend Menu Management:** Implemented a full CRUD system in the Administrator module for managing frontend menus (Navbar, Left Menu, Sidenav).
- **Dynamic Menus:** Navbar, Sidenav (Mobile), and Left Menu are now fully dynamic, fetching data from the `cms_menu_frontend` table with recursive support for nested sub-menus.
- **Visitor Statistics Refactoring:** Improved performance using optimized date range queries and fixed aggregation logic for monthly/yearly stats.
- **UI/UX Branding:** Standardized the color scheme across the entire platform using **Soft Peach (#FFDBBB)** and **Warm Orange (#FFC068)**.
### Fixed
- Resolved `Undefined variable $currentPath` in File Manager.
- Fixed `unknown property: CmsPost::title` by correctly mapping to the `name` attribute.
- Fixed folder permission issues in Docker environment by enforcing 0777 on the uploads directory.
- Resolved broken icons in Sidebar and Footer widgets by aligning with project standards.
### Removed
- Cleaned up the codebase by removing legacy themes (`abt`, `mub`, `new1`), reducing the project size by 434 files.