Commit Graph

296 Commits

Author SHA1 Message Date
Fabian Becker
cd74b0e232 Switch to bower for client assets.
fixes #2272
- Remove libraries from shared/vendor
- Remove libraries from client/assets/vendor
- Add bower to package.json and postinstall
- Add bower.json with dependencies
- Add scripts from bower_components to concat/uglify
- Fix tests
- Serve jquery from /ghost/built/theme/
2014-03-04 20:09:26 +00:00
Fabian Becker
1a9e91f120 Replace JSLint with JSHint.
closes #2277
- Added ES6 linting to core/client/
- Fix typeof array comparison
2014-03-04 15:47:39 +00:00
Brian White
a2074d310c Update busboy to v0.2.3 2014-03-01 20:37:15 -05:00
Harry Wolff
4334c3deb6 Move Ember Admin to use es6 modules
- adds required dependencies to package.json
 and to bower.json
- added required Grunt tasks to transpile and
 concat ember admin files
2014-02-26 23:48:54 -05:00
Harry Wolff
2295c9470b Add basic template for Ghost admin in Ember
Inspired and derived from:

https://github.com/taras/Ghost/compare/ember-admin
https://github.com/manuelmitasch/ghost-admin-ember-demo
https://github.com/stefanpenner/ember-app-kit
2014-02-26 20:39:45 -05:00
Harry Wolff
d7815f4dff Update package.json for publishing to npm
address #2078

- removes private: true flag from package.json
- created .npmignore file and moved all of buildGlob
 file patterns into here, negating all patterns as
 the npmignore file defines what is to be excluded
 and not included.
- gruntfile now uses the inverse of the .npmignore file
 to define what files to include in a release
2014-02-23 09:38:47 -05:00
Harry Wolff
928b562948 Fix package.json scripts to be more in line with
expected behavior of npm packages

fixes #1053

- updates travis config to be more in line with
 current dev steps

- fix `grunt-cli` warning from appearing when
 running grunt
2014-02-18 22:53:21 -05:00
Fabian Becker
24853c261b Update express-hbs to fix block helper issue.
fixes #2127
- Update express-hbs to 0.7.9
2014-02-13 18:32:28 +01:00
Hannah Wolfe
b05dd64cae Update to npm install command
fixes #1053

