2017 © Pedro Peláez
 

neos-package publishnotifier

This package sends notifications to admins every time someone publishes to an internal workspace.

image

codeq/publishnotifier

This package sends notifications to admins every time someone publishes to an internal workspace.

  • Monday, June 19, 2017
  • by rolandschuetz
  • Repository
  • 2 Watchers
  • 3 Stars
  • 55 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 2 % Grown

The README.md

Neos CMS - Publisher Notifier

This package sends notifications every time someone publishes to an internal workspace. If the internal workspace already has unpublished changes it will not send notifications anymore to not spam Slack channels or email inboxes., (*1)

Simply install the package via composer:, (*2)

composer require codeq/publishnotifier

Make sure your site has Neos.Flow.http.baseUri setting defined, so your reviewers would get correct urls. If you don't want to do this, you can manually set the domain in the message text like this:, (*3)

Please review the changes and publish to live: https://example.com/%3$s', (*4)

Configuration for email notifications

In order to send messages to emails you need to add configure the neos/swiftmailer credentials, (*5)

Then you need to configure the target email addresses, together with the email content:, (*6)

CodeQ:
  PublishNotifier:
    email:
      enabled: false
      senderName: 'Neos'
      senderAddress: 'no-reply@neos-server.com'
      notifyEmails:
        - 'notifyme@example.com'
      subject: '%1$s has published changes'
      body: |+
        %1$s has published changes to the private workspace %2$s.
        Please review the changes and publish to live: %3$s'

Configuration for Slack messages

In order to send messages to Slack you need to add an incoming WebHook to your Slack workspace. Read more about it here https://api.slack.com/incoming-webhooks, (*7)

As the incoming webhooks are treated as Slack Apps they are bound to a single channel. Therefore, you can configure multiple "postTo" to use several webhooks:, (*8)

CodeQ:
  PublishNotifier:
    slack:
      enabled: false
      postTo:
        myExampleTarget:
          webhookUrl: 'https://hooks.slack.com/services/...'
      message: |+
        %1$s has published changes to the private workspace %2$s.
        Please review the changes and publish to live: %3$s'

Possible Improvements

  • Automatically get email addresses from all live-publishers.
  • Show visual diff of changes

The Versions

19/06 2017

dev-master

9999999-dev

This package sends notifications to admins every time someone publishes to an internal workspace.

  Sources   Download

GPL-3.0+

The Requires

 

19/06 2017

0.3

0.3.0.0

This package sends notifications to admins every time someone publishes to an internal workspace.

  Sources   Download

GPL-3.0+

The Requires

 

01/06 2017

0.2.1

0.2.1.0

This package sends notifications to admins every time someone publishes to an internal workspace.

  Sources   Download

GPL-3.0+

The Requires

 

26/05 2017

0.2

0.2.0.0

This package sends notifications to admins every time someone publishes to an internal workspace.

  Sources   Download

GPL-3.0+

The Requires

 

11/05 2017

0.1

0.1.0.0

This package sends notifications to admins every time someone publishes to an internal workspace.

  Sources   Download

The Requires