Commit Graph

337 Commits

Author SHA1 Message Date
Hannah Wolfe
06959661c0 Misc grunt /dev updates
- Updated all dev dependencies in the root package.json
- Added `--colors` to mocha when called from grunt test:... so that works better
- Removed non-unit tests from coverage, because they're just not useful
- Updated docker config to generate useful docs again - as a statement of intent, I also updated docs in key files
- Setup grunt watch-docs task for documentation writing easyness
2015-05-28 20:25:14 +01:00
Chris Maddox
e3f4129494 Update to use SPDX idetifier
Per https://docs.npmjs.com/files/package.json#license. Removes warning on install.
2015-05-25 21:00:32 -07:00
Joe Wegner
36f190247f pin to csscomb 3.0.4 2015-05-22 19:05:15 +01:00
John O'Nolan
208999a77f Introduce CSScomb 2015-05-22 19:05:10 +01:00
Hannah Wolfe
53b758d127 Version bump to 0.6.4 2015-05-21 17:27:17 +01:00
Hannah Wolfe
da8752cc88 Merge pull request #5290 from josephwegner/chalk-colors-swap
replace colors with chalk everywhere
2015-05-21 16:28:41 +01:00
John Nguyen
ab7d7cc798 Bumped up node-sqlite3 version number to fix broken build on non x86 devices such as the RPi 2015-05-21 15:25:34 +08:00
Joe Wegner
f26179ae6a replace colors with chalk everywhere
issue #5259
- removes the colors dependency
- adds in chalk dependency, and migrates everything to use that
- reduces some specs now that the log calls are cleaner
2015-05-19 11:07:40 -05:00
Hannah Wolfe
42013eedb5 Version bump to 0.6.3 2015-05-14 16:04:11 +01:00
Jason Williams
ddd4a9ff6c Update html-to-text package
Closes #5264
- html-to-text@1.3.0
2015-05-13 09:01:06 -05:00
Jason Williams
0741df4736 Add editorconfig 2015-05-07 11:45:16 -05:00
Hannah Wolfe
d3feda719a Merge pull request #5225 from jaswilli/update-deps
Update dependencies
2015-05-06 11:26:14 +01:00
Jason Williams
25a8f9d963 Update bluebird promise library
No Issue
- bluebird@2.9.25
2015-05-06 00:50:28 +00:00
Jason Williams
181cb780bc Update dependencies
No issue
- express@4.12.3
- moment@2.10.2
- request@2.55.0
- sqlite3@3.0.6
- validator@3.39.0
- (dev) grunt-contrib-jshint@0.11.2
- (dev) grunt-mocha-cli@1.13.0
- (dev) should@6.0.1
2015-05-06 00:27:39 +00:00
Austin Burdine
2865662ee5 added password protection
closes #4993
- brings password protection to the frontend of blogs
- adds testing for password protection
- upgrades bcrypt-js to 2.1.0
2015-04-30 23:44:43 -05:00
Jason Williams
dae66d00be Upgrade grunt-jscs to fix whitespace linting.
No issue.
- grunt-jscs@1.8.0
- Fix formatting
2015-04-30 16:14:19 -05:00
Hannah Wolfe
d10ae70982 Version bump to 0.6.2 2015-04-22 22:14:03 +01:00
Hannah Wolfe
509163998b Switch to using grunt raw on travis
- hoping this will fix an issue with builds failing
2015-04-22 19:40:12 +01:00
Hannah Wolfe
d480ee4912 Version bump to 0.6.1 2015-04-22 14:31:08 +01:00
Hannah Wolfe
6d04ead9f2 Switch test coverage to use Istanbul
closes #4644

- Switch from using blanket to istanbul
- Rename some test files for consistency (and so that they will run)
2015-04-19 15:54:05 +01:00
Hannah Wolfe
c2650a05c7 Version bump to 0.6.0 2015-04-13 15:57:33 +01:00
Hannah Wolfe
570299c173 Update semver due to sec advisory
no issue

- explanation here: https://nodesecurity.io/advisories/semver_redos
2015-04-10 09:39:10 +01:00
Hannah Wolfe
afbe1ce5bc Remove enginesStrict
no issue
- engines strict is being deprecated: https://docs.npmjs.com/files/package.json#enginestrict
- remove it as it currently causes problems
2015-04-07 17:37:58 +01:00
Matt Enlow
242388f743 Merge pull request #5065 from ErisDS/rss-2263
Improve RSS feed
2015-04-04 07:55:33 -06:00
Hannah Wolfe
79d213436e Improve RSS feed
refs #2263