- npm install doesn't need a path to grunt, and fails on Windows if it has one
- submodule update is handled by grunt (albeit badly... but let's fix that!)
2014-02-11 17:24:19 +00:00
Hannah Wolfe
2329edd18c Cleanup dependency order in package.json
- because OCD
2014-02-10 18:15:36 +00:00
Harry Wolff
fd583df8e5 Updated package.json to conform to npm standards
fixes #1053

- fleshed out script object 
- added test and install package.json
- updated contributing guide 
- updates travis.yml to leverage new npm start
2014-02-09 16:14:40 -05:00
Aia Patag
4e5c624d9f Updated downsize to 0.0.5
closes #2106
- downsize 0.0.5 contains the fix to accept single quote found inside a double-quote string or vice-versa
- created unit tests to properly check this scenario
2014-02-08 15:13:33 +00:00
Dane Springmeyer
6c1dede432 sqlite3@2.2.0
Updates node-sqlite3 to v2.2.0

This version is compatible with 2.1.x but includes:

 - updated internal libsqlite3 from 3.7.17 -> 3.8.2 (http://www.sqlite.org/news.html) which includes the next-generation query planner http://www.sqlite.org/queryplanner-ng.html
 - improved binary deploy system using https://github.com/springmeyer/node-pre-gyp
 - binary install now supports http proxies
 - source compile now supports freebsd
 - fixed support for node-webkit
2014-02-07 10:19:45 +00:00
John-David Dalton
6eab7b3f92 Replace underscore with lodash. 2014-02-06 14:08:34 +00:00
Hannah Wolfe
75d15ea7be Version bump for 0.4.1 2014-01-30 13:17:24 +00:00
Hannah Wolfe
1afeeaf2d4 Version bump for rc1 2014-01-28 09:20:39 +00:00
Hannah Wolfe
3961b7173f Upgrade express-hbs, and switch to using registerPartial
fixes #1964, fixes #1975

 - Issues with partial handling which caused #1964  have been part fixed by handlebars, part worked around by express-hbs, we must use `registerPartials` to ensure partials are handled correctly.
 - Issue with error handling which caused #1975 has also been fixed in express-hbs, which now catches the error from handlebars and passes it to express so that we can handle the error with an error page.
2014-01-24 11:08:15 +00:00
Hannah Wolfe
c82d2eadba Version bump for 0.4 release 2014-01-13 09:33:28 +00:00
Hannah Wolfe
3d18a32e7d Bump version for pre-release 3 2014-01-12 23:42:35 +00:00
Hannah Wolfe
4b4e6c2d45 Bump version for pre-release 2 2014-01-09 21:39:13 +00:00
Hannah Wolfe
ce3920cc98 Bump Version for pre-release 2014-01-07 10:07:20 +00:00
Hannah Wolfe
a697a631c2 Route tests
issue #1773

- Adds functional tests for frontend routing
- Tests the request-response contract
- Requires db access at the moment
- Tests #1790
2014-01-01 16:18:03 +00:00
Hannah Wolfe
e53148ec2e Update grunt-update-submodules to 0.2.1
issue #1787

- hopefully resolves problems with some versions of npm
2013-12-31 11:20:35 +00:00
Hannah Wolfe
c295864970 Update connect-slashes to version 1.2.0 2013-12-30 09:25:21 +00:00
Hannah Wolfe
e2325dc969 Don't allow a subdirectory called Ghost
fixes #1755

- adds extra validation to config loader
- adds tests for config loader and validation
2013-12-30 01:04:29 +00:00
Hannah Wolfe
9ec7e4ea38 Merge pull request #1615 from gotdibbs/Issue1227
Switch from multipart to busboy
2013-12-21 10:25:05 -08:00
omeid
1a794733d2 Package.json: Incorrect node version fix. 2013-12-20 15:17:18 +11:00
William Dibbern
bf7692b151 Switch from multipart to busboy
Fixes #1227

- Removed deprecated `multipart` references.
- Setup `busboy` to pass along file streams and do a naive parse of form
values.
- Updated logic in file storage and db import to handle file streams
instead of the temporary files created by `multipart`.
2013-12-17 17:24:30 -06:00
Seb Gotvitch
fef9b4be25 Bug fixes for partial views
closes #1203
- Update express-hbs module to the new version (0.5.2)
- Use two instance of hbs one for the theme and an other for the admin
- Template helpers are register as partial view
- Partial views of the theme are reload when the theme changed

Remove clear partial cache in handlebars

This code will be move in `express-hbs`.
This doesn't cause a problem to remove this line but it is not clean.

Remove unused hbs instance

Resolve conflict
2013-12-12 12:11:02 -05:00
Hannah Wolfe
365b4ca50c Updating devDependencies to latest versions 2013-12-08 17:42:34 +00:00
Hannah Wolfe
2636e1c1e3 Reverting express-hbs to 0.5.1
- there is some sort of bug with 0.5.2 when combined with recent changes which results in the following error:

/home/travis/build/TryGhost/Ghost/node_modules/express-hbs/lib/hbs.js:128
      if(count < self.partialsDir.length){
                                 ^
TypeError: Cannot read property 'length' of undefined
2013-12-07 14:33:13 +00:00
Hannah Wolfe
1b16518e40 Merge pull request #1626 from ErisDS/grunt
Gruntfile cleanup
2013-12-07 03:36:32 -08:00
Fabian Becker
29c5e5c971 Update dependencies.
- Important update for express (contains __proto__ fix in qs)
- Update all other dependencies to latest
2013-12-06 21:54:49 +00:00
Fabian Becker
1f853194ee Upgrade downsize to 0.0.4
refs #1095
- added new unicode test to excerpt helper
2013-12-06 15:43:03 +00:00
Hannah Wolfe
2b7e18f028 Gruntfile cleanup
issue #1340

- remove old weekly and nightly builds and associated stuff
- add help task
- add more documentation / comments
2013-12-06 11:18:27 +00:00
Fabian Becker
a4434fd39a Remove direct pg dependency
refs #1333
- Adjust Travis build to install pg
- Remove pg from package.json
2013-11-29 00:58:24 +00:00
Harry Wolff
89154ad997 Restore support for using ghost as a npm module fixes #1326 2013-11-27 17:39:14 +00:00
Tim Griesser
726014f59a bumping to knex 0.5 and bookshelf 0.6.1 2013-11-26 23:10:31 +00:00
Fabian Becker
3cb80a2ed9 Add postgres build and allow it to fail.
refs #1333
2013-11-25 00:41:40 +00:00
Harry Wolff
e76d23cb19 Make it possible to require ghost as a module. fixes #1326 2013-11-22 22:59:14 -05:00
Hannah Wolfe
9aa14162f0 Adding recommended fields to package.json 2013-11-15 08:36:55 +00:00
germanrcuriel
afbbee031e Add Coverage report for Unit and Integration tests
issue #361
- Added shell:coverage task to generate coverage report
- Registered test-coverage Grunt task as shortcut of shell:coverage
- Added coverage files to .gitignore
- Added require-cli and blanket to package.json
2013-11-09 18:58:27 +01:00
Fabian Becker
88d7682605 Automatically replace unicode characters with ascii characters for slugs.
fixes #1285
2013-11-05 21:00:29 +00:00
Hannah Wolfe
c2ab917075 Alphabetical package.json cos OCD 2013-11-04 12:35:13 +00:00
Sebastian Gierlinger
bb17e1c0e9 Add API tests
closes #1189
- added tests
- added request module
- added status codes to API calls
- fixed return values of API calls
- fixed that drafts caused an error when being deleted
- fixed X-Invalidate-Cache headers
- moved testUtils.js to utils/index.js
2013-11-03 18:13:19 +01:00
Hannah Wolfe
6626c3e7eb Merge pull request #1384 from halfdan/1377-fs-extra
Fix image upload issue.
2013-11-03 06:00:43 -08:00
Fabian Becker
48d3b10649 Fix image upload issue.
fixes #1377
2013-11-02 11:16:00 +00:00
Hannah Wolfe
60bef38298 Adding submodule update to grunt init
issue #1053

- not the greatest module, but perhaps one to re-create ourselves in future
2013-11-02 09:36:37 +00:00
Hannah Wolfe
56ea2bb557 Gruntfile.js cleanup & removed unused dependency
- grunt-open is no longer needed
- grunt build isn't used, so get rid.
2013-11-01 15:33:49 +00:00
Hannah Wolfe
a395361e6e Minor version bump for moment, polyglot & semver
- hopefully no breaking changes
2013-11-01 14:30:48 +00:00
Hannah Wolfe
fc6d4c37d2 Minor version bump for whenjs
- Upgrade  2.2.1 > 2.5.1
- Should be no breaking changes which affect us, but potential bug fixes
2013-11-01 14:09:15 +00:00
Hannah Wolfe
809c4d6b0a Bumping dependencies with patch version increases 2013-11-01 14:08:00 +00:00
Hannah Wolfe
703ae403ab Update devDependencies 2013-11-01 12:17:40 +00:00
Hannah Wolfe
0db907ada2 Bump grunt-jslint and fix issues 2013-11-01 12:12:01 +00:00
Hannah Wolfe
e9eacc454a Order dependencies alphabetically cos OCD 2013-11-01 12:06:02 +00:00
Hannah Wolfe
e720ea9849 Bumping express-hbs version
issue #1357

- fix from jgable for async helpers.
2013-11-01 10:31:14 +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
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
Fabian Becker
297d853ddb Update should.js and fix tests.
fixes #1360
2013-10-31 00:28:53 +00: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
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
William Dibbern
52374f306e Bumped express-hbs version
Fixes #830

- Bumped `express-hbs` version to `v0.5` which includes our updates to
support azure (UNC paths) and a fix for caching of partials.
2013-10-24 14:07:59 -05:00
Ryan Seys
31081f5761 Keep style consistent 2013-10-24 10:39:32 -04:00
Fabian Becker
1af17725fc Replace nodejs-bcrypt with bcryptjs
* https://github.com/shaneGirish/bcrypt-nodejs
* https://github.com/dcodeIO/bcrypt.js
2013-10-23 15:43:45 +00:00
Matheus Azzi
6555534608 Update package.json
Update grunt-contrib-watch
2013-10-21 08:44:10 -02:00
Hannah Wolfe
495f7bc3a7 Bump express and express-hbs to latest versions
closes #875, issue #876, issue #830
2013-10-21 10:21:57 +01:00
Hannah Wolfe
65dcb17117 Merge branch '0.3.3-wip'
Conflicts:
	core/client/views/blog.js
	core/server/api.js
	core/server/views/default.hbs
	package.json
2013-10-20 10:09:39 +01:00
Nick Donohue
2eb5758bc5 Bump connect-slashes to 0.0.10
seems to kill warning `npm WARN package.json connect-slashes@0.0.9 No repository field.`
2013-10-20 01:46:19 -04:00
Hannah Wolfe
0437e16a7a Version bump to 0.3.3 2013-10-17 22:49:24 +01:00
Tim Griesser
13639ad8d1 Updating to bookshelf 0.5.7 & knex 0.4.11 2013-10-17 18:23:36 +01:00
sjama
e6b4c80542 fixed license url 2013-10-16 18:46:44 +01:00
John O'Nolan
931897ed75 Updated package.json with Ghost details 2013-10-16 11:09:20 +02:00
Hannah Wolfe
b544ee7ed6 Revert "Updated to latest version of express-hbs"
This reverts commit d169bba3f8.

Conflicts:
	package.json
2013-10-11 20:14:58 +01:00
Hannah Wolfe
f30e356e7c Revert "Updated to latest version of express"
This reverts commit c95d469eb3.

Conflicts:
	package.json
2013-10-11 20:13:44 +01:00
Hannah Wolfe
b4d5918fac Version bump for 0.3.2
- added optional mysql dependency
- removed .afignore
- updates to .gitignore to ignore any additional themes or plugins
2013-10-11 18:21:14 +01:00
Hannah Wolfe
d169bba3f8 Updated to latest version of express-hbs
issue #830
2013-10-07 16:42:25 +01:00
Hannah Wolfe
c95d469eb3 Updated to latest version of express
closes #875
2013-10-07 14:31:57 +01:00
Hannah Wolfe
d866f0f31a Version bump for 0.3.1 bugfix release 2013-09-27 17:20:52 +01:00
nicoburns
994263b033 Added grunt-contrib-clean task to clear build folder 2013-09-19 08:45:29 +01:00
Hannah Wolfe
ce6dc77dc7 Version bump ready for release 2013-09-18 23:26:44 +01:00
Hannah Wolfe
6fe4efe2bd Changing Knex version
- no longer need to run npm install knex
2013-09-18 15:03:32 +01:00
Hannah Wolfe
6a276668bc Default to trailing slashes on the end of URLs
issue #448
2013-09-17 02:41:44 +01:00
Jacob Gable
63eb9581ea Compile assets with grunt
- Made a helper called ghostScriptTags that will spit out the relevant
  script tags with version parameter; 4 unminified files in development,
  1 minified file in production.
- Added grunt concat and uglify tasks to build files into core/built
- Fixed some unit tests by making them native date objects
2013-09-15 14:06:42 -05:00
Hannah Wolfe
b1d02d31f6 Setting knex to fixed 0.2.6 version
- hope to change this before release as 0.2.6 has a critical bug, and 0.4.0 doesn't yet work with bookshelf
2013-09-15 00:29:44 +01:00
Tim Griesser
bfded1e4c1 bumping bookshelf & knex deps 2013-09-10 09:48:17 +01:00
Hannah Wolfe
1baa2c46fb Upgrading sqlite3 to remove build dependencies
- This is the best commit ever.
- sqlite3 no longer has any build dependencies on major platforms
- HUZZAH
2013-09-10 08:46:07 +01:00
Hannah Wolfe
75a58bcd1e Updating express-hbs to latest
closes #630
2013-09-06 13:33:46 +01:00
Hannah Wolfe
36874badd5 Merge pull request #587 from javorszky/iss288
Email sending with Sendgrid plus password reset
2013-09-02 15:44:48 -07:00
Hannah Wolfe
be62a550f9 Global settings for themes
issue #389

 - Upgrade express-hbs to get template options access
 - Grab config & settings with a hacky new method in ghost & pass to template options
 - Settings are no longer passed to res.locals
2013-09-02 20:58:49 +01:00
Ricardo Tomasi
56619a87f8 Implement e-mail sending 2013-08-31 22:21:33 +02:00
Patrick Garman
8030946095 Add RSS Feed
Issue #366
- adds node-rss dependency
- adds /rss/ and /rss/:page/ routes which return XML RSS 2.0 feed
2013-08-28 10:36:32 -05:00
Hannah Wolfe
4cc3a11cda Manually merging pull request #439 from javorszky/iss354
Conflicts:
	core/client/views/login.js
2013-08-20 10:11:09 +01:00
Gabor Javorszky
be7ed2dfdc Added validation for signup and login screens
Closes #374
* Included node-validator as a package
* Implemented server side validation (the client side js is a mess, need a LOT of work)
* Validates email address both on signup and login screens, gives error message on malformed email addresses
* Requires at least 8 chars of password
* Tells user if password is too short
* Tells user if no such user on login
* Tells user if wrong password on login
* Tells user if server responds with a 404 (goes away, dies, etc)
* Added middleware between req and login / signup for validation
2013-08-20 09:42:42 +01:00
Gabor Javorszky
4e1aa2119c Removed flash, renamed file, unbroken logout / login request notifications
Closes #354
* Reintroduced the redirect functionality (not logged in, tries to go to `/settings/user/`, is sent to `/login/` with info notification, after login user is taken to `/settings/user/)
* Reintroduced the "Successfully logged out" message
* Added middleware to scrub passive notifications from `ghost.notifications` after one use basically mimicing client side passive notifications
* Removed flash from everywhere. Even from package.json.
* Renamed flashed.hbs to notifications.hbs, modified default.hbs accordingly
* Added function to parse GET variables on client side
2013-08-20 08:15:06 +01:00
Jacob Gable
7a5cccf4c2 Add LiveReload Grunt Dev Task
Adds the ability to run a new task via `grunt dev` that will watch our
sass, templates and javascript files for changes and reload them in the browser.

Also, refactored the Gruntfile to auto load all grunt-* tasks to remove
some code.
2013-08-17 13:56:02 -05:00
Hannah Wolfe
94155039ee Merge pull request #341 from cgiffard/text-truncate-helpers
Themes: Added truncation to hbs content helper
2013-08-08 08:47:21 -07:00
ErisDS
8a49478b57 0.2.1 version bump to signify db upgrade + Casper update
- updated package.json version as this version requires a database upgrade
- updated casper reference to the latest version
2013-08-07 12:10:05 +01:00
Christopher Giffard
e484d9224e Themes: Added truncation to hbs content helper
Fixes #256

- Developed and linked new module, downsize, for tag-safe truncation
- Altered existing content handler to accept options for truncation
- Added tests for handler

Using truncation:

{{content words=10}}
{{content characters=256}}
2013-08-07 19:45:37 +10:00
cobbspur
558c9d6caa Added image upload reusable plugin
issue #40 and issue #280

- Adds uploader jquery plugin
- includes settings for enabling/disabling upload progress bar
- adds routing for image uploads
- adds directories by year and month based on upload date
- Implements plugin on settings - general pane
- Implements plugin on editor
- adjusted general tab to save uploaded image src

TODO:
- Add error handling
- Storing information on editor
- Add events
2013-08-05 23:01:48 +01:00
Hannah Wolfe
42f98bb60d Updating all dependencies to latest versions
- grunt-jslint merged my changes and released a new version
- all other packages which have newer versions have also been updated
- nothing *seems* to have broken (ran both unit & functional tests...yay)
2013-07-31 08:51:51 +01:00
ErisDS
6dd753212f Show message and don't start on unsupported node versions
closes #292
- added engines and enginestrict properties to package.json
- these provide warnings / errors when installing through npm
- added our own check using this info on start, throws a useful error and stops the app if the node version is not supported
- also switched sqlite3 to the latest version and checked it works with various node versions
2013-07-30 11:47:13 +01:00
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