1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00
Commit graph

619 commits

Author SHA1 Message Date
Kevin Ansfield 04b8dbb855
Bump Ember dependencies to 3.0 (#961)
no issue
- upgrade `ember-cli`, `ember-source`, and `ember-data` to their latest 3.x versions
- remove jquery ajax test that was a silent failure anyway (we removed the global jquery ajax auth patch a while ago)
- fix issues that arose from using/abusing Ember internals in a couple of places
2018-02-28 17:31:43 +00:00
Kevin Ansfield cbf98a9a80
Bump dependencies (#960)
no issue
- bump all deps with non-breaking changes
- bump yarn.lock sub-dependencies
2018-02-28 13:08:26 +00:00
Kevin Ansfield 479b187ac0
Remove ember-one-way-controls (#959)
closes https://github.com/TryGhost/Ghost/issues/9386
- remove usage of `{{one-way-checkbox}}` in favour of direct HTML+handlebars
- add `{{gh-text-input}}` that inherits from Ember's built-in `TextInput` component along with our custom `TextInput` mixin
- swap all uses of `{{gh-input}}` for `{{gh-text-input}}
- remove `{{gh-input}}` component
- update `{{gh-textarea}}` to inherit from Ember's `TextArea` component instead of `OneWayTextarea` and update all component uses accordingly
- update `{{gh-trim-focus-input}}` to inherit from `{{gh-text-input}}` and update all component uses accordingly
- standardize on using the `focus-out` action naming rather than `focusOut` for all text inputs, this is because the text input components (especially `{{gh-trim-focus-input}}`) have their own `focusOut` handler which gets overridden if consumers supply their own `focusOut` attr
- drop `ember-one-way-controls` package
- add `ember-one-way-select` package
2018-02-28 11:44:03 +00:00
Aileen Nowak 1c902af744 Version bump to 1.21.3 2018-02-21 08:19:52 +07:00
Kevin Ansfield 22befb1604 Bump dependencies
no issue
- bump all deps with non-breaking changes
- bump yarn.lock sub-dependencies
2018-02-19 18:01:53 +00:00
Kevin Ansfield 6618f228b9 Version bump to 1.21.2 2018-02-14 18:24:03 +00:00
kirrg001 5c2cbe3cad Version bump to 1.21.1 2018-02-07 12:35:33 +01:00
kirrg001 32722bb982 Version bump to 1.21.0 2018-02-07 10:51:41 +01:00
Tobias Bieniek fa4d1b66fc Update ember-cli-mocha to v0.15.0 (#922)
no issue
2018-02-06 09:38:42 +01:00
Kevin Ansfield 3d341e2dd6
Koenig reboot - rich text (#952)
refs https://github.com/TryGhost/Ghost/issues/9311

Koenig is being fully rebooted, first port of call is to focus on getting the rich-text only aspect of mobiledoc-kit working with our popup toolbar.

- renames old koenig implementation (used for reference, will eventually be deleted)
- new `{{koenig-editor}}` mobiledoc-kit component implementation based on ember-mobiledoc-editor
  - markdown text expansions
- new `{{gh-koenig-edtor}}` that wraps our title+editor and handles keyboard navigation between the two
  - clicks below content will focus the editor
- new `{{koenig-toolbar}}` component for the popup formatting toolbar with improved behaviour and simplified code
2018-01-30 10:01:07 +00:00
Kevin Ansfield 7013b269ce Fixed node 4.x compatibility in ember-cli-string-helpers
no issue
- linked directly to compatibility fix commit
- PR opened at https://github.com/romulomachado/ember-cli-string-helpers/pull/19
2018-01-29 11:54:24 +00:00
Kevin Ansfield dd5af3dfc1 Bump dependencies
no issue
- bump all deps with non-breaking changes
- bump yarn.lock sub-dependencies
2018-01-29 11:06:25 +00:00
Kevin Ansfield 0b8aff02fb Bump eslint-plugin-ghost to version actually including node 4.x compat 2018-01-24 20:26:39 +00:00
Kevin Ansfield 58cda663fe Bumped eslint-plugin-ghost (fixed yarn install error) 2018-01-23 17:45:05 +00:00
Kevin Ansfield ca0ff2c87d Version bump to 1.20.3 2018-01-23 16:26:10 +00:00
Kevin Ansfield 41b3521cf1
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
kirrg001 01f4e1e3e9 Version bump to 1.20.2 2018-01-17 18:13:44 +01:00
kirrg001 5a54a60003 Version bump to 1.20.1 2018-01-16 14:36:25 +01:00
Kevin Ansfield 6b5c85e005
Bump dependencies (#947)
no issue
- bump all deps with non-breaking changes
- bump yarn.lock sub-dependencies
- add `eslint` as a top-level dependency to satisfy peerDeps and fix linting when using Atom
2018-01-12 13:13:24 +00:00
Kevin Ansfield 7afb88a0c2 Switch to eslint-plugin-ghost extending plugin:ghost/ember
no issue
- fix lint errors in lib/gh-koenig
- fix ghost:base eslint errors
- update ember plugin refs, remove ember-suave plugin refs
- remove old jshint refs
- add `lint:js` script
- switch to `eslint-plugin-ghost` extending `plugin:ghost/ember`
2018-01-12 12:17:56 +00:00
kirrg001 38f3e09f28 Version bump to 1.20.0 2018-01-09 21:42:08 +01:00
Kevin Ansfield 946a3d5d0b 🐛 Fixed list editing regression in 1.19.2
closes https://github.com/TryGhost/Ghost/issues/9372
- bump codemirror dependency to 5.33.0
- bump simplemde dependency
	- bumps internal codemirror to 5.33.0
	- moves all dependencies to devDependencies
2018-01-05 11:48:12 +00:00
Kevin Ansfield d6cc6c882d
Bump dependencies (#939)
no issue
- upgrade all dependencies with non-breaking changes
- bump sub-dependencies in yarn.lock
2018-01-04 14:18:32 +00:00
Aileen Nowak b8c614af4e Version bump to 1.19.2 2018-01-04 17:21:55 +07:00
Kevin Ansfield 255b3f8f7b Version bump to 1.19.1 2018-01-03 14:39:59 +00:00
Kevin Ansfield 1c1fc8d724 Revert ember-cli to 2.16.2
no issue
- there's a [bug in ember-cli@2.17](https://github.com/ember-cli/ember-cli/issues/7518) that results in production builds throwing an error: `Uncaught Error: Could not find module 'ember-resolver' imported from 'ghost-admin/resolver'`
2018-01-03 14:37:28 +00:00
Tobias Bieniek 5629a86dd4 Update ember-simple-auth to v1.4.2 (#932)
no issue
- updates `ember-simple-auth` to v1.4.2 to take advantage of the bug fix in https://github.com/simplabs/ember-simple-auth/pull/1477
- enables/unblocks https://github.com/TryGhost/Ghost-Admin/pull/922
2017-12-27 16:19:48 +00:00
Kevin Ansfield 50f4c6d278
Bump dependencies (#929)
no issue
- upgrade all dependencies with non breaking changes
- bump sub-dependencies in yarn.lock
2017-12-13 12:27:15 +00:00
kirrg001 54ced51f91 Version bump to 1.19.0 2017-12-13 10:15:23 +01:00
Katharina Irrgang 7acbc3e61b
Revert "Bump dependencies (#927)" (#928)
This reverts commit 4ef74eeae4.
2017-12-13 10:10:46 +01:00
Kevin Ansfield 4ef74eeae4
Bump dependencies (#927)
no issue
- upgrade all dependencies with non breaking changes
- bump sub-dependencies in yarn.lock
2017-12-12 14:00:35 +00:00
Aileen Nowak 8b49b6fbbf Version bump to 1.18.4 2017-12-07 19:30:00 +07:00
kirrg001 ebe7358eaa Version bump to 1.18.3 2017-12-05 10:07:05 +01:00
Aileen Nowak 31395de1ee Version bump to 1.18.2 2017-11-30 20:16:26 +07:00
Kevin Ansfield 7ab9fc6a6e Version bump to 1.18.1 2017-11-29 15:50:50 +00:00
Kevin Ansfield 09cfde54dc bump eslint-plugin-ember, enable default rules 2017-11-25 09:49:49 +00:00
Kevin Ansfield 1916d9029a
Bump dependencies (#911)
no issue
- bump minor/non-breaking dependencies
- bump sub-dependencies in yarn.lock
2017-11-22 13:31:33 +00:00
Aileen Nowak 33675661fe Version bump to 1.18.0 2017-11-21 23:48:01 +08:00
Kevin Ansfield 12a7e1e661
Bump dependencies (#910)
no issue
- bump all deps with non-breaking changes
- bump sub-dependencies in yarn.lock
2017-11-17 16:15:20 +00:00
kirrg001 b485d9d9cc Version bump to 1.17.3 2017-11-16 16:01:51 +01:00
kirrg001 98661b06ed Version bump to 1.17.2 2017-11-14 14:09:36 +01:00
Kevin Ansfield a333e9506a Version bump to 1.17.1 2017-11-09 14:37:42 +00:00
Kevin Ansfield 8bb24e1ee5 Bump dependencies
no issue
- upgraded all out-of-date deps which don't require additional work to support
- bumped yarn.lock sub-dependencies
2017-11-09 13:39:34 +00:00
Kevin Ansfield 0e40981995 Version bump to 1.17.0 2017-11-07 13:41:35 +00:00
Kevin Ansfield ddc7b857b5
Bump ember-ajax dependency (#902)
no issue
- upgrade `ember-ajax` to 3.0.0
- `ember-ajax` [now passes the payload through directly](https://github.com/ember-cli/ember-ajax/releases/tag/v3.0.0) rather than trying to normalize it so all our error handling needed to be updated
2017-11-03 22:59:39 +00:00
kirrg001 98aafd15e3 Version bump to 1.16.2 2017-11-02 13:54:35 +01:00
Kevin Ansfield 491b498f09 Bump vertical-collection dependency 2017-11-01 08:48:37 +00:00
kirrg001 1e73e5930b Version bump to 1.16.1 2017-10-31 13:20:05 +01:00
Kevin Ansfield 39fbb7a625 Bump dependencies 2017-10-31 11:51:18 +00:00
Kevin Ansfield 72ff75b935
New tags input, drop selectize & jquery-ui deps (#892)
closes https://github.com/TryGhost/Ghost/issues/6458
- swap `ember-sortable` for `ember-drag-drop` in navigation UI
- extract PSM tag input into new `{{gh-psm-tags-input}}`
- add new `{{gh-token-input}}` that wraps `ember-power-select` and `ember-drag-drop` to replicate the previous selectize based tags input
- enhance `{{gh-psm-tags-input}}` behaviour to highlight selected primary tag and show "primary/internal" in selected tag titles
- 🔥 remove `selectize`
- 🔥 remove `jquery-ui`
- 🔥 remove unused `{{gh-navigation}}` component
2017-10-31 09:10:49 +00:00
Aileen Nowak dcff959618 Version bump to 1.16.0 2017-10-26 19:20:03 +07:00
Aileen Nowak 0b86a72399 Version bump to 1.15.1 2017-10-24 16:19:28 +07:00
Kevin Ansfield 1ea43295da Version bump to 1.15.0 2017-10-19 14:26:38 +01:00
Kevin Ansfield 5153b2ab64 Version bump to 1.14.1 2017-10-17 16:14:31 +01:00
Kevin Ansfield 8d8bdf727a Version bump to 1.14.0 2017-10-13 15:54:09 +01:00
Kevin Ansfield bfb27f677a Bump dependencies (#887)
no issue

- ember/ember-data/ember-cli@2.16
- bump all outdated dependencies that do not require additional work or more extensive tests
- bump sub-dependencies in yarn.lock
- use `broccoli-uglify-sourcemap` (same dep as already used in `ember-cli-uglify`) instead of a separate `broccoli-uglify-js` package for building production codemirror assets
- add `/concat-stats-for` to `.gitignore` so that filesize stats from `CONCAT_STATS=true ember build` don't end up in the repo
2017-10-12 17:42:10 +02:00
kirrg001 80cccf74d4 Version bump to 1.13.0 2017-10-10 14:40:34 +02:00
kirrg001 2c786a5fe7 Version bump to 1.12.1 2017-10-06 14:45:19 +02:00
Aileen Nowak 89b72ea523 Version bump to 1.12.0 2017-10-05 18:57:41 +07:00
Aileen Nowak 7f8d92470a Version bump to 1.11.1 2017-10-04 16:37:59 +07:00
Aileen Nowak 0fcdc1ac97 Version bump to 1.11.0 2017-10-03 19:41:57 +07:00
Kevin Ansfield 22e30eed9c Version bump to 1.10.0 2017-09-28 15:09:30 +01:00
Kevin Ansfield 90706d0b38 Version bump to 1.9.1 2017-09-26 14:49:00 +01:00
kirrg001 d5fc240a70 Version bump to 1.9.0 2017-09-21 17:03:59 +02:00
kirrg001 4371142095 Version bump to 1.8.7 2017-09-19 14:20:32 +02:00
Aileen Nowak 94a2d3a870 Version bump to 1.8.6 2017-09-14 18:43:19 +07:00
Aileen Nowak 062e63804b Version bump to 1.8.5 2017-09-12 20:30:11 +07:00
Kevin Ansfield d4faa15f46 Upgrade eslint dependencies (#855)
no issue

- bump ember-cli-eslint and eslint-plugin-ember
- fix indentation & "unnecessary escape chars" lint errors
2017-09-11 14:56:11 +07:00
Kevin Ansfield 6975c01e69 Remove unwanted String.prototype extensions (#856)
closes https://github.com/TryGhost/Ghost/issues/8958

- `markdown-it-named-headers` pulled in `String.js` despite it not being used which added a lot of String.prototype extensions and caused Ember deprecation notices
- moves the short `markdown-it-named-headers` functionality directly into our app code without using `String.js`
2017-09-11 10:39:22 +07:00
kirrg001 87449ebb80 Version bump to 1.8.4 2017-09-07 14:45:56 +02:00
kirrg001 ad7d826b28 Version bump to 1.8.3 2017-09-05 20:36:01 +02:00
kirrg001 c1c7c9906c Version bump to 1.8.2 2017-09-05 14:17:34 +02:00
Kevin Ansfield 6cb04e4c41 Removed defunct Ghost OAuth code (#848)
refs https://github.com/TryGhost/Ghost/issues/8958

- Ghost OAuth isn't coming back, time for the code to disappear and simply all the things
- fixes the `Usage of router is deprecated` notices that flood the console/test logs when testing
2017-09-04 21:17:04 +02:00
Kevin Ansfield 7f03fa62c2 Run Chrome in headless mode on Travis
no issue
- align Travis config more closely to default ember-cli setup
- run Chrome in headless mode in CI (Travis + `ember test`, `ember test --server` is "dev" mode)
- install yarn via install script rather than npm
- remove broccoli cache from Travis cache (not sure it ever worked?)
- remove forced node-sass install (no longer needed)
- add `testem` as a top-level dep to force the latest version (ember-data is pinned at 1.15)
2017-09-02 16:39:49 -04:00
Kevin Ansfield 39a976cd9d Upgrade to Ember 2.15.0
no issue
- bumped `ember`, `ember-cli`, `ember-data` and related dependencies
- bumped yarn.lock sub-dependencies
- use new public `router` service in place of the private `-routing` service
2017-09-02 16:18:10 -04:00
Kevin Ansfield 53967a83fe Version bump to 1.8.1 2017-08-31 14:34:52 +01:00
Kevin Ansfield ec354c472d Version bump to 1.8.0 2017-08-29 14:21:54 +01:00
Kevin Ansfield a75138eb06 Bump dependencies (#839)
no issue
- bump dependencies that don't require additional changes
- bump sub-dependencies in yarn.lock
2017-08-28 11:39:29 +01:00
Kevin Ansfield 2295787797 Version bump to 1.7.1 2017-08-24 14:45:03 +01:00
Kevin Ansfield e0f8671939 Version bump to 1.7.0 2017-08-22 14:09:29 +01:00
Kevin Ansfield 88449ed639 Switched from ember-cli-shims to new module imports (#779)
no issue

- add eslint-plugin-ember, configure no-old-shims rule
- run `eslint --fix` on `app`, `lib`, `mirage`, and `tests` to move imports to the new module imports
- further cleanup of Ember globals usage
- remove event-dispatcher initializer now that `canDispatchToEventManager` is deprecated
2017-08-22 14:53:26 +07:00
Kevin Ansfield e9f744fdd7 Bump dependencies (#832)
no issue
- rollup of outdated deps that didn't contain breaking changes
- bumped sub-dependency versions in yarn.lock
2017-08-18 10:58:50 +07:00
Kevin Ansfield b641b7fd31 Version bump to 1.6.2 2017-08-17 18:29:53 +01:00
cobbspur 4d215e217c Version bump to 1.6.1 2017-08-16 13:07:59 +01:00
Kevin Ansfield a062e4df4d Version bump to 1.6.0 2017-08-15 18:36:42 +01:00
Kevin Ansfield 951ede711b Bump postcss and cssnano related dependencies
no issue
- an earlier dependency update resulted in production builds failing due to `cssnano`'s `postcss-merge-idents` dependency failing with a `Maximum call stack size exceeded` error
- bump `cssnano` to the 4.0.0 RC which includes a fix for this issue
- bump other `postcss` dependencies for good measure
2017-08-15 18:10:11 +01:00
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
Kevin Ansfield b3d1474f40 Bump dependencies (#826)
no issue
- rollup of minor dependency updates
- bump yarn.lock sub-dependencies
- remove deprecated use of `testSelector`
2017-08-11 16:28:05 +01:00
kirrg001 ac85d18d25 Version bump to 1.5.2 2017-08-10 16:25:03 +02:00
kirrg001 7da3b55384 Version bump to 1.5.1 2017-08-08 15:14:32 +02:00
kirrg001 868d62bea3 Version bump to 1.5.0 2017-08-03 16:02:48 +04:00
Aileen Nowak 837f37de26 Added Twitter & Facebook data override fields to PSM (#814)
refs https://github.com/TryGhost/Ghost/issues/8334, requires https://github.com/TryGhost/Ghost/pull/8827
- added open graph and twitter fields to `Post` model
- added facebook and twitter card pane to PSM
- 💅🏼 Added preview styles for custom FB/Twitter cards
2017-08-03 15:45:14 +04:00
kirrg001 61fc7cb928 Version bump to 1.4.0 2017-08-02 15:13:29 +04:00
kirrg001 92fede757f Revert: Version bump to 1.3.1 2017-08-02 14:56:14 +04:00
Sebastian Gierlinger a339ec6d4f Version bump to 1.3.1 2017-08-02 14:35:33 +04:00
kirrg001 fb316a9f92 Version bump to 1.3.0 2017-08-01 17:29:48 +04:00
kirrg001 4ce1f9d8ce Version bump to 1.2.0 2017-07-31 14:40:18 +04:00
Kevin Ansfield a76d40ab9c ⬆️ bump core ember dependencies (#804)
no issue

- bump core `ember`, `ember-data` and `ember-cli` related dependencies
- remove deprecated `MODEL_FACTORY_INJECTIONS` flag
- update files to better match `ember-cli new` output for easier diffs during upgrades
2017-07-31 13:38:46 +04:00
kirrg001 c6beed549c Version bump to 1.1.0 2017-07-28 18:31:37 +04:00
Kevin Ansfield 9a5cba6ea4 Version bump to 1.0.2 2017-07-27 13:45:36 +04:00