The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::Wubot::Web::Notify - web interface for wubot notifications

VERSION

version 0.3.4

CONFIGURATION

   ~/wubot/config/webui.yaml

    ---
    plugins:
      notify:
        '/notify': notify
        '/notify/id/(.id)': item
        '/tags': tags
        '/colors': colors

DESCRIPTION

The wubot web interface is still under construction!

The notification web interface serves as your notification inbox. You can browse through the unread notifications, mark them read, limit the display to specific plugins or usernames, apply tags, or mark them for later review.

By default, items in the inbox are grouped and collapsed based on the 'coalesce' field defined in the message. There are some default coalesce fields provided by many of the plugins, or you can easily use rules to alter the defaults.

By convention, wubot messages that are worthy of your attention will contain a 'subject' field describing the event. This could be the subject of an email or rss feed, a tweet, a description of a disk space problem, etc. For more information on wubot notifications, see also App::Wubot::Guide::Notifications.

In order to use the notification web interface, you will first need to define a rule in the reactor to store the message in the notifications table. This can be done with a rule such as:

  - name: notify sql table
    plugin: SQLite
    config:
      file: /Users/wu/wubot/sqlite/notify.sql
      tablename: notifications

The notifications table schema is provided in the wubot distribution, see the 'schema's section of App::Wubot::SQLite for more information.

SUBROUTINES/METHODS

notify

Display the notifications web interface

item

Display a single item from the notification queue.

tags

Display the tags web interface.

colors

Display the range of the age colors used in the timeline.