Ghost-Admin/app/mixins
Kevin Ansfield 1e3191b811 Unsplash integration
closes https://github.com/TryGhost/Ghost/issues/8859, requires https://github.com/TryGhost/Ghost/pull/8895
- adds Unsplash app to app settings
  - enable/disable toggle
  - validation and testing of Unsplash App ID
  - Unsplash App ID field hidden if provided via Ghost config
  - adds `fetchPrivate` method to `config` service to pull config that requires authentication and updates authentication routines to fetch private config
- adds Unsplash buttons to editor toolbar and `{{gh-image-uploader}}`
  - only present when Unsplash app is enabled
  - opens Unsplash image selector when clicked
  - `{{gh-image-uploader}}` has a new `allowUnsplash` attribute to control display of the unsplash button on a per-uploader basis
- adds Unsplash image selector (`{{gh-unsplash}}`)
  - uses new `unsplash` service to handle API requests and maintain state
  - search
  - infinite scroll
  - zoom image
  - insert image
  - download image
- adds `{{gh-scroll-trigger}}` that will fire an event when the component is rendered into or enters the visible screen area via scrolling
- updates `ui` service
  - adds `isFullscreen` property and updates `gh-editor` so that it gets set/unset when toggling editor fullscreen mode
  - adds `hasSideNav` and `isSideNavHidden` properties
- updates `media-queries` service so that it fires an event each time a breakpoint is entered/exited
  - removes the need for observers in certain circumstances
2017-08-15 16:01:12 +01:00
..
body-event-listener.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
current-user-settings.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
dropdown-mixin.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
editor-base-controller.js Refactor general UI state into a service 2017-08-15 16:01:12 +01:00
editor-base-route.js 🐛 fix duplicate posts bug, more intelligent autosave when transitioning (#800) 2017-07-22 10:25:00 -04:00
pagination.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
settings-menu-component.js 🎨 convert post-settings-menu into a component (#137) 2017-03-10 14:30:01 +00:00
shortcuts-route.js remove zen styling (#160) 2016-07-31 20:35:19 +01:00
shortcuts.js remove zen styling (#160) 2016-07-31 20:35:19 +01:00
slug-url.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
style-body.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
text-input.js 🐛 fix enter key not working in text inputs/areas (#771) 2017-07-10 19:09:11 +07:00
unauthenticated-route-mixin.js 🎨 remove usage of ghost's {{asset}} helper in index.html (#574) 2017-03-14 17:04:46 +01:00
validation-engine.js Unsplash integration 2017-08-15 16:01:12 +01:00
validation-state.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00