refactor(profile): migrate activity page to new architecture
Add ActivityController with messages/topics/comments sub-modes served at
/profile/{id}/activity, /activity/topics and /activity/comments.
- GetActivityUseCase loads the profile, selects the data source by
ActivityType and maps rows for templates
- ProfileActivityRepositoryInterface + EloquentProfileActivityRepository
paginate forum messages, forum topics and guestbook entries using
eager-loaded forum models (topic.section.parentSection)
- ForumActivityPreviewService builds short plain-text post previews
- ActivityDTO and ActivityType enum
- Reuse ForumTopicPathService and GuestbookEntry::post_text
- Update view/statistics links, remove legacy includes/activity.php and
drop 'activity' from the index.php dispatcher
/profile/{id}/activity, /activity/topics and /activity/comments.
- GetActivityUseCase loads the profile, selects the data source by
ActivityType and maps rows for templates
- ProfileActivityRepositoryInterface + EloquentProfileActivityRepository
paginate forum messages, forum topics and guestbook entries using
eager-loaded forum models (topic.section.parentSection)
- ForumActivityPreviewService builds short plain-text post previews
- ActivityDTO and ActivityType enum
- Reuse ForumTopicPathService and GuestbookEntry::post_text
- Update view/statistics links, remove legacy includes/activity.php and
drop 'activity' from the index.php dispatcher