Commit Graph

6 Commits

Author SHA1 Message Date
76287923e8 refactor layouts module to domain/di and prepare 0.256 release 2026-02-12 22:54:47 +01:00
5e9b998043 Release 0.255: migrate remaining Languages usages to repository DI 2026-02-12 22:28:57 +01:00
d709a3df7b Release 0.245: refactor articles list and update package 2026-02-08 01:35:13 +01:00
efd93dede3 feat: Migrate article_save and article_delete to Domain Architecture
Move article save/delete logic from monolithic factory to ArticleRepository
with DI-based controller actions, following the established refactoring pattern.

- ArticleRepository: add save() with 9 private helpers, archive() method
- ArticlesController: add save() and delete() actions with DI
- Factory methods delegate to repository (backward compatibility)
- Router: add article_save/article_delete action mappings
- Old controls methods marked @deprecated
- 59 tests, 123 assertions passing

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 19:52:22 +01:00
6c21b835da feat: Implement cleanup methods for nonassigned article files and images in ArticleRepository 2026-02-06 08:57:22 +01:00
e33978e1bb feat: Refactor article handling and introduce ArticleRepository
- Introduced Domain\Article\ArticleRepository for better data access.
- Migrated article_edit functionality to admin\Controllers\ArticlesController.
- Updated admin\factory\Articles::article_details() to use the new repository.
- Marked legacy methods in admin\controls as @deprecated for clarity.
- Updated changelog and versioning to reflect changes in version 0.242.
2026-02-06 08:41:34 +01:00