Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-982

Ability to subscribe to any system event from e-mail event

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.3
    • Fix Version/s: 5.2.0-B3
    • Component/s: E-mails
    • Labels:
      None
    • Additional information:
      Hide

      Plan:
      1. Add following fields to Events table:

      • BindToSystemEvent (text in format "unit-config-prefix:OnSampleEvent")

      2. Create table EmailEventSubscribers:

      • SubscriptionId (auto-increment)
      • EmailEventId (from Events table)
      • SubscriberEmail (string default empty, used in case if user subscribed without Registration - quite useful)
      • UserId (from Users table, default NULL)
      • CategoryId (from Categories table, default NULL)
      • ItemId (default NULL)
      • ParentItemId (default NULL)
      • SubscribedOn (int, date when user was subscribed with DateTime Formatter)

      3. Add processing code, that will be executed after processing kEvent from web-browser request.
      The code will look for current event signature prefix:event_name in Events.BindToSystemEvent table and if found would check if any subscribers should be informed about it. If so, then send this e-mail.

      Show
      Plan: 1. Add following fields to Events table: BindToSystemEvent (text in format "unit-config-prefix:OnSampleEvent") 2. Create table EmailEventSubscribers: SubscriptionId (auto-increment) EmailEventId (from Events table) SubscriberEmail (string default empty, used in case if user subscribed without Registration - quite useful) UserId (from Users table, default NULL) CategoryId (from Categories table, default NULL) ItemId (default NULL) ParentItemId (default NULL) SubscribedOn (int, date when user was subscribed with DateTime Formatter) 3. Add processing code, that will be executed after processing kEvent from web-browser request. The code will look for current event signature prefix:event_name in Events.BindToSystemEvent table and if found would check if any subscribers should be informed about it. If so, then send this e-mail.
    • Change Log Group:
      Added
    • Change Log Message:
      Allows to send e-mail to all specific event (e.g. "bb:OnCreate") subscribers.
    • Story Points:
      2
    • External issue ID:
      1207
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      Add ability to send e-mail from any form being submitted on website all subscribers of that form. For example when:

      • new topic is created in a specific category
      • review is added to an article

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: