Commit Graph

3987 Commits

Author SHA1 Message Date
Jason Williams
8249d88cdd Timeout after two seconds on gravatar lookup.
Refs #4277
- Switch from the built-in http module to request and set
  a timeout of 2 seconds on gravatar lookup requests.
- Move request package from devDependencies to dependencies.
2014-10-30 20:01:11 +00:00
Hannah Wolfe
bcbf3ae112 Merge pull request #4363 from jaswilli/fix-test
Handle null/undefined value in test assertion.
2014-10-30 16:29:10 +00:00
Jason Williams
2cfab3565f Handle null/undefined value in test assertion.
No Issue.
- Test is not guaranteed to get a setting that has a "value"
  so we need to handle the case where it's null or undefined.
2014-10-30 15:40:23 +00:00
Matt Enlow
2bd129fb81 Merge pull request #4361 from jaswilli/ember18
Update Ember to 1.8.0.
2014-10-30 08:26:26 -06:00
John O'Nolan
21bbb62a17 Merge pull request #4342 from PaulAdamDavis/sass-cleanup
Cleanup modules Sass
2014-10-30 14:08:48 +01:00
Paul Adam Davis
be976485ad 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
d314727506 Var cleanup 2014-10-30 12:40:12 +00:00
Paul Adam Davis
4ae81799c3 File structure cleanup 2014-10-30 12:39:31 +00:00
Jason Williams
de63f56f68 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
Jason Williams
bffd372b3f Merge pull request #4358 from novaugust/unauthed-debug-redirect
Redirect unauthorized users to signin from debug
2014-10-29 17:03:15 -05:00
Matt Enlow
a2d37ce265 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
Hannah Wolfe
f7d9769bff Merge pull request #4351 from novaugust/authenticated-route
Consolidate SimpleAuth.AuthenticatedRouteMixin into AuthenticatedRoute
2014-10-29 19:10:51 +00:00
John O'Nolan
00e5f9a340 Added screenshot to readme 2014-10-29 17:34:00 +02:00
Matt Enlow
3a8e8c9765 Merge pull request #4355 from jaswilli/deps-sass
Peg node-sass dependency to 1.0.3.
2014-10-29 09:10:49 -06:00
Jason Williams
36abb56405 Peg node-sass dependency to 1.0.3.
No Issue.
- grunt-sass has node-sass as a dependency (^1.0.0) but the build
  requirements of node-sass version 1.1.0 have changed and will
  fail without a newer version of the gnu compilers.
2014-10-29 14:09:13 +00:00
Matt Enlow
344f3080df Consolidate SimpleAuth.AuthenticatedRouteMixin into AuthenticatedRoute
No issue
2014-10-28 08:29:42 -06:00
Hannah Wolfe
bc728c3e62 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
Hannah Wolfe
dbf055907a Merge pull request #4338 from felixrieseberg/iss3858
Enable :author as permalink option
2014-10-28 12:58:39 +02:00
Jason Williams
f6eccf4bd1 Merge pull request #4345 from PaulAdamDavis/navbar-image-path
Use gh-path for nav bar fallback avatar
2014-10-27 18:09:45 -05:00
Paul Adam Davis
17d662bff9 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
edef2ec941 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
2d48c2b695 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
d8f858e264 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
644f922510 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
6db2973f0f Merge pull request #4337 from jaswilli/title
Fix up title/slug handling on posts.
2014-10-27 17:27:11 +02:00
Hannah Wolfe
c0375d4087 Merge pull request #4332 from cobbspur/escape
Escape meta title and description
2014-10-27 17:03:20 +02:00
Hannah Wolfe
38019f356f Merge pull request #4339 from felixrieseberg/iss2971
Include post title in 'delete post' modal
2014-10-27 15:01:53 +02:00
Jason Williams
d810fe1ca7 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
074c12a763 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
e9c22ea580 Include post title in 'delete post' modal
Closes #2971
2014-10-25 18:37:18 -07:00
Felix Rieseberg
c7ad09aace Enable :author as permalink option
Closes #3858
- urlPathForPost is now aware of the author’s slug, allowing for the
permalink setting to use :author
- Frontend controller only renders posts that have the specified
author, if one is given
- Extensive tests included
2014-10-25 18:15:24 -07:00
Jason Williams
e046f4a536 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
Hannah Wolfe
20fbcc1e59 Merge pull request #4335 from jaswilli/jscs
Enable JSCS checking on client.
2014-10-25 19:44:16 +03:00
Jason Williams
6f291fdb15 Merge pull request #4336 from ErisDS/reduce-tests
frontend functional tests -> frontend route tests
2014-10-25 11:37:32 -05:00
Jason Williams
0f17378b26 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
a5d4a9cd2c 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
cobbspur
5aac6d6d69 Escapes strings
closes #4328

- Escapes metaTitle, metaDescription, blog url, blog title, tags
- Updates tests
- Adds test for metaTitle and metaDescription with double quotes
2014-10-24 19:22:37 +02:00
Jason Williams
9aa13330ba Fix up PR #3491, remove lodash from admin
Refs #3491
2014-10-23 19:44:53 +00:00
John O'Nolan
16e9098906 Merge pull request #4217 from PaulAdamDavis/permalinks-ui
[WIP] Custom Permalink UI
2014-10-23 21:06:33 +02:00
Robert Jackson
a3456b7e1c 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
Hannah Wolfe
81dd5600b6 Merge pull request #4323 from jaswilli/issue-4121
Change slug and date placeholders to values
2014-10-23 21:11:03 +03:00
Paul Adam Davis
d999ce555d Custom permalink UI
References #3920
2014-10-23 12:12:48 +01:00
Jason Williams
2c3b79186d Merge pull request #4326 from lcamacho/master
Fixed default twitter card
2014-10-22 20:39:03 -05:00
Leonard Camacho
a6a02f31ad Fix no show of default Twitter card
No issue
- change default Twitter card from content to summary
2014-10-22 20:49:06 -04:30
Jason Williams
9a62a38440 Change slug and date placeholders to values
Closes #4121
2014-10-22 16:49:13 +00:00
Jason Williams
5de2cb4471 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
Hannah Wolfe
4067bfe4c1 Merge pull request #4318 from jaswilli/about-tabs
Output spaces instead of tabs in buildAbout task
2014-10-21 20:40:24 +03:00
Hannah Wolfe
1c9cd0710b Merge pull request #4315 from jaswilli/deps
Update dependencies
2014-10-21 19:33:36 +03:00
Jason Williams
b28206c899 Output spaces instead of tabs in buildAbout task
No Issue
2014-10-21 16:27:48 +00:00
Hannah Wolfe
e5b1f19af3 Version bump to 0.5.3 2014-10-21 15:36:30 +02:00