Commit Graph

4126 Commits

Author SHA1 Message Date
Hannah Wolfe
9a035144ed Merge pull request #4422 from jaswilli/pg
Use pure javascript library for postgresql.
2014-11-10 21:01:08 +00:00
David Balderston
d6863ae306 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
Hannah Wolfe
67a5f6cd0a Merge pull request #4410 from jaswilli/issue-4408
Remove image related text from meta description.
2014-11-09 21:27:05 +00:00
Jason Williams
322fb932be Use pure javascript library for postgresql. 2014-11-09 18:36:35 +00:00
Hannah Wolfe
5cbf8dd4d0 Merge pull request #4395 from jaswilli/pg
Add pg as an optional dependency.
2014-11-08 17:38:35 +00:00
Jason Williams
6c579f6a6f Remove image related text from meta description.
Closes #4408
2014-11-07 05:22:34 +00:00
Jason Williams
3b059d5829 Merge pull request #4404 from Haegin/add-sigterm-handler
Adds SIGTERM handling
2014-11-05 11:11:11 -06:00
Harry Mills
edef05339e Adds SIGTERM handling
closes #4403
- adds SIGTERM handler to match SIGINT handler
2014-11-05 15:38:35 +00:00
Paul Davis
fad20c2687 Merge pull request #4405 from jillesme/iss-4386
Removes hash after the url when clicking Meta Data
2014-11-05 15:11:09 +00:00
Jilles Soeters
71c6b33385 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
77e1b4c130 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
Jason Williams
d5f13e1510 Merge pull request #4384 from meowtec/fix-error-log
fix bug in which `logError` could not resolve an err without `message`
2014-11-04 23:20:47 -06:00
meowtec
d42703dd9f Correct logError to log err which has undefined message
closes #4384
 - if err is `object` && `err.message` isNOT `string`, let err = `An unknown error occurred.`
2014-11-05 11:03:33 +08:00
Jason Williams
42270a97bb Merge pull request #4399 from rwjblue/update-to-1-8-1
Update to Ember 1.8.1.
2014-11-04 17:01:19 -06:00
Robert Jackson
46d084b4f7
Update to Ember 1.8.1.
http://emberjs.com/blog/2014/11/04/ember-1-8-1-released.html
2014-11-04 17:21:46 -05:00
Paul Adam Davis
eef6fccca2 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
Jason Williams
25cd8f4194 Merge pull request #4393 from PaulAdamDavis/sass-nested
Use nested output style for Sass
2014-11-04 12:46:00 -06:00
Matt Enlow
ef448a0f85 Merge pull request #4273 from cobbspur/tags
Create Tags Management Stubs for Ember
2014-11-04 10:30:00 -07:00
Hannah Wolfe
d535f6b175 Merge pull request #4385 from novaugust/save-meta
Save meta title and meta desc on post save
2014-11-04 17:13:02 +00:00
Jason Williams
383d43cf5a Add pg as an optional dependency.
Closes #1333
- Change PostgreSQL build on Travis from an allowed failure to
  failing the tests just like sqlite3 and MySQL.
2014-11-04 17:00:11 +00:00
cobbspur
69d4852a6d 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
df69b6ea82 Use nested output style for Sass
References #4389

As a result of https://github.com/TryGhost/Ghost/pull/4389#issuecomment-61637323 the best way to keep everything working nicely is to use the `nested` outputStyle for now.
2014-11-04 14:35:08 +00:00
Paul Adam Davis
660c9064eb 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
b5af691a61 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
Matt Enlow
8d96cb2f67 Merge pull request #4375 from DaveRobson/#4253
Editor must be focused before allowing certain keyboard shortcuts.
2014-11-03 10:30:30 -07:00
Hannah Wolfe
67e33a65e8 Merge pull request #4317 from cobbspur/image
Created image helper with absolute url option
2014-11-03 15:21:35 +00:00
Hannah Wolfe
fe659117bc Merge pull request #4155 from jgable/importDuplicates
Remove duplicate posts and tags on import
2014-11-03 15:03:44 +00:00
Hannah Wolfe
6dea3ddb4d Merge pull request #4380 from PaulAdamDavis/sass-compress
Update Sass Grunt task output style
2014-11-03 14:42:23 +00:00
Paul Adam Davis
4930e9fd65 Update Sass Grunt task output style
No issue

A recent update to NodeSass changed the keyword for output style from `style` to `outputStyle`.
This updates that, thus making the minfied CSS, actually minfied.
2014-11-03 14:13:19 +00:00
David Robson
8bcfd16f19 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
Hannah Wolfe
bc3c01d36b Merge pull request #4372 from jaswilli/deps
Update dependencies.
2014-11-01 11:03:14 +00:00
Hannah Wolfe
8df98b4f7d Merge pull request #4371 from jaswilli/fork-timeout
Improve handling of forked processes in tests.
2014-11-01 11:02:39 +00:00
Hannah Wolfe
055d3a7b75 Merge pull request #4367 from jaswilli/issue-4277
Timeout after two seconds on gravatar lookup.
2014-11-01 11:00:32 +00:00
Jason Williams
51b2354b36 Update dependencies.
No Issue
- bluebird@2.3.10
- bookshelf@0.7.9
- fs-extra@0.12.0
- semver@4.1.0
- grunt-ember-templates@0.4.23 (remove direct dep on ember-template-compiler)
- grunt-sass@0.16.1 (remove direct dep on node-sass)
- remove direct dependency on mocha (only used via grunt-mocha-cli)
2014-10-31 17:23:08 +00:00
Jason Williams
817b8d2906 Improve handling of forked processes in tests.
Closes #4277
- Increase the wait time for forked processes to spin up.
- If we give up on waiting for a forked process, send it a
  kill signal so if it comes alive later it doesn't sit in the
  background forever.
- Fail fast if test setup fails instead of waiting for the timeout.
2014-10-31 16:00:35 +00:00
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