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

1793 commits

Author SHA1 Message Date
Hannah Wolfe 2b380484a5 Merge pull request #4546 from PaulAdamDavis/url-preview-comp
Add a URL preview componant
2014-12-20 15:26:59 +00:00
Paul Adam Davis e15b472d8a Add a URL preview componant
Closes #4499

- Introduces a URL preview component
- Added the component to tag settings and post settings
- Adds a new CSS file for this component which makes sure the preview never wraps onto multiple lines
2014-12-19 23:48:21 +00:00
Hannah Wolfe 2aee0c9aa7 Merge pull request #4674 from delgermurun/post-sort
Add 'id' to post sort fields. So there is no longer equally sorted posts.
2014-12-19 21:05:45 +00:00
Jason Williams eb380d11a4 Prevent error when closing modal dialog
No Issue
- Moved sendAction outside of the event handler as calling it
  from inside was generating an error in the console.
2014-12-18 23:10:25 +00:00
Hannah Wolfe 28df9f029d Merge pull request #4671 from jaswilli/ember-data-beta12
Update Ember-Data.
2014-12-18 16:45:00 +00:00
Hannah Wolfe 9cf8106eff Merge pull request #4563 from felixrieseberg/iss4557
PSM: Reset 'Published Date'
2014-12-18 16:37:17 +00:00
Hannah Wolfe 53a026a5f3 Merge pull request #4643 from novaugust/settings-menu-mixin
Create settings-menu-mixin for subview state tracking
2014-12-18 16:34:39 +00:00
John O'Nolan 110a90caa5 Merge pull request #4647 from PaulAdamDavis/modal-css-ani
Use CSS animations for modals
2014-12-18 17:49:41 +02:00
Hannah Wolfe 4e2d3891d5 Merge pull request #4665 from PaulAdamDavis/navigation-ui
Navigation UI Mockup
2014-12-18 10:28:34 +00:00
Delgermurun 2c5615f92e Add 'id' to post sort fields. So there is no longer equally sorted posts.
closes #4648
- Add id to order by fields on posts API
- Order by id on posts controller
2014-12-18 11:34:26 +08:00
Paul Adam Davis b293bbdb96 Navigation UI Mockup
Refs #4537

Static mockup of the navigation UI

- Includes hacky JS to simulate interactions (but not dragging, which is #4540 and no modal when deleting)
- Delete & add icons have invisible padding to increase hit area
- Drag handle has the `move` cursor
- Switches into a single column at 600px and below
2014-12-17 21:43:44 +00:00
Jason Williams fb65e02026 Update Ember-Data.
No Issue
- ember-data@beta.12
- ember-data now warns if a payload contains properties that do
  not exist in the model.  Because of this all missing model
  attributes have been added (without their relationship defined)
  because they're currently unused and we don't need to generate
  additional API requests to resolve the async relationships.
2014-12-17 20:34:25 +00:00
Hannah Wolfe a1454491d7 Merge pull request #4656 from felixrieseberg/iss4633
Tag Management: Delete Flow
2014-12-17 18:11:08 +00:00
Felix Rieseberg 75a70e47b1 Tag Management: Delete Flow
Closes #4633
- The ‘delete’ button is now a smaller plain text link, opening a
confirmation modal analog to the delete user/post flow
- Adding a post count is dependent on #4654, but the modal is already a
neat step up from the immediate, warning-less deletion.
2014-12-17 08:38:14 -08:00
Hannah Wolfe 346aa10178 Merge pull request #4620 from jaswilli/ember19
Update to Ember 1.9.0.
2014-12-16 23:18:24 +00:00
Felix Rieseberg f1050c4eff Trigger Change Event before Login
Ref #4651

- Manually triggering the change event ensures compatibility with
legacy password managers and browsers not properly firing events on
autofill (which leads to Ember not picking up the entered values)
2014-12-16 12:37:58 -08:00
Ilya Radchenko a7a57f3e00 Prevent publish-bar from floating up 2014-12-16 08:44:49 -05:00
Paul Adam Davis e911d7d573 Use CSS animations for modals
No issue

- Changes Modals to use CSS-based animations
- All modals have an animation, so the option is removed from the handlebars helper
- Removes `animation` from the handlebars helper, as all had one anyway
- Removed the `centered` style - All modals should be left-aligned
- Buttons now default to being on the left
- Cleans up some styles (modal body top spacing) which #4632 helped clean up
2014-12-15 18:23:42 +00:00
Hannah Wolfe 34ce5c5ce9 Merge pull request #4653 from jaswilli/client-data
Do not include url and author_id in post payload.
2014-12-15 15:58:08 +00:00
Jason Williams c586e75e89 Remove files for a modal that is no longer used.
Refs #4602
- The modal dialog that used to be shown when re-auth was
  needed in the editor has been replaced.
2014-12-15 15:29:35 +00:00
Jason Williams 3ac8b2b29c Do not include url and author_id in post payload.
No Issue.
- Neither of these properties should be included in the
  payload sent from the client to the API.  URL is a
  read-only virtual property, and author_id is inserted
  locally as a convenience.
2014-12-15 15:07:04 +00:00
Jason Williams 95b27a7e63 Fixup behavior and styling of editor re-auth.
Closes #2092
- Adds styling for re-auth modal.
- Prevent transition to posts route on success.
- Clear credentials from controller.
- Handle confirmAccept action if form is submitted via 'enter'.
- Only allow re-auth as the user that was previously logged in.
2014-12-15 14:42:00 +00:00
Marco Otte-Witte 96ae30586a allow re-login when authorization fails on editor.edit route 2014-12-15 14:39:41 +00:00
Hannah Wolfe 40e490780b Merge pull request #4629 from cobbspur/postpreview
Add view post link on published and updated posts
2014-12-15 13:28:47 +00:00
Hannah Wolfe dbf658d144 Merge pull request #4645 from katiefenn/issue-4356 2014-12-15 12:29:19 +00:00
Katie Fenn 1c96b5db5c Fixed editor tag field handling of comma key on international keyboards
fixes #4356
- Added new keyPress event handler to identify keys by character instead of key
- Removed code for handling comma key from keyDown event handler
2014-12-15 12:27:35 +00:00
cobbspur b922965fc7 Add view post link on published and updated posts
closes #1756

- adds a post url link to 'post updated' and 'post published' in editor
- adds join function in ghost paths
- adds a '/' detection to makeRoute method
- adds test for join function
2014-12-15 12:18:47 +00:00
Hannah Wolfe a293c9e1f9 Merge pull request #4346 from novaugust/scroll-posts
Scroll post-item-view into view
2014-12-14 23:17:12 +00:00
Matt Enlow 498c23a217 Create settings-menu-mixin for subview state tracking
Ref #4642
- Move duplicate code from PSM and SettingsTags to a mixin
2014-12-13 20:37:36 -07:00
Jason Williams 34848f04e9 Merge pull request #4635 from ikhattab/fix-autosave-whitespace-title
Autosave for whitespace-only titles
2014-12-12 10:19:07 -06:00
Jason Williams 09843c1f3a Merge pull request #4632 from PaulAdamDavis/modal-colour-spacing
Modal spacing & warning colour
2014-12-12 09:49:05 -06:00
Ihab Khattab 20676b9e1a Autosave for whitespace-only titles
closes #4625
- trim white space form `titleScratch` to enable autosave for
whitespace-only titles
2014-12-12 16:44:24 +02:00
Paul Adam Davis 831c6a2fdf Modal spacing & warning colour
Closes #4583

- Adds a `.red` class (used to make the post count red)
- Adds a little spacing under the modal header to things arent bunched up
2014-12-12 10:48:50 +00:00
Hannah Wolfe 7cff97cc92 Merge pull request #4613 from felixrieseberg/iss4506-2
Tag Cover Images
2014-12-12 10:46:58 +00:00
Hannah Wolfe 7ec70aaa59 Merge pull request #4619 from jaswilli/issue-4583
Change user deletion warning to be more explicit.
2014-12-12 10:16:59 +00:00
Hannah Wolfe 0c1d23efde Merge pull request #4628 from sebgie/issue#4624
Password change MU
2014-12-12 10:07:34 +00:00
Sebastian Gierlinger a71a84bab0 Password change MU
closes #4624
- added user_id to password reset request
- hide old password field
- updated changePassword method to check permissions
- updated changePassword method to work without oldPassword
- fixed bug for errors shown as [Object object]
2014-12-11 21:23:07 +01:00
Hannah Wolfe edd5b995ec Labs page bug fixes
- clear import errors on new attempt
- clear posts and tags from store after delete all
2014-12-11 19:53:56 +00:00
John O'Nolan b40f8ed77f Merge pull request #4621 from graphiclunarkid/issue4583
Swap button order on deleter-user modal
2014-12-11 17:20:43 +02:00
John O'Nolan b7c3e714e6 Merge pull request #4623 from vikhyat/unfocus-nav
Fix active menu state on settings navigation
2014-12-11 17:09:40 +02:00
Felix Rieseberg 945c783399 Tag Cover Images
Closes #4506

Works just like the Post Cover Images (and uses the same component)
Tiny changes to the component ensures that we can reuse it across Ghost
2014-12-10 17:48:18 -08:00
Paul Adam Davis 5ec6f103e9 Add Tag Meta View
Closes #4509, Closes #4615

- Adds meta title & meta description input fields
- Autosaves meta data
- Shows SEO preview (falling back to tag name & description if meta not supplied)
- Adds `type="button"` to delete button (which closes 4651)
2014-12-10 18:12:30 +00:00
Vikhyat Korrapati a0300bfafe Fix active menu state on settings navigation
closes #4622
- unfocus ActivatingListItem link when clicked
2014-12-10 22:01:40 +05:30
Jason Williams d730db55ba Update to Ember 1.9.0.
No Issue
- Ember@1.9.0
- Handlebars@2.0.0
- grunt-ember-templates@0.5.0-alpha
2014-12-10 16:24:20 +00:00
Richard King 03371e113e Swap button-order on modal dialogs
Issue #4583

- Delete button should be on the right, cancel on the left, for all modal dialogs.
2014-12-10 16:13:45 +01:00
Jason Williams 2fca025727 Change user deletion warning to be more explicit.
Issue #4583
- If a user has posts, show the count in the deletion warning.
2014-12-10 01:44:36 +00:00
David Balderston ef46896487 Added Highlight to Markdown Help 2014-12-09 17:07:08 -08:00
Matt Enlow 6fd338f110 Dry up tag saving behavior
Ref #4248
2014-12-09 07:38:32 -07:00
Matt Enlow 1263585652 Merge pull request #4523 from Gargol/issue-4516
Adds ctrl/cmd+s shortcut to whole application with a noop default
2014-12-08 11:45:48 -07:00
Nazar Gargol 7c0ec8620b Adds ctrl/cmd+s shortcut to whole application with a noop default
closes #4516
- shortcut for ctrl/cmd+s on application level
- shortens a syntax for any route that is using 'save' method, shortcuts object doesn't have to be defined at all, only the save action.
2014-12-08 19:08:40 +01:00