Hi all, I finally managed to finish the first version of the long awaited email notification plugin :) downloads, installation instructions and link to the svn repository can be found there: http://www.jkraemer.net/maven/xwiki/plugins/emailnotify-plugin/index.html I also put this link and some words about the current status on xwiki.org: http://www.xwiki.org/xwiki/bin/view/Dev/EmailNotification I must admit that I did not invest much time into testing this, so handle with care. Especially I have no idea how it performs under load, i.e. a lot of changes and/or a lot of subscribers. There may well be room for optimizations in this area. As I'm pretty occupied with my day time job these days I just wanted to get the plugin to a working state quickly - suggestions, patches, bug reports are always welcome. One problem that sometimes occured in my testing (using a fresh install of xwiki 0.9.543 and a fresh db, together with tomcat 5.5.4 and jdk 1.5.0) is that the links I integrated into the more actions menu for subscribing/unsubscribing don't show up after editing a page. they still show up on other pages, but they don't anymore on the page just edited. It's just like an old version of the menu is shown. I tried putting the links into the toolbar to the right instead - same problem. Doea anybody have an idea what could be causing this weird behaviour ? So long, Jens -- Jens Krämer jk@jkraemer.net
Hi Jens ! This is great ! Another fine plugin after the Lucene plugin.. This looks really cool. Concerning your link issue, what are the links you try to put in the More Actions menu ? Ludovic Jens Kraemer a écrit :
Hi all,
I finally managed to finish the first version of the long awaited email notification plugin :)
downloads, installation instructions and link to the svn repository can be found there: http://www.jkraemer.net/maven/xwiki/plugins/emailnotify-plugin/index.html
I also put this link and some words about the current status on xwiki.org: http://www.xwiki.org/xwiki/bin/view/Dev/EmailNotification
I must admit that I did not invest much time into testing this, so handle with care. Especially I have no idea how it performs under load, i.e. a lot of changes and/or a lot of subscribers. There may well be room for optimizations in this area. As I'm pretty occupied with my day time job these days I just wanted to get the plugin to a working state quickly - suggestions, patches, bug reports are always welcome.
One problem that sometimes occured in my testing (using a fresh install of xwiki 0.9.543 and a fresh db, together with tomcat 5.5.4 and jdk 1.5.0) is that the links I integrated into the more actions menu for subscribing/unsubscribing don't show up after editing a page. they still show up on other pages, but they don't anymore on the page just edited. It's just like an old version of the menu is shown.
I tried putting the links into the toolbar to the right instead - same problem. Doea anybody have an idea what could be causing this weird behaviour ?
So long, Jens
------------------------------------------------------------------------
-- You receive this message as a subscriber of the xwiki-dev@objectweb.org mailing list. To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org For general help: mailto:sympa@objectweb.org?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic
On Mon, May 02, 2005 at 11:41:30PM +0200, Ludovic Dubost wrote:
Hi Jens !
This is great ! Another fine plugin after the Lucene plugin.. This looks really cool. Concerning your link issue, what are the links you try to put in the More Actions menu ?
the velocity snippet looks like this: #set($plugin=$xwiki.getPlugin("emailnotify")) #if($plugin) #set($subscribe=$request.getParameter("subscribe")) #if($subscribe) $plugin.processSubscription($subscribe,$doc,$xwiki,$context) #end <div class="xwikimenutitle">$msg.get("emailnotifications")</div> #if ($context.getUser().equals("XWiki.XWikiGuest")) #xwikiitem("#" "loginforsubscriptions") #else #if($plugin.isSubscribed("page",$doc,$xwiki,$context)) #xwikiitem($xwiki.getURL($doc.fullName, "view", "subscribe=page") "unsubscribepage") #else #xwikiitem($xwiki.getURL($doc.fullName, "view", "subscribe=page") "subscribepage") #end #if($plugin.isSubscribed("web",$doc,$xwiki,$context)) #xwikiitem($xwiki.getURL($doc.fullName, "view", "subscribe=web") "unsubscribeweb") #else #xwikiitem($xwiki.getURL($doc.fullName, "view", "subscribe=web") "subscribeweb") #end #if($plugin.isSubscribed("wiki",$doc,$xwiki,$context)) #xwikiitem($xwiki.getURL($doc.fullName, "view", "subscribe=wiki") "unsubscribewiki") #else #xwikiitem($xwiki.getURL($doc.fullName, "view", "subscribe=wiki") "subscribewiki") #end #end #else <div class="xwikimenutitle">no notify plugin</div> #end it makes no difference if it is included directly or via a #template directive. To me this behaviour really seems like if an old version of the viewheader (or the toolbar), which doesn't include my changes, is used. I first thought this would be a skin issue, so I tried the toolbar which doesn't seem to belong to a skin (simply edited XWiki.Toolbar) but the same thing happened again. maybe it's an issue with my jdk1.5/tomcat5.5 setup ? Jens -- Jens Krämer jk@jkraemer.net
participants (2)
-
Jens Kraemer -
Ludovic Dubost