0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/client/app/routes/settings
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
..
apps Slack integration 2016-05-08 12:49:15 +02:00
tags cleanup usage of Ember.inject 2016-01-19 07:03:27 -06:00
apps.js Slack integration 2016-05-08 12:49:15 +02:00
code-injection.js Always call _super when using Ember hooks 2015-11-30 12:45:37 +00:00
general.js Always call _super when using Ember hooks 2015-11-30 12:45:37 +00:00
labs.js Always call _super when using Ember hooks 2015-11-30 12:45:37 +00:00
navigation.js Replace jquery-ui.sortable with ember-sortable for nav items 2016-02-09 22:08:21 +00:00
tags.js Improve PaginationRoute mixin 2016-04-19 10:53:45 +01:00