Commit Graph
5 Commits
Author SHA1 Message Date
Divarion-DandCopilot 640b9ad3d7 feat(navbar): introduce dynamic NavbarItem & NavbarRegistry system
- Added NavbarItem class to encapsulate navigation item configuration
  (key, parent, URL, label, permissions, order, visibility flags, etc.)
- Implemented NavbarRegistry for centralized registration and retrieval
  of navigation items, including hierarchical structure support
- Introduced registerNavbar() method across modules to allow modular
  injection of navigation entries
- Refactored admin header rendering to build navigation dynamically
  from the registry instead of static definitions

Updated modules:
- FingerprintModule
- MagscanModule
- MinistraModule
- PlexModule
- TheftDetectionModule
- TmdbModule
- WatchModule

Benefits:
- Improves maintainability by removing hardcoded navigation
- Enables modular and scalable extension of the admin menu
- Provides consistent API for core and external modules

Co-authored-by: Copilot <copilot@github.com>
2026-05-03 20:17:33 +03:00
Divarion-D 738973c5db docs(php): add standardized file headers across codebase
- Add @author, @copyright, @link, @version, @license to 399 PHP files
- MERGE mode: inject metadata into 243 existing docblocks (preserving docs)
- INSERT mode: create new docblocks for 156 files without headers
- Skip 3 files that already had correct headers
- Exclude third-party libs (TMDb, mobiledetect, Dropbox, etc.)
- Exclude bin/, ministra/, content/, tmp/, resources/, module views
- Update tools/add_headers.php to v2 with MERGE strategy
2026-04-05 22:38:36 +03:00
Divarion-D db5c4d2e76 refactor(modules): update all modules to ModuleInterface v2
- Replace registerCrons() → registerCommands(CommandRegistry) in all modules
- Add empty install()/uninstall() methods to all modules
- Simplify module.json: remove 'dependencies' field (metadata only)
- Plex: register PlexCronJob + PlexItemCommand via registerCommands()
- Tmdb: register TmdbCronJob + TmdbPopularCronJob via registerCommands()
- Watch: register WatchCronJob + WatchItemCommand via registerCommands()
- Fingerprint, Magscan, Ministra, TheftDetection: empty registerCommands()
2026-03-16 22:33:31 +03:00
Divarion-D 3d8abedafd Stage 8 has been completed 2026-03-07 21:53:45 +03:00
Divarion-D 981de7f750 Steps 4 and 5 are complete. 2026-02-22 15:02:41 +03:00