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

3084 commits

Author SHA1 Message Date
Greenkeeper
eb657f3a6d chore(package): update lodash to version 4.16.0 (#270)
https://greenkeeper.io/
2016-09-20 10:47:36 +02:00
Greenkeeper
a4925689b0 chore(package): update liquid-fire to version 0.26.1 (#269)
https://greenkeeper.io/
2016-09-20 09:26:53 +02:00
Greenkeeper
200593a6d0 chore(package): update ember-watson to version 0.8.3 (#266)
https://greenkeeper.io/
2016-09-20 08:46:02 +02:00
Greenkeeper
20ac735161 chore(package): update ember-cli-jshint to version 2.0.1 (#264)
https://greenkeeper.io/
2016-09-20 08:45:21 +02:00
Greenkeeper
44e7232f0b chore(package): update ember-data to version 2.8.0 (#250)
https://greenkeeper.io/
2016-09-20 08:44:34 +02:00
Greenkeeper
c30b9031ab chore(package): update bluebird to version 3.4.6 (#243)
https://greenkeeper.io/
2016-09-20 08:43:42 +02:00
Greenkeeper
5fe42243c9 chore(package): update ember-resolver to version 2.1.0 (#245)
https://greenkeeper.io/
2016-09-20 08:41:56 +02:00
Greenkeeper
17e205f13e chore(package): update emberx-file-input to version 1.1.0 (#237)
https://greenkeeper.io/
2016-09-20 08:39:42 +02:00
John O'Nolan
3d8c79d018 Double default gravatar size (#268) 2016-09-19 14:38:42 +01:00
Hannah Wolfe
00f626702e Version bump to 0.11.0 2016-09-15 10:23:15 +01:00
Kevin Ansfield
1ee787ed42 display warnings after theme upload (#262)
refs TryGhost/Ghost#7362, requires TryGhost/Ghost#7367
- display any gscan warnings we get back from a successful upload to cater for the downgrade of missing `{{asset}}` helpers from an error to a warning
2016-09-14 18:34:07 +01:00
Ryan McCarvill
05d88916ab Replaces non ascii characters to dashes so that it's consistent with … (#260)
refs #7313

- theme name normalisation
- detect duplicates to show a popup to override a theme
2016-09-14 17:23:04 +00:00
Greenkeeper
bdac5a4b3f chore(package): update moment to version 2.15.0 (#257)
https://greenkeeper.io/
2016-09-14 18:20:03 +01:00
Greenkeeper
ee98cb51c3 chore(package): update glob to version 7.0.6 (#229)
https://greenkeeper.io/
2016-09-14 16:13:04 +01:00
Greenkeeper
25c80f252d chore(package): update blueimp-md5 to version 2.3.1 (#246)
https://greenkeeper.io/
2016-09-14 16:12:29 +01:00
Austin Burdine
a05a5d7f7b 🐛 fix typing a space in search input (#261)
closes TryGhost/Ghost#7369
- temporary fix for spacebar selecting until eps 1.0 is finalized
2016-09-14 16:11:41 +01:00
Austin Burdine
a13502972c remove mime-type validations in favor of extension validation (#256)
refs TryGhost/Ghost#7292
- remove accept mime type validations
- validate on file extension only
- fix tests
2016-09-14 09:54:16 +01:00
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