mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-28 05:14:12 +03:00
753f307382
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` |
||
---|---|---|
.. | ||
gh-search-input | ||
modals | ||
gh-activating-list-item.hbs | ||
gh-alert.hbs | ||
gh-alerts.hbs | ||
gh-app.hbs | ||
gh-blog-url.hbs | ||
gh-content-preview-content.hbs | ||
gh-content-view-container.hbs | ||
gh-datetime-input.hbs | ||
gh-ed-preview.hbs | ||
gh-editor-save-button.hbs | ||
gh-editor.hbs | ||
gh-error-message.hbs | ||
gh-feature-flag.hbs | ||
gh-file-upload.hbs | ||
gh-fullscreen-modal.hbs | ||
gh-image-uploader-with-preview.hbs | ||
gh-image-uploader.hbs | ||
gh-infinite-scroll.hbs | ||
gh-menu-toggle.hbs | ||
gh-modal-dialog.hbs | ||
gh-nav-menu.hbs | ||
gh-navigation.hbs | ||
gh-navitem.hbs | ||
gh-notification.hbs | ||
gh-notifications.hbs | ||
gh-posts-list-item.hbs | ||
gh-profile-image.hbs | ||
gh-search-input.hbs | ||
gh-select-native.hbs | ||
gh-spin-button.hbs | ||
gh-tag-settings-form.hbs | ||
gh-tag.hbs | ||
gh-tags-management-container.hbs | ||
gh-url-preview.hbs | ||
gh-user-active.hbs | ||
gh-user-invited.hbs | ||
gh-view-title.hbs |