Ghost/ghost/admin/app/services
Kevin Ansfield 506b2a9388 Resurrect the old alpha Koenig editor (#916)
requires https://github.com/TryGhost/Ghost/pull/9277

- added a `koenigEditor` feature flag
  - modified the feature service to accept a `developer` boolean on the options object passed into the internal `feature` method, if `true` the feature flag won't be enabled unless the `enableDeveloperExperiments` config option is also enabled
  - added "developer feature testing" section in labs that's only visible if `enableDeveloperExperiments` config flag is enabled
  - added koenig editor toggle to the developer section in labs

- enabled a switch between the markdown and koenig editors
  - modified the default value of the `mobiledoc` attr in the Post model to be a blank mobiledoc or blank markdown mobiledoc depending on the feature flag
  - modified the `autofocus` switch in editor controller's `setPost` method so that it is always switched, even for new->edit where the post model isn't swapped
  - added a compatibility check to the editor controller's `setPost` method that shows an alert and force enables the koenig editor if the koenig flag is not enabled and the opened post is not compatible with the markdown editor

- fixed various issues that have appeared due to the old koenig alpha becoming out of sync with master
2018-01-18 15:36:01 +00:00
..
ajax.js Switch to eslint-plugin-ghost extending plugin:ghost/ember 2018-01-12 12:17:56 +00:00
clock.js Switch to eslint-plugin-ghost extending plugin:ghost/ember 2018-01-12 12:17:56 +00:00
config.js Avoid leaking state in Ember objects 2017-11-25 09:49:49 +00:00
dropdown.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
event-bus.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
feature.js Resurrect the old alpha Koenig editor (#916) 2018-01-18 15:36:01 +00:00
ghost-paths.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
lazy-loader.js Don't destructure Ember.testing (#933) 2018-01-02 10:19:59 +00:00
media-queries.js Unsplash integration 2017-08-15 16:01:12 +01:00
notifications.js Bump ember-ajax dependency (#902) 2017-11-03 22:59:39 +00:00
session.js Switch to eslint-plugin-ghost extending plugin:ghost/ember 2018-01-12 12:17:56 +00:00
settings.js Match service/controller import to ember-modules-codemod style for consistency 2017-10-30 09:38:01 +00:00
slug-generator.js Match service/controller import to ember-modules-codemod style for consistency 2017-10-30 09:38:01 +00:00
tour.js Switch to eslint-plugin-ghost extending plugin:ghost/ember 2018-01-12 12:17:56 +00:00
ui.js Match service/controller import to ember-modules-codemod style for consistency 2017-10-30 09:38:01 +00:00
unsplash.js Switch to eslint-plugin-ghost extending plugin:ghost/ember 2018-01-12 12:17:56 +00:00
upgrade-status.js 🎨 Move "Update available" notification to the About screen (#894) 2018-01-09 14:23:36 +00:00