Commit Graph

1316 Commits

Author SHA1 Message Date
Fabian Becker
3d42a3338f Run tests on MySQL and SQLite3.
fixes #921
2013-11-01 09:38:42 +00:00
Hannah Wolfe
5df0acf37d Merge pull request #1361 from halfdan/update-should
Update should.js and fix tests.
2013-11-01 02:00:01 -07:00
Hannah Wolfe
83015e9495 Merge pull request #1371 from springmeyer/patch-1
Update to node-sqlite3@v2.1.19
2013-11-01 01:59:19 -07:00
Dane Springmeyer
19976e9d0c Update to node-sqlite3@v2.1.19
This includes a single build fix to help avoid install errors in the case that a user has needed to customize their npm `tmp` directory (like on a shared machine): https://github.com/mapbox/node-sqlite3/issues/212
2013-10-31 18:53:55 -07:00
Hannah Wolfe
96538abd6f Merge branch 'image-refactor' 2013-10-31 08:31:41 +00:00
jamesbloomer
ec79069a1c Convert local file system image storage to use promises
Part of #635
2013-10-31 08:25:25 +00:00
Hannah Wolfe
2983e657a6 Unit test fixes
issue #635
2013-10-31 08:25:24 +00:00
jamesbloomer
6e44280b96 Moving file system storage to a module
issue #635

- refactored file system storage into module
- convert save to return a promise
- convert admin controller to use storage module
2013-10-31 08:25:24 +00:00
Fabian Becker
297d853ddb Update should.js and fix tests.
fixes #1360
2013-10-31 00:28:53 +00:00
Hannah Wolfe
0005d763af Merge pull request #1336 from cobbspur/cleanhelpers
improve layout of code to jslint standards in helpers unit tests
2013-10-30 09:39:58 -07:00
Hannah Wolfe
258b7b90f8 Merge pull request #1358 from zacgeis/open-fix
Grunt dev no longer opens browser
2013-10-30 09:36:47 -07:00
Zach Geis
45c2873e88 Grunt dev no longer opens browser
closes #1355
- dev task no longer calls open
2013-10-30 11:21:14 -05:00
John O'Nolan
9b188e592b Improved image cancel button
* Removed duplicate references
* Adjusted hover styles
* Imroved visibility of icon on dark images
2013-10-30 14:35:24 +01:00
John O'Nolan
376a3ec2b2 Fix bug where image-delete icon was on top of floating headers 2013-10-30 14:20:44 +01:00
cobbspur
b316e2fd70 improve layout of code to jslint standards in helpers unit tests 2013-10-29 20:16:59 +00:00
Hannah Wolfe
8a8dacb0e4 Merge pull request #1323 from ErisDS/test-fixes
Wait for menu to open in editor test
2013-10-29 04:37:41 -07:00
Hannah Wolfe
17bc8034f5 Merge pull request #931 from jgable/pluginApiChanges 2013-10-29 11:28:01 +00:00
Hannah Wolfe
6a0a453a96 Read activePlugins from settings & improve error handling
issue #769

- activePlugins were being read from settings in two different ways, this has been simplified
- error handling has been improved so that plugins do not crash Ghost
- used full error messaging capabilities to make it easier to recover from errors
2013-10-29 11:27:52 +00:00
Jacob Gable
507174a00b Plugin API Refactor: Filter and Theme Helpers
issue #769

- Refactor doFilter to allow returning a promise from a filter handler
  and to also return a promise itself
- Move the logic out of the registerThemeHelper calls and into their own methods so
  we could test them in isolation.
- Assign the server to the ghost instance so the initPlugins method can
  get access to it.
2013-10-29 11:27:52 +00:00
Hannah Wolfe
6634c4673d Merge pull request #1319 from springmeyer/patch-1
Node v0.10.x is required (and not > v0.10) - refs #1314
2013-10-29 02:09:49 -07:00
Hannah Wolfe
f2435da15d Merge pull request #1320 from springmeyer/master
Update node-sqlite3 to v2.1.18
2013-10-29 02:09:34 -07:00
Dane Springmeyer
5b88bcbdfe Node v0.10.x is required (and not > v0.10) - refs #1314 2013-10-28 17:01:23 -07:00
Dane Springmeyer
3347e13494 Update node-sqlite3 to v2.1.18
v2.1.18 brings in build fixes so that better errors are reported in the case of a fallback to a source compile + other minor build fixes (so functional code changes) - refs #1269
2013-10-28 16:58:02 -07:00
Hannah Wolfe
ddece0464b Merge pull request #1301 from ErisDS/js-build-warn
Adding a warning message if js is not built
2013-10-28 15:24:19 -07:00
Hannah Wolfe
68f78c9cc4 Merge pull request #1315 from cobbspur/suffix
added suffix to tag helper
2013-10-28 15:24:11 -07:00
Hannah Wolfe
137a7d9218 Merge pull request #1147 from halfdan/969-static-pages
Allow user to mark a post as static page
2013-10-28 15:06:11 -07:00
Fabian Becker
798e5b1a4e Allow user to mark a post as static page
- Increased post-settings width to properly display "Static Page"
- Changed templates to display "Static Page" if set
- Added unit test for body_class helper

