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

4312 commits

Author SHA1 Message Date
Nazar Gargol
8f03ac3611 Renamed /uploads* endpoints to /images*
refs #10438
2019-02-22 18:16:25 +07:00
Kevin Ansfield
ce4badb6a4 Fixed uploading of images for staff users 2019-02-22 18:14:44 +07:00
Zimo
eba5947c29 Fixed main nav contrast 2019-02-22 17:16:06 +07:00
Kevin Ansfield
b9e8c913ac Fixed links to pages on pages list screen 2019-02-22 16:48:33 +07:00
Peter Zimon
b63f5f59d0
Left navigation menu update (#1102)
refs. [f8b03f5](f8b03f50b6)

- added icons for members and pages
- improved view site link visibility
- added view site to logo dropdown
- updated all navigation and logo menu icons
- rename 'team' to 'staff'
- lots of design refinement and update (colors, shadows)
2019-02-22 16:43:35 +07:00
Kevin Ansfield
06ce68f1c2 Fixed linting 2019-02-22 12:16:56 +07:00
Kevin Ansfield
78db412e72 Fixed gh-cm-editor component test 2019-02-22 11:54:53 +07:00
Kevin Ansfield
5254488121 Fixed custom integrations tests 2019-02-22 11:11:15 +07:00
Kevin Ansfield
5727dc8ed5 🐛 Fixed Code Injection inputs not being clickable
no issue
- attempt to fix the "Cannot set property 'modeOption' of undefined" error by telling CM to replace the textarea element rather than appending to the wrapper and having Ember replace the textarea
2019-02-22 10:52:32 +07:00
Kevin Ansfield
f8b03f50b6
🎨 Separated post and page list screens (#1101)
no issue
- added `page` model
- removed `page` param from Post model
- added pages screen with associated links
- added `:type` param to editor screens to work with the right models
- removed post<->page toggle and associated tour item
2019-02-22 10:17:33 +07:00
Fabien O'Carroll
6701c4b328 Version bump to 2.15.0 2019-02-21 12:10:22 +01:00
Kevin Ansfield
b18625bb50 Fixed signin error display
no issue
- API now returns more in-depth error message in `context` so we need to use that for modifying  client-side validation
2019-02-21 15:43:58 +07:00
Kevin Ansfield
17c7a7f3b5 Filter non-custom integrations from Custom Integrations list 2019-02-15 14:18:05 +00:00
Nazar Gargol
790f2faad0 Version bump to 2.14.3 2019-02-14 11:03:10 +00:00
Nazar Gargol
3eef404926 Version bump to 2.14.2 2019-02-13 14:59:05 +00:00
Kevin Ansfield
653ea03477 Bumped mobiledoc-kit dependency
no issue
- improves conversion of html content when pasting into the editor
2019-02-13 13:00:23 +00:00
Rish
7f14a505d9 Version bump to 2.14.1 2019-02-12 16:36:32 +05:30
Kevin Ansfield
fefc8358cb 🐛 Fixed Code Injection input fields not being clickable
no issue
- lazy loaded scripts such as the CodeMirror asset used on the Code Injection screen could throw errors such as `TypeError: Cannot set property 'modeOption' of undefined`
- this was caused by "loading" promise returned from the `lazyLoader` service returning as soon as the network request finished which can be before the loaded script has been parsed and run meaning any processing occurring after the promise returns could be depending on unloaded code
- switched the lazyLoader service's loading mechanism from an ajax fetch to insertion of a `<script>` tag which can have `load` event attached which _will_ return after parsing/loading has completed
2019-02-11 21:08:15 +00:00
Hannah Wolfe
437e60c347 Added SECURITY.md
- Synced with the main repo, added the security guide so it's always easy to find
2019-02-11 16:44:34 +00:00
Hannah Wolfe
3ba467d739 Updated / simplified contributing.md
- synced with the main Ghost repo version
2019-02-11 16:44:34 +00:00
Kevin Ansfield
78573e0fa8 Fixed signup acceptance tests sometimes failing 2019-02-11 13:52:51 +00:00
Kevin Ansfield
40535f5590 Removed unnecessary TextField override
no issue
- Ember's TextSupport mixin (used by TextField and TextArea) has had `autofocus` as an `attributeBinding` since 1.5.0 so the override to add it is not necessary
2019-02-11 13:51:10 +00:00
Kevin Ansfield
fd973f60ab Fixed signup acceptance tests 2019-02-11 12:35:47 +00:00
Kevin Ansfield
29d8755a1d Skipped tests that randomly fail on Travis
closes https://github.com/TryGhost/Ghost/issues/10308
2019-02-11 11:43:23 +00:00
Kevin Ansfield
a2cc2d25b3 🐛 Fixed Chrome remembering wrong username when signing up from invitation
closes https://github.com/TryGhost/Ghost/issues/9868
- place email field directly above password field
- enable email field and do not set an initial value requiring user to type-in/auto-fill the email for Chrome to recognise it
2019-02-11 11:35:43 +00:00
Kevin Ansfield
fd7c14f911 Version bump to 2.14.0 2019-02-07 14:35:06 +00:00
John O'Nolan
76e0a235dc Make it clear that codemirror elements are text inputs 2019-02-07 18:24:57 +07:00
John O'Nolan
43059a8802
Blog => Site 2019-02-07 11:16:04 +07:00
Sumedh Nimkarde
1cf7e576d9 🐛 Fixed Unsplash image selector being empty when first opening (#1100)
closes https://github.com/TryGhost/Ghost/issues/10455
- call `loadNew()` when initialising the `unsplash` service. Services are lazy-initialised so this is only called when the service is first injected which happens when the `<GhUnsplash>` component is first rendered
2019-02-06 10:40:34 +00:00
Nazar Gargol
5cd442ee96 Version bump to 2.13.2 2019-02-05 12:11:27 +00:00
Kevin Ansfield
a59d539f24 Show loading spinner on first load of members screen 2019-01-31 16:47:31 +00:00
Zimo
16292cec11 Visual tweaks on Members list
- tune list style
- tweak generated avatar background-colors
- type and color refinements
2019-01-31 17:41:55 +01:00
Kevin Ansfield
e9fba3699b Only fetch new/modified members in background refresh 2019-01-31 14:13:35 +00:00
Kevin Ansfield
5fca88e84b Load all members on members screen, use occlusion scrolling for perf 2019-01-31 12:58:15 +00:00
Kevin Ansfield
9fae7b0989 Registered test waiter for ember-raf-scheduler
no issue
- recommended as per `vertical-collection` docs: https://github.com/html-next/vertical-collection#testing
- ensures Ember's `wait` helper is aware of any raf-scheduler loops
2019-01-31 12:41:57 +00:00
Kevin Ansfield
ce53a0131e Removed errant pauseTest() 2019-01-31 11:07:48 +00:00
Kevin Ansfield
b7a6886d22 🐛 Fixed incorrect username being saved by Safari when signing up via invitation
refs https://github.com/TryGhost/Ghost/issues/9868
- ensure signup task is always initiated via form submit
  - adds `defaultClick` option to `<GhTaskButton>` that allows the click event to bubble
- adds `autocomplete` values to signup form fields that match up to the spec
  - "name/display-name": `name`
  - "email": `username email`
  - "password": `new-password` / `current-password` depending on context
- 🔥 no-longer-relevant hacks for Chrome autocomplete
  - this still doesn't fix Chrome remembering the incorrect username unfortunately. Chrome will always select the input previous to the password that has had actual user input as the "username"
- 🔥 unused `authenticate` task in signup controller
2019-01-31 10:27:40 +00:00
Kevin Ansfield
92623073d0 Added undefined guards to uses of JSON stringify/parse copying
no issue
- added guards for JSON stringify+parse replacements of `Ember.copy` introduced in 18dd5e34f6
2019-01-30 14:44:53 +00:00
Kevin Ansfield
18dd5e34f6 Fixed Ember.copy deprecations
refs https://github.com/TryGhost/Ghost/issues/10310
- https://emberjs.com/deprecations/v3.x/#toc_ember-runtime-deprecate-copy-copyable
2019-01-30 10:14:07 +00:00
Kevin Ansfield
f6cc56f35b Version bump to 2.13.1 2019-01-29 14:49:22 +00:00
Kevin Ansfield
ef2af2a3b9 Version bump to 2.13.0 2019-01-29 10:59:32 +00:00
Nazar Gargol
4955433224 Removed redundant 'status=all' in user queries
closes https://github.com/TryGhost/Ghost/issues/5947

- Removed status=all parameter assignment as they are handled on the server side using enforcedFilters/defaultFilters (4acc375fb6/core/server/models/user.js (L293))
2019-01-28 16:28:14 +00:00
Peter Zimon
de35013579 Updated integrations UI (#1086)
no issue

Updated custom integrations section for a more balanced and consistent design:
- removed green "New custom integration" button and added a fixed bottom row in the custom integrations list
- added "Custom integrations" heading to the list
- synced webhooks design with this pattern
2019-01-28 12:53:48 +00:00
Kevin Ansfield
fa9c9e3d1a 🐛 Fixed drag-n-drop card reordering interfering with caption and markdown/html card text selection
closes  https://github.com/TryGhost/Ghost/issues/10399
- added a data attribute `data-koenig-dnd-disabled` which will prevent the element or any of it's children from initiating a koenig drag event
  - applied the data attribute to `{{koenig-basic-html-input}}`'s outer tag so that captions never initiate a card re-order
- disabled card re-ordering when a card is in edit mode
  - allows text selection within a markdown/html card without triggering the card re-order behaviour
  - clicking another card will exit edit mode and re-enable drag before the drag behaviour is initiated so you can still re-order other cards if you've left a card in edit mode
2019-01-28 09:35:58 +00:00
Kevin Ansfield
3b3544db57 Renamed <MemberAvatar/> to <GhMemberAvatar/> for naming consistency 2019-01-25 13:51:18 +00:00
Kevin Ansfield
179186e4b3 Updated Members acceptance test to match new routing structure 2019-01-25 13:41:53 +00:00
Kevin Ansfield
84f2708aa5 Removed unnecessary div in <MemberAvatar>, fixed component test 2019-01-24 19:50:23 +00:00
Kevin Ansfield
775793f824 First pass at members list
no issue
- don't nest details route as it's not nested UI
- implement styled list of members
- add `<MemberAvatar>` component that generates random background colour and initials based on member name
- fixed generation of fake member details in mirage
2019-01-24 19:34:32 +00:00
Kevin Ansfield
fde684f350 Re-enable mirage in development with config to allow asset passthrough 2019-01-23 14:24:29 +00:00
Kevin Ansfield
9320ed966d Disabled mirage in development
closes https://github.com/TryGhost/Ghost/issues/10414
- mirage's `passthrough()` was not allowing `/ghost/assets/simplemde/simplemde.js` to hit the backend server which was breaking markdown cards
2019-01-23 09:37:56 +00:00