[ 
https://jira.nuxeo.com/browse/NXP-4950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christophe Capon updated NXP-4950:
----------------------------------

    Attachment: nuxeo-vilogia-notification.zip
                2011-nuxeo-platform-usersettings-alerts.zip

2011-nuxeo-platform-usersettings-alerts.zip contains the user settings feature 
with the alert plugin. Instead of storing every notification message before 
resending it when requested, we capture the source event. Therefore we can make 
some correlations and notify the user about the number of changes and workflow 
events, which leads to less verbose emails.

2011-nuxeo-vilogia-notification.zip : since deferred alert mechanism required 
change to the notification core, I have isolated the smallest part that can be 
overriden. This is the "listener" implemented by the 
DeferringNotificationEventListener, which inherits from 
NotificationEventListener, overrides sendNotification to store the source event 
if the user selected deferred alert and then passes control back to the 
NotificationEventListener.

> User settings management and Batch notifications
> ------------------------------------------------
>
>                 Key: NXP-4950
>                 URL: https://jira.nuxeo.com/browse/NXP-4950
>             Project: Nuxeo Enterprise Platform
>          Issue Type: New Feature
>          Components: Notifications
>    Affects Versions: 5.3 GA
>         Environment: Tested on ubuntu + tomcat + derby, ubuntu + jboss + 
> postgresql
>            Reporter: Christophe Capon
>             Fix For: 5.4.1
>
>         Attachments: 2011-nuxeo-platform-usersettings-alerts.zip, 
> AlertManagement.2.diff, AlertManagement.diff, AlertManagement.tar.gz, 
> AlertManagement3.diff, AlertManagement4.diff, 
> nuxeo-platform-notification-core.diff, nuxeo-vilogia-notification.zip, 
> NXQLQueryMaker.java.diff
>
>
> Our nuxeo user start complaining about Nuxeo verbosity regarding 
> notifications. A sustained activity on the database may trigger a significant 
> amount of mails.
> To resolve this point, we have developed two services :
> 1) An alert manager service : it collects all the alerts worth being notified 
> to an user (locked documents, overdue tasks, subscriptions...). It groups all 
> those alerts in a single mail and sends it periodically to the user. This 
> service can be extended via extension points, if you want to add other alerts 
> (eg a document has reached its expiration date,....). At this point, we need 
> to allow the user to customize some parts of the alert mail.
> 2) There comes the second service. We want to allow the user to setup the 
> frequency of the alert mail, to select what he wants inside the mail (in our 
> development, locked documents and overdue tasks are sent no matter what the 
> user wants, but the user may want to have all his future tasks, or tasks 
> without target date). We created a UserSettings management service, allowing 
> the user to select his preferences. This service is similar to the Windows 
> Control Panel or Ubuntu Preferences Menu. So far, it only handles the alert 
> configuration, but you can add other settings managers through extension 
> points.
> A first stable but perfectible release is almost done, and I will keep you 
> posted when the code is available, with unit tests and hopefully selenium.
> Hopefully, this is the right place to post my code ?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.nuxeo.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to