Details
-
Improvement
-
Resolution: Fixed
-
Critical
-
12.10.6, 13.4.2
-
None
Description
Currently, in the wiki, when no location is "watched" by the user (when no filter exists), the whole wiki is considered watched.
Then, spamming users with notifications is avoided by disabling the page event by default, in the events settings.
Then, when the user watches a page, the page events are automatically enabled also in order for notifications to actually be sent to the user, otherwise watching a page doesn't make sense.
I propose the default to change as follows:
- when no filter exists, the whole wiki is not considered included by default anymore.
- the page events are enabled by default
- when a user wants to start receiving notifications, they will need to subscribe (watch) a location
- through the buttons on the top right of the page - which will create an inclusive filter for all events
- through the UI to add a filter from their profile
- an administrator will also be able to setup a default global filter for all the new users on the wiki.
Functionally speaking, this wouldn't change anything for the standard wiki (without any customization / filter settings). For a wiki with customizations (filter settings), the default doesn't matter anymore anyway since the actually set filters will be used and this issue should not change any behaviour when actual filters are set. Thus, I don't think this issue would introduce a regression.
See this thread for a discussion around these incoherences: https://forum.xwiki.org/t/clarify-the-behaviour-of-notification-watch-switches/7471 , the detailed explanation for the change proposed here and some of the other related issues .
Simplifying this would also allow to remove all sorts of magical activation of events, such as XWIKI-14129, that is reported as a bug by XWIKI-17540 , and simplify the functioning of the watch buttons described by Simon in https://forum.xwiki.org/t/clarify-the-behaviour-of-notification-watch-switches/7471 .
Attachments
Issue Links
- blocks
-
XWIKI-19764 Autowatch is broken if all scope notification filters are removed
- Closed
- causes
-
XWIKI-21198 Notification macro don't display events when not using user preferences
- Closed
-
XWIKI-22404 The user profile's activity stream only shows current wiki event
- Closed
- relates to
-
XWIKI-15469 User receives notifications about the creation / updates of other user's profile
- Closed
-
XWIKI-17540 Notification preferences set in the wiki administration are only valid for users that do not edit pages
- Closed
-
XWIKI-18729 User receives notification of his account creation when events are enabled by default by the admin
- Closed
-
XWIKI-19069 Notifications Watched page/space/wiki switches display as "on" in the case of an exclusive filter unless _all_ events are excluded
- Closed
-
XWIKI-19763 Watch page switches are set off when editing mail settings
- Closed
-
XWIKI-17426 Allow to activate a filter for a wiki when a new RecordableEventDescriptor is loaded
- Open
-
XWIKI-17523 Global Notification Filters
- Open
-
XWIKI-21251 Allow the notification macro to disable watching the whole wiki
- Open