Ghost/ghost/admin/tests/unit/models
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
..
invite-test.js Switch to eslint-plugin-ghost extending plugin:ghost/ember 2018-01-12 12:17:56 +00:00
navigation-item-test.js Switch to eslint-plugin-ghost extending plugin:ghost/ember 2018-01-12 12:17:56 +00:00
post-test.js Resurrect the old alpha Koenig editor (#916) 2018-01-18 15:36:01 +00:00
role-test.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
setting-test.js
subscriber-test.js Switch to eslint-plugin-ghost extending plugin:ghost/ember 2018-01-12 12:17:56 +00:00
tag-test.js
user-test.js Match client-side password validation to new server-side rules (#899) 2017-10-26 11:02:17 +01:00