Commit Graph

1145 Commits

Author SHA1 Message Date
Christopher Giffard
799911c4a3 Adjusted launch procedure to use conditional app configuration based on NODE_ENV. Also included a warning on launch that Ghost is development software. 2013-07-25 22:22:45 +10:00
ErisDS
2d1f113cc5 Changing name in package.json to be lowercase as required by npm 2013-07-16 12:14:18 +01:00
ErisDS
d57cea17f1 Milestone 0.2.0 version bump & updated Casper reference to match 2013-07-12 00:13:20 +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
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
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
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
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
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
Hannah Wolfe
2c7245e0e5 issue #58 - removing the iiwf
In order to remove the iiwf we need to be able to lint backend and frontend code separately.
Changed our devDependency for grunt-jslint to use a fork which has multiTask (PR sent to main repo)
Updated Gruntfile with split rules for the jslint tasks
As a result, a few files failed to pass the new rules, these have been fixed and added to the commit
2013-06-25 13:38:41 +01:00
Matthew Harrison-Jones
6399d51d93 Convert to Grunt-Groc
Documentation can now be generated with `grunt docs`.
2013-06-25 11:26:55 +01:00
Hannah Wolfe
ae58257630 Freezing dependency versions
Updating package.json with full version numbers so that we can be certain
this version will continue to work in future
2013-06-22 15:23:36 +01:00
Hannah Wolfe
bc3b8541ab Milestone 0.1.1 version bump commit & updated Casper reference to match 2013-06-18 22:42:30 +01:00
Hannah Wolfe
f5e46449ef closes #103 - deployments
Added a standard grunt build task for doing deploys, this works in tandem with the ghost-deploy.sh script
Switched grunt-zip for grunt-contrib-compress as it seems more stable/reliable
2013-06-18 22:28:30 +01:00
Tim Griesser
a5b9274bb5 adding uuid's for the posts, users, settings 2013-06-15 10:16:20 -04:00
Gabor Javorszky
b0b11573f6 Restricting Admin user creation
Solves #138.
* Removed user and user_roles from fixture
* Restricted user creation to one user. That user is id 1, is admin
* Changed tests so they accommodate for this fact
* Can not create new user (fails on test, flashes on signup)
2013-06-15 10:10:26 +01:00
Jacob Gable
d1300bb49c Nightly build task
Add a `grunt nightly` build task that copies needed files to a build
folder, then zips them up for distribution. We can also add a tag and
push it to github but I've only tested it with throwaway branches.

I made some guesses about the build folder and dist folder.  If you
have a better way feel free to give some recommendations.

Related to #102.
2013-06-10 09:00:32 -05:00
Hannah Wolfe
aa659d29b6 JSLint updates - function spacing consistency
- updating grunt-jslint to the latest version
- fixing up function spacing
2013-06-06 21:38:12 +01:00
Tim Griesser
e5ce70e175 Added models & collections for various pieces
Saving post as draft, or publishing
Added HBS parser for some client tmpls
Parsing paginated posts
Added grunt watch for hbs parsing on updates
2013-06-03 00:56:57 -04:00
Jacob Gable
d81d408eab Fix Travis Errors
- affects #91
- Move dataProvider initialization outside constructor
- Add travis sqlite config that enables debug
- Add grunt-cli installation to travis before_script
2013-05-29 13:32:38 -05:00
Hannah Wolfe
5762f9e738 Updating package.json with grunt-cli package for travis 2013-05-27 22:19:26 +01:00
Gabor Javorszky
18166337b8 Replaced bcrypt with bcrypt-nodejs 2013-05-27 17:38:53 +01:00
Tim Griesser
4a318e9a6a using grunt validate for npm test, fixing random jslint errors 2013-05-26 20:15:46 -04:00
Tim Griesser
a3d2fb7aa9 adding mocha, getting npm test working 2013-05-26 19:41:05 -04:00
Jacob Gable
ee610c6fc6 Error handlers 2013-05-26 13:51:58 -05:00
Jacob Gable
c41a84c45d Remove nodeunit dependency 2013-05-26 12:40:25 -05:00
Jacob Gable
b54b7400e4 Remove grunt-contrib-nodeunit dependency 2013-05-26 12:39:55 -05:00
Jacob Gable
05ca58951b Merge changes from upstream 2013-05-25 11:55:23 -05:00
Jacob Gable
601e261439 Fixing tests and adding settings provider. 2013-05-25 11:48:15 -05:00
Gabor Javorszky
b39efd2680 Made Ghost work with bourbon, grunt init works again 2013-05-25 15:11:30 +01:00
Jacob Gable
242367e228 Bookshelf provider abstraction and tests 2013-05-23 23:02:41 -05:00
Gabor Javorszky
ab8781d115 Added user authentication and registration 2013-05-21 02:03:35 +01:00
John O'Nolan
e331307e58 Updating dependencies - fixing borked Ghost version #. 2013-05-19 17:33:45 +01:00
John O'Nolan
d528de7aa5 Version bump 2013-05-19 16:39:44 +01:00
Hannah Wolfe
ac43eae7be closes #31 - updating express-hb 2013-05-18 20:30:53 +01:00
Hannah Wolfe
52242a5d10 Merge branch 'api-fun' 2013-05-16 22:21:41 +01:00
Hannah Wolfe
ef94f3b778 closes #28 - reimplements posts with bookshelf
This involves switching column names to snake_case which requires template updates in both the admin and in casper
2013-05-16 22:16:09 +01:00
Hannah Wolfe
bb6880ea49 closes #33 - api example
Moving towards using an API which we can both expose publicly, and use internally.
Due to issues with JugglingDB, this breaks updating contentHTML on edit
Also, language, status, featured etc are all no long set / updated.
2013-05-16 12:21:13 +01:00
Hannah Wolfe
68a55f64cf Fixing express-hbs at version 0.1.3-pre which seems to work reliably 2013-05-14 22:42:29 +01:00
Jacob Gable
b88e69a3cc Switch to grunt-jslint 2013-05-14 10:04:22 -05:00
Jacob Gable
c49dc73385 Merging from upstream repo 2013-05-13 14:19:28 -05:00
Hannah Wolfe
590b736a72 Vain attempt to get node polyglot to install properly 2013-05-12 22:27:12 +01:00
Hannah Wolfe
bfd0126356 Very very basic travis setup. Will be able to configure this to be much better & more useful once grunt is all setup. 2013-05-12 21:15:35 +01:00
Jacob Gable
99c13c02c0 Initial Grunt configuration 2013-05-12 08:40:59 -05:00
Hannah Wolfe
17d421bfcc Initial commit to GitHub repo 2013-05-11 17:44:25 +01:00