Commit Graph

417 Commits

Author SHA1 Message Date
Hannah Wolfe
6b74e1a34a Dev tooling clean up
- remove old casper.js tests
- cleanup mochacli groups that are less useful than `grunt test:path`
- improve inline Gruntfile.js docs
- fixup coverage for new internal apps
- add new coverage-all task which works for all our tests
- reverse order of master-warn messages to make this clearer
- remove bluebird from greenkeeper ignores
2016-04-13 13:21:33 +01:00
Hannah Wolfe
7ff74010fd Merge pull request #6659 from jaswilli/multer
Replace busboy upload middleware with multer
2016-04-11 11:07:34 +01:00
Hannah Wolfe
098974917f Merge pull request #6644 from jaswilli/auth-origin
Relax origin header checking and add more CORS support
2016-04-08 22:10:02 +01:00
Jason Williams
c41ee354b1 Replace busboy upload middleware with multer
- deps: multer@1.1.0
2016-04-07 21:30:46 -05:00
Hannah Wolfe
f4d1afe494 Merge pull request #6665 from jaswilli/uglify
deps: grunt-contrib-uglify@1.0.1
2016-04-01 11:12:38 -07:00
Jason Williams
07dab144bd Add middleware for handling CORS
Refs #6644
- deps: cors@2.7.1; Add express cors package.
- Adds new middleware for proper CORS support.
- Handles CORS pre-flight checks.
- Separates request authentication/authorization from
  CORS.
2016-03-31 10:58:52 -05:00
Jason Williams
401fbb1c71 deps: grunt-contrib-uglify@1.0.1 2016-03-30 17:22:33 -05:00
Jason Williams
0ed0a72c35 Replace internal tempfile name generator
- Drops "tempfile" module in favor of using the "tmp"
  external package.
- Drop unused "rimraf-then" package.
2016-03-29 15:19:42 -05:00
Jason Williams
bdcb25a0cd Remove method stubs from upload API tests 2016-03-28 23:02:23 -05:00
Hannah Wolfe
bd0f16aea7 Remove support for old io.js version
- io.js and node merged some time ago now
- we only ever had support for a single random and now very old version of io.js anyway
2016-03-26 14:54:23 +00:00
Jason Williams
ee534845e5 deps: bookshelf@0.9.2 2016-03-21 19:27:23 -05:00
Jason Williams
57250edf0b deps: knex@0.10.0
Closes #6573
2016-03-21 19:27:23 -05:00
Hannah Wolfe
e4a1797085 Remove should-sinon dependency
no issue

- removes should-sinon dependency from package.json
- rewrites all usages of should-sinon to use normal should assertions

Unfortunately, should-sinon has very minimal documentation  and therefore it is hard to discern what is considered a correctly-written assertion:
- in some cases, refactoring to use should-sinon causes false positives
- in other cases, assertions that work written in the normal way fail when written using should-sinon (e.g. getters, combos with rewire)
The additional overhead created by these issues outweigh any benefit from the easier-to-read assertions
2016-03-14 16:52:22 +00:00
Jason Williams
1edf49daf7 deps: bluebird@3.3.3
- Finishes refactoring started in #6376.
- Fixes invalid Promise.map() call.
- Cleans up promise (rejection) handling.
2016-03-01 15:17:20 -06:00
JT Turner
3db9913191 deps: bluebird@3.1.2
closes #6361
- Updated bluebird dependency to latest 3.1.2.
- Updated update check to handle promises not resolving to arrays.
- Reviewed all other promise code and it looks good.
- Updated code using settle to use the new reflect function.
2016-03-01 14:47:23 -06:00
Hannah Wolfe
8f8f07ed80 Version bump to 0.7.8 2016-02-18 19:17:07 +00:00
Hannah Wolfe
2d2a8f9f41 Version bump to 0.7.7 2016-02-18 14:19:09 +00:00
Cameron Viner
8fd272476b Removed uneeded jshint comments in order to cleanup the tests
closes #6505
-Removed all of the /*jshint expr:true*/ comments from the tests
-Removed all of the should.equal(true, true) statements from the tests
-Removed should from the greenkeeper ignores
2016-02-17 12:52:43 +00:00
Hannah Wolfe
c301510cd1 Refactor gravatarLookup, remove request dependency
no issue

