Ignore:
Timestamp:
01/22/12 15:23:10 (4 months ago)
Author:
GeorgeClark
Message:

Item9551: More updates to ImmediateNotify

Pulled the Twitter and IRC code from TweetOnSavePlugin and IrcPlugin.
Not functional here yet, need converting. Changed the templates to real
templates, so they can be more easily overridden using Topic templates.

Added a beforeSaveHandler and a NewTopic context - so the messages can
more easily show created vs updated topics.

Eliminated the MIME multipart headers from the email template, since a
single part message using multipart headers causes issues in Outlook.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ImmediateNotifyPlugin/lib/Foswiki/Plugins/ImmediateNotifyPlugin/Config.spec

    r12051 r13777  
    11# ---+ Extensions 
    22# ---++ ImmediateNotifyPlugin 
     3# ---+++ EMail Notifications 
    34# **BOOLEAN** 
    45# Enable SMTP for mailing messages. Note:  This plugin uses Foswiki core email support for sending 
     
    1516$Foswiki::cfg{Plugins}{ImmediateNotifyPlugin}{SMTP}{EmailFilterIn} = ''; 
    1617 
     18# ---+++ Jabber / XMPP 
    1719# **BOOLEAN** 
    1820# Enable XMPP (XMPP) for notifications. 
     
    3335$Foswiki::cfg{Plugins}{ImmediateNotifyPlugin}{XMPP}{Password} = ''; 
    3436 
     37# ---+++ Twitter 
     38# **BOOLEAN** 
     39# Enable Twitter for notifications. 
     40$Foswiki::cfg{Plugins}{ImmediateNotifyPlugin}{Twitter}{Enabled} = $FALSE; 
     41 
     42# **STRING 30** 
     43# Specify the username for the twitter account 
     44$Foswiki::cfg{Plugins}{ImmediateNotifyPlugin}{Twitter}{Username} = ''; 
     45 
     46# **PASSWORD 30** 
     47# Specify the password for the twitter account 
     48$Foswiki::cfg{Plugins}{ImmediateNotifyPlugin}{Twitter}{Password} = ''; 
     49 
     50# ---+++ Bit.ly URL Shortening 
     51# **BOOLEAN** 
     52# Enable URL Shortening with Bit.ly. 
     53$Foswiki::cfg{Plugins}{ImmediateNotifyPlugin}{Bitly}{Enabled} = $FALSE; 
     54 
     55# **STRING** 
     56# Optionally, specify a bit.ly username 
     57$Foswiki::cfg{Plugins}{ImmediateNotifyPlugin}{Bitly}{Username} = ''; 
     58 
     59# **STRING** 
     60# Optionally, specify a bit.ly API key 
     61$Foswiki::cfg{Plugins}{ImmediateNotifyPlugin}{Bitlly}{APIKey} = ''; 
Note: See TracChangeset for help on using the changeset viewer.