feat: Declare the Agenda digest mail notifications category - EXO-89484 - eXIP7.3.0.22 - #1070
Conversation
|
Second commit added — the timezone delegation from the tech spec (§4 Timezone). The timezone synchronization is now owned by the platform: social publishes Per the spec, agenda delegates and deprecates its own copies:
This PR now additionally requires the social PR Meeds-io/social#6027 to be merged first (it brings |
ecb456d to
e93b697
Compare
8fe3535 to
3b1e245
Compare
… - eXIP7.3.0.22 Contributes the Agenda category to the digest settings drawer, next to the notification plugins it covers. Pure configuration: the category is declared on the Kernel DigestCategoryRegistry of commons, and its label lives in the bundle the notification plugins of this addon already use. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…rm - EXO-89484 - eXIP7.3.0.22 The timezone of each user is owned by the platform now: social publishes eXo.env.portal.userTimezone on every page, refreshes it through its own endpoint backed by UserTimeZoneService, and broadcasts an event on every change. Agenda stops carrying the mechanism entirely, its part of the spec §5 cleanup done within this task: - the head script publishing eXo.env.portal.userTimezone and the page script refreshing it, duplicated by what social now does on every page - the timezone REST endpoint and AgendaUserSettingsService.updateUserTimeZone, whose only caller was that page script: nothing anywhere calls them any more Requires the social PR moving the synchronization into the platform. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ies - EXO-89484 - eXIP7.3.0.22 The category declarations covered every notification of their group, but the functional spec lists exactly which notifications the digest considers: only those 12 plugins are declared, nothing else enters a digest. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
3b1e245 to
fe3db71
Compare
|
Strategy change on the timezone part — full removal instead of delegate-and-deprecate. Decision: the spec §5 cleanup is done progressively within each task (only a large cleanup chunk would wait), so agenda's timezone-sync code is removed entirely in this PR rather than deprecated:
The branch was rewritten so the PR tells the final story (3 commits: category, removal, spec plugin list). |
Part of eXIP 7.3.0.22 — Digest Mail Notifications. Task EXO-89484 (US03).
Contributes the Agenda category to the digest settings drawer. Depends on Meeds-io/commons#772, which brings the Kernel
DigestCategoryRegistrythis configuration targets — merge that one first.Pure configuration, no Java:
component-pluginon the registry, next to the notification plugins it already declares, and covers the 7 agenda plugins (event added/modified/canceled, reminder, reply, date poll, vote).DigestCategoryLabelResolverreads it — translated server side, so the settings page has nothing to load.The categories are declared in the Kernel rather than as Spring beans on purpose: each webapp has its own Spring context, and only the Kernel container is shared by all of them. This addon's category therefore reaches the digest whatever the addon is made of.
AI contribution
Classified N1 — human-driven, no auto-merge, author ≠ approver.