- request is quite a heavy dependency
- we were only using request in 3 places: a test, storing contrib images in the gruntfile & the gravatar lookup
- all 3 are relatively simple to do with the http/https module
- refactored all 3, removed request
2016-02-16 11:12:01 +00:00
Hannah Wolfe
893971cc51 Merge pull request #6490 from naoyak/node-4-semver
Support Node v4 LTS semver-minor releases
2016-02-12 11:28:21 +00:00
Naoya Kanai
4834cb436d Support Node v4 LTS semver-minor releases
Fixes #6473
- Replace Node v4.2 with v4 in Travis config
- Replace ~4.2.0 with ^4.2.0 in engines to support semver-minor bumps in LTS line
2016-02-12 01:37:27 +09:00
Hannah Wolfe
ffa92ab913 deps: ghost-gql@0.0.4 2016-02-11 13:13:56 +00:00
Hannah Wolfe
b4a126bf58 deps: mocha@2.4.5 2016-02-10 15:52:08 +00:00
Hannah Wolfe
0bb2a2f852 Merge pull request #6464 from cameronviner/6448
Upgrade should.js to version 8.2.1 (Issue #6448)
2016-02-09 14:27:23 +00:00
Cameron Viner
faba83d5dc deps: should@8.2.1
closes #6448
-upgraded should.js to the latest version (8.2.1)
-Changed the tests so that they comply with the breaking changes introduced in the new version of should.js
-Installs the package should-http so should.be.json() can be used
-Installs the package should-sinon so that should.be.calledOnce() can be used
2016-02-09 13:39:10 +00:00
Hannah Wolfe
52ca6fba27 Updating greenkeeper ignores 2016-02-08 21:43:53 +00:00
Hannah Wolfe
f02169c449 deps: xml@1.0.1 2016-02-08 21:42:41 +00:00
Hannah Wolfe
42236c1414 deps: request@2.69.0 2016-02-08 21:42:41 +00:00
Hannah Wolfe
800b081a4c deps: oauth2orize@1.2.2 2016-02-08 21:42:41 +00:00
Hannah Wolfe
1be0a84a01 deps: moment@2.11.2 2016-02-08 21:42:40 +00:00
Hannah Wolfe
d5ce500a7b deps: html-to-text@1.6.0 2016-02-08 21:42:40 +00:00
Hannah Wolfe
69657a59de deps: fs-extra@0.26.5 2016-02-08 21:42:40 +00:00
Hannah Wolfe
fc60558176 deps: express@4.13.4 2016-02-08 21:42:39 +00:00
Hannah Wolfe
4a98481583 deps: compression@1.6.1 2016-02-08 21:42:39 +00:00
Hannah Wolfe
10a30f2b27 deps: cheerio@0.20.0 2016-02-08 21:42:39 +00:00
Hannah Wolfe
28def854d2 Add bower to greenkeeper ignores 2016-02-08 14:05:43 +00:00
Sebastian Gierlinger
56e94ee314 Merge pull request #6450 from ErisDS/devdep-updates
Dev dependency updates
2016-02-08 11:31:51 +01:00
Sebastian Gierlinger
218c48e80d Merge pull request #6455 from ErisDS/bookshelf-knex
deps: bookshelf@0.9.1 & knex@0.9.0
2016-02-08 11:14:06 +01:00
Hannah Wolfe
13d99efe60 deps: remove testem 2016-02-08 09:56:10 +00:00
Hannah Wolfe
2f5d743b6d deps: sinon@1.17.3 2016-02-08 09:55:31 +00:00
Hannah Wolfe
b3300b3d49 deps: fix rimraf-then@1.0.0 2016-02-08 09:54:52 +00:00
Hannah Wolfe
17404ea89f deps: rewire@2.5.1 2016-02-08 09:54:51 +00:00
Hannah Wolfe
116ce67e92 deps: nock@7.1.0 2016-02-08 09:54:51 +00:00
Hannah Wolfe
607202abf4 deps: matchdep@1.0.0 2016-02-08 09:54:51 +00:00
Hannah Wolfe
8be9ccb104 deps: jscs-jsdoc@1.3.1 2016-02-08 09:54:51 +00:00
Hannah Wolfe
379e22aa81 deps: istanbul@0.4.2 2016-02-08 09:54:50 +00:00
Hannah Wolfe
87cdaaea8b deps: grunt-mocha-istanbul@3.0.1 2016-02-08 09:54:50 +00:00
Hannah Wolfe
c43296f2c3 deps: grunt-mocha-cli@2.0.0 2016-02-08 09:54:50 +00:00
Hannah Wolfe
6066c96c84 deps: grunt-jscs@2.7.0 2016-02-08 09:54:50 +00:00
Hannah Wolfe
8a4cb74ec9 deps: grunt-contrib-uglify@0.11.1 2016-02-08 09:54:49 +00:00