Hannah Wolfe
cfe272e175
Functional tests for home and post page
...
closes #1373
- Note that the tests fail if you run them pre #1363 , thus future proofing us from this happening again.
- Added submodule handling to travis
- Added a new test for each of the home and post pages
2013-11-01 11:33:50 +00:00
Hannah Wolfe
422403c40b
Merge pull request #1363 from jgable/fixAsyncHelperContext
...
Fix async helpers losing proper "this" context
2013-11-01 03:59:06 -07:00
Fabian Becker
933a8c764a
Separate model tests to separate tasks/directory.
...
refs #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
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
Jacob Gable
257169e8c9
Fix async helpers losing proper "this" context
...
Fixes #1357
- Instead of calling the passed function directly, use .call(this,
options)
2013-10-30 21:07:17 -05: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
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
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
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
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
c364ec472a
Merge pull request #1288 from zacgeis/codeformat-fix
...
Avoid filtering markdown code blocks
2013-10-28 04:19:55 -07: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
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
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
Fabian Becker
0997eae716
Remove .txt from blacklist.
...
fixes #1263
2013-10-25 00:15:39 +00:00
Fabian Becker
aa5c0cc620
Unpublished Post should not be accessible
...
fixes #1162
2013-10-24 21:29:10 +00:00
Hannah Wolfe
6cd22c306d
Merge pull request #1122 from gotdibbs/Issue814
...
Simplify publish date checks
2013-10-24 10:53:55 -07:00
Hannah Wolfe
ca6bc7525d
Merge pull request #1238 from jgable/exposeKnex
...
Store the Bookshelf instance on the Bookshelf module
2013-10-24 08:18:29 -07:00
Hannah Wolfe
0333ab7711
Merge pull request #1258 from gotdibbs/Issue1242
...
Fix duplication of entries in infinite scroll
2013-10-24 08:17:41 -07:00
Hannah Wolfe
5b8048506e
Merge pull request #1251 from sebgie/api-refactor-move
...
Move /api to /ghost/api
2013-10-24 07:52:49 -07:00
Hannah Wolfe
a190a209c0
Merge pull request #1252 from halfdan/531-lines-to-spaces
...
Replace new-lines with spaces in excerpt helper.
2013-10-24 07:30:49 -07:00
Hannah Wolfe
ebef969f49
Merge pull request #1245 from StevenMcD/issue/1007
...
Issue/1007: Corrected the behaviour of the HOME and END keys on the Code...
2013-10-24 07:24:41 -07:00
Hannah Wolfe
37359dc7d6
Merge pull request #1222 from mduvall/encoding-image-upload
...
r# the commit.
2013-10-24 14:37:23 +01:00
Matt DuVall
6dc3e05d21
Allow only images to be uploaded in the upload modal
...
Fixes #1221
- This changes the accepted encodings on the files upload input field to
be only "image/*" now
-
2013-10-24 14:37:08 +01:00
Sebastian Gierlinger
6505986f6b
Move /api to /ghost/api
...
closes #1249
- changed routes
- changed apiRoots
2013-10-24 14:50:17 +02:00
Hannah Wolfe
0ddd7e8dd1
Merge pull request #1254 from halfdan/943-login-notification
...
Only show notifications when logged in.
2013-10-24 03:35:37 -07:00
Fabian Becker
f5d65d7ac4
Only show notifications when logged in.
...
fixes #943
2013-10-24 08:47:27 +00:00
William Dibbern
54a6cf79d7
Fix duplication of entries in infinite scroll
...
Fixes #1242
- Switched to render each new item as its added to the collection when
retrieving via scroll checks.
- Added check to remove all subviews whenever `render` is called on
`ContentList` as a preventative measure.
- Cached the jquery reference to the ordered list in `render`.
2013-10-24 01:19:09 -05:00
Fabian Becker
16f72ba865
Replace new-lines with spaces in excerpt helper.
...
fixes #531
2013-10-23 20:28:36 +00:00
Fabian Becker
fc019fe675
Fixed style of modal in preview.
...
fixes #1179
2013-10-23 21:13:29 +01:00
Hannah Wolfe
5ba8959e83
Merge pull request #986 from sebgie/issue#952
2013-10-23 19:43:12 +01:00