refactor(profile): migrate guestbook page to new architecture
Migrate the legacy profile guestbook to GuestbookController served at
/profile/{id}/guestbook (GET and POST for reply/edit/delete forms).
- Wrap the legacy Johncms\Comments component via output buffering, the
same pattern as downloads FileCommentsController
- Use a clean path script without sub_id_name (Comments::buildUrl adds the
separator); owner can delete and reply
- GetGuestbookContextUseCase loads the profile with the visibility guard
- MarkGuestbookReadUseCase resets comm_old when the owner views their own
guestbook outside of a mod action; add ProfileUserRepository::markGuestbookSeen
- Update act=guestbook links in account/view templates and the
notifications use case to /profile/{id}/guestbook
- Remove legacy includes/guestbook.php and drop 'guestbook' from index.php
/profile/{id}/guestbook (GET and POST for reply/edit/delete forms).
- Wrap the legacy Johncms\Comments component via output buffering, the
same pattern as downloads FileCommentsController
- Use a clean path script without sub_id_name (Comments::buildUrl adds the
separator); owner can delete and reply
- GetGuestbookContextUseCase loads the profile with the visibility guard
- MarkGuestbookReadUseCase resets comm_old when the owner views their own
guestbook outside of a mod action; add ProfileUserRepository::markGuestbookSeen
- Update act=guestbook links in account/view templates and the
notifications use case to /profile/{id}/guestbook
- Remove legacy includes/guestbook.php and drop 'guestbook' from index.php