0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/server/data
Aileen Nowak 35ecaee6d3 Slack integration
closes #6584
- Frontend Changes:
	- adds 'Apps' to Navigation Menu
	- adds 'Slack' as nested page to Apps
	- adds `apps.css`
	- adds `slack-integration` model and uses `slack-settings` custom transform to parse JSON file
	- adds validation for `slack` model
	- adds fixtures and `slack/test` API endpoint to Mirage
	- adds acceptance tests for `apps-test` and `slack-test`
	- adds unit tests for `slack-settings` and `slack-integration`
- Backend Changes:
	- adds API endpoint `slack/test` to send Test Notification
	- adds default-values for slack model
	- sends payload to slack:
		- text: the url of the blogpost / test message
		- icon_url: url to ghost logo
		- username: Ghost
	- adds `slack/index.js` to send webhook to slack if
		- a new post is published (if slack webhook url is saved in settings)
		- user clicks on 'Send Test Notification' in UI
	- adds `slack.init()` to `server.index.js` to add event listener
	- adds unit test for `slack/index`
2016-05-08 12:49:15 +02:00
..
db Make it possible to override useNullAsDefault 2016-03-24 16:34:48 +00:00
export Exporter cleanup & tests 2016-03-12 19:01:25 +00:00
import deps: bluebird@3.1.2 2016-03-01 14:47:23 -06:00
importer Harvest server side strings 2015-12-19 12:12:16 +01:00
meta Add structured data to static pages 2016-03-30 12:57:13 +01:00
migration fix brace mistake in 005/01-update-ghost-client-secrets.js 2016-05-07 16:19:38 +02:00
schema Slack integration 2016-05-08 12:49:15 +02:00
slack Slack integration 2016-05-08 12:49:15 +02:00
validation deps: validator@5.1.0 2016-04-19 09:39:12 +08:00
xml Fix cache-control header for sitemaps 2016-01-25 17:56:05 +00:00
timezones.json Including timezones API in configuration endpoint 2016-02-24 16:44:01 +02:00