- Switch content type back to text/xml
- Use content:encode for full content
- Use meta description or first 50 words of content for description
2015-04-03 19:00:00 +01:00
Matt Enlow
5015180474 Merge pull request #5054 from ErisDS/express-hbs-update
Update express-hbs & registerAsyncHelper function
2015-03-24 11:33:46 -06:00
Hannah Wolfe
1db59e12ee Move showdown extensions to ghost-showdown
no issue

- We already maintain our own fork of showdown, this moves our custom extensions to our fork
- Code duplication is removed
- Tests are also moved to the other repo
2015-03-17 20:18:08 +00:00
Matt Enlow
58635b3e0a Serve files to core/built/assets/
- see core/client/lib/assets-delivery/index.js for how this is done
- Turn off ember-cli fingerprinting
- ember-cli 0.2.0; Update .npmignore
- Fallback to old version of ember-cli-sass due to lib-sass errors
- Keep ember-data at beta-14.1 until we find the dep that's breaking on snapshot.attr
- Fix release task to ignore blank lines in .npmignore
2015-03-12 15:59:02 -06:00
Matt Enlow
9e7658f98d grunt init, dev
- added grunt-bg-shell
- reorganized asset tasks into one location
- turn off ember-cli analytics
- remove app/config-dev and config-prod
- remove qunit from bower.json
- remove express from package.json
2015-03-11 12:37:41 -06:00
Hannah Wolfe
4b05585631 Update express-hbs to 0.8.4
fixes #4364, refs #4439, refs #4799

- Update express-hbs to 0.8.5
- Use preventIndent option onCompile
- Update registerAsyncHelper to support passing through options when needed
2015-03-10 15:52:00 +00:00
Hannah Wolfe
6b1e9add01 Version bump to 0.5.10 2015-03-09 20:56:46 +00:00
Fabian Becker
47e16df196 Node v0.12 & io.js support.
fixes #4811, refs #4240
- Add v0.12 to the build
- Fix express tests to work with iojs/0.12
- Add iojs-v1.2.0 to the build matrix
2015-03-09 20:27:14 +01:00
Hannah Wolfe
0eb74b598e Temporarily downgrade grunt-contrib-jshint
no issue

- grunt-contrib-jshint loosely depends on jshint ^2.6.0 and jshint seem to be having some backwards incompatibility issues with 2.6.1 etc.
- let's downgrade this temporarily (quick/safe option) until they sort their issues, then we can upgrade and make any required changes
2015-03-09 11:55:21 +00:00
Hannah Wolfe
60f1205070 Version bump to 0.5.9 2015-02-28 19:54:26 +00:00
Fabian Becker
e7246a4ef3 Upgrade express.js to 4.12
no ref
- Fix deprecation warnings
2015-02-26 08:28:37 +01:00
Jason Williams
2a91a1071e Update Ember to 1.10.0
No issue.
- Ember@1.10.0
- Update grunt-ember-templates to version that supports HTMLBars.
- Update Gruntfile.js to compile templates with HTMLBars.
- Convert Handlebars code to its HTMLBars equivalent.
2015-02-09 16:20:16 +00:00
Jason Williams
e0e39aa160 Retry API request when buildAboutPage gets 202
No Issue.
- top-gh-contribs@1.0.0.
- Enable 'retry' option which will retry the GitHub API request
  in the event it receives a status of 202 (retry momentarily).
2015-02-05 18:52:53 +00:00
Jason Williams
207a7890d1 Merge pull request #4840 from halfdan/patch-3
Update validator dependency
2015-02-03 16:25:07 -06:00
Fabian Becker
d04303d211 Update validator dependency
fixes #4838
- Updated validator.js version properly handles punycode domains.
- Bump top-gh-contribs
2015-02-03 22:54:46 +01:00
Paul Adam Davis
f492502f33 Update grunt-sass to 0.17.0
No issue

- Allows us to use Sass Maps
- Fixes the 'compressed' output style, so we can have minified code
again!
2015-02-03 10:33:25 +00:00
Hannah Wolfe
54c7d23b26 Merge pull request #4841 from jaswilli/frontend-match
Use path-match to match routes instead of Router
2015-01-26 21:28:35 +00:00
Jason Williams
d633ffc766 Remove jshint rules that are no longer supported
No Issue
- grunt-contrib-jshint@0.11.0.
- remove error about browser global Notification being redefined.
2015-01-23 21:00:37 +00:00
Jason Williams
b06d2a619d Use path-match to match routes instead of Router
No Issue
- Use path-match instead of hacking up the Express.Router internals.
2015-01-22 19:21:47 +00:00
Jason Williams
1c07273f5a Update grunt-jscs dependency
No Issue
- grunt-jscs@1.2.0
- Clean up some instances of multiple spaces.
- Remove jscs:disable for regexes now that jscs better supports them.
2015-01-16 18:06:20 +00:00
Hannah Wolfe
cf2c7ba38d Version bump to 0.5.8 2015-01-12 17:57:06 +00:00
Jason Williams
1b8796b993 Make authenticated GitHub API requests from Travis
No Issue
- top-gh-contribs@0.0.5
- Add oauth key to .travis.yml with public-only access
2015-01-08 16:21:22 +00:00
Jason Williams
11c7d75b1b Show info on about page task failure
No Issue.
- gh-top-contribs@0.0.4
- package now provides information when a failure occurs.
2015-01-07 17:28:03 +00:00
Jason Williams
9d82c2e360 Update test-related dependencies
No Issue
- nock@0.52.4
- should@4.4.2
    .eql no longer does type coercion.
- sinon@1.12.2
- supertest@0.15.0
2015-01-02 15:49:58 +00:00
Jason Williams
d59f873aec Update dependencies
No Issue
- bluebird@2.4.2
- body-parser@1.10.0
- busboy@0.2.9
- connect-slashes@1.3.0 (remove base path option which is no
  longer needed)
- fs-extra@0.13.0
- glob@0.4.2
- passport@0.2.1
- passport-oauth2-client-password@0.1.2
- grunt-jscs@1.1.0
2014-12-25 00:22:45 +00:00
Jason Williams
1ba2f5f8cd Update dependencies
No Issue
- cheerio@0.18.0
- compression@1.2.2
- express@4.10.6
- morgan@1.5.0
- node-uuid@1.4.2
- request@2.51.0
- sqlite3@3.0.4
- validator@3.26.0
- grunt-jscs@1.0.0
2014-12-19 15:38:48 +00:00
Jason Williams
3ad68526cb Update pg package and convert data to correct type
No Issue
- Switch 'pg.js' package for 'pg' as the native bindings are
  now an optional add-on to pg and pg.js has been deprecated.
- pg@4.1.1
- Set the driver's parser to automatically convert integer data
  returned from postgres into a javascript integer.
2014-12-18 14:58:20 +00:00
Hannah Wolfe
e0f65b899e Merge pull request #4620 from jaswilli/ember19
Update to Ember 1.9.0.
2014-12-16 23:18:24 +00:00
Hannah Wolfe
1c452a6052 Version bump to 0.5.7 2014-12-15 17:09:24 +00:00
Hannah Wolfe
67118911e5 Merge pull request #4552 from zethraeus/master
Update downsize node module. Small test updates.
2014-12-14 23:11:08 +00:00
Hannah Wolfe
6ff51ad44e Add support for zip import
fixes #4607

- moves file checks from db and upload API endpoints to api utils
- adds code to accept and then extract a zip and pull out a JSON file
- zip handling requires a lot of dependencies - this needs a good refactor
2014-12-10 20:21:06 +00:00
Jason Williams
56e4798dcf Update to Ember 1.9.0.
No Issue
- Ember@1.9.0
- Handlebars@2.0.0
- grunt-ember-templates@0.5.0-alpha
2014-12-10 16:24:20 +00:00
Hannah Wolfe
a761de2079 Version bump to 0.5.6 2014-12-04 17:37:25 +00:00
zethraeus
bfe91b5769 Update downsize node module. Small test updates.
issue #4017
- downsize 0.0.5 -> 0.0.8
- downsize is now better at punctuation, update {{content}} and {{excerpt}} tests appropriately.

Conflicts:
	package.json
2014-11-30 20:49:36 -08:00
Robert Jackson
ef71d932f3
Add initial client unit test. 2014-11-26 23:20:50 -05:00
Hannah Wolfe
00b993de23 Version bump to 0.5.5 2014-11-19 10:34:17 +00:00
Hannah Wolfe
1f17d5b2fd Reverting mysql to 2.1.1
- Unfortunately mysql has changed the way it handles the charset setting such that
it now causes encoding issues on many setups where 'utf8' is apparently not the
correct setting.
- We need to revert this upgrade until the issue is fixed or we have a way to handle
it nicely for our users.
2014-11-18 19:45:07 +00:00
Hannah Wolfe
45dda927f6 Version bump to 0.5.4 2014-11-18 14:06:39 +00:00
Hannah Wolfe
d3f70e3b24 Update showdown to showdown-ghost 0.3.4
closes #2675

- update showdown to the newly published showdown-ghost module which has a fix for the lack of language support in codeblocks
2014-11-15 16:37:35 +00:00
Jason Williams
1b8fa0197d Update dependencies
Refs #4240
- grunt-mocha-cli@1.11.0 (v0.12 support)
- moment@2.8.3
- knex@0.7.3
- express@4.10.2
- validator@3.22.1
2014-11-12 19:41:54 +00:00
Jason Williams
322fb932be Use pure javascript library for postgresql. 2014-11-09 18:36:35 +00:00
Jason Williams
383d43cf5a Add pg as an optional dependency.
Closes #1333
- Change PostgreSQL build on Travis from an allowed failure to
  failing the tests just like sqlite3 and MySQL.
2014-11-04 17:00:11 +00:00
Hannah Wolfe
bc3c01d36b Merge pull request #4372 from jaswilli/deps
Update dependencies.
2014-11-01 11:03:14 +00:00
Jason Williams
51b2354b36 Update dependencies.
No Issue
- bluebird@2.3.10
- bookshelf@0.7.9
- fs-extra@0.12.0
- semver@4.1.0
- grunt-ember-templates@0.4.23 (remove direct dep on ember-template-compiler)
- grunt-sass@0.16.1 (remove direct dep on node-sass)
- remove direct dependency on mocha (only used via grunt-mocha-cli)
2014-10-31 17:23:08 +00:00
Jason Williams
8249d88cdd Timeout after two seconds on gravatar lookup.
Refs #4277
- Switch from the built-in http module to request and set
  a timeout of 2 seconds on gravatar lookup requests.
- Move request package from devDependencies to dependencies.
2014-10-30 20:01:11 +00:00
Jason Williams
36abb56405 Peg node-sass dependency to 1.0.3.
No Issue.
- grunt-sass has node-sass as a dependency (^1.0.0) but the build
  requirements of node-sass version 1.1.0 have changed and will
  fail without a newer version of the gnu compilers.
2014-10-29 14:09:13 +00:00
Jason Williams
0f17378b26 Enable JSCS checking on client.
Refs #4001
- grunt-jscs@0.8.1 which provides ES6 support.
2014-10-25 16:13:04 +00:00
Hannah Wolfe
1c9cd0710b Merge pull request #4315 from jaswilli/deps
Update dependencies
2014-10-21 19:33:36 +03:00
Hannah Wolfe
e5b1f19af3 Version bump to 0.5.3 2014-10-21 15:36:30 +02:00
Jason Williams
73b20aa1ef Update dependencies
No issue
- html-to-text@1.0.0
- bcryptjs@2.0.2
- compression@1.2.0
- rss@1.0.0
- grunt-contrib-uglify@0.6.0
- sqlite3@3.0.2
- mysql@2.5.2
2014-10-20 22:58:24 +00:00
Jason Williams
6ef58a9ebe Peg ember-template-compiler to 1.7.0
Closes #4310
- Ember-template-compiler introduced a breaking change in
  1.9.0-alpha. We're using it via grunt-ember-templates.
2014-10-20 18:40:59 +00:00
Paul Adam Davis
f5b48add70 Update to use libsass 3.0
No issue

This doesn't give us any advantages at the moment, but is less buggy (in edge cases) and ;gets us be more awesome in the future.

Look at https://github.com/sass/libsass/releases/tag/3.0 to see what's in Libsass 3.0
2014-10-17 11:55:02 +01:00
Hannah Wolfe
80a96a7854 Version bump to 0.5.2 2014-09-25 18:25:37 +01:00
Hannah Wolfe
a0015d65a7 Version bump to 0.5.2-rc2 2014-09-25 16:55:21 +01:00
Matt Enlow
d4bf80430c Update top-gh-contribs to get contributors within last 90 days
Closes #4130
2014-09-24 22:57:45 -06:00
Hannah Wolfe
2b2586a459 Version bump to 0.5.2-rc1 2014-09-24 20:26:40 +01:00
Matt Enlow
a5f4fca7b2 Merge pull request #3992 from halfdan/favicon
Let Ghost serve favicon instead of using dependency
2014-09-18 18:40:22 -06:00
Fabian Becker
f2fcb5b62b Let Ghost serve favicon instead of using dependency
no ref
- Remove static-favicon dependency
- Refactor robots.txt middleware to also serve favicon
- Add ETag
2014-09-18 13:51:41 +02:00
Hannah Wolfe
aad595de7d Updating express to 4.9.2 & related packages
ref #3795

- express updated to 4.9.2
- express 4.9.0 introduced res.sendStatus() to replace res.status().end()
- we no longer need express-session, connect or cookie-parser
- body-parser, busboy, compression, express-hbs, morgan, all bumped to
  latest versions as well - there doesn't seem to be any breaking changes
2014-09-18 11:50:28 +01:00
Harry Wolff
469aaa398c Add jscs task to grunt file and clean up files to adhere to jscs rules.
resolves #1920

- updates all files to conform to style settings.
2014-09-17 21:44:29 -04:00
Hannah Wolfe
62efa05798 Updating dev dependencies
refs #3795

- updates all dev dependencies to their latest version number
- jshint now complains about the Promise global, removed it from predef in
  lieu of a better solution
- changes in should require minor updates to the tests
- tests are passing and all major grunt commands appear to work: clean,
  init, prod, validate and release
2014-09-17 16:44:30 +01:00
Mo Valipour
98d0954e32 Fix URL replacement in RSS feed mucking with content
closes #3983
- removed naive regex implementation
- added cheerio to project dependencies
- used cheerio to parse RSS content
- use attribute getter/setter to replace href/src attribute urls with the resolved version
2014-09-13 18:11:07 +01:00
Gabor Javorszky
187c486b2f Replaces sendmail with direct
Closes #1538
* rips out sendmail
* adds direct
* updates nodemailer to 0.7.1
* changes unit tests for mail
* changed integration tests for mail
* adds mail api tests
2014-09-08 20:52:10 +01:00
Fabian Becker
6a643053e6 Bumping version to 0.5.2-1
no ref
- because Hannah said "someone"
2014-09-02 23:43:31 +02:00
Matt Enlow
737ea3f65e Implement About Ghost page
Closes #3568
- Deleted html placeholders in client
- Added new grunt task, buildAboutPage, which 1)creates -contributors.hbs partial and 2) downloads contributor avatars
- buildAboutPage is called by anything that does an emberTemplates task
- Removed unused code from ghostpaths
2014-09-02 13:49:01 -06:00
Hannah Wolfe
2a843c309e Adding Grunt tasks for Sass 2014-08-31 14:16:58 +01:00
Jason Williams
07ad400ee0 Replace the when promise library with bluebird.
Closes #968
2014-08-23 17:15:40 +00:00
Hannah Wolfe
b91dee35c4 Removing prototypal i18n code
refs #16, #17, #18, #19, #20, #21, #3801

- This code was a prototype system built when Ghost was still a prototype.
  It was never fully implemented and hasn't actually worked for ages.
- Now that the admin is in Ember, it's likely we'll need a very different
  system.
2014-08-16 17:29:54 +01:00
Hannah Wolfe
afa9d5500e Merge pull request #3746 from jaswilli/update-sqlite3
Update dependency sqlite3@2.2.7
2014-08-13 18:31:56 +01:00
Jason Williams
ce20d93006 Update dependency sqlite3@2.2.7
No Issue
- sqlite3 2.2.7 supports building on node v0.11.13.
2014-08-11 13:47:09 +00:00
Hannah Wolfe
b6507bed9b Version bump to 0.5.0 2014-08-11 12:31:42 +01:00
Jason Williams
8fb3cddcf6 Update express and body-parser dependencies.
No Issue
- Upgrade to versions of these packages that use qs >= 1.0.0.
2014-08-11 05:20:31 +00:00
Hannah Wolfe
17352c0d56 Version bump to 0.5.0-rc4 2014-08-10 23:19:21 +01:00
Hannah Wolfe
0b1240fe91 Version bump to 0.5.0-rc3 2014-08-09 00:52:43 +01:00
Hannah Wolfe
a65cc15e56 Version bump to 0.5.0-rc2 2014-08-06 10:35:19 +01:00
Hannah Wolfe
3f8d3d3774 Version bump to 0.5.0-rc1 2014-08-01 00:13:03 +01:00