Commit Graph

6062 Commits

Author SHA1 Message Date
Hannah Wolfe
cffc158ea4 Merge pull request #262 from matthojo/User-Menu-Highlighting
Fixes persistent menu highlighting
2013-07-13 03:10:26 -07:00
Hannah Wolfe
6e67b629ff Merge pull request #263 from matthojo/G-link
Fixed 'G' button not working
2013-07-13 03:10:04 -07:00
Matthew Harrison-Jones
4d77d2f7bc Fixed 'G' button not working
Fixes #218.
2013-07-12 17:13:40 +01:00
Matthew Harrison-Jones
390d3cc538 Fixes persistent menu highlighting
Fixes #259
2013-07-12 16:50:21 +01:00
ErisDS
d57cea17f1 Milestone 0.2.0 version bump & updated Casper reference to match 2013-07-12 00:13:20 +01:00
ErisDS
51d75aec9b Docs and tests - closes #235
- fixed the test that the fixture change broke (sort of). We should be using separate fixtures for tests really, unless we want to test something about a Ghost install.
- updated readme with better docs
2013-07-11 23:42:50 +01:00
ErisDS
b3b296f003 New fixture
- added new getting started fixture
- closes issue #13
2013-07-11 23:10:19 +01:00
Hannah Wolfe
3d3d42bd7c issue #245
hbs templates not building with correct paths
missed a couple of assets paths in settings
2013-07-11 21:00:41 +01:00
Hannah Wolfe
7381c52f24 Merge pull request #257 from ErisDS/restructure
App restructure - closes #245
2013-07-11 12:32:29 -07:00
Hannah Wolfe
30b4eb07f7 App restructure - closes #245
- This is a first pass at getting a more logical structure. The focus is on moving from admin/frontend to client/server.
- The location of the databases is highly important, this isn't expected to change again
In the future
- client/assets should probably become public/
- more stuff should be shared (helpers etc)
- cleanup some confusion around tpl and views
2013-07-11 20:23:34 +01:00
Hannah Wolfe
316a50b7ff Issue #246 part 12
-  renamed single.hbs to post.hbs
- casper updated to match
2013-07-11 17:57:12 +01:00
Hannah Wolfe
f6ae99a0ba Updating casper to the lastest version
- various updates to helpers
2013-07-11 17:46:58 +01:00
Hannah Wolfe
50c49acb00 Merge pull request #255 from ErisDS/rename-content-fields
Rename content fields & add content helper
2013-07-11 09:38:28 -07:00
Hannah Wolfe
2b132f32b1 Content helper - closes #254
- return content as a safe string so triple taches are not required
- test for content helper
2013-07-11 17:21:42 +01:00
Hannah Wolfe
6b3f835cfb Rename content fields - closes #253
- rename "content" to "content_raw"
- rename "content_raw" to "content"
- change all references
2013-07-11 16:27:19 +01:00
Hannah Wolfe
9268d6ef11 More config for build tasks - issue #211
- using grunt config to provide nicer commit and tag messages
2013-07-11 15:24:33 +01:00
Hannah Wolfe
3bfeece520 Added weekly build tasks - closes #211
- updated grunt file with the tasks for running a weekly build
2013-07-11 15:05:10 +01:00
Hannah Wolfe
5948a3f246 Test cleanup
- redoing test failures with .then(null, done) so that any errors which happen in the previous then are properly caught.
2013-07-11 13:50:31 +01:00
Hannah Wolfe
20c768e718 Fixing SQLite3 back to at the commit which reliably builds on node 10 and 11 for now. Will update again when the project is more stable. 2013-07-11 13:29:58 +01:00
Hannah Wolfe
f3c33238ec Merge pull request #252 from ErisDS/helpers
Helper refactor & fixes
2013-07-11 05:21:27 -07:00
ErisDS
6f8752aa22 HTML helpers refactor - issue #246 items 2 and 5.
- moved template logic out of individual helpers and into Ghost
- simplified template-driven helpers into closures which maintain the context of handlebars
- with handlebars context we have access to data, so don't need to pass data in
- check data to test that it is a simple object and not a function
- moved helpers back into index.js
- provided tests for both template functions in ghost and the nav helper so we are back to where we were
2013-07-11 01:30:29 +01:00
ErisDS
0dd0d20678 Nav helper bug - home page always marked as current
- fixed a bug whereby once you visit the homepage the homepage menu item is always marked as the active page
- this was due to passing the config object being done by reference rather than by value, and therefore setting the selected item was persisted.
2013-07-11 01:30:29 +01:00
ErisDS
53fe5e3ba3 HTML helpers work with double taches - issue #246 item 1.
- updated navigation and pagination helpers to use SafeString
- nav and pagination don't need triple taches any more
- nav tests updated, and renamed to match helper name
2013-07-11 01:30:29 +01:00
Hannah Wolfe
1a99aa8c6f Merge pull request #251 from ErisDS/test-cleanup
Test fixes & cleanup
2013-07-10 16:16:17 -07:00
ErisDS
6113a7da90 Test fixes & cleanup
- Removing mocha-as-promised as this seemed to cause problems with later tests.
- Making failure mode for tests consistent.
- increasing timeout for pagination - would love to know why this is needed
2013-07-11 00:01:42 +01:00
Jacob Gable
42681cbb65 Add bump pushes to build branch 2013-07-09 19:45:57 -05:00
Hannah Wolfe
c475dd2b9a Merge pull request #250 from jgable/switchToMochaCli
Switch to grunt-mocha-cli
2013-07-09 17:40:33 -07:00
Jacob Gable
12c205473f Remove validate task from nightly build 2013-07-09 19:10:35 -05:00
Jacob Gable
8545f5806e Switch to grunt-mocha-cli
The grunt-mocha-test task seems to be causing problems with our
beforeEach handlers in some cases. The grunt-mocha-cli task runs the
mocha command using grunt.util.spawn for more consistent results
2013-07-09 18:34:19 -05:00
Jacob Gable
2b7ba8044b Switch to bump:build 2013-07-09 13:56:19 -05:00
Jacob Gable
0792189030 Merge pull request #249 from jgable/updateGruntBumpPackage
Update grunt-bump min version and add bump:git
2013-07-09 11:32:22 -07:00
Jacob Gable
63ba3c77ee Update grunt-bump min version and add bump:git
The latest version of grunt-bump adds bump:build and bump:git support
2013-07-09 13:07:19 -05:00
ErisDS
dfe0b72795 Updating master to point to latest version of Casper 2013-07-09 16:08:02 +01:00
Hannah Wolfe
221345ff99 issue #234 - date bug
- updated fixtures so that even short-term we have valid data
- added methods to the base model that marshall the data in and out of the db so it is always an RFC 2822 date never ISO 8601
- turned off SQL debugging now the bug is resolved
- minor change to the date listing template, as we don't need to check for updated_at now that the data is correct - but should use published date anyway
2013-07-08 12:39:11 +01:00
Hannah Wolfe
85535ae000 issue #228 - slug generation
Some more bits for slug generation
- fixes a bug in generation and some tests
- makes sure that deduplicated slugs get a hyphen before the number
- added %<>|^~£"  to reserved chars
- added a few extra comments
2013-07-08 09:12:23 +01:00
Gabor Javorszky
a6b3851491 Removing multiple hyphens
Closes #228. Also deals with the fact that if there's a trailing hyphen, it no longer removes one extra character.
2013-07-08 08:12:51 +01:00
Jacob Gable
d8d88f40cd Fix slug multiple hyphens and short words
Should close #228 and #238
2013-07-08 07:37:38 +01:00
Hannah Wolfe
49e4e777b9 Merge branch 'config-naming' into version-0.2.0 2013-07-07 19:48:19 +01:00
Hannah Wolfe
605cd85f0b Merge branch 'ffc-fix' into version-0.2.0 2013-07-07 19:41:28 +01:00
Hannah Wolfe
d27f32fb4d Bug fix - unable to publish
- The addition of published/draft statuses to the post model on the frontend was being returned to the server.
- These additional properties are client-side only and are now unset before the model is saved
2013-07-07 19:41:05 +01:00
Hannah Wolfe
b70867c973 Filters should not stop execution.
- added a try-catch & error logging to filters so that they can be debugged and do not stop execution
2013-07-07 19:02:26 +01:00
Hannah Wolfe
7acd165d7a Bug fix - unable to view single page
- The fancyFirstChar plugin expected to always get an array of posts, and therefore broke on the single post pages
- Changed the plugin to cope with single objects as well as arrays
2013-07-07 18:54:50 +01:00
Hannah Wolfe
3d2b56b6a9 Config and naming
- issue #154, issue #224 and issue #220
- change port number from 3333 to 2368
- change main file name from app.js to index.js
- update README & package.json to match
2013-07-07 16:50:50 +01:00
Hannah Wolfe
b37f542448 Merge pull request #241 from matthojo/Menu-Fix
Fixes 'All Posts' menu not being the right location and also not hiding properly
2013-07-07 06:26:51 -07:00
Hannah Wolfe
c0070bb36b Merge pull request #242 from matthojo/Remove-Unused-Icons
Removed settings icon in editor
2013-07-07 06:15:19 -07:00
Hannah Wolfe
7d4190c06e Merge pull request #237 from jgable/version-0.2.0
Modify build files to move artifacts inside of project
2013-07-07 06:14:10 -07:00
Hannah Wolfe
57daf0b64c Merge pull request #236 from cobbspur/posttime
closes #195 posts date on content page
2013-07-07 06:12:39 -07:00
ErisDS
c69440b087 Switching sqlite3 module onto master so that it works with both stable (0.10.12) and latest (0.11.3) version of node 2013-07-07 11:24:00 +01:00
Matthew Harrison-Jones
56b64aa6d5 Removed settings icon in editor
See #188
2013-07-05 10:31:53 +01:00
Matthew Harrison-Jones
3badc2d3d0 Fixes 'All Posts' menu not being the right location and also not hiding properly
See #188
2013-07-05 10:26:21 +01:00