Commit Graph

1778 Commits

Author SHA1 Message Date
Hannah Wolfe
c18527de44 Revert "Update PSM Date and Time to be Selectable Instead of Text" 2014-11-17 17:09:01 +00:00
Matt Enlow
066f18a82a 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
4330a24179 Merge pull request #4466 from VictorVation/url-validation
Improve validation for user.website
2014-11-17 15:43:25 +00:00
Paul Adam Davis
ebc9c32d06 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
dcca72c800 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
c226701801 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
18dc5d650d 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
fc22161680 Update PSM Date to be Selectable 2014-11-16 11:59:09 -08:00
Matt Enlow
19c3a5c023 Add self to list of filtered users for editors
Closes #4412
2014-11-16 09:36:37 -07:00
Matt Enlow
4394e4f38f 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
89a2f4d246 Merge pull request #4457 from jaswilli/tags
Fix post tags input.
2014-11-15 08:37:07 -07:00
Jason Williams
0a23fa90ed 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
9e889bb4b0 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
4eed7dab23 Merge pull request #4397 from PaulAdamDavis/cleanup-users
Cleanup User List styles
2014-11-14 14:57:31 +01:00
John O'Nolan
6939fde1a5 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
ec354c47c1 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
e8c5acd4d2 Merge pull request #4441 from PaulAdamDavis/cleanup-sass-components
Refactor component styles
2014-11-14 14:56:07 +01:00
Nazar Gargol
777d945f03 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
bd4ac53fcb 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
d8fc146fc8 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
e8e08736b6 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
9aa011037b Merge pull request #4428 from felixrieseberg/iss4411
Reset slugValue when the user changes
2014-11-10 15:51:25 -06:00
Felix Rieseberg
543cb4dac3 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
1f65ef7839 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
f86847171e Remove image related text from meta description.
Closes #4408
2014-11-07 05:22:34 +00:00
Jilles Soeters
526501fdf7 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
6af3991393 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
8d6c73d09d 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
f14e8138e2 Merge pull request #4273 from cobbspur/tags
Create Tags Management Stubs for Ember
2014-11-04 10:30:00 -07:00
cobbspur
b04068d9b9 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
1910c1def0 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
f97800dad1 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
f8faa8902b 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
c0652317f1 Merge pull request #4361 from jaswilli/ember18
Update Ember to 1.8.0.
2014-10-30 08:26:26 -06:00
Paul Adam Davis
9ba5750ca9 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
Paul Adam Davis
37b25a9362 Var cleanup 2014-10-30 12:40:12 +00:00
Paul Adam Davis
502390c5b0 File structure cleanup 2014-10-30 12:39:31 +00:00
Jason Williams
c2e35f9a9b Update Ember to 1.8.0.
Closes #4316
- Ember@1.8.0.
- Ember-Data@1.0.0-beta.11.
- Change templates to use new Ember.Select syntax and other minor
  cleanup.
- Adjust functional tests.
2014-10-30 06:01:22 +00:00
Matt Enlow
f5dc5adcdd Redirect unauthorized users to signin from debug
Closes #4357
- Adds a call to `this._super()` in DebugRoute#beforeModel to hit the ember simpleauth mixin's beforemodel hook
2014-10-29 14:30:40 -06:00
Matt Enlow
eb3a8af3d4 Consolidate SimpleAuth.AuthenticatedRouteMixin into AuthenticatedRoute
No issue
2014-10-28 08:29:42 -06:00
Hannah Wolfe
1c7450bd04 Merge pull request #4285 from novaugust/read-draft-shortcuts
Go between post list / post content with keyboard
2014-10-28 13:02:17 +02:00
Paul Adam Davis
39b1c0775f Use gh-path for nav bar dfallback avatar
Closes #4344

- Uses the `{{gh-path}}` helper to make the fellback avatar src work when Ghost is in a sub-directory
2014-10-27 16:26:02 +00:00
John O'Nolan
4f74ce4c82 Merge pull request #4341 from PaulAdamDavis/fix-floating-scroll-shadows
Fix floating header vertical shadows glitch
2014-10-27 16:59:42 +01:00
Hannah Wolfe
683b542ef9 Merge pull request #4343 from jaswilli/gh-paths
Fix argument handling in gh-path helper.
2014-10-27 17:45:34 +02:00
Matt Enlow
9cff617899 Go between post list / post content with keyboard
Closes #3940
- Pushing left/right changes the "focus" of the posts screen to the list / content, respectively
- Once one of these has been focused, up/down keyboards work on that section in particular
- By default, the post list is selected
- Using the keyboard to focus one of the two makes it go "poof" to let you know you changed stuff
2014-10-27 09:41:13 -06:00
Hannah Wolfe
fc8d9c07d8 Merge pull request #4324 from jaswilli/timed-save
Auto-save post at 60 second intervals
2014-10-27 17:38:54 +02:00
Hannah Wolfe
49fc7c225f Merge pull request #4337 from jaswilli/title
Fix up title/slug handling on posts.
2014-10-27 17:27:11 +02:00
Jason Williams
74c6ad727f Fix argument handling in gh-path helper.
No Issue
- Make helper behave as stated in description when variable
  number of arguments are passed in.
- Handle leading and trailing slashes when creating output
  url partial.
2014-10-27 02:17:07 +00:00
Paul Adam Davis
4889d04454 Swap 2 box shadows for 1 radial gradient
Closes #4340

Fixes a UI glitch where the vertical parts of a box shadow would show.
This fix changes those box shadows for 1 radial gradient, where only 5px of it is shown. No more vertical shadows.
2014-10-26 17:35:54 +00:00
Felix Rieseberg
89e37ab0a1 Include post title in 'delete post' modal
Closes #2971
2014-10-25 18:37:18 -07:00