Feature Request: Newsroom Mirroring (Phase 3)
Description
Implement an opt-in feature to mirror iTop newsroom notifications to Nextcloud, allowing administrators to broadcast announcements and important messages to users.
Motivation
- Broadcast important ITSM announcements to all users
- Centralize notifications in Nextcloud alongside ticket notifications
- Provide opt-in mechanism to avoid notification fatigue
- Bidirectional mark-as-read sync with iTop
Proposed Implementation
Components
- NewsroomPollJob - Background job to poll iTop EventNotificationNewsroom
- NewsroomService - Service layer for fetching and caching newsroom items
- NewsroomController - Controller for mark-as-read sync back to iTop
- Personal Setting -
notify_newsroom_enabled (opt-in, default: disabled)
- Notifier -
newsroom_item case for rendering broadcast messages
Features
- Poll
EventNotificationNewsroom class via iTop REST API
- Track last processed newsroom ID per user
- Support opt-in/opt-out in personal settings
- Admin can globally disable feature
- Mark-as-read bidirectional sync
- Independent from ticket notifications (separate background job)
Configuration
- Admin setting:
newsroom_enabled (global enable/disable)
- User setting:
notify_newsroom_enabled (opt-in per user)
- Polling interval: 15 minutes (configurable)
Acceptance Criteria
Technical Details
- Background job runs every 15 minutes (separate from ticket notifications)
- Tracks
last_newsroom_id per user to avoid duplicates
- Query:
SELECT EventNotificationNewsroom WHERE id > :last_id
- Notification object type:
itop_newsroom
- Cache TTL: 5 minutes for newsroom items
Estimated Effort
6-8 hours
Priority
Medium - Enhancement for v1.4.0 or later
Related Documentation
docs/PLAN_NOTIFICATIONS.md - Phase 3 specification
- To be created:
docs/PLAN_NEWSROOM_MIRRORING.md - Detailed implementation plan
Dependencies
- Requires iTop with EventNotificationNewsroom class
- Builds on existing notification infrastructure (v1.3.0)
Note: This is a nice-to-have enhancement, not blocking any current functionality.
Feature Request: Newsroom Mirroring (Phase 3)
Description
Implement an opt-in feature to mirror iTop newsroom notifications to Nextcloud, allowing administrators to broadcast announcements and important messages to users.
Motivation
Proposed Implementation
Components
notify_newsroom_enabled(opt-in, default: disabled)newsroom_itemcase for rendering broadcast messagesFeatures
EventNotificationNewsroomclass via iTop REST APIConfiguration
newsroom_enabled(global enable/disable)notify_newsroom_enabled(opt-in per user)Acceptance Criteria
Technical Details
last_newsroom_idper user to avoid duplicatesSELECT EventNotificationNewsroom WHERE id > :last_iditop_newsroomEstimated Effort
6-8 hours
Priority
Medium - Enhancement for v1.4.0 or later
Related Documentation
docs/PLAN_NOTIFICATIONS.md- Phase 3 specificationdocs/PLAN_NEWSROOM_MIRRORING.md- Detailed implementation planDependencies
Note: This is a nice-to-have enhancement, not blocking any current functionality.