Commit Graph

1645 Commits

Author SHA1 Message Date
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
Jason Williams
395ff627c9 Fix up title/slug handling on posts.
Refs #4323
- Remove any titleScratch observers that may be hanging
  around on the post-settings-menu controller from previous posts.
- Change logic around when to regenerate slugs on posts that are
  "(Untitled)" so that slug generation continues after slug no
  longer resembles "untitled."
2014-10-25 23:35:50 +00:00
Jason Williams
0e9d4e6792 Enable JSCS checking on client.
Refs #4001
- grunt-jscs@0.8.1 which provides ES6 support.
2014-10-25 16:13:04 +00:00
Hannah Wolfe
d8f85d580e Merge pull request #4329 from jaswilli/remove-lodash-requirement
Remove lodash from admin client (updates PR #3491)
2014-10-25 12:26:18 +03:00
Jason Williams
b4e3ac34cd Fix up PR #3491, remove lodash from admin
Refs #3491
2014-10-23 19:44:53 +00:00
John O'Nolan
68ccdb6f92 Merge pull request #4217 from PaulAdamDavis/permalinks-ui
[WIP] Custom Permalink UI
2014-10-23 21:06:33 +02:00
Robert Jackson
936acdb693 Remove lodash from admin client.
* Adds `bind`, `isFinite`, and `isNumber` utility functions from lodash.
* Use new util funtions instead of lodash throughout the codebase.
* Remove lodash from vendor builds.
2014-10-23 18:27:09 +00:00
Paul Adam Davis
a7e19bc231 Custom permalink UI
References #3920
2014-10-23 12:12:48 +01:00
Jason Williams
6b09117861 Change slug and date placeholders to values
Closes #4121
2014-10-22 16:49:13 +00:00
Jason Williams
75c3a0defd Auto-save post at 60 second intervals
Refs #4259
- Auto-save the post at least once in any 60 second interval where
  there have been changes.
2014-10-22 15:26:27 +00:00
Paul Adam Davis
20c11e563f Move unrelated editor cover code to the right place
Closes #4106

Moved the `.editor-close` styles to `post-settings-menu.scss`
2014-10-21 13:14:07 +01:00
John O'Nolan
db8efb8282 Merge pull request #4213 from PaulAdamDavis/new-popovers
Implement new popovers
2014-10-21 14:02:17 +02:00
John O'Nolan
853ce52a8a Merge pull request #4287 from PaulAdamDavis/tag-input-ux
Tag input UX improvements
2014-10-21 14:01:40 +02:00
Paul Adam Davis
3a13563f0b Implement popovers 2014-10-20 22:09:45 +01:00
Paul Adam Davis
74d71ed8b8 Tag input UX improvements
Closes #4105

- Turns the tag icon white when input is focused.
- Focuses on the tag inout after deleting a tag.

Credit to @novaugust for a PR to this which is rebased into one single commit
2014-10-20 22:08:26 +01:00
Jason Williams
108622d4ed Ensure slug generation has completed prior to save
Refs #4307 Refs #4259
- Make sure that a slug has been generated prior to the first
  save that occurs on a post.
- Wait on in-flight slug generation requests before saving.
2014-10-20 19:15:01 +00:00
Jason Williams
133aff0626 Cancel pending auto-save if manual save occurs
Closes #4309
2014-10-20 18:40:45 +00:00
Hannah Wolfe
768e335735 More autosave improvements
issue #4305, issue #4259, issue #1413

- change new->edit transitionToRoute to be replaceRoute
- auto focus in the editor on transition to the edit route
- change the one-time autosave to happen on codemirror focusin instead of title focusout
- re-add removed tests, and reorder broken test
2014-10-18 17:27:05 +02:00
Jason Williams
0f9342bf69 Auto-save changes
Refs #4259
- Auto-save new post when title loses focus.
- If a post has '(Untitled)' for a title, regenerate slugs
  on all title changes--same behavior as a new post that does
  not yet have a slug.
- Adjust some functional tests to handle the automatic transition
  from editor/new to editor/editor and the URL changes that go
  along with it.
2014-10-17 22:52:43 +00:00
Hannah Wolfe
78788dfaea Merge pull request #4302 from jaswilli/issue-4301
Truncate with ellipsis when metatitle > 70 chars
2014-10-18 01:07:31 +03:00
John O'Nolan
d13a995ecb Merge pull request #4303 from ErisDS/pr-4259
Autosave additions
2014-10-17 23:59:19 +02:00
Jason Williams
b6951ac9a2 Truncate metatitle and url when > 70 characters
Closes #4301
2014-10-17 17:15:36 +00:00
Hannah Wolfe
3f5b0f75e2 Autosave additions
issue #4259, issue #1413

- decrease timeout by 1 sec
- really actually turn off nprogress
2014-10-17 18:39:39 +02:00
Hannah Wolfe
a2b7fe718b Merge pull request #4259 from novaugust/auto-save
Auto save draft posts
2014-10-17 19:04:07 +03:00
Jason Williams
266243501d Merge pull request #4297 from PaulAdamDavis/rm-console-error
Remove console.error from shortcuts-route mixin
2014-10-17 09:41:54 -05:00
Paul Adam Davis
f6d458abbb Remove shadow from right of tag bar
No issue

- Completely removes the shadow from the right side of the tag bar
2014-10-17 14:59:02 +01:00
John O'Nolan
5c312dda6e Merge pull request #4298 from PaulAdamDavis/speedier-user-menu-animations
Speed up user menu animations
2014-10-17 15:31:10 +02:00
Paul Adam Davis
00c786a902 Remove hover transition inside dropdowns
No issue

- Removes the transition on hover/focus states for items/links in dropdowns
2014-10-17 14:27:50 +01:00
John O'Nolan
e4e1646a8f Fix alignment on burger menu button 2014-10-17 15:19:16 +02:00
Paul Adam Davis
63b59c2574 Remove console.error from shortcuts-route mixing
No issue

Safari (iOS 8 & OS X Yosemite) throws a massive hissy fit about `console.error` and goes on to break all the things.
This PR simply removes it.
2014-10-17 13:41:36 +01:00
Paul Adam Davis
c5af1807ef Speed up user menu animations
No issue

- Speeds up the animation duration when the user menu opens
- Effectively removes the user menu closing animation
2014-10-17 13:36:23 +01:00
Jason Williams
3a83a65f74 Show all invited users and infinite scroll active
Closes #4239
2014-10-16 20:09:03 +00:00
Jason Williams
0ee3d660eb Fix up labels for controls in post settings menu
No issue
2014-10-16 15:47:03 +00:00
Matt Enlow
719f9246c4 Use DS.Model#eachAttribute in editor-base-controller
Closes #4279
2014-10-14 12:29:02 -06:00