fixes #969
2013-10-28 22:01:03 +00:00
Hannah Wolfe
d3a61b93e9 Wait for menu to open in editor test
issue #1287

- also contains some misc cleanup
2013-10-28 22:00:17 +00:00
cobbspur
d605100709 added suffix to tag helper
closes #607

- added suffix as optional parameter to tag helper
2013-10-28 21:38:36 +00:00
Hannah Wolfe
46dc171362 Merge pull request #1314 from ErisDS/no-node-11
Dropping our incomplete support for node 0.11
2013-10-28 12:35:20 -07:00
Hannah Wolfe
fcf483a255 Dropping our incomplete support for node 0.11
issue #1287, issue #1147

- our support was partial, is based on node-sqlite3, which has dropped partial support as well
- node 0.11 is a dev version, and has lots of breaking changes
- we will add node 0.12 support when it is released
2013-10-28 17:46:08 +00:00
Hannah Wolfe
c364ec472a Merge pull request #1288 from zacgeis/codeformat-fix
Avoid filtering markdown code blocks
2013-10-28 04:19:55 -07:00
Hannah Wolfe
8de9a964b7 Merge pull request #1304 from jaswilli/patch-1
fixed typo in CONTRIBUTING.md
2013-10-28 01:38:13 -07:00
jtw
abb8021a40 Update CONTRIBUTING.md 2013-10-27 16:22:45 -05:00
John O'Nolan
b07facbb70 Updated Breakpoint Sass 1.3.0 => 2.0.6 2013-10-27 16:25:26 +01:00
Hannah Wolfe
6869c01a28 Adding a warning message if js is not built
closes #1205
2013-10-27 15:16:34 +00:00
Zach Geis
1f15df41ef Avoid filtering markdown code blocks
closes #1045
- Fixed markdown code block format issue.
- Added test case to verify fix.
2013-10-26 12:16:47 -05:00
Hannah Wolfe
89937666e1 Contributing guide update 2013-10-26 17:31:44 +01:00
Hannah Wolfe
47e507b37e Merge pull request #1283 from halfdan/prevent-drop-event
Prevent default drag/drop action.
2013-10-26 08:34:07 -07:00
Hannah Wolfe
bf06c57746 Merge pull request #1279 from willglynn/code_wrap
<code>/<tt> elements should wrap since they're used inline
2013-10-26 07:45:26 -07:00
Fabian Becker
95cbbcf07e Prevent default drag/drop action. 2013-10-25 20:19:51 +00:00
Hannah Wolfe
5c33a707e9 Merge pull request #1164 from halfdan/1162-unpublished-posts
Unpublished Post should not be accessible
2013-10-25 13:18:39 -07:00
Hannah Wolfe
dfced52abc Merge pull request #1281 from halfdan/regression
Fixes regression introduced in #1218.
2013-10-25 13:13:38 -07:00
Fabian Becker
134f9a2b10 Fixes regression introduced in #1218. 2013-10-25 19:31:53 +00:00
Hannah Wolfe
39089d06de Merge pull request #1280 from dymissy/master
Added quotes to changepw admin controller
2013-10-25 12:15:15 -07:00
Simone D'Amico
c4bf0123c8 Added quotes to changepw admin controller 2013-10-25 20:11:33 +02:00
Will Glynn
1bcb751e29 <code>/<tt> elements should wrap since they're used inline 2013-10-25 08:48:57 -05:00
Hannah Wolfe
40c1271c08 Merge pull request #1271 from halfdan/1263-blacklist
Remove .txt from blacklist.
2013-10-25 04:43:19 -07:00
Hannah Wolfe
fb199fd588 Merge pull request #1274 from nschonni/grunt-task-names
Move JS comments to task descriptions
2013-10-25 04:43:01 -07:00
Nick Schonning
5d24a4bf9d Move JS comments to task descriptions
- Makes them visible by "grunt --help"
- Normalize quoting to single
2013-10-25 01:58:58 -04:00