Fabian Becker
428fb94278
Fixes random pg failures.
...
fixes #2075
- Updates knex to latest version
- Fixes expected value in page test
- Change fixture insertion to be sequential
- Add orderBy to insertMorePostsTags fixture helper
2014-03-17 10:54:31 +00:00
Hannah Wolfe
9415a232b0
Merge branch 'master' into ember
...
Conflicts:
.gitignore
.npmignore
Gemfile.lock
Gruntfile.js
bower.json
core/clientold/assets/fonts/icons.dev.svg
core/clientold/assets/fonts/icons.eot
core/clientold/assets/fonts/icons.svg
core/clientold/assets/fonts/icons.ttf
core/clientold/assets/fonts/icons.woff
core/clientold/assets/sass/ie.scss
core/clientold/assets/sass/layouts/auth.scss
core/clientold/assets/sass/layouts/editor.scss
core/clientold/assets/sass/layouts/errors.scss
core/clientold/assets/sass/layouts/manage.scss
core/clientold/assets/sass/layouts/plugins.scss
core/clientold/assets/sass/layouts/settings.scss
core/clientold/assets/sass/layouts/users.scss
core/clientold/assets/sass/modules/animations.scss
core/clientold/assets/sass/modules/breakpoint.scss
core/clientold/assets/sass/modules/breakpoint/_context.scss
core/clientold/assets/sass/modules/breakpoint/_helpers.scss
core/clientold/assets/sass/modules/breakpoint/_no-query.scss
core/clientold/assets/sass/modules/breakpoint/_parsers.scss
core/clientold/assets/sass/modules/breakpoint/_respond-to.scss
core/clientold/assets/sass/modules/breakpoint/parsers/_double.scss
core/clientold/assets/sass/modules/breakpoint/parsers/_query.scss
core/clientold/assets/sass/modules/breakpoint/parsers/_resolution.scss
core/clientold/assets/sass/modules/breakpoint/parsers/_single.scss
core/clientold/assets/sass/modules/breakpoint/parsers/_triple.scss
core/clientold/assets/sass/modules/breakpoint/parsers/double/_default-pair.scss
core/clientold/assets/sass/modules/breakpoint/parsers/double/_default.scss
core/clientold/assets/sass/modules/breakpoint/parsers/double/_double-string.scss
core/clientold/assets/sass/modules/breakpoint/parsers/resolution/_resolution.scss
core/clientold/assets/sass/modules/breakpoint/parsers/single/_default.scss
core/clientold/assets/sass/modules/breakpoint/parsers/triple/_default.scss
core/clientold/assets/sass/modules/forms.scss
core/clientold/assets/sass/modules/global.scss
core/clientold/assets/sass/modules/icons.scss
core/clientold/assets/sass/modules/mixins.scss
core/clientold/assets/sass/modules/normalize.scss
core/clientold/assets/sass/screen.scss
2014-03-09 23:04:36 +00:00
Fabian Becker
921ceb7be7
Replace SASS with assets from Ghost-UI
...
closes #2368
- Remove Ruby dependency (Gemfiles)
- Remove sass/fonts from core/client/assets/
- Add copy task to Gruntfile to copy over ghost-ui assets
- Install Ghost-UI via bower
- Changed .npmignore/.gitignore
- Remove grunt-contrib-sass dependency
- Remove mentions of Ruby in CONTRIBUTING.md
2014-03-09 22:50:37 +01:00
Hannah Wolfe
31f41822e0
Merge branch 'master' into ember
...
Conflicts:
.gitignore
Gruntfile.js
bower.json
core/client/assets/lib/showdown/extensions/ghostdown.js
core/client/assets/vendor/showdown/extensions/ghostdown.js
core/client/router.js
core/clientold/assets/vendor/chart.min.js
core/clientold/assets/vendor/codemirror/addon/mode/overlay.js
core/clientold/assets/vendor/codemirror/codemirror.js
core/clientold/assets/vendor/codemirror/mode/gfm/gfm.js
core/clientold/assets/vendor/codemirror/mode/gfm/index.html
core/clientold/assets/vendor/codemirror/mode/gfm/test.js
core/clientold/assets/vendor/codemirror/mode/markdown/index.html
core/clientold/assets/vendor/codemirror/mode/markdown/markdown.js
core/clientold/assets/vendor/codemirror/mode/markdown/test.js
core/clientold/assets/vendor/countable.js
core/clientold/assets/vendor/fastclick.js
core/clientold/assets/vendor/icheck/jquery.icheck.min.js
core/clientold/assets/vendor/jquery.hammer.min.js
core/clientold/assets/vendor/nprogress.js
core/clientold/assets/vendor/packery.pkgd.min.js
core/clientold/assets/vendor/showdown/extensions/ghostdown.js
core/clientold/assets/vendor/showdown/showdown.js
core/clientold/assets/vendor/validator-client.js
core/test/unit/client_ghostdown_spec.js
core/test/unit/client_showdown_int_spec.js
2014-03-05 23:10:44 +00:00
Fabian Becker
e5ead739a1
Remove unused libraries.
...
refs #2326
- Remove unused libraries from core/client/assets/vendor/
- Add folder to .gitignore
- bower install is now handled by grunt init
2014-03-05 10:20:56 +00:00
Jonathan Johnson
e4bb6d08cc
Update validator to 3.4.0
...
Closes #1379
- Convert to new api usage for both server-side and client-side
- Provide way require a negative response for boolean methods in
default-settings.json
- Add field validation functional tests
- Settings (General)
- Title length validation
- Description length validation
- postsPerPage, numeric, min, max
- Settings (User)
- Bio Length validation
- Location length validation
- Url validation
- Login
- Email validation
- Editor
- Title required validation
2014-03-04 13:54:24 -07:00
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