Minor code style adjustments
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / userNotificationEvent.xml
index e7b31f4b3a43c101280cd7abcf3f9ed64c519445..e278e90ec8f14f8ded4805b1938d7a00d1734994 100644 (file)
 <?xml version="1.0" encoding="UTF-8"?>
-<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/vortex/userNotificationEvent.xsd">
+<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/userNotificationEvent.xsd">
        <import>
                <event>
                        <name>following</name>
                        <objecttype>com.woltlab.wcf.user.follow</objecttype>
                        <classname>wcf\system\user\notification\event\UserFollowFollowingUserNotificationEvent</classname>
                </event>
-               
                <event>
                        <name>comment</name>
                        <objecttype>com.woltlab.wcf.user.profileComment.notification</objecttype>
                        <classname>wcf\system\user\notification\event\UserProfileCommentUserNotificationEvent</classname>
-                       <preset>1</preset>
                        <options>module_user_profile_wall</options>
+                       <preset>1</preset>
                </event>
                <event>
                        <name>commentResponse</name>
                        <objecttype>com.woltlab.wcf.user.profileComment.response.notification</objecttype>
                        <classname>wcf\system\user\notification\event\UserProfileCommentResponseUserNotificationEvent</classname>
-                       <preset>1</preset>
                        <options>module_user_profile_wall</options>
+                       <preset>1</preset>
                </event>
                <event>
                        <name>commentResponseOwner</name>
                        <objecttype>com.woltlab.wcf.user.profileComment.response.notification</objecttype>
                        <classname>wcf\system\user\notification\event\UserProfileCommentResponseOwnerUserNotificationEvent</classname>
-                       <preset>1</preset>
                        <options>module_user_profile_wall</options>
+                       <preset>1</preset>
                </event>
-               
                <event>
                        <name>like</name>
                        <objecttype>com.woltlab.wcf.user.profileComment.like.notification</objecttype>
                        <classname>wcf\system\user\notification\event\UserProfileCommentLikeUserNotificationEvent</classname>
-                       <preset>1</preset>
                        <options>module_like</options>
+                       <preset>1</preset>
                </event>
                <event>
                        <name>like</name>
                        <objecttype>com.woltlab.wcf.user.profileComment.response.like.notification</objecttype>
                        <classname>wcf\system\user\notification\event\UserProfileCommentResponseLikeUserNotificationEvent</classname>
-                       <preset>1</preset>
                        <options>module_like</options>
+                       <preset>1</preset>
                </event>
-               
                <event>
                        <name>comment</name>
                        <objecttype>com.woltlab.wcf.moderation.queue.notification</objecttype>
                        <classname>wcf\system\user\notification\event\ModerationQueueCommentUserNotificationEvent</classname>
-                       <preset>1</preset>
                        <permissions>mod.general.canUseModeration</permissions>
+                       <preset>1</preset>
                </event>
                <event>
                        <name>commentResponse</name>
                        <objecttype>com.woltlab.wcf.moderation.queue.response.notification</objecttype>
                        <classname>wcf\system\user\notification\event\ModerationQueueCommentResponseUserNotificationEvent</classname>
-                       <preset>1</preset>
                        <permissions>mod.general.canUseModeration</permissions>
+                       <preset>1</preset>
                </event>
-               
                <event>
                        <name>expiring</name>
                        <objecttype>com.woltlab.wcf.paidSubscription.user</objecttype>
                        <classname>wcf\system\user\notification\event\ExpiringPaidSubscriptionUserUserNotificationEvent</classname>
-                       <preset>1</preset>
                        <options>module_paid_subscription</options>
+                       <preset>1</preset>
                </event>
-               
                <event>
                        <name>received</name>
                        <objecttype>com.woltlab.wcf.userTrophy.notification</objecttype>
                        <classname>wcf\system\user\notification\event\UserTrophyReceivedNotificationEvent</classname>
-                       <preset>1</preset>
                        <options>module_trophy</options>
                        <permissions>user.profile.trophy.canSeeTrophies</permissions>
+                       <preset>1</preset>
+               </event>
+               <event>
+                       <name>comment</name>
+                       <objecttype>com.woltlab.wcf.page.notification</objecttype>
+                       <classname>wcf\system\user\notification\event\PageCommentUserNotificationEvent</classname>
+                       <permissions>admin.content.cms.canManagePage</permissions>
+                       <preset>1</preset>
+               </event>
+               <event>
+                       <name>commentResponse</name>
+                       <objecttype>com.woltlab.wcf.page.response.notification</objecttype>
+                       <classname>wcf\system\user\notification\event\PageCommentResponseUserNotificationEvent</classname>
+                       <permissions>admin.content.cms.canManagePage</permissions>
+                       <preset>1</preset>
+               </event>
+               <event>
+                       <name>commentResponseOwner</name>
+                       <objecttype>com.woltlab.wcf.page.response.notification</objecttype>
+                       <classname>wcf\system\user\notification\event\PageCommentResponseOwnerUserNotificationEvent</classname>
+                       <preset>1</preset>
+               </event>
+               <event>
+                       <name>comment</name>
+                       <objecttype>com.woltlab.wcf.articleComment.notification</objecttype>
+                       <classname>wcf\system\user\notification\event\ArticleCommentUserNotificationEvent</classname>
+                       <preset>1</preset>
+                       <options>module_article</options>
+               </event>
+               <event>
+                       <name>commentResponse</name>
+                       <objecttype>com.woltlab.wcf.articleComment.response.notification</objecttype>
+                       <classname>wcf\system\user\notification\event\ArticleCommentResponseUserNotificationEvent</classname>
+                       <preset>1</preset>
+                       <options>module_article</options>
+               </event>
+               <event>
+                       <name>commentResponseOwner</name>
+                       <objecttype>com.woltlab.wcf.articleComment.response.notification</objecttype>
+                       <classname>wcf\system\user\notification\event\ArticleCommentResponseOwnerUserNotificationEvent</classname>
+                       <preset>1</preset>
+                       <options>module_article</options>
+               </event>
+               <event>
+                       <name>article</name>
+                       <objecttype>com.woltlab.wcf.article.notification</objecttype>
+                       <classname>wcf\system\user\notification\event\ArticleUserNotificationEvent</classname>
+                       <preset>1</preset>
+                       <options>module_article</options>
+               </event>
+               <event>
+                       <name>like</name>
+                       <objecttype>com.woltlab.wcf.likeableArticle.notification</objecttype>
+                       <classname>wcf\system\user\notification\event\ArticleLikeUserNotificationEvent</classname>
+                       <preset>1</preset>
+               </event>
+               
+               <event>
+                       <name>registration</name>
+                       <objecttype>com.woltlab.wcf.user.registration.notification</objecttype>
+                       <classname>wcf\system\user\notification\event\UserRegistrationUserNotificationEvent</classname>
+                       <permissions>admin.user.canSearchUser</permissions>
+                       <preset>0</preset>
                </event>
        </import>
 </data>