0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00
ghost/core/client/app/validators
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
..
base.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
invite-user.js Refactor modals 2016-01-12 20:53:08 +00:00
nav-item.js validate nav items when clicking the + button, ignoring last item if blank 2016-02-08 14:20:57 +00:00
new-user.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
post.js Standardise client property names to camelCase 2016-01-23 19:12:22 +01:00
reset.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
setting.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
setup.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
signin.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
signup.js
slack-integration.js Slack integration 2016-05-08 12:49:15 +02:00
tag-settings.js Standardise client property names to camelCase 2016-01-23 19:12:22 +01:00
user.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00