Slack integration for Active Collab 4. Following events are pushed to pre-defined channels:
- new task
- new comments
- completed tasks
- Active Collab 4.2.x
- Project's custom field 1 is not yet in use (if you want to use more than one channel).
- Project's custom field 2 is not yet in use (for multiple teams).
- Download sources and extract them to
custom/modules/slack
within your Active Collab. - Go to slack.com and issue an auth token.
- Open your
config/config.php
and enter your token and/or teams (see Configuration). - Login as admin and install module via "Administration → Modules".
- Go to "Administration → Project Settings" and enable the THIRD custom field. A good name for the field might be "Slack channel".
- The custom field(s) will now appear under project settings. Enter the name of the channel where messages will be posted to (f.e. "#general" or "privategroup").
All options are set in your Active Collab config: config/config.php
Set the API token via define('SLACK_API_TOKEN', 'xoxp-YOUR-TOKEN-HERE');
.
The default channel is set to #general. You can set a custom one by changing the SLACK_DEFAULT_CHANNEL
:
define('SLACK_DEFAULT_CHANNEL', '#example');
Open source licensed under the MIT license (see LICENSE file for details).