Commit Graph

2806 Commits

Author SHA1 Message Date
Katharina Irrgang
8d78015385 Merge pull request #231 from ErisDS/theme-link
💄 Adding id to themes title for inter-linking
2016-08-25 11:53:32 +02:00
Hannah Wolfe
e22b787cb6 💄 Adding id to themes title for inter-linking 2016-08-25 10:26:05 +01:00
Katharina Irrgang
334af8c302 revert: package.json to 0.9.0 (#230)
no issue
2016-08-25 10:25:29 +01:00
Kevin Ansfield
926f0283b5 detailed theme validation errors (#226)
no issue
- display the detailed validation errors that we get back from gscan so that users know how to fix their themes
2016-08-24 20:22:20 +02:00
Austin Burdine
7f089e1e47 fix font rendering in ie/edge (#225) 2016-08-24 16:44:02 +02:00
Kevin Ansfield
7886cdcb79 🐛 fix highlighted number of posts when deleting a user (#144)
closes https://github.com/TryGhost/Ghost/issues/7136
- pass user into the modal when displaying
- fix the user->model alias in the modal component
- update mirage user endpoints to respect `?include=count.posts` param
2016-08-24 07:26:29 -06:00
Kevin Ansfield
346cfc5c48 🐛 prevent task-buttons dropping clicks when multiple tasks enqueued simultaneously (#222)
refs https://github.com/TryGhost/Ghost/issues/7255
- adds a `.appear-disabled` CSS class that doesn't prevent pointer events like `.disabled`
- updates `gh-task-button`:
  - use `.appear-disabled` class instead of actually disabling button
  - add check to guard against the button's assigned task being run multiple times whilst the spinner is running

This resolves the [user profile slug issue](https://github.com/TryGhost/Ghost/issues/7255) where clicking the Save button whilst the slug input has focus would only trigger the input's focus-out event due to it immediately disabling the button.
2016-08-24 07:14:36 -06:00
Kevin Ansfield
e8ba1071a0 🐛 fix post-settings-menu slug input (#223)
refs https://github.com/TryGhost/Ghost/issues/7255
- adds missing `slugGenerator` service injection
2016-08-24 06:58:49 -06:00
Austin Burdine
ce58f6db33 Merge pull request #221 from kevinansfield/handle-duplicate-package-names
 add folder names to tell duplicate themes apart
2016-08-23 10:56:42 -06:00
Kevin Ansfield
6ba865cfdd indicate folder names to tell duplicate themes apart
refs https://github.com/TryGhost/Ghost-Admin/pull/210
- removes unused `activeTheme` property on `gh-theme-table`
- updates label generation in `gh-theme-table` to add folder names when there are duplicate package.json name+version combos
2016-08-23 16:55:32 +01:00
Kevin Ansfield
a255f937dd add final theme management acceptance tests
refs https://github.com/TryGhost/Ghost-Admin/pull/210
- adds missing acceptance tests for theme deletion
- adds theme deletion endpoint to mirage config
- fixes mirage settings update endpoint (was previously removing config that the client didn't send and also losing the `type` key for all entries preventing the `GET` request from working properly)
2016-08-23 15:27:46 +01:00
kirrg001
5c7e67ccaf Version bump to 0.10.0 2016-08-23 16:27:29 +02:00
Greenkeeper
a684280fd0 chore(package): update codemirror to version 5.18.0 (#217)
https://greenkeeper.io/
2016-08-23 06:30:53 -06:00
Austin Burdine
d561691231 Merge pull request #210 from kevinansfield/theme-uploads
Theme management
2016-08-23 06:14:12 -06:00
Kevin Ansfield
0abe447551 theme management UI
refs https://github.com/TryGhost/Ghost/issues/7204, requires https://github.com/TryGhost/Ghost/pull/7209

- replaces theme dropdown with a table
- adds theme upload modal
    - validates theme mime type
    - prevents upload of `casper.zip` (default Casper theme can't be overwritten)
    - warns if an upload will overwrite an existing theme
    - gives option of immediately activating the uploaded theme or closing after successful upload
- adds theme activation link/action
- adds theme download link/action
- adds theme deletion modal
    - warns about no undo possibility
    - offers possibility to download theme
- modifies mirage config to handle theme changes
2016-08-23 12:42:38 +01:00
Kevin Ansfield
3bfc342314 add fileSelected action to upload components
no issue
- upload components will now trigger a passed-in `fileSelected` action upon file selection - useful when users of the components want to utilise the file object without supplying a custom validation action
2016-08-23 12:32:11 +01:00
Kevin Ansfield
67b2a159a9 🐛 fix infinite spinner on failed save through SettingsSaveMixin 2016-08-23 12:32:10 +01:00
Aileen Nowak
11f569a051 ⬇️ 🐛 Downgrade to ember-one-way-controls 0.9.2 (#219)
closes Tryghost/Ghost#7245

Downgrades to `ember-one-way-controls` v0.9.2, as v1.0.1 had a bug when starting to type in the middle of the text inside of the input field.
2016-08-23 07:51:05 +01:00
Kevin Ansfield
508a473b43 validate file uploads against "accept" mime-type before uploading (#214)
closes https://github.com/TryGhost/Ghost/issues/7144
- allow the `accept` attr of `gh-file-uploader` and `gh-image-uploader` to be specified
- allows a `validate` action to be passed into `gh-image-uploader` and `gh-file-uploader` components that runs after a file is selected and before the upload starts
- adds a default `validate` action to `gh-image-uploader` and `gh-file-uploader` that triggers the normal `UnsupportedFileType` error when the selected file's mime-type does not match the `accept` attribute
- adds mime type validation to labs importer (basic implementation, should be replaced with uploader components once they have been refactored)
2016-08-22 05:45:33 -06:00
Greenkeeper
8cd8d7b4ed chore(package): update ember-route-action-helper to version 1.0.0 (#216)
https://greenkeeper.io/
2016-08-20 08:08:54 -06:00
Austin Burdine
a136875fa2 remove google font loading from index.html (#215) 2016-08-18 18:06:05 +02:00
John O'Nolan
52e34b530c Minor visual bug fixes (#212)
- Fix positioning bug introduced in #211
- Adjust search results max-height to be based on viewport height
2016-08-18 09:57:19 -06:00
John O'Nolan
642fbb7668 Merge pull request #213 from AileenCGN/7222-fix-arrow-positioning
🐛  Fix position of arrow in Apps UI
2016-08-18 17:15:14 +02:00
John O'Nolan
e5c6e7fac8 Fix font-family declaration 2016-08-18 17:02:56 +02:00
Aileen Nowak
e4fd6b71d6 🐛 Fix position of arrow in Apps UI
closes TryGhost/Ghost#7222

Adds `right: 0` to `.apps-configured > i`, so the arrow doesn't overlap with the letters.
2016-08-18 16:30:19 +02:00
John O'Nolan
22ef644463 Switch to new native system font stack (#211) 2016-08-18 12:42:42 +01:00
Kevin Ansfield
1abaa1de4a 💄 move grouped mirage config into separate files (#209)
no issue
- moves mirage config for grouped endpoints into separate files to cleanup the `app/mirage/config.js` file
- endpoints are now mocked via a single `mockX(this)` call allowing for quick/easy mocking in the dev environment as well as the test environment without cluttering `config.js`
2016-08-17 09:14:33 -06:00
Greenkeeper
02ee319404 chore(package): update ember-cli-babel to version 5.1.10 (#208)
https://greenkeeper.io/
2016-08-17 08:17:00 +01:00
Greenkeeper
9a62fe666c chore(package): update grunt-shell to version 1.3.1 (#207)
https://greenkeeper.io/
2016-08-12 21:38:49 -06:00
Greenkeeper
2112b09404 chore(package): update lodash to version 4.15.0 (#205)
https://greenkeeper.io/
2016-08-12 16:56:19 -06:00
Greenkeeper
72e73af68b chore(package): update ember-cli-babel to version 5.1.9 (#204)
https://greenkeeper.io/
2016-08-12 15:09:50 -06:00
Greenkeeper
3f87f1679b chore(package): update ember-cli-htmlbars-inline-precompile to version 0.3.5 (#202)
https://greenkeeper.io/
2016-08-12 10:01:00 -06:00
Greenkeeper
9ee59df4b6 chore(package): update ember-cli-htmlbars to version 1.1.0 (#200)
https://greenkeeper.io/
2016-08-12 09:17:20 -06:00
Austin Burdine
771416a3cc convert tagNames to use computed.mapBy (#203)
- fix travis test bug
2016-08-12 16:07:46 +01:00
Austin Burdine
9acef445ee Introducing Concurrency (#147)
* deps: ember-concurrency@0.7.8

* initial conversion of post & user actions to e-concurrency tasks

- add task button which handles auto-spinning of e-concurrency tasks
- fix tests
2016-08-11 07:58:38 +01:00
Greenkeeper
1958642502 chore(package): update ember-cli-sri to version 2.1.1 (#196)
https://greenkeeper.io/
2016-08-10 14:51:43 -06:00
Greenkeeper
2cebd0e85f chore(package): update ember-cli-htmlbars-inline-precompile to version 0.3.4 (#197)
https://greenkeeper.io/
2016-08-10 12:55:45 -06:00
Greenkeeper
cc0fe8908d chore(package): update broccoli-merge-trees to version 1.1.4 (#195)
https://greenkeeper.io/
2016-08-10 11:44:49 -06:00
Greenkeeper
8b7b6008bd chore(package): update ember-cli-app-version to version 2.0.0 (#193)
https://greenkeeper.io/
2016-08-10 10:40:14 -06:00
Greenkeeper
3f69fa93a8 chore(package): update broccoli-asset-rev to version 2.4.6 (#192)
https://greenkeeper.io/
2016-08-10 10:14:25 -06:00
Greenkeeper
36d9fe7da4 chore(package): update lodash to version 4.14.2 (#191)
https://greenkeeper.io/
2016-08-10 08:32:08 -06:00
David Balderston
1a91c1b2ed Fix new url field focus bug (#194)
Closes TryGhost/Ghost#7140

* Now checks to see if it is new or not before editing the url
2016-08-10 08:31:16 -06:00
Austin Burdine
98892c6934 remove ember-cli-release dep (#190) 2016-08-07 08:37:22 +02:00
Austin Burdine
6efab62dc1 remove test-loader asset from test html file (#188) 2016-08-07 08:29:37 +02:00
David Balderston
06558ca8e1 Post meta error style fixes (#189)
Closes TryGhost/Ghost#7138

* Fixes red error styling not showing up for meta title and meta
description on posts
2016-08-06 22:52:46 -05:00
Austin Burdine
dfad30c1ea move csscomb watch task from server repo (#177)
refs TryGhost/Ghost#6977
2016-08-06 11:26:24 +02:00
Greenkeeper
ed32d09cf1 chore(package): update ember-cli-app-version to version 1.0.1 (#187)
https://greenkeeper.io/
2016-08-06 02:55:42 -06:00
Greenkeeper
b3d77920fb chore(package): update ember-sortable to version 1.8.2 (#184)
https://greenkeeper.io/
2016-08-06 09:45:43 +02:00
Greenkeeper
7832e290be chore(package): update ember-cli-htmlbars to version 1.0.11 (#183)
https://greenkeeper.io/
2016-08-06 09:35:48 +02:00
Greenkeeper
3a097894d3 chore(package): update walk-sync to version 0.3.1 (#186)
https://greenkeeper.io/
2016-08-06 09:35:36 +02:00