You are here: Foswiki>Tasks Web>Item8428 (30 Apr 2017, GeorgeClark)Edit Attach

Item8428: Convert NotificationPlugin from TWiki to Foswiki

pencil
Priority: Enhancement
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: NotificationPlugin
Branches:
Reported By: HarlanStenn
Waiting For:
Last Change By: GeorgeClark
-- HarlanStenn - 27 Jan 2010

/usr/local/src/svn.foswiki.org/branches/Release01x00/NotificationPlugin/lib/Foswiki/Plugins/NotificationPlu gin$ sudo -u www-data perl -I/usr/local/src/svn.foswiki.org/trunk/core/lib ./build.pl release

-- PaulHarvey - 27 Jan 2010

One remaining issue is helping folks to configure the SENDER variable for the plugin. Sven and Lavr suggest using configure and a Config.spec file.

-- HarlanStenn - 27 Jan 2010

Note that the 27 Jan 2010 - 04:33 tgz is from the initial commit (6158) and at least 2 more have been made since then.

-- HarlanStenn - 27 Jan 2010

They get there eventually. Did you get this E-mail from OlivierRaginel on foswiki-svn ML?

getEmailOfUser() becomes Plugins::SESSION->{users}->getEmails()

That's not entirely true, you might want to consider using Foswiki::Func::wikinameToEmails, which will do the right thing for groups, and even it will try to figure out the user if you don't supply it (undocumented feature I guess).

Anyway, this might be more upgrade-safe than using some user code.

-- Babar

-- PaulHarvey - 27 Jan 2010

Thanks Paul,

I just committed that change.

-- HarlanStenn - 27 Jan 2010

Lavr tells me the next thing that must be done (as I understand it) is to move the support scripts from bin/ to tools/ . See Crawford's ActionTrackerPlugin for a good example.

Lavr also suggests that this plugin get overhauled and cleaned up.

-- HarlanStenn - 24 Feb 2010

OK, I've moved the scripts from bin/ to tools/ . What next?

-- HarlanStenn - 10 Sep 2010

I've been working on improving the ImmediateNotifyPlugin - it's now working for SMTP and Jabber notifications. Just wondering if we ought to look at merging features of NotifyPlugin, ImmediateNotifyPlugin, and possibly the unconverted IrcPlugin, and NotifyOnChildModificationPlugin.

ImmediateNotifyPlugin has pluggable notification handlers, so it could be extended to support other notification methods.

See Development/ImmediateNotifyPlugin

-- GeorgeClark - 11 Sep 2010

Note that NotificationPlugin calls Store directly in the button handling - to save the notify list topic. This probably won't work on Foswiki 1.1 - It should either use Func or Meta as the API.

-- GeorgeClark - 11 Sep 2010

I think having a single, unified notification mechanism would be the best way to go.

One of the things I like about the NotificationPlugin is the per-user configuration file. I'd really like to see that capability in any "consolidated" rewrite.

-- HarlanStenn - 12 Sep 2010

I just installed the "current" version of this plugin at a new site. I ran the installer, which said the plugin had already been installed. Not sure about that, but I edited my personal notification topic to give me instant notifications for some webs, and when I made a new change to one of those webs I did get email, right away.

This seems to be working for me...

-- HarlanStenn - 12 Sep 2010
 


Confirmed as Enhancement

-- CrawfordCurrie - 26 Aug 2010
Topic revision: r26 - 30 Apr 2017, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy