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
Paul Adam Davis 93912c5ecc Larger edit tag hit area
Closes #4505

- Increases the size of hit area on tags settings pages
- Comments out the styles for nested tags as these will need revisiting
2014-11-24 11:08:02 +00:00
Paul Adam Davis 52aa479a94 Close tag settings menu on transition
Closes #4504

- Adds a `willTransition` action that closes the tag settings menu when transitioning to another page
2014-11-23 21:17:29 +00:00
Hannah Wolfe 60ba674018 Merge pull request #4501 from jaswilli/routes
Fix up single post routes.
2014-11-23 21:15:23 +00:00
Hannah Wolfe 2ac0ea4ca2 Merge pull request #4489 from novaugust/tags-client-basics
Tags management api hookup
2014-11-22 10:57:46 +00:00
Hannah Wolfe f919603682 Merge pull request #4482 from harrykiselev/patch-1
Posts view: some DRY.
2014-11-22 10:17:10 +00:00
Matt Enlow 1d3679a5fd Tags management api hookup
Ref #4248
- Added tags settings menu
- Added basic new, edit, delete, and save actions
- Show actionable edit buttons dynamically based on tag state
- Infinite scroll
- Closing the tag settings menu rollbacks your changes
- Removed not-yet-implementable code
2014-11-21 16:24:28 -07:00
Jason Williams f56ef407f0 Fix up single post routes.
No Issue
- Add local store lookup back to edit route.
- Prevent entry into route when an author is not the owner of a post
  even if model is passed in.
- Clean up references to pagination as there's no pagination going on.
2014-11-21 21:56:49 +00:00
Hannah Wolfe 579fb73238 Merge pull request #4488 from Gargol/issue-4415
Loads correct screen after author refreshes page in editor
2014-11-20 19:45:51 +00:00
John O'Nolan 213c589967 Merge pull request #4401 from PaulAdamDavis/sass-cleanup
Update Patterns Sass Formatting
2014-11-20 19:05:15 +01:00
Nazar Gargol 04ccea8522 Loads correct screen after author refreshes page in editor
closes #4415
- corrected logic around author check
- fixes a bug where it was possible to see editor for other author posts
2014-11-20 00:11:42 +01:00
Hannah Wolfe 340c160f92 Merge pull request #4469 from PaulAdamDavis/permalink-improvs
Improvements to the permalinks UI
2014-11-19 20:46:32 +00:00
Harry V. Kiselev 2a78cf0729 Posts view: some DRY. 2014-11-20 00:00:10 +04:00
Paul Adam Davis f6f63cb06c Update Tags Management Markup
References #4248

- Updates the markup & classes for the tag management settings menu, as they've fallen behind now we've renamed the 'right-outlet' to 'settings-menu'
2014-11-19 16:07:11 +00:00
Hannah Wolfe 37fc58321c Fixing logic for editors deleting themselves
no issue
- no user is allowed to delete their own account
2014-11-18 12:01:01 +00:00
Hannah Wolfe c45e55c381 Fix issue with editor and images
ref #4459

- move initMarkers back to its original home
- add new test that a post with an image can be edited
2014-11-17 21:55:12 +00:00
Hannah Wolfe e041f47e33 Revert "Update PSM Date and Time to be Selectable Instead of Text" 2014-11-17 17:09:01 +00:00
Matt Enlow 888473d47b Scroll post-item-view into view
Closes #3998
- Scroll the active post into view on page load
- If the active post changes and the newly active post is offscreen, scroll it into the middle of the screen
2014-11-17 09:50:49 -07:00
Hannah Wolfe 4af8e4ef46 Merge pull request #4466 from VictorVation/url-validation
Improve validation for user.website
2014-11-17 15:43:25 +00:00
Paul Adam Davis d0d9200287 Improvements to the permalinks UI
Closes #4454

* Relies on Flexbox more heavily
* Adds JS to simulate how it should work
2014-11-17 15:37:32 +00:00
Hannah Wolfe d5ff0f8c59 Merge pull request #4459 from novaugust/slow-save-errors#4400
Fix high latency autosave bug in editor.new
2014-11-17 15:18:12 +00:00
Paul Davis 5c962420af Merge pull request #4448 from dbalders/master
Update PSM Date and Time to be Selectable Instead of Text
2014-11-17 11:24:10 +00:00
Victor Szeto edc6a3eb5f Improve validation for user.website
closes #4444
- validate URL without protocol in server and client
- when saving url, add `http://` if the url doesn't have a protocol
2014-11-17 00:40:43 -05:00
David Balderston bebe59408c Update PSM Date to be Selectable 2014-11-16 11:59:09 -08:00
Matt Enlow 9015ec8e6c Add self to list of filtered users for editors
Closes #4412
2014-11-16 09:36:37 -07:00
Matt Enlow e905f89922 Fix high latency autosave bug in editor.new
Closes #4400
- Added focusCursorAtEnd property to codemirror component, to set the cursor at document end on load. Used for posts that have been edited
- centralized codemirror init code in component
2014-11-16 08:53:02 -07:00
Matt Enlow 296e83edd9 Merge pull request #4457 from jaswilli/tags
Fix post tags input.
2014-11-15 08:37:07 -07:00
Jason Williams 352d463d29 Fix post tags input.
Closes #4378. Closes #4455.
- Trim whitespace from tag names on entry.
- Prevent duplicate tags in suggestion list.
- Fix unhandled exception that happens when backspace is pressed in
  an empty tags input box.
2014-11-15 04:45:36 +00:00
Felix Rieseberg 6ba358b007 Enable .fade-out animations in Safari
Closes #4432

Random sidenote: Safari is a whiny non-animating wuss and figuring this
out took way longer than one would think.
2014-11-14 17:52:28 -08:00
John O'Nolan 2bd04549d9 Merge pull request #4397 from PaulAdamDavis/cleanup-users
Cleanup User List styles
2014-11-14 14:57:31 +01:00
John O'Nolan 10c66fdb55 Merge pull request #4391 from PaulAdamDavis/publish-transition
Faster dropdown animation for publish button
2014-11-14 14:57:06 +01:00
John O'Nolan f1dca4a82b Merge pull request #4433 from PaulAdamDavis/rm-ttf-eot-fonts
Remove .eot & .ttf fonts
2014-11-14 14:56:50 +01:00
John O'Nolan 70dbc9db46 Merge pull request #4441 from PaulAdamDavis/cleanup-sass-components
Refactor component styles
2014-11-14 14:56:07 +01:00
Nazar Gargol 8931791036 Adds 'save' shortcut to settings screens
closes #4414
- adds `ctrl/cmd+s` shortcuts to `settings/general` screen
- adds `ctrl/cmd+s` shortcuts to `settings/user/xx` screen
- extracts `ctrlOrCmd` variable to separate module for reuse
2014-11-13 19:36:31 +01:00
Paul Adam Davis 603fb76e7a Refactor component styles
Continues on from #4401

- Reformats the Sass to match our new style (property order, comments, & white space)
- Changes the modal container to a class from an ID (and adjust tests)
2014-11-13 11:28:22 +00:00
Paul Adam Davis 53bdebe7cf Remove .eot & .ttf fonts
No issue

According to [caniuse](http://caniuse.com/#feat=woff), all the browsers we support (last 2 versions of major browsers) support the `.woff` font format. It's actually what pretty much all browsers will serve if its offered anyway.

This PR removes the .eot and .ttf font formats.

SVG remains as its the base file we use to add new icons & convert into other formats. It is not referenced anywhere.
2014-11-11 15:23:34 +00:00
Jaiden Mispy 9fd2085b99 Add footnotes extension to showdown
refs 1318
- based on Markdown Extra https://michelf.ca/projects/php-markdown/extra/
- allows [^n] for automatic numbering based on sequence
2014-11-11 19:24:04 +11:00
Jason Williams 3646bd067f Merge pull request #4428 from felixrieseberg/iss4411
Reset slugValue when the user changes
2014-11-10 15:51:25 -06:00
Felix Rieseberg 2f7e85ee43 Reset slugValue when the user changes
Closes #4411
- Previously, saving the user’s slug would lead to the slug value being
‘stuck’ on that saved value, even if one navigated to a different
user’s profile settings.
2014-11-10 13:31:11 -08:00
David Balderston 883aea5967 Change Numeric Keyboard to Keypad
Added pattern to html to make the keyboard a keypad

Closes #4426

    Added pattern="[0-9]*" to the postsPerPage input on general.hbs
2014-11-10 12:57:24 -08:00
Jason Williams 6129ebce0b Remove image related text from meta description.
Closes #4408
2014-11-07 05:22:34 +00:00
Jilles Soeters e2765c8b31 Remove hash after the url when clicking Meta Data
Removes that hash appended to the URL when clicking Meta Data in post settings.

Closes #4386

When clicking 'Meta Data' the click event appends a # to the URL. I replaced the a with a button element so that won't happen anymore. The button has a type attribute because it will try and submit the form without it. Added text-align: left to the navlist button because the button centers it's content by default.
2014-11-05 14:17:52 +00:00
Paul Adam Davis ba3b204282 Update Patterns Sass Formatting
Continues on from #4342

- Reformats the Sass to match our new style (property order, comments, & white space)
2014-11-05 10:24:38 +00:00
Paul Adam Davis 06793883a3 Cleanup User List styles
No issue

* Cleans up the Sass a bit
* Uses the same basic markup as other settings pages. Before, we had extra elements which required 'reseting'
2014-11-04 22:00:32 +00:00
Matt Enlow 43d81b0a7e Merge pull request #4273 from cobbspur/tags
Create Tags Management Stubs for Ember
2014-11-04 10:30:00 -07:00
cobbspur 37c4600895 Create Tags Management Stubs for Ember
closes #4260

- Adds "tags" route inside of the settings routes.
- Adds this route to router.js
- Links the route from the settings.hbs template
- Adds demo tags html in tag.hbs template
- Adds flag for tagsUI
2014-11-04 15:50:41 +00:00
Paul Adam Davis a7c7aa0388 Faster dropdown animation for publish button
Closes #4390

- Apply same animation timing from the nav bar dropdown to the publish button dropdown
2014-11-04 12:59:08 +00:00
Matt Enlow f982dcfe70 Save meta title and meta desc on post save
Closes #4369
- Renamed `editor-route-base` -> `editor-base-route` to bring it in alignment with the view and controller mixins
- Consolidated editor route code into editor-base-route
- Removed `serialize` from EditorEditRoute, as it reimplemented the ember default
2014-11-03 21:11:04 -07:00
David Robson ce579415f7 Editor must be focused before allowing certain keyboard shortcuts.
closes #4253
- checked for the CodeMirror-focused class on the CodeMirror div
- used length to determine whether CodeMirror-focused has been added
- determines whether the editor has been focused on
2014-11-02 09:50:42 +00:00
Matt Enlow 0dc81c5324 Merge pull request #4361 from jaswilli/ember18
Update Ember to 1.8.0.
2014-10-30 08:26:26 -06:00
Paul Adam Davis dfe5534bb6 Better comments
Also introduces a new format of file opening comment, to outline what happens and a contents list.
2014-10-30 12:40:50 +00:00