Commit Graph

2867 Commits

Author SHA1 Message Date
Hannah Wolfe c2a3f4dcb9 Version bump to 0.10.1 2016-09-06 17:15:49 +02:00
Kevin Ansfield 195bca322a 🐛 fix duplicate server alerts + default alert bg color (#242)
closes https://github.com/TryGhost/Ghost/issues/7305

The `location` property of server-side notifications was being ignored by the client and so wasn't being used to de-duplicate alerts.

- adds `key` attribute to `Notification` model
- adds a serializer for notifications that renames the `location` key sent by the server to `key`
- set the default background color of alerts to white so that alerts with no `type` set do not inherit the background color (useful in Ghost Desktop which has a transparent background color set)
2016-09-01 11:01:54 -05:00
Austin Burdine f4a85294ae fix json db uploads and add checking for subscriber uploads (#241)
closes TryGhost/Ghost#7295
- check json content on db import if type is not specified
- ensure file type/extension is being checked in subscriber upload
2016-09-01 14:08:37 +01:00
Austin Burdine 5326eaaa31 allow windows zip type to be uploaded (#238)
refs TryGhost/Ghost#7292, TryGhost/Ghost#7293
- add 'application/x-zip-compressed' to allowed mime-types for import
  and theme
2016-09-01 08:50:34 +02:00
Greenkeeper 590798623f chore(package): update ember-invoke-action to version 1.4.0 (#227)
https://greenkeeper.io/
2016-08-30 07:07:11 -05:00
Greenkeeper bfb7c20d89 chore(package): update codemirror to version 5.18.2 (#224)
https://greenkeeper.io/
2016-08-30 06:36:10 -05:00
kirrg001 b26fd7ba51 Version bump to 0.10.0 2016-08-29 19:11:51 +02:00
Katharina Irrgang a1b3ffe3bc Merge pull request #236 from AileenCGN/allow-zip-file-import
🐛  Allow .zip file upload for file import
2016-08-29 09:32:26 +02:00
Aileen Nowak 3d866793cc 🐛 Allow .zip file upload for file import
closes TryGhost/Ghost#7277

Adds `application/zip` to supported import file types.
2016-08-26 18:23:55 +02:00
Katharina Irrgang b61cf15390 Merge pull request #235 from AileenCGN/max-width-theme-uploader
💄 Set max-width for theme uploader table
2016-08-26 11:31:16 +02:00
Aileen Nowak ba2ba8823b 💄 Set max-width for theme uploader table
no issue

Theme uploader form in settings/general is now `max-width: 500px`, which is the same than any other form in settings.
2016-08-26 11:11:47 +02:00
Katharina Irrgang 35a5218049 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 a2daccd990 💄 Adding id to themes title for inter-linking 2016-08-25 10:26:05 +01:00
Katharina Irrgang 907e527c5c revert: package.json to 0.9.0 (#230)
no issue
2016-08-25 10:25:29 +01:00
Kevin Ansfield a9f17cbfb6 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 49a3d04569 fix font rendering in ie/edge (#225) 2016-08-24 16:44:02 +02:00
Kevin Ansfield e543392137 🐛 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 b82d192046 🐛 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 3df509a0bb 🐛 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 16f19329dc 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 eb0db3fafe 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 69c51940af 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 a427aab11c Version bump to 0.10.0 2016-08-23 16:27:29 +02:00
Greenkeeper a08b6ff9f5 chore(package): update codemirror to version 5.18.0 (#217)
https://greenkeeper.io/
2016-08-23 06:30:53 -06:00
Austin Burdine a14ac50b6c Merge pull request #210 from kevinansfield/theme-uploads
Theme management
2016-08-23 06:14:12 -06:00
Kevin Ansfield 5581c6ba5a 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 5735b98a4c 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 65d37d566a 🐛 fix infinite spinner on failed save through SettingsSaveMixin 2016-08-23 12:32:10 +01:00
Aileen Nowak efbb0ee9c6 ⬇️ 🐛 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 4d59fdb8fb 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 c38587978a 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 ce7cb16768 remove google font loading from index.html (#215) 2016-08-18 18:06:05 +02:00
John O'Nolan ea3517c345 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 ccce667e9a 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 2c8d5cd952 Fix font-family declaration 2016-08-18 17:02:56 +02:00
Aileen Nowak 4d3f06026d 🐛 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 12aa475ed0 Switch to new native system font stack (#211) 2016-08-18 12:42:42 +01:00
Kevin Ansfield f3f8b5dce4 💄 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 732b2e4b41 chore(package): update ember-cli-babel to version 5.1.10 (#208)
https://greenkeeper.io/
2016-08-17 08:17:00 +01:00
Greenkeeper 23d3fccd39 chore(package): update grunt-shell to version 1.3.1 (#207)
https://greenkeeper.io/
2016-08-12 21:38:49 -06:00
Greenkeeper 4c9a3d1a4c chore(package): update lodash to version 4.15.0 (#205)
https://greenkeeper.io/
2016-08-12 16:56:19 -06:00
Greenkeeper a2cf41d515 chore(package): update ember-cli-babel to version 5.1.9 (#204)
https://greenkeeper.io/
2016-08-12 15:09:50 -06:00
Greenkeeper 16f99e30c5 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 10a65d0832 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 6df06ba032 convert tagNames to use computed.mapBy (#203)
- fix travis test bug
2016-08-12 16:07:46 +01:00
Austin Burdine e772430bd6 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 988bdc1298 chore(package): update ember-cli-sri to version 2.1.1 (#196)
https://greenkeeper.io/
2016-08-10 14:51:43 -06:00
Greenkeeper b09ce923ab 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 3ab4f2dfb0 chore(package): update broccoli-merge-trees to version 1.1.4 (#195)
https://greenkeeper.io/
2016-08-10 11:44:49 -06:00
Greenkeeper 8772703430 chore(package): update ember-cli-app-version to version 2.0.0 (#193)
https://greenkeeper.io/
2016-08-10 10:40:14 -06:00