mirror of
https://github.com/TryGhost/Ghost-Admin.git
synced 2023-12-14 02:33:04 +01:00
Update package.json details, rename module to ghost-admin
no issue - updates `package.json` details to better reflect the separation from the `Ghost` package - update ember config and all import statements to reflect the new `ghost-admin` module name in `package.json`
This commit is contained in:
parent
97df819d98
commit
604fda4348
|
@ -1,4 +1,4 @@
|
||||||
import EmbeddedRelationAdapter from 'ghost/adapters/embedded-relation-adapter';
|
import EmbeddedRelationAdapter from 'ghost-admin/adapters/embedded-relation-adapter';
|
||||||
|
|
||||||
export default EmbeddedRelationAdapter.extend({
|
export default EmbeddedRelationAdapter.extend({
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import RESTAdapter from 'ember-data/adapters/rest';
|
import RESTAdapter from 'ember-data/adapters/rest';
|
||||||
import ghostPaths from 'ghost/utils/ghost-paths';
|
import ghostPaths from 'ghost-admin/utils/ghost-paths';
|
||||||
import DataAdapterMixin from 'ember-simple-auth/mixins/data-adapter-mixin';
|
import DataAdapterMixin from 'ember-simple-auth/mixins/data-adapter-mixin';
|
||||||
import config from 'ghost/config/environment';
|
import config from 'ghost-admin/config/environment';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
inject: {service}
|
inject: {service}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import BaseAdapter from 'ghost/adapters/base';
|
import BaseAdapter from 'ghost-admin/adapters/base';
|
||||||
|
|
||||||
const {get, isNone} = Ember;
|
const {get, isNone} = Ember;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import ApplicationAdapter from 'ghost/adapters/application';
|
import ApplicationAdapter from 'ghost-admin/adapters/application';
|
||||||
|
|
||||||
export default ApplicationAdapter.extend({
|
export default ApplicationAdapter.extend({
|
||||||
updateRecord(store, type, record) {
|
updateRecord(store, type, record) {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import ApplicationAdapter from 'ghost/adapters/application';
|
import ApplicationAdapter from 'ghost-admin/adapters/application';
|
||||||
import SlugUrl from 'ghost/mixins/slug-url';
|
import SlugUrl from 'ghost-admin/mixins/slug-url';
|
||||||
|
|
||||||
export default ApplicationAdapter.extend(SlugUrl);
|
export default ApplicationAdapter.extend(SlugUrl);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import ApplicationAdapter from 'ghost/adapters/application';
|
import ApplicationAdapter from 'ghost-admin/adapters/application';
|
||||||
import SlugUrl from 'ghost/mixins/slug-url';
|
import SlugUrl from 'ghost-admin/mixins/slug-url';
|
||||||
|
|
||||||
export default ApplicationAdapter.extend(SlugUrl, {
|
export default ApplicationAdapter.extend(SlugUrl, {
|
||||||
find(store, type, id) {
|
find(store, type, id) {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import Resolver from './resolver';
|
import Resolver from './resolver';
|
||||||
import loadInitializers from 'ember-load-initializers';
|
import loadInitializers from 'ember-load-initializers';
|
||||||
import 'ghost/utils/link-component';
|
import 'ghost-admin/utils/link-component';
|
||||||
import 'ghost/utils/text-field';
|
import 'ghost-admin/utils/text-field';
|
||||||
import config from './config/environment';
|
import config from './config/environment';
|
||||||
|
|
||||||
const {Application} = Ember;
|
const {Application} = Ember;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import TextInputMixin from 'ghost/mixins/text-input';
|
import TextInputMixin from 'ghost-admin/mixins/text-input';
|
||||||
import boundOneWay from 'ghost/utils/bound-one-way';
|
import boundOneWay from 'ghost-admin/utils/bound-one-way';
|
||||||
import {formatDate} from 'ghost/utils/date-formatting';
|
import {formatDate} from 'ghost-admin/utils/date-formatting';
|
||||||
import {invokeAction} from 'ember-invoke-action';
|
import {invokeAction} from 'ember-invoke-action';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import DropdownMixin from 'ghost/mixins/dropdown-mixin';
|
import DropdownMixin from 'ghost-admin/mixins/dropdown-mixin';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
Component,
|
Component,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import DropdownMixin from 'ghost/mixins/dropdown-mixin';
|
import DropdownMixin from 'ghost-admin/mixins/dropdown-mixin';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
Component,
|
Component,
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import EditorAPI from 'ghost/mixins/ed-editor-api';
|
import EditorAPI from 'ghost-admin/mixins/ed-editor-api';
|
||||||
import EditorShortcuts from 'ghost/mixins/ed-editor-shortcuts';
|
import EditorShortcuts from 'ghost-admin/mixins/ed-editor-shortcuts';
|
||||||
import EditorScroll from 'ghost/mixins/ed-editor-scroll';
|
import EditorScroll from 'ghost-admin/mixins/ed-editor-scroll';
|
||||||
import {invokeAction} from 'ember-invoke-action';
|
import {invokeAction} from 'ember-invoke-action';
|
||||||
|
|
||||||
const {TextArea, run} = Ember;
|
const {TextArea, run} = Ember;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import {formatMarkdown} from 'ghost/helpers/gh-format-markdown';
|
import {formatMarkdown} from 'ghost-admin/helpers/gh-format-markdown';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
Component,
|
Component,
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import ShortcutsMixin from 'ghost/mixins/shortcuts';
|
import ShortcutsMixin from 'ghost-admin/mixins/shortcuts';
|
||||||
import imageManager from 'ghost/utils/ed-image-manager';
|
import imageManager from 'ghost-admin/utils/ed-image-manager';
|
||||||
import editorShortcuts from 'ghost/utils/editor-shortcuts';
|
import editorShortcuts from 'ghost-admin/utils/editor-shortcuts';
|
||||||
import {invokeAction} from 'ember-invoke-action';
|
import {invokeAction} from 'ember-invoke-action';
|
||||||
|
|
||||||
const {Component, computed, run} = Ember;
|
const {Component, computed, run} = Ember;
|
||||||
|
|
|
@ -3,7 +3,7 @@ import { invoke, invokeAction } from 'ember-invoke-action';
|
||||||
import {
|
import {
|
||||||
RequestEntityTooLargeError,
|
RequestEntityTooLargeError,
|
||||||
UnsupportedMediaTypeError
|
UnsupportedMediaTypeError
|
||||||
} from 'ghost/services/ajax';
|
} from 'ghost-admin/services/ajax';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
Component,
|
Component,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import ValidationStatusContainer from 'ghost/components/gh-validation-status-container';
|
import ValidationStatusContainer from 'ghost-admin/components/gh-validation-status-container';
|
||||||
|
|
||||||
export default ValidationStatusContainer.extend({
|
export default ValidationStatusContainer.extend({
|
||||||
classNames: 'form-group'
|
classNames: 'form-group'
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import ghostPaths from 'ghost/utils/ghost-paths';
|
import ghostPaths from 'ghost-admin/utils/ghost-paths';
|
||||||
import {RequestEntityTooLargeError, UnsupportedMediaTypeError} from 'ghost/services/ajax';
|
import {RequestEntityTooLargeError, UnsupportedMediaTypeError} from 'ghost-admin/services/ajax';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
Component,
|
Component,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import InfiniteScrollMixin from 'ghost/mixins/infinite-scroll';
|
import InfiniteScrollMixin from 'ghost-admin/mixins/infinite-scroll';
|
||||||
|
|
||||||
const {Component} = Ember;
|
const {Component} = Ember;
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import TextInputMixin from 'ghost/mixins/text-input';
|
import TextInputMixin from 'ghost-admin/mixins/text-input';
|
||||||
|
|
||||||
const {TextField} = Ember;
|
const {TextField} = Ember;
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import ValidationState from 'ghost/mixins/validation-state';
|
import ValidationState from 'ghost-admin/mixins/validation-state';
|
||||||
import SortableItem from 'ember-sortable/mixins/sortable-item';
|
import SortableItem from 'ember-sortable/mixins/sortable-item';
|
||||||
|
|
||||||
const {Component, computed, run} = Ember;
|
const {Component, computed, run} = Ember;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import DropdownButton from 'ghost/components/gh-dropdown-button';
|
import DropdownButton from 'ghost-admin/components/gh-dropdown-button';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
inject: {service}
|
inject: {service}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import GhostDropdown from 'ghost/components/gh-dropdown';
|
import GhostDropdown from 'ghost-admin/components/gh-dropdown';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
inject: {service}
|
inject: {service}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import ActiveLinkWrapper from 'ghost/mixins/active-link-wrapper';
|
import ActiveLinkWrapper from 'ghost-admin/mixins/active-link-wrapper';
|
||||||
import {invokeAction} from 'ember-invoke-action';
|
import {invokeAction} from 'ember-invoke-action';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import AjaxService from 'ember-ajax/services/ajax';
|
import AjaxService from 'ember-ajax/services/ajax';
|
||||||
import {NotFoundError} from 'ghost/services/ajax';
|
import {NotFoundError} from 'ghost-admin/services/ajax';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
Component,
|
Component,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* global key */
|
/* global key */
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import boundOneWay from 'ghost/utils/bound-one-way';
|
import boundOneWay from 'ghost-admin/utils/bound-one-way';
|
||||||
import {invokeAction} from 'ember-invoke-action';
|
import {invokeAction} from 'ember-invoke-action';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import TextInputMixin from 'ghost/mixins/text-input';
|
import TextInputMixin from 'ghost-admin/mixins/text-input';
|
||||||
|
|
||||||
const {TextArea} = Ember;
|
const {TextArea} = Ember;
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import ValidationStateMixin from 'ghost/mixins/validation-state';
|
import ValidationStateMixin from 'ghost-admin/mixins/validation-state';
|
||||||
|
|
||||||
const {Component, computed} = Ember;
|
const {Component, computed} = Ember;
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import ModalComponent from 'ghost/components/modals/base';
|
import ModalComponent from 'ghost-admin/components/modals/base';
|
||||||
|
|
||||||
const {computed} = Ember;
|
const {computed} = Ember;
|
||||||
const {alias} = computed;
|
const {alias} = computed;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import ModalComponent from 'ghost/components/modals/base';
|
import ModalComponent from 'ghost-admin/components/modals/base';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
inject: {service}
|
inject: {service}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import ModalComponent from 'ghost/components/modals/base';
|
import ModalComponent from 'ghost-admin/components/modals/base';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
computed,
|
computed,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import ModalComponent from 'ghost/components/modals/base';
|
import ModalComponent from 'ghost-admin/components/modals/base';
|
||||||
import {invokeAction} from 'ember-invoke-action';
|
import {invokeAction} from 'ember-invoke-action';
|
||||||
|
|
||||||
const {computed} = Ember;
|
const {computed} = Ember;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import ModalComponent from 'ghost/components/modals/base';
|
import ModalComponent from 'ghost-admin/components/modals/base';
|
||||||
import {invokeAction} from 'ember-invoke-action';
|
import {invokeAction} from 'ember-invoke-action';
|
||||||
|
|
||||||
const {computed} = Ember;
|
const {computed} = Ember;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import ModalComponent from 'ghost/components/modals/base';
|
import ModalComponent from 'ghost-admin/components/modals/base';
|
||||||
import {invokeAction} from 'ember-invoke-action';
|
import {invokeAction} from 'ember-invoke-action';
|
||||||
|
|
||||||
export default ModalComponent.extend({
|
export default ModalComponent.extend({
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import { invokeAction } from 'ember-invoke-action';
|
import { invokeAction } from 'ember-invoke-action';
|
||||||
import ModalComponent from 'ghost/components/modals/base';
|
import ModalComponent from 'ghost-admin/components/modals/base';
|
||||||
import ghostPaths from 'ghost/utils/ghost-paths';
|
import ghostPaths from 'ghost-admin/utils/ghost-paths';
|
||||||
|
|
||||||
const {computed} = Ember;
|
const {computed} = Ember;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import ModalComponent from 'ghost/components/modals/base';
|
import ModalComponent from 'ghost-admin/components/modals/base';
|
||||||
import ValidationEngine from 'ghost/mixins/validation-engine';
|
import ValidationEngine from 'ghost-admin/mixins/validation-engine';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
RSVP: {Promise},
|
RSVP: {Promise},
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import ModalComponent from 'ghost/components/modals/base';
|
import ModalComponent from 'ghost-admin/components/modals/base';
|
||||||
import {invokeAction} from 'ember-invoke-action';
|
import {invokeAction} from 'ember-invoke-action';
|
||||||
|
|
||||||
export default ModalComponent.extend({
|
export default ModalComponent.extend({
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import ModalComponent from 'ghost/components/modals/base';
|
import ModalComponent from 'ghost-admin/components/modals/base';
|
||||||
|
|
||||||
export default ModalComponent.extend({
|
export default ModalComponent.extend({
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import ModalComponent from 'ghost/components/modals/base';
|
import ModalComponent from 'ghost-admin/components/modals/base';
|
||||||
|
|
||||||
export default ModalComponent.extend({
|
export default ModalComponent.extend({
|
||||||
actions: {
|
actions: {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import ModalComponent from 'ghost/components/modals/base';
|
import ModalComponent from 'ghost-admin/components/modals/base';
|
||||||
import ValidationEngine from 'ghost/mixins/validation-engine';
|
import ValidationEngine from 'ghost-admin/mixins/validation-engine';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
$,
|
$,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import ModalComponent from 'ghost/components/modals/base';
|
import ModalComponent from 'ghost-admin/components/modals/base';
|
||||||
import {invokeAction} from 'ember-invoke-action';
|
import {invokeAction} from 'ember-invoke-action';
|
||||||
|
|
||||||
export default ModalComponent.extend({
|
export default ModalComponent.extend({
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import ModalComponent from 'ghost/components/modals/base';
|
import ModalComponent from 'ghost-admin/components/modals/base';
|
||||||
import cajaSanitizers from 'ghost/utils/caja-sanitizers';
|
import cajaSanitizers from 'ghost-admin/utils/caja-sanitizers';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
computed,
|
computed,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import EditorControllerMixin from 'ghost/mixins/editor-base-controller';
|
import EditorControllerMixin from 'ghost-admin/mixins/editor-base-controller';
|
||||||
|
|
||||||
const {Controller} = Ember;
|
const {Controller} = Ember;
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import EditorControllerMixin from 'ghost/mixins/editor-base-controller';
|
import EditorControllerMixin from 'ghost-admin/mixins/editor-base-controller';
|
||||||
|
|
||||||
const {Controller} = Ember;
|
const {Controller} = Ember;
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import {parseDateString} from 'ghost/utils/date-formatting';
|
import {parseDateString} from 'ghost-admin/utils/date-formatting';
|
||||||
import SettingsMenuMixin from 'ghost/mixins/settings-menu-controller';
|
import SettingsMenuMixin from 'ghost-admin/mixins/settings-menu-controller';
|
||||||
import boundOneWay from 'ghost/utils/bound-one-way';
|
import boundOneWay from 'ghost-admin/utils/bound-one-way';
|
||||||
import isNumber from 'ghost/utils/isNumber';
|
import isNumber from 'ghost-admin/utils/isNumber';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
$,
|
$,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import ValidationEngine from 'ghost/mixins/validation-engine';
|
import ValidationEngine from 'ghost-admin/mixins/validation-engine';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
Controller,
|
Controller,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import SettingsSaveMixin from 'ghost/mixins/settings-save';
|
import SettingsSaveMixin from 'ghost-admin/mixins/settings-save';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
Controller,
|
Controller,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import SettingsSaveMixin from 'ghost/mixins/settings-save';
|
import SettingsSaveMixin from 'ghost-admin/mixins/settings-save';
|
||||||
import randomPassword from 'ghost/utils/random-password';
|
import randomPassword from 'ghost-admin/utils/random-password';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
Controller,
|
Controller,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import SettingsSaveMixin from 'ghost/mixins/settings-save';
|
import SettingsSaveMixin from 'ghost-admin/mixins/settings-save';
|
||||||
import NavigationItem from 'ghost/models/navigation-item';
|
import NavigationItem from 'ghost-admin/models/navigation-item';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
Controller,
|
Controller,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import ValidationEngine from 'ghost/mixins/validation-engine';
|
import ValidationEngine from 'ghost-admin/mixins/validation-engine';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
Controller,
|
Controller,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import ValidationEngine from 'ghost/mixins/validation-engine';
|
import ValidationEngine from 'ghost-admin/mixins/validation-engine';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
$,
|
$,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import ValidationEngine from 'ghost/mixins/validation-engine';
|
import ValidationEngine from 'ghost-admin/mixins/validation-engine';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
Controller,
|
Controller,
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import Table from 'ember-light-table';
|
import Table from 'ember-light-table';
|
||||||
import PaginationMixin from 'ghost/mixins/pagination';
|
import PaginationMixin from 'ghost-admin/mixins/pagination';
|
||||||
import ghostPaths from 'ghost/utils/ghost-paths';
|
import ghostPaths from 'ghost-admin/utils/ghost-paths';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
$,
|
$,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import isNumber from 'ghost/utils/isNumber';
|
import isNumber from 'ghost-admin/utils/isNumber';
|
||||||
import boundOneWay from 'ghost/utils/bound-one-way';
|
import boundOneWay from 'ghost-admin/utils/bound-one-way';
|
||||||
import { invoke } from 'ember-invoke-action';
|
import { invoke } from 'ember-invoke-action';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import counter from 'ghost/utils/word-count';
|
import counter from 'ghost-admin/utils/word-count';
|
||||||
|
|
||||||
const {Helper} = Ember;
|
const {Helper} = Ember;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* global html_sanitize*/
|
/* global html_sanitize*/
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import cajaSanitizers from 'ghost/utils/caja-sanitizers';
|
import cajaSanitizers from 'ghost-admin/utils/caja-sanitizers';
|
||||||
|
|
||||||
const {Helper} = Ember;
|
const {Helper} = Ember;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* global Showdown, html_sanitize*/
|
/* global Showdown, html_sanitize*/
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import cajaSanitizers from 'ghost/utils/caja-sanitizers';
|
import cajaSanitizers from 'ghost-admin/utils/caja-sanitizers';
|
||||||
|
|
||||||
const {Helper} = Ember;
|
const {Helper} = Ember;
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import ghostPaths from 'ghost/utils/ghost-paths';
|
import ghostPaths from 'ghost-admin/utils/ghost-paths';
|
||||||
|
|
||||||
// Handlebars Helper {{gh-path}}
|
// Handlebars Helper {{gh-path}}
|
||||||
// Usage: Assume 'http://www.myghostblog.org/myblog/'
|
// Usage: Assume 'http://www.myghostblog.org/myblog/'
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* global moment, Showdown */
|
/* global moment, Showdown */
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import titleize from 'ghost/utils/titleize';
|
import titleize from 'ghost-admin/utils/titleize';
|
||||||
|
|
||||||
const {Mixin} = Ember;
|
const {Mixin} = Ember;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import PostModel from 'ghost/models/post';
|
import PostModel from 'ghost-admin/models/post';
|
||||||
import boundOneWay from 'ghost/utils/bound-one-way';
|
import boundOneWay from 'ghost-admin/utils/bound-one-way';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
Mixin,
|
Mixin,
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import ShortcutsRoute from 'ghost/mixins/shortcuts-route';
|
import ShortcutsRoute from 'ghost-admin/mixins/shortcuts-route';
|
||||||
import styleBody from 'ghost/mixins/style-body';
|
import styleBody from 'ghost-admin/mixins/style-body';
|
||||||
import ctrlOrCmd from 'ghost/utils/ctrl-or-cmd';
|
import ctrlOrCmd from 'ghost-admin/utils/ctrl-or-cmd';
|
||||||
|
|
||||||
const {$, Mixin, RSVP, run} = Ember;
|
const {$, Mixin, RSVP, run} = Ember;
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import getRequestErrorMessage from 'ghost/utils/ajax';
|
import getRequestErrorMessage from 'ghost-admin/utils/ajax';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
Mixin,
|
Mixin,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import ShortcutsMixin from 'ghost/mixins/shortcuts';
|
import ShortcutsMixin from 'ghost-admin/mixins/shortcuts';
|
||||||
|
|
||||||
const {Mixin} = Ember;
|
const {Mixin} = Ember;
|
||||||
|
|
||||||
|
|
|
@ -1,22 +1,22 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import DS from 'ember-data';
|
import DS from 'ember-data';
|
||||||
import Model from 'ember-data/model';
|
import Model from 'ember-data/model';
|
||||||
import getRequestErrorMessage from 'ghost/utils/ajax';
|
import getRequestErrorMessage from 'ghost-admin/utils/ajax';
|
||||||
|
|
||||||
import InviteUserValidator from 'ghost/validators/invite-user';
|
import InviteUserValidator from 'ghost-admin/validators/invite-user';
|
||||||
import NavItemValidator from 'ghost/validators/nav-item';
|
import NavItemValidator from 'ghost-admin/validators/nav-item';
|
||||||
import PostValidator from 'ghost/validators/post';
|
import PostValidator from 'ghost-admin/validators/post';
|
||||||
import ResetValidator from 'ghost/validators/reset';
|
import ResetValidator from 'ghost-admin/validators/reset';
|
||||||
import SettingValidator from 'ghost/validators/setting';
|
import SettingValidator from 'ghost-admin/validators/setting';
|
||||||
import SetupValidator from 'ghost/validators/setup';
|
import SetupValidator from 'ghost-admin/validators/setup';
|
||||||
import SigninValidator from 'ghost/validators/signin';
|
import SigninValidator from 'ghost-admin/validators/signin';
|
||||||
import SignupValidator from 'ghost/validators/signup';
|
import SignupValidator from 'ghost-admin/validators/signup';
|
||||||
import SlackIntegrationValidator from 'ghost/validators/slack-integration';
|
import SlackIntegrationValidator from 'ghost-admin/validators/slack-integration';
|
||||||
import SubscriberValidator from 'ghost/validators/subscriber';
|
import SubscriberValidator from 'ghost-admin/validators/subscriber';
|
||||||
import TagSettingsValidator from 'ghost/validators/tag-settings';
|
import TagSettingsValidator from 'ghost-admin/validators/tag-settings';
|
||||||
import UserValidator from 'ghost/validators/user';
|
import UserValidator from 'ghost-admin/validators/user';
|
||||||
|
|
||||||
import ValidatorExtensions from 'ghost/utils/validator-extensions';
|
import ValidatorExtensions from 'ghost-admin/utils/validator-extensions';
|
||||||
|
|
||||||
const {Mixin, RSVP, isArray} = Ember;
|
const {Mixin, RSVP, isArray} = Ember;
|
||||||
const {Errors} = DS;
|
const {Errors} = DS;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import ValidationEngine from 'ghost/mixins/validation-engine';
|
import ValidationEngine from 'ghost-admin/mixins/validation-engine';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
computed,
|
computed,
|
||||||
|
|
|
@ -3,7 +3,7 @@ import Ember from 'ember';
|
||||||
import Model from 'ember-data/model';
|
import Model from 'ember-data/model';
|
||||||
import attr from 'ember-data/attr';
|
import attr from 'ember-data/attr';
|
||||||
import { belongsTo, hasMany } from 'ember-data/relationships';
|
import { belongsTo, hasMany } from 'ember-data/relationships';
|
||||||
import ValidationEngine from 'ghost/mixins/validation-engine';
|
import ValidationEngine from 'ghost-admin/mixins/validation-engine';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
computed,
|
computed,
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* jscs:disable requireCamelCaseOrUpperCaseIdentifiers */
|
/* jscs:disable requireCamelCaseOrUpperCaseIdentifiers */
|
||||||
import Model from 'ember-data/model';
|
import Model from 'ember-data/model';
|
||||||
import attr from 'ember-data/attr';
|
import attr from 'ember-data/attr';
|
||||||
import ValidationEngine from 'ghost/mixins/validation-engine';
|
import ValidationEngine from 'ghost-admin/mixins/validation-engine';
|
||||||
|
|
||||||
export default Model.extend(ValidationEngine, {
|
export default Model.extend(ValidationEngine, {
|
||||||
validationType: 'setting',
|
validationType: 'setting',
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import ValidationEngine from 'ghost/mixins/validation-engine';
|
import ValidationEngine from 'ghost-admin/mixins/validation-engine';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
computed,
|
computed,
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import Model from 'ember-data/model';
|
import Model from 'ember-data/model';
|
||||||
import attr from 'ember-data/attr';
|
import attr from 'ember-data/attr';
|
||||||
import {belongsTo} from 'ember-data/relationships';
|
import {belongsTo} from 'ember-data/relationships';
|
||||||
import ValidationEngine from 'ghost/mixins/validation-engine';
|
import ValidationEngine from 'ghost-admin/mixins/validation-engine';
|
||||||
|
|
||||||
export default Model.extend(ValidationEngine, {
|
export default Model.extend(ValidationEngine, {
|
||||||
validationType: 'subscriber',
|
validationType: 'subscriber',
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* jscs:disable requireCamelCaseOrUpperCaseIdentifiers */
|
/* jscs:disable requireCamelCaseOrUpperCaseIdentifiers */
|
||||||
import Model from 'ember-data/model';
|
import Model from 'ember-data/model';
|
||||||
import attr from 'ember-data/attr';
|
import attr from 'ember-data/attr';
|
||||||
import ValidationEngine from 'ghost/mixins/validation-engine';
|
import ValidationEngine from 'ghost-admin/mixins/validation-engine';
|
||||||
|
|
||||||
export default Model.extend(ValidationEngine, {
|
export default Model.extend(ValidationEngine, {
|
||||||
validationType: 'tag',
|
validationType: 'tag',
|
||||||
|
|
|
@ -3,7 +3,7 @@ import Ember from 'ember';
|
||||||
import Model from 'ember-data/model';
|
import Model from 'ember-data/model';
|
||||||
import attr from 'ember-data/attr';
|
import attr from 'ember-data/attr';
|
||||||
import { hasMany } from 'ember-data/relationships';
|
import { hasMany } from 'ember-data/relationships';
|
||||||
import ValidationEngine from 'ghost/mixins/validation-engine';
|
import ValidationEngine from 'ghost-admin/mixins/validation-engine';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
computed,
|
computed,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import ghostPaths from 'ghost/utils/ghost-paths';
|
import ghostPaths from 'ghost-admin/utils/ghost-paths';
|
||||||
import documentTitle from 'ghost/utils/document-title';
|
import documentTitle from 'ghost-admin/utils/document-title';
|
||||||
import config from './config/environment';
|
import config from './config/environment';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import AuthenticatedRoute from 'ghost/routes/authenticated';
|
import AuthenticatedRoute from 'ghost-admin/routes/authenticated';
|
||||||
import styleBody from 'ghost/mixins/style-body';
|
import styleBody from 'ghost-admin/mixins/style-body';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
inject: {service}
|
inject: {service}
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import AuthConfiguration from 'ember-simple-auth/configuration';
|
import AuthConfiguration from 'ember-simple-auth/configuration';
|
||||||
import ApplicationRouteMixin from 'ember-simple-auth/mixins/application-route-mixin';
|
import ApplicationRouteMixin from 'ember-simple-auth/mixins/application-route-mixin';
|
||||||
import ShortcutsRoute from 'ghost/mixins/shortcuts-route';
|
import ShortcutsRoute from 'ghost-admin/mixins/shortcuts-route';
|
||||||
import ctrlOrCmd from 'ghost/utils/ctrl-or-cmd';
|
import ctrlOrCmd from 'ghost-admin/utils/ctrl-or-cmd';
|
||||||
import windowProxy from 'ghost/utils/window-proxy';
|
import windowProxy from 'ghost-admin/utils/window-proxy';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
Route,
|
Route,
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
/* jscs:disable requireCamelCaseOrUpperCaseIdentifiers */
|
/* jscs:disable requireCamelCaseOrUpperCaseIdentifiers */
|
||||||
import AuthenticatedRoute from 'ghost/routes/authenticated';
|
import AuthenticatedRoute from 'ghost-admin/routes/authenticated';
|
||||||
import base from 'ghost/mixins/editor-base-route';
|
import base from 'ghost-admin/mixins/editor-base-route';
|
||||||
import NotFoundHandler from 'ghost/mixins/404-handler';
|
import NotFoundHandler from 'ghost-admin/mixins/404-handler';
|
||||||
import isNumber from 'ghost/utils/isNumber';
|
import isNumber from 'ghost-admin/utils/isNumber';
|
||||||
import isFinite from 'ghost/utils/isFinite';
|
import isFinite from 'ghost-admin/utils/isFinite';
|
||||||
|
|
||||||
export default AuthenticatedRoute.extend(base, NotFoundHandler, {
|
export default AuthenticatedRoute.extend(base, NotFoundHandler, {
|
||||||
titleToken: 'Editor',
|
titleToken: 'Editor',
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import AuthenticatedRoute from 'ghost/routes/authenticated';
|
import AuthenticatedRoute from 'ghost-admin/routes/authenticated';
|
||||||
import base from 'ghost/mixins/editor-base-route';
|
import base from 'ghost-admin/mixins/editor-base-route';
|
||||||
|
|
||||||
export default AuthenticatedRoute.extend(base, {
|
export default AuthenticatedRoute.extend(base, {
|
||||||
titleToken: 'Editor',
|
titleToken: 'Editor',
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import AuthenticatedRoute from 'ghost/routes/authenticated';
|
import AuthenticatedRoute from 'ghost-admin/routes/authenticated';
|
||||||
import ShortcutsRoute from 'ghost/mixins/shortcuts-route';
|
import ShortcutsRoute from 'ghost-admin/mixins/shortcuts-route';
|
||||||
import PaginationMixin from 'ghost/mixins/pagination';
|
import PaginationMixin from 'ghost-admin/mixins/pagination';
|
||||||
|
|
||||||
export default AuthenticatedRoute.extend(ShortcutsRoute, PaginationMixin, {
|
export default AuthenticatedRoute.extend(ShortcutsRoute, PaginationMixin, {
|
||||||
titleToken: 'Content',
|
titleToken: 'Content',
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin';
|
import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin';
|
||||||
import MobileIndexRoute from 'ghost/routes/mobile-index-route';
|
import MobileIndexRoute from 'ghost-admin/routes/mobile-index-route';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
computed,
|
computed,
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import AuthenticatedRoute from 'ghost/routes/authenticated';
|
import AuthenticatedRoute from 'ghost-admin/routes/authenticated';
|
||||||
import ShortcutsRoute from 'ghost/mixins/shortcuts-route';
|
import ShortcutsRoute from 'ghost-admin/mixins/shortcuts-route';
|
||||||
import NotFoundHandler from 'ghost/mixins/404-handler';
|
import NotFoundHandler from 'ghost-admin/mixins/404-handler';
|
||||||
import isNumber from 'ghost/utils/isNumber';
|
import isNumber from 'ghost-admin/utils/isNumber';
|
||||||
import isFinite from 'ghost/utils/isFinite';
|
import isFinite from 'ghost-admin/utils/isFinite';
|
||||||
|
|
||||||
export default AuthenticatedRoute.extend(ShortcutsRoute, NotFoundHandler, {
|
export default AuthenticatedRoute.extend(ShortcutsRoute, NotFoundHandler, {
|
||||||
model(params) {
|
model(params) {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import Configuration from 'ember-simple-auth/configuration';
|
import Configuration from 'ember-simple-auth/configuration';
|
||||||
import styleBody from 'ghost/mixins/style-body';
|
import styleBody from 'ghost-admin/mixins/style-body';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
Route,
|
Route,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import AuthenticatedRoute from 'ghost/routes/authenticated';
|
import AuthenticatedRoute from 'ghost-admin/routes/authenticated';
|
||||||
import CurrentUserSettings from 'ghost/mixins/current-user-settings';
|
import CurrentUserSettings from 'ghost-admin/mixins/current-user-settings';
|
||||||
import styleBody from 'ghost/mixins/style-body';
|
import styleBody from 'ghost-admin/mixins/style-body';
|
||||||
|
|
||||||
export default AuthenticatedRoute.extend(styleBody, CurrentUserSettings, {
|
export default AuthenticatedRoute.extend(styleBody, CurrentUserSettings, {
|
||||||
titleToken: 'Settings - Apps',
|
titleToken: 'Settings - Apps',
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import AuthenticatedRoute from 'ghost/routes/authenticated';
|
import AuthenticatedRoute from 'ghost-admin/routes/authenticated';
|
||||||
import CurrentUserSettings from 'ghost/mixins/current-user-settings';
|
import CurrentUserSettings from 'ghost-admin/mixins/current-user-settings';
|
||||||
import styleBody from 'ghost/mixins/style-body';
|
import styleBody from 'ghost-admin/mixins/style-body';
|
||||||
|
|
||||||
export default AuthenticatedRoute.extend(styleBody, CurrentUserSettings, {
|
export default AuthenticatedRoute.extend(styleBody, CurrentUserSettings, {
|
||||||
titleToken: 'Settings - Apps - Slack',
|
titleToken: 'Settings - Apps - Slack',
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import AuthenticatedRoute from 'ghost/routes/authenticated';
|
import AuthenticatedRoute from 'ghost-admin/routes/authenticated';
|
||||||
import CurrentUserSettings from 'ghost/mixins/current-user-settings';
|
import CurrentUserSettings from 'ghost-admin/mixins/current-user-settings';
|
||||||
import styleBody from 'ghost/mixins/style-body';
|
import styleBody from 'ghost-admin/mixins/style-body';
|
||||||
|
|
||||||
export default AuthenticatedRoute.extend(styleBody, CurrentUserSettings, {
|
export default AuthenticatedRoute.extend(styleBody, CurrentUserSettings, {
|
||||||
titleToken: 'Settings - Code Injection',
|
titleToken: 'Settings - Code Injection',
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import AuthenticatedRoute from 'ghost/routes/authenticated';
|
import AuthenticatedRoute from 'ghost-admin/routes/authenticated';
|
||||||
import CurrentUserSettings from 'ghost/mixins/current-user-settings';
|
import CurrentUserSettings from 'ghost-admin/mixins/current-user-settings';
|
||||||
import styleBody from 'ghost/mixins/style-body';
|
import styleBody from 'ghost-admin/mixins/style-body';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
RSVP,
|
RSVP,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import AuthenticatedRoute from 'ghost/routes/authenticated';
|
import AuthenticatedRoute from 'ghost-admin/routes/authenticated';
|
||||||
import styleBody from 'ghost/mixins/style-body';
|
import styleBody from 'ghost-admin/mixins/style-body';
|
||||||
import CurrentUserSettings from 'ghost/mixins/current-user-settings';
|
import CurrentUserSettings from 'ghost-admin/mixins/current-user-settings';
|
||||||
|
|
||||||
export default AuthenticatedRoute.extend(styleBody, CurrentUserSettings, {
|
export default AuthenticatedRoute.extend(styleBody, CurrentUserSettings, {
|
||||||
titleToken: 'Settings - Labs',
|
titleToken: 'Settings - Labs',
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import AuthenticatedRoute from 'ghost/routes/authenticated';
|
import AuthenticatedRoute from 'ghost-admin/routes/authenticated';
|
||||||
import CurrentUserSettings from 'ghost/mixins/current-user-settings';
|
import CurrentUserSettings from 'ghost-admin/mixins/current-user-settings';
|
||||||
import styleBody from 'ghost/mixins/style-body';
|
import styleBody from 'ghost-admin/mixins/style-body';
|
||||||
|
|
||||||
const {$} = Ember;
|
const {$} = Ember;
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
/* global key */
|
/* global key */
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import AuthenticatedRoute from 'ghost/routes/authenticated';
|
import AuthenticatedRoute from 'ghost-admin/routes/authenticated';
|
||||||
import CurrentUserSettings from 'ghost/mixins/current-user-settings';
|
import CurrentUserSettings from 'ghost-admin/mixins/current-user-settings';
|
||||||
import ShortcutsRoute from 'ghost/mixins/shortcuts-route';
|
import ShortcutsRoute from 'ghost-admin/mixins/shortcuts-route';
|
||||||
import PaginationMixin from 'ghost/mixins/pagination';
|
import PaginationMixin from 'ghost-admin/mixins/pagination';
|
||||||
|
|
||||||
export default AuthenticatedRoute.extend(CurrentUserSettings, PaginationMixin, ShortcutsRoute, {
|
export default AuthenticatedRoute.extend(CurrentUserSettings, PaginationMixin, ShortcutsRoute, {
|
||||||
titleToken: 'Settings - Tags',
|
titleToken: 'Settings - Tags',
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import AuthenticatedRoute from 'ghost/routes/authenticated';
|
import AuthenticatedRoute from 'ghost-admin/routes/authenticated';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
inject: {service}
|
inject: {service}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import AuthenticatedRoute from 'ghost/routes/authenticated';
|
import AuthenticatedRoute from 'ghost-admin/routes/authenticated';
|
||||||
|
|
||||||
export default AuthenticatedRoute.extend({
|
export default AuthenticatedRoute.extend({
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* jscs:disable requireCamelCaseOrUpperCaseIdentifiers */
|
/* jscs:disable requireCamelCaseOrUpperCaseIdentifiers */
|
||||||
import AuthenticatedRoute from 'ghost/routes/authenticated';
|
import AuthenticatedRoute from 'ghost-admin/routes/authenticated';
|
||||||
import NotFoundHandler from 'ghost/mixins/404-handler';
|
import NotFoundHandler from 'ghost-admin/mixins/404-handler';
|
||||||
|
|
||||||
export default AuthenticatedRoute.extend(NotFoundHandler, {
|
export default AuthenticatedRoute.extend(NotFoundHandler, {
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import Configuration from 'ember-simple-auth/configuration';
|
import Configuration from 'ember-simple-auth/configuration';
|
||||||
import styleBody from 'ghost/mixins/style-body';
|
import styleBody from 'ghost-admin/mixins/style-body';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
Route,
|
Route,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import styleBody from 'ghost/mixins/style-body';
|
import styleBody from 'ghost-admin/mixins/style-body';
|
||||||
import Configuration from 'ember-simple-auth/configuration';
|
import Configuration from 'ember-simple-auth/configuration';
|
||||||
import DS from 'ember-data';
|
import DS from 'ember-data';
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import AuthenticatedRoute from 'ghost/routes/authenticated';
|
import AuthenticatedRoute from 'ghost-admin/routes/authenticated';
|
||||||
import styleBody from 'ghost/mixins/style-body';
|
import styleBody from 'ghost-admin/mixins/style-body';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
canInvoke,
|
canInvoke,
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import DS from 'ember-data';
|
import DS from 'ember-data';
|
||||||
import Configuration from 'ember-simple-auth/configuration';
|
import Configuration from 'ember-simple-auth/configuration';
|
||||||
import styleBody from 'ghost/mixins/style-body';
|
import styleBody from 'ghost-admin/mixins/style-body';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
Route,
|
Route,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import AuthenticatedRoute from 'ghost/routes/authenticated';
|
import AuthenticatedRoute from 'ghost-admin/routes/authenticated';
|
||||||
|
|
||||||
const {
|
const {
|
||||||
RSVP,
|
RSVP,
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import AuthenticatedRoute from 'ghost/routes/authenticated';
|
import AuthenticatedRoute from 'ghost-admin/routes/authenticated';
|
||||||
import CurrentUserSettings from 'ghost/mixins/current-user-settings';
|
import CurrentUserSettings from 'ghost-admin/mixins/current-user-settings';
|
||||||
import PaginationMixin from 'ghost/mixins/pagination';
|
import PaginationMixin from 'ghost-admin/mixins/pagination';
|
||||||
import styleBody from 'ghost/mixins/style-body';
|
import styleBody from 'ghost-admin/mixins/style-body';
|
||||||
|
|
||||||
export default AuthenticatedRoute.extend(styleBody, CurrentUserSettings, PaginationMixin, {
|
export default AuthenticatedRoute.extend(styleBody, CurrentUserSettings, PaginationMixin, {
|
||||||
titleToken: 'Team',
|
titleToken: 'Team',
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
/* jscs:disable requireCamelCaseOrUpperCaseIdentifiers */
|
/* jscs:disable requireCamelCaseOrUpperCaseIdentifiers */
|
||||||
import AuthenticatedRoute from 'ghost/routes/authenticated';
|
import AuthenticatedRoute from 'ghost-admin/routes/authenticated';
|
||||||
import CurrentUserSettings from 'ghost/mixins/current-user-settings';
|
import CurrentUserSettings from 'ghost-admin/mixins/current-user-settings';
|
||||||
import styleBody from 'ghost/mixins/style-body';
|
import styleBody from 'ghost-admin/mixins/style-body';
|
||||||
import NotFoundHandler from 'ghost/mixins/404-handler';
|
import NotFoundHandler from 'ghost-admin/mixins/404-handler';
|
||||||
|
|
||||||
export default AuthenticatedRoute.extend(styleBody, CurrentUserSettings, NotFoundHandler, {
|
export default AuthenticatedRoute.extend(styleBody, CurrentUserSettings, NotFoundHandler, {
|
||||||
titleToken: 'Team - User',
|
titleToken: 'Team - User',
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* jscs:disable requireCamelCaseOrUpperCaseIdentifiers */
|
/* jscs:disable requireCamelCaseOrUpperCaseIdentifiers */
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import ApplicationSerializer from 'ghost/serializers/application';
|
import ApplicationSerializer from 'ghost-admin/serializers/application';
|
||||||
import EmbeddedRecordsMixin from 'ember-data/serializers/embedded-records-mixin';
|
import EmbeddedRecordsMixin from 'ember-data/serializers/embedded-records-mixin';
|
||||||
|
|
||||||
export default ApplicationSerializer.extend(EmbeddedRecordsMixin, {
|
export default ApplicationSerializer.extend(EmbeddedRecordsMixin, {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import ApplicationSerializer from 'ghost/serializers/application';
|
import ApplicationSerializer from 'ghost-admin/serializers/application';
|
||||||
|
|
||||||
export default ApplicationSerializer.extend({
|
export default ApplicationSerializer.extend({
|
||||||
serializeIntoHash(hash, type, record, options) {
|
serializeIntoHash(hash, type, record, options) {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* jscs:disable requireCamelCaseOrUpperCaseIdentifiers */
|
/* jscs:disable requireCamelCaseOrUpperCaseIdentifiers */
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import ApplicationSerializer from 'ghost/serializers/application';
|
import ApplicationSerializer from 'ghost-admin/serializers/application';
|
||||||
|
|
||||||
export default ApplicationSerializer.extend({
|
export default ApplicationSerializer.extend({
|
||||||
serializeIntoHash(hash, type, record, options) {
|
serializeIntoHash(hash, type, record, options) {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import ApplicationSerializer from 'ghost/serializers/application';
|
import ApplicationSerializer from 'ghost-admin/serializers/application';
|
||||||
import EmbeddedRecordsMixin from 'ember-data/serializers/embedded-records-mixin';
|
import EmbeddedRecordsMixin from 'ember-data/serializers/embedded-records-mixin';
|
||||||
|
|
||||||
export default ApplicationSerializer.extend(EmbeddedRecordsMixin, {
|
export default ApplicationSerializer.extend(EmbeddedRecordsMixin, {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
import AjaxService from 'ember-ajax/services/ajax';
|
import AjaxService from 'ember-ajax/services/ajax';
|
||||||
import {AjaxError} from 'ember-ajax/errors';
|
import {AjaxError} from 'ember-ajax/errors';
|
||||||
import config from 'ghost/config/environment';
|
import config from 'ghost-admin/config/environment';
|
||||||
|
|
||||||
const {inject, computed} = Ember;
|
const {inject, computed} = Ember;
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue