Skip to content

Commit 074085a

Browse files
loreinadependabot[bot]pierreTkleindependabot-preview[bot]krubenok
authored
Release/2.2.0 (#638)
* Bump mocha from 5.2.0 to 6.0.0 (#372) Bumps [mocha](https://github.com/mochajs/mocha) from 5.2.0 to 6.0.0. - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md) - [Commits](https://github.com/mochajs/mocha/compare/v5.2.0...v6.0.0) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump @google-cloud/logging-winston from 0.10.2 to 0.11.0 (#369) Bumps [@google-cloud/logging-winston](https://github.com/googleapis/nodejs-logging-winston) from 0.10.2 to 0.11.0. - [Release notes](https://github.com/googleapis/nodejs-logging-winston/releases) - [Changelog](https://github.com/googleapis/nodejs-logging-winston/blob/master/CHANGELOG.md) - [Commits](https://github.com/googleapis/nodejs-logging-winston/compare/v0.10.2...v0.11.0) Signed-off-by: dependabot[bot] <support@dependabot.com> * Convert major to list, convert ascii to string validation (#355) * Convert major to list, convert ascii to string validation * update docs * Fix majors valdiation for edit * Bump @types/mongoose from 5.3.17 to 5.3.18 Bumps [@types/mongoose](https://github.com/DefinitelyTyped/DefinitelyTyped) from 5.3.17 to 5.3.18. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump mongoose from 5.4.13 to 5.4.14 Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.4.13 to 5.4.14. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md) - [Commits](https://github.com/Automattic/mongoose/compare/5.4.13...5.4.14) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump jsonwebtoken from 8.3.0 to 8.5.0 Bumps [jsonwebtoken](https://github.com/auth0/node-jsonwebtoken) from 8.3.0 to 8.5.0. - [Release notes](https://github.com/auth0/node-jsonwebtoken/releases) - [Changelog](https://github.com/auth0/node-jsonwebtoken/blob/master/CHANGELOG.md) - [Commits](https://github.com/auth0/node-jsonwebtoken/compare/v8.3.0...v8.5.0) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump mocha from 6.0.0 to 6.0.1 Bumps [mocha](https://github.com/mochajs/mocha) from 6.0.0 to 6.0.1. - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md) - [Commits](https://github.com/mochajs/mocha/compare/v6.0.0...v6.0.1) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump @types/mongoose from 5.3.18 to 5.3.19 Bumps [@types/mongoose](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mongoose) from 5.3.18 to 5.3.19. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mongoose) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump mongoose from 5.4.14 to 5.4.15 Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.4.14 to 5.4.15. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md) - [Commits](https://github.com/Automattic/mongoose/compare/5.4.14...5.4.15) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump mocha from 6.0.1 to 6.0.2 Bumps [mocha](https://github.com/mochajs/mocha) from 6.0.1 to 6.0.2. - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md) - [Commits](https://github.com/mochajs/mocha/compare/v6.0.1...v6.0.2) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump @types/mongoose from 5.3.19 to 5.3.20 Bumps [@types/mongoose](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mongoose) from 5.3.19 to 5.3.20. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mongoose) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump @types/mongodb from 3.1.19 to 3.1.20 Bumps [@types/mongodb](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mongodb) from 3.1.19 to 3.1.20. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mongodb) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump mongoose from 5.4.15 to 5.4.16 Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.4.15 to 5.4.16. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md) - [Commits](https://github.com/Automattic/mongoose/compare/5.4.15...5.4.16) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump mongoose from 5.4.16 to 5.4.17 Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.4.16 to 5.4.17. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md) - [Commits](https://github.com/Automattic/mongoose/compare/5.4.16...5.4.17) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump @types/mongoose from 5.3.20 to 5.3.21 Bumps [@types/mongoose](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mongoose) from 5.3.20 to 5.3.21. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mongoose) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump @types/mongodb from 3.1.20 to 3.1.21 Bumps [@types/mongodb](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mongodb) from 3.1.20 to 3.1.21. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mongodb) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump mongoose from 5.4.17 to 5.4.18 Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.4.17 to 5.4.18. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md) - [Commits](https://github.com/Automattic/mongoose/compare/5.4.17...5.4.18) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump @types/mongodb from 3.1.21 to 3.1.22 Bumps [@types/mongodb](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mongodb) from 3.1.21 to 3.1.22. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mongodb) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump mongoose from 5.4.18 to 5.4.19 Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.4.18 to 5.4.19. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md) - [Commits](https://github.com/Automattic/mongoose/compare/5.4.18...5.4.19) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump jshint from 2.10.1 to 2.10.2 Bumps [jshint](https://github.com/jshint/jshint) from 2.10.1 to 2.10.2. - [Release notes](https://github.com/jshint/jshint/releases) - [Changelog](https://github.com/jshint/jshint/blob/master/CHANGELOG.md) - [Commits](https://github.com/jshint/jshint/compare/2.10.1...2.10.2) Signed-off-by: dependabot[bot] <support@dependabot.com> * Clean up code in seed files (#389) * Bump @google-cloud/storage from 2.4.2 to 2.4.3 Bumps [@google-cloud/storage](https://github.com/googleapis/nodejs-storage) from 2.4.2 to 2.4.3. - [Release notes](https://github.com/googleapis/nodejs-storage/releases) - [Changelog](https://github.com/googleapis/nodejs-storage/blob/master/CHANGELOG.md) - [Commits](https://github.com/googleapis/nodejs-storage/compare/v2.4.2...v2.4.3) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump handlebars from 4.1.0 to 4.1.1 Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.0 to 4.1.1. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/v4.1.1/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.0...v4.1.1) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump jsonwebtoken from 8.5.0 to 8.5.1 Bumps [jsonwebtoken](https://github.com/auth0/node-jsonwebtoken) from 8.5.0 to 8.5.1. - [Release notes](https://github.com/auth0/node-jsonwebtoken/releases) - [Changelog](https://github.com/auth0/node-jsonwebtoken/blob/master/CHANGELOG.md) - [Commits](https://github.com/auth0/node-jsonwebtoken/compare/v8.5.0...v8.5.1) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump @types/mongoose from 5.3.21 to 5.3.23 Bumps [@types/mongoose](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mongoose) from 5.3.21 to 5.3.23. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mongoose) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump bcrypt from 3.0.4 to 3.0.5 Bumps [bcrypt](https://github.com/kelektiv/node.bcrypt.js) from 3.0.4 to 3.0.5. - [Release notes](https://github.com/kelektiv/node.bcrypt.js/releases) - [Changelog](https://github.com/kelektiv/node.bcrypt.js/blob/master/CHANGELOG.md) - [Commits](https://github.com/kelektiv/node.bcrypt.js/compare/v3.0.4...v3.0.5) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump mongoose from 5.4.19 to 5.4.20 Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.4.19 to 5.4.20. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md) - [Commits](https://github.com/Automattic/mongoose/compare/5.4.19...5.4.20) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump mongoose from 5.4.20 to 5.4.21 Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.4.20 to 5.4.21. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md) - [Commits](https://github.com/Automattic/mongoose/compare/5.4.20...5.4.21) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump mongoose from 5.4.21 to 5.4.22 Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.4.21 to 5.4.22. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md) - [Commits](https://github.com/Automattic/mongoose/compare/5.4.21...5.4.22) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump @google-cloud/storage from 2.4.3 to 2.5.0 Bumps [@google-cloud/storage](https://github.com/googleapis/nodejs-storage) from 2.4.3 to 2.5.0. - [Release notes](https://github.com/googleapis/nodejs-storage/releases) - [Changelog](https://github.com/googleapis/nodejs-storage/blob/master/CHANGELOG.md) - [Commits](https://github.com/googleapis/nodejs-storage/compare/v2.4.3...v2.5.0) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump mocha from 6.0.2 to 6.1.0 Bumps [mocha](https://github.com/mochajs/mocha) from 6.0.2 to 6.1.0. - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md) - [Commits](https://github.com/mochajs/mocha/compare/v6.0.2...v6.1.0) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump mocha from 6.1.0 to 6.1.1 Bumps [mocha](https://github.com/mochajs/mocha) from 6.1.0 to 6.1.1. - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md) - [Commits](https://github.com/mochajs/mocha/compare/v6.1.0...v6.1.1) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump mongoose from 5.4.22 to 5.4.23 Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.4.22 to 5.4.23. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md) - [Commits](https://github.com/Automattic/mongoose/compare/5.4.22...5.4.23) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump mongoose from 5.4.23 to 5.5.0 Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.4.23 to 5.5.0. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md) - [Commits](https://github.com/Automattic/mongoose/compare/5.4.23...5.5.0) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump mocha from 6.1.1 to 6.1.2 Bumps [mocha](https://github.com/mochajs/mocha) from 6.1.1 to 6.1.2. - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md) - [Commits](https://github.com/mochajs/mocha/compare/v6.1.1...v6.1.2) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump nodemon from 1.18.10 to 1.18.11 Bumps [nodemon](https://github.com/remy/nodemon) from 1.18.10 to 1.18.11. - [Release notes](https://github.com/remy/nodemon/releases) - [Commits](https://github.com/remy/nodemon/compare/v1.18.10...v1.18.11) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump dotenv from 6.2.0 to 7.0.0 (#408) Bumps [dotenv](https://github.com/motdotla/dotenv) from 6.2.0 to 7.0.0. - [Release notes](https://github.com/motdotla/dotenv/releases) - [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md) - [Commits](https://github.com/motdotla/dotenv/compare/v6.2.0...v7.0.0) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump @google-cloud/logging-winston from 0.11.0 to 0.11.1 Bumps [@google-cloud/logging-winston](https://github.com/googleapis/nodejs-logging-winston) from 0.11.0 to 0.11.1. - [Release notes](https://github.com/googleapis/nodejs-logging-winston/releases) - [Changelog](https://github.com/googleapis/nodejs-logging-winston/blob/master/CHANGELOG.md) - [Commits](https://github.com/googleapis/nodejs-logging-winston/compare/v0.11.0...v0.11.1) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump mongoose from 5.5.0 to 5.5.1 Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.5.0 to 5.5.1. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md) - [Commits](https://github.com/Automattic/mongoose/compare/5.5.0...5.5.1) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump @types/mongodb from 3.1.22 to 3.1.23 Bumps [@types/mongodb](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mongodb) from 3.1.22 to 3.1.23. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mongodb) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump mocha from 6.1.2 to 6.1.3 Bumps [mocha](https://github.com/mochajs/mocha) from 6.1.2 to 6.1.3. - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md) - [Commits](https://github.com/mochajs/mocha/compare/v6.1.2...v6.1.3) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump handlebars from 4.1.1 to 4.1.2 Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.1 to 4.1.2. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/v4.1.2/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.1...v4.1.2) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump bcrypt from 3.0.5 to 3.0.6 Bumps [bcrypt](https://github.com/kelektiv/node.bcrypt.js) from 3.0.5 to 3.0.6. - [Release notes](https://github.com/kelektiv/node.bcrypt.js/releases) - [Changelog](https://github.com/kelektiv/node.bcrypt.js/blob/master/CHANGELOG.md) - [Commits](https://github.com/kelektiv/node.bcrypt.js/compare/v3.0.5...v3.0.6) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump mongoose from 5.5.1 to 5.5.2 Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.5.1 to 5.5.2. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md) - [Commits](https://github.com/Automattic/mongoose/compare/5.5.1...5.5.2) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump mocha from 6.1.3 to 6.1.4 Bumps [mocha](https://github.com/mochajs/mocha) from 6.1.3 to 6.1.4. - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md) - [Commits](https://github.com/mochajs/mocha/compare/v6.1.3...v6.1.4) Signed-off-by: dependabot[bot] <support@dependabot.com> * Add section for PRs, Code Review (#457) * [Security] Bump lodash.merge from 4.6.1 to 4.6.2 Bumps [lodash.merge](https://github.com/lodash/lodash) from 4.6.1 to 4.6.2. **This update includes security fixes.** - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump nodemon from 1.18.11 to 1.19.1 Bumps [nodemon](https://github.com/remy/nodemon) from 1.18.11 to 1.19.1. - [Release notes](https://github.com/remy/nodemon/releases) - [Commits](https://github.com/remy/nodemon/compare/v1.18.11...v1.19.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump chai-http from 4.2.1 to 4.3.0 Bumps [chai-http](https://github.com/chaijs/chai-http) from 4.2.1 to 4.3.0. - [Release notes](https://github.com/chaijs/chai-http/releases) - [Changelog](https://github.com/chaijs/chai-http/blob/master/History.md) - [Commits](https://github.com/chaijs/chai-http/compare/4.2.1...4.3.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @types/mongodb from 3.1.23 to 3.1.28 Bumps [@types/mongodb](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mongodb) from 3.1.23 to 3.1.28. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mongodb) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @types/express from 4.16.1 to 4.17.0 Bumps [@types/express](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/express) from 4.16.1 to 4.17.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/express) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump qrcode from 1.3.3 to 1.4.0 Bumps [qrcode](https://github.com/soldair/node-qrcode) from 1.3.3 to 1.4.0. - [Release notes](https://github.com/soldair/node-qrcode/releases) - [Changelog](https://github.com/soldair/node-qrcode/blob/master/CHANGELOG.md) - [Commits](https://github.com/soldair/node-qrcode/compare/v1.3.3...v1.4.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * [Security] Bump lodash from 4.17.11 to 4.17.14 Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.14. **This update includes security fixes.** - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.14) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @types/mongoose from 5.3.23 to 5.5.8 Bumps [@types/mongoose](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mongoose) from 5.3.23 to 5.5.8. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mongoose) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump express from 4.16.3 to 4.17.1 Bumps [express](https://github.com/expressjs/express) from 4.16.3 to 4.17.1. - [Release notes](https://github.com/expressjs/express/releases) - [Changelog](https://github.com/expressjs/express/blob/master/History.md) - [Commits](https://github.com/expressjs/express/compare/4.16.3...4.17.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump express-validator from 5.3.1 to 6.1.1 Bumps [express-validator](https://github.com/express-validator/express-validator) from 5.3.1 to 6.1.1. - [Release notes](https://github.com/express-validator/express-validator/releases) - [Commits](https://github.com/express-validator/express-validator/compare/v5.3.1...v6.1.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump dotenv from 7.0.0 to 8.0.0 Bumps [dotenv](https://github.com/motdotla/dotenv) from 7.0.0 to 8.0.0. - [Release notes](https://github.com/motdotla/dotenv/releases) - [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md) - [Commits](https://github.com/motdotla/dotenv/compare/v7.0.0...v8.0.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @google-cloud/storage from 2.5.0 to 3.0.2 (#471) Bumps [@google-cloud/storage](https://github.com/googleapis/nodejs-storage) from 2.5.0 to 3.0.2. - [Release notes](https://github.com/googleapis/nodejs-storage/releases) - [Changelog](https://github.com/googleapis/nodejs-storage/blob/master/CHANGELOG.md) - [Commits](https://github.com/googleapis/nodejs-storage/compare/v2.5.0...v3.0.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @sendgrid/mail from 6.3.1 to 6.4.0 Bumps [@sendgrid/mail](https://github.com/sendgrid/sendgrid-nodejs) from 6.3.1 to 6.4.0. - [Release notes](https://github.com/sendgrid/sendgrid-nodejs/releases) - [Changelog](https://github.com/sendgrid/sendgrid-nodejs/blob/master/CHANGELOG.md) - [Commits](https://github.com/sendgrid/sendgrid-nodejs/compare/v6.3.1...v6.4.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump mongoose from 5.5.2 to 5.6.4 Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.5.2 to 5.6.4. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md) - [Commits](https://github.com/Automattic/mongoose/compare/5.5.2...5.6.4) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump multer from 1.3.1 to 1.4.2 Bumps [multer](https://github.com/expressjs/multer) from 1.3.1 to 1.4.2. - [Release notes](https://github.com/expressjs/multer/releases) - [Changelog](https://github.com/expressjs/multer/blob/master/CHANGELOG.md) - [Commits](https://github.com/expressjs/multer/compare/v1.3.1...v1.4.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @google-cloud/storage from 3.0.2 to 3.0.3 Bumps [@google-cloud/storage](https://github.com/googleapis/nodejs-storage) from 3.0.2 to 3.0.3. - [Release notes](https://github.com/googleapis/nodejs-storage/releases) - [Changelog](https://github.com/googleapis/nodejs-storage/blob/master/CHANGELOG.md) - [Commits](https://github.com/googleapis/nodejs-storage/compare/v3.0.2...v3.0.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump mocha from 6.1.4 to 6.2.0 Bumps [mocha](https://github.com/mochajs/mocha) from 6.1.4 to 6.2.0. - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md) - [Commits](https://github.com/mochajs/mocha/compare/v6.1.4...v6.2.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump mongoose from 5.6.4 to 5.6.5 Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.6.4 to 5.6.5. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md) - [Commits](https://github.com/Automattic/mongoose/compare/5.6.4...5.6.5) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump qrcode from 1.4.0 to 1.4.1 Bumps [qrcode](https://github.com/soldair/node-qrcode) from 1.4.0 to 1.4.1. - [Release notes](https://github.com/soldair/node-qrcode/releases) - [Changelog](https://github.com/soldair/node-qrcode/blob/master/CHANGELOG.md) - [Commits](https://github.com/soldair/node-qrcode/compare/v1.4.0...v1.4.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @types/mongodb from 3.1.28 to 3.1.29 Bumps [@types/mongodb](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mongodb) from 3.1.28 to 3.1.29. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mongodb) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @types/mongoose from 5.5.8 to 5.5.9 Bumps [@types/mongoose](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mongoose) from 5.5.8 to 5.5.9. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mongoose) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump mongoose from 5.6.5 to 5.6.6 Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.6.5 to 5.6.6. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md) - [Commits](https://github.com/Automattic/mongoose/compare/5.6.5...5.6.6) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @types/mongodb from 3.1.29 to 3.1.30 Bumps [@types/mongodb](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mongodb) from 3.1.29 to 3.1.30. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mongodb) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @types/mongoose from 5.5.9 to 5.5.11 Bumps [@types/mongoose](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mongoose) from 5.5.9 to 5.5.11. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mongoose) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump mongoose from 5.6.6 to 5.6.7 Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.6.6 to 5.6.7. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md) - [Commits](https://github.com/Automattic/mongoose/compare/5.6.6...5.6.7) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @types/mongodb from 3.1.30 to 3.1.31 Bumps [@types/mongodb](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mongodb) from 3.1.30 to 3.1.31. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mongodb) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @google-cloud/storage from 3.0.3 to 3.0.4 Bumps [@google-cloud/storage](https://github.com/googleapis/nodejs-storage) from 3.0.3 to 3.0.4. - [Release notes](https://github.com/googleapis/nodejs-storage/releases) - [Changelog](https://github.com/googleapis/nodejs-storage/blob/master/CHANGELOG.md) - [Commits](https://github.com/googleapis/nodejs-storage/compare/v3.0.3...v3.0.4) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump mongoose from 5.6.7 to 5.6.8 Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.6.7 to 5.6.8. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md) - [Commits](https://github.com/Automattic/mongoose/compare/5.6.7...5.6.8) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Fix #286 put idValidator before authorization * Bump @types/mongoose from 5.5.11 to 5.5.12 Bumps [@types/mongoose](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mongoose) from 5.5.11 to 5.5.12. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mongoose) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @types/mongodb from 3.1.31 to 3.1.32 Bumps [@types/mongodb](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mongodb) from 3.1.31 to 3.1.32. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mongodb) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @types/multer from 1.3.7 to 1.3.8 Bumps [@types/multer](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/multer) from 1.3.7 to 1.3.8. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/multer) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump mongoose from 5.6.8 to 5.6.9 Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.6.8 to 5.6.9. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md) - [Commits](https://github.com/Automattic/mongoose/compare/5.6.8...5.6.9) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @google-cloud/storage from 3.0.4 to 3.1.0 Bumps [@google-cloud/storage](https://github.com/googleapis/nodejs-storage) from 3.0.4 to 3.1.0. - [Release notes](https://github.com/googleapis/nodejs-storage/releases) - [Changelog](https://github.com/googleapis/nodejs-storage/blob/master/CHANGELOG.md) - [Commits](https://github.com/googleapis/nodejs-storage/compare/v3.0.4...v3.1.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Fix for duplicate rolebindings * Bump @types/mongodb from 3.1.32 to 3.2.1 Bumps [@types/mongodb](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mongodb) from 3.1.32 to 3.2.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mongodb) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @types/mongodb from 3.2.1 to 3.2.2 Bumps [@types/mongodb](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mongodb) from 3.2.1 to 3.2.2. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mongodb) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @types/mongodb from 3.2.2 to 3.2.3 Bumps [@types/mongodb](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mongodb) from 3.2.2 to 3.2.3. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mongodb) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump dotenv from 8.0.0 to 8.1.0 Bumps [dotenv](https://github.com/motdotla/dotenv) from 8.0.0 to 8.1.0. - [Release notes](https://github.com/motdotla/dotenv/releases) - [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md) - [Commits](https://github.com/motdotla/dotenv/compare/v8.0.0...v8.1.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @types/multer from 1.3.8 to 1.3.9 Bumps [@types/multer](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/multer) from 1.3.8 to 1.3.9. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/multer) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @types/express from 4.17.0 to 4.17.1 Bumps [@types/express](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/express) from 4.17.0 to 4.17.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/express) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @types/mongoose from 5.5.12 to 5.5.13 Bumps [@types/mongoose](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mongoose) from 5.5.12 to 5.5.13. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mongoose) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @types/mongodb from 3.2.3 to 3.3.0 Bumps [@types/mongodb](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mongodb) from 3.2.3 to 3.3.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mongodb) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump mongoose from 5.6.9 to 5.6.10 Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.6.9 to 5.6.10. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md) - [Commits](https://github.com/Automattic/mongoose/compare/5.6.9...5.6.10) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @google-cloud/storage from 3.1.0 to 3.2.0 Bumps [@google-cloud/storage](https://github.com/googleapis/nodejs-storage) from 3.1.0 to 3.2.0. - [Release notes](https://github.com/googleapis/nodejs-storage/releases) - [Changelog](https://github.com/googleapis/nodejs-storage/blob/master/CHANGELOG.md) - [Commits](https://github.com/googleapis/nodejs-storage/compare/v3.1.0...v3.2.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump mongoose from 5.6.10 to 5.6.11 Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.6.10 to 5.6.11. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md) - [Commits](https://github.com/Automattic/mongoose/compare/5.6.10...5.6.11) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @types/mongodb from 3.3.0 to 3.3.1 Bumps [@types/mongodb](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mongodb) from 3.3.0 to 3.3.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mongodb) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @types/mongoose from 5.5.13 to 5.5.14 Bumps [@types/mongoose](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mongoose) from 5.5.13 to 5.5.14. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mongoose) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @google-cloud/storage from 3.2.0 to 3.2.1 Bumps [@google-cloud/storage](https://github.com/googleapis/nodejs-storage) from 3.2.0 to 3.2.1. - [Release notes](https://github.com/googleapis/nodejs-storage/releases) - [Changelog](https://github.com/googleapis/nodejs-storage/blob/master/CHANGELOG.md) - [Commits](https://github.com/googleapis/nodejs-storage/compare/v3.2.0...v3.2.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @types/mongoose from 5.5.13 to 5.5.15 Bumps [@types/mongoose](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mongoose) from 5.5.13 to 5.5.15. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mongoose) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump express-validator from 6.1.1 to 6.2.0 Bumps [express-validator](https://github.com/express-validator/express-validator) from 6.1.1 to 6.2.0. - [Release notes](https://github.com/express-validator/express-validator/releases) - [Commits](https://github.com/express-validator/express-validator/compare/v6.1.1...v6.2.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Created service for parse patch to address #280 * Added closures to the parsePatch service * Revert "Bump express-validator from 6.1.1 to 6.2.0" This reverts commit e2100158b352eec6726e427b616d04ae73d5f0ec. * Bump express-validator from 6.1.1 to 6.2.0 Bumps [express-validator](https://github.com/express-validator/express-validator) from 6.1.1 to 6.2.0. - [Release notes](https://github.com/express-validator/express-validator/releases) - [Commits](https://github.com/express-validator/express-validator/compare/v6.1.1...v6.2.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump nodemon from 1.19.1 to 1.19.2 Bumps [nodemon](https://github.com/remy/nodemon) from 1.19.1 to 1.19.2. - [Release notes](https://github.com/remy/nodemon/releases) - [Commits](https://github.com/remy/nodemon/compare/v1.19.1...v1.19.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump mongoose from 5.6.11 to 5.6.12 Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.6.11 to 5.6.12. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md) - [Commits](https://github.com/Automattic/mongoose/compare/5.6.11...5.6.12) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump handlebars from 4.1.2 to 4.2.0 Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.2.0. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/v4.2.0/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.2...v4.2.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @types/mongoose from 5.5.15 to 5.5.17 Bumps [@types/mongoose](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mongoose) from 5.5.15 to 5.5.17. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mongoose) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump mongoose from 5.6.12 to 5.6.13 Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.6.12 to 5.6.13. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md) - [Commits](https://github.com/Automattic/mongoose/compare/5.6.12...5.6.13) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump mongoose from 5.6.13 to 5.7.0 Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.6.13 to 5.7.0. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md) - [Commits](https://github.com/Automattic/mongoose/compare/5.6.13...5.7.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump mongoose from 5.7.0 to 5.7.1 Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.7.0 to 5.7.1. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md) - [Commits](https://github.com/Automattic/mongoose/compare/5.7.0...5.7.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump qrcode from 1.4.1 to 1.4.2 Bumps [qrcode](https://github.com/soldair/node-qrcode) from 1.4.1 to 1.4.2. - [Release notes](https://github.com/soldair/node-qrcode/releases) - [Changelog](https://github.com/soldair/node-qrcode/blob/master/CHANGELOG.md) - [Commits](https://github.com/soldair/node-qrcode/compare/v1.4.1...v1.4.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @google-cloud/storage from 3.2.1 to 3.3.0 Bumps [@google-cloud/storage](https://github.com/googleapis/nodejs-storage) from 3.2.1 to 3.3.0. - [Release notes](https://github.com/googleapis/nodejs-storage/releases) - [Changelog](https://github.com/googleapis/nodejs-storage/blob/master/CHANGELOG.md) - [Commits](https://github.com/googleapis/nodejs-storage/compare/v3.2.1...v3.3.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump handlebars from 4.2.0 to 4.2.1 Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.2.0 to 4.2.1. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/v4.2.1/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.2.0...v4.2.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump handlebars from 4.2.1 to 4.3.0 Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.2.1 to 4.3.0. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.2.1...v4.3.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump handlebars from 4.3.0 to 4.3.1 Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.3.0 to 4.3.1. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/v4.3.1/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.3.0...v4.3.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @types/mongoose from 5.5.17 to 5.5.18 Bumps [@types/mongoose](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mongoose) from 5.5.17 to 5.5.18. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mongoose) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @types/multer from 1.3.9 to 1.3.10 Bumps [@types/multer](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/multer) from 1.3.9 to 1.3.10. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/multer) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump handlebars from 4.3.1 to 4.3.2 Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.3.1 to 4.3.2. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/v4.3.2/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.3.1...v4.3.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump handlebars from 4.3.2 to 4.3.3 Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.3.2 to 4.3.3. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/v4.3.3/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.3.2...v4.3.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump handlebars from 4.3.3 to 4.3.4 Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.3.3 to 4.3.4. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/v4.3.4/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.3.3...v4.3.4) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump nodemon from 1.19.2 to 1.19.3 Bumps [nodemon](https://github.com/remy/nodemon) from 1.19.2 to 1.19.3. - [Release notes](https://github.com/remy/nodemon/releases) - [Commits](https://github.com/remy/nodemon/compare/v1.19.2...v1.19.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump handlebars from 4.3.4 to 4.4.0 Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.3.4 to 4.4.0. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/v4.4.0/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.3.4...v4.4.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump mocha from 6.2.0 to 6.2.1 Bumps [mocha](https://github.com/mochajs/mocha) from 6.2.0 to 6.2.1. - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/v6.2.1/CHANGELOG.md) - [Commits](https://github.com/mochajs/mocha/compare/v6.2.0...v6.2.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump mongoose from 5.7.1 to 5.7.3 Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.7.1 to 5.7.3. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md) - [Commits](https://github.com/Automattic/mongoose/compare/5.7.1...5.7.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @google-cloud/storage from 3.3.0 to 3.3.1 Bumps [@google-cloud/storage](https://github.com/googleapis/nodejs-storage) from 3.3.0 to 3.3.1. - [Release notes](https://github.com/googleapis/nodejs-storage/releases) - [Changelog](https://github.com/googleapis/nodejs-storage/blob/master/CHANGELOG.md) - [Commits](https://github.com/googleapis/nodejs-storage/compare/v3.3.0...v3.3.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump handlebars from 4.4.0 to 4.4.1 Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.4.0 to 4.4.1. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/v4.4.1/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.4.0...v4.4.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump handlebars from 4.4.1 to 4.4.2 Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.4.1 to 4.4.2. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/v4.4.2/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.4.1...v4.4.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Add documentation for the batch scripts (#463) * Feature/454 documentation refactor (#458) * version 1.6.1 * documentation update * WIP services * Test files * Validation * Documentation update * Add links to documentation * update docs * PR changes * Detail generic validator functions * Bump @types/mongoose from 5.5.18 to 5.5.19 Bumps [@types/mongoose](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mongoose) from 5.5.18 to 5.5.19. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mongoose) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump handlebars from 4.4.2 to 4.4.3 Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.4.2 to 4.4.3. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.4.2...v4.4.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump mongoose from 5.7.3 to 5.7.4 Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.7.3 to 5.7.4. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md) - [Commits](https://github.com/Automattic/mongoose/compare/5.7.3...5.7.4) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @types/mongoose from 5.5.19 to 5.5.20 Bumps [@types/mongoose](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mongoose) from 5.5.19 to 5.5.20. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mongoose) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump mongoose from 5.7.4 to 5.7.5 Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.7.4 to 5.7.5. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md) - [Commits](https://github.com/Automattic/mongoose/compare/5.7.4...5.7.5) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @google-cloud/storage from 3.3.1 to 3.4.0 Bumps [@google-cloud/storage](https://github.com/googleapis/nodejs-storage) from 3.3.1 to 3.4.0. - [Release notes](https://github.com/googleapis/nodejs-storage/releases) - [Changelog](https://github.com/googleapis/nodejs-storage/blob/master/CHANGELOG.md) - [Commits](https://github.com/googleapis/nodejs-storage/compare/v3.3.1...v3.4.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @types/mongoose from 5.5.20 to 5.5.21 Bumps [@types/mongoose](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mongoose) from 5.5.20 to 5.5.21. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mongoose) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump nodemon from 1.19.3 to 1.19.4 Bumps [nodemon](https://github.com/remy/nodemon) from 1.19.3 to 1.19.4. - [Release notes](https://github.com/remy/nodemon/releases) - [Commits](https://github.com/remy/nodemon/compare/v1.19.3...v1.19.4) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @google-cloud/storage from 3.4.0 to 3.5.0 Bumps [@google-cloud/storage](https://github.com/googleapis/nodejs-storage) from 3.4.0 to 3.5.0. - [Release notes](https://github.com/googleapis/nodejs-storage/releases) - [Changelog](https://github.com/googleapis/nodejs-storage/blob/master/CHANGELOG.md) - [Commits](https://github.com/googleapis/nodejs-storage/compare/v3.4.0...v3.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump dotenv from 8.1.0 to 8.2.0 Bumps [dotenv](https://github.com/motdotla/dotenv) from 8.1.0 to 8.2.0. - [Release notes](https://github.com/motdotla/dotenv/releases) - [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md) - [Commits](https://github.com/motdotla/dotenv/compare/v8.1.0...v8.2.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Set back to account confirmation on email change * Reduced middleware function name * Added tests and verified confirmed status of hacker on most hacker routes * Fixed all females test due to new hacker stored * addressed code review nits, changed all lowercase should fails to should FAIL * Fixed validation for new and improved hacker object * minor changes to validation schema * Changed parsing of hacker and validation of application * Fixed all tests * Don't worry about this for now * Changed names of statuses * Addressed code review changes * Force fix hacker route * Match npm scripts with dashboard (#602) * Format code * Match start script with dashboard as dev mode * Match build script with dashboard as production mode * Update pr template * Update pr template * Add travis notifs on slack (#606) * Remove t-shirt size field from account and add gender field * Fix bug with wrong validator for being used for gender * Fix typo in doc * Fixing tests * Who knows what is going on with this test now? * Ignore this * Switch to eslint and prettier for code formatting (#607) * delete jshint and jslint * add eslint * add eslint ignore * add prettier * update eslint * add prettier config * add vscode settings * add format and lint scripts * remove eslint rules * update prettier ignore * update eslint ignore * update eslint config * run eslint * run prettier * update settings * run prettier * Spacing fixed * Fix failing test and doc typos * Accept Hacker route created * Ignore * Ignore * Ignore * Ignore * All tests finally working, replaced undefined with null as well in hacker util * Removed console.log statements * Final commit, all tests passed locally * Change tdd to bdd to fix debug file * Fixing tests again and updating application and account models * Fixing more tests * Fixed tests and changed account and hacker models appropriately. Also adjusted hacker validation * Added lodash module * Added lodash module * Added nvm * Removed dependence on lodash * Removed dependence on lodash * Adding route to route.constant.js * Fix typo in docs and regenerate docs * Refactor/vulns (#610) * Fix vulnerabilities, update mongoClient * Update express-validator import stmt to stop them from yelling at us * npm run update, express-validator/check -> expreess-validator * Regenerate docs * Revert "Regenerate docs" This reverts commit a8d7fcaa4c6a7ce668c4fb00cd4ecd59aea94394. * Formatting done for middleware * Tests written for hacker/accept * Ignore docs folder during code format/lint (#612) * add docs to ignore * revert formatting changes to docs folder * Revert "revert formatting changes to docs folder" This reverts commit f4954b6a86cd4e03acfd96b05a36a0c36e868ad4. * Added more tests * Edited tests * Improvements * Improving invalid hacker test for accept * Edited Middleware * Edited constants file(routes) * Documentation additions * Update routes/api/hacker.js Co-Authored-By: Loreina Chew <loreina.chew@gmail.com> * Changed application to have travel take an integer * Fixed hacker validator based on hacker model * Fixed getStats * removed redundancies * Feature/deployment (#613) * Update to a supported node version * Create Procfile * Specify node version in package * Update Procfile * Rename npm scripts * Clean up some kruft * Add deploy to heroku button * Update script names * Add beta frontend to CORS list * Type on CORS env variable * Changed to integer validator instead of bool * mandatory resume again * Create changelog (#618) * update PR template to check for changelog update * add changelog * update changelog for this change * Update pre-acceptance API email templates (#617) * ignore assets folder * update NONE hacker status email * update APPLIED hacker status email * refactor NONE email styling * update password reset email * update create account email * change hackathon name * update account/email confirmation email * update account confirmation email * fix bold inline styling * import bold font * Change job interest enum (#621) * match enums to frontend * group enums * update test to use "Full Time" job interest * update changelog * Fix bug (#622) * Quick fix to update email duplicate bug (#624) * Quick fix to update email duplicate bug * Changelog updated * duplicate email test written * update changelog * update changelog to use fixed * added test tweak to verify successful modification of email in account Co-authored-by: Loreina Chew <loreina.chew@gmail.com> * Removed needsBus and added/fixed tests for travel (#625) * Removed needsBus and added/fixed tests for travel * Removed log statement * Added to changelog * Changelog fix * Add past-hackathon blast email (#626) * draft email blast * update email * update changelog * add unsubscribe button * Release/2.0.1 (#627) * Bump mongoose from 5.4.10 to 5.4.11 Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.4.10 to 5.4.11. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md) - [Commits](https://github.com/Automattic/mongoose/compare/5.4.10...5.4.11) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump @types/mongoose from 5.3.12 to 5.3.13 Bumps [@types/mongoose](https://github.com/DefinitelyTyped/DefinitelyTyped) from 5.3.12 to 5.3.13. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump @types/mongoose from 5.3.13 to 5.3.14 Bumps [@types/mongoose](https://github.com/DefinitelyTyped/DefinitelyTyped) from 5.3.13 to 5.3.14. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump @types/mongoose from 5.3.14 to 5.3.15 Bumps [@types/mongoose](https://github.com/DefinitelyTyped/DefinitelyTyped) from 5.3.14 to 5.3.15. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump cookie-parser from 1.4.3 to 1.4.4 Bumps [cookie-parser](https://github.com/expressjs/cookie-parser) from 1.4.3 to 1.4.4. - [Release notes](https://github.com/expressjs/cookie-parser/releases) - [Changelog](https://github.com/expressjs/cookie-parser/blob/master/HISTORY.md) - [Commits](https://github.com/expressjs/cookie-parser/compare/1.4.3...1.4.4) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump @types/mongoose from 5.3.15 to 5.3.16 Bumps [@types/mongoose](https://github.com/DefinitelyTyped/DefinitelyTyped) from 5.3.15 to 5.3.16. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump mongoose from 5.4.11 to 5.4.12 Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.4.11 to 5.4.12. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md) - [Commits](https://github.com/Automattic/mongoose/compare/5.4.11...5.4.12) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump @types/mongoose from 5.3.16 to 5.3.17 Bumps [@types/mongoose](https://github.com/DefinitelyTyped/DefinitelyTyped) from 5.3.16 to 5.3.17. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump mongoose from 5.4.12 to 5.4.13 Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.4.12 to 5.4.13. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md) - [Commits](https://github.com/Automattic/mongoose/compare/5.4.12...5.4.13) Signed-off-by: dependabot[bot] <support@dependabot.com> * Ugprade jshint for async / await support 🎉 (#356) * Feature/333 settings (#344) * WIP * Add settings GET and PATCH * Update docs * Update docs * Update docs to include inputs * Add tests * Integrate tests * Bugfix * Change entry point of launch.json config * Clean up tests * Fix tests * Add parsebody.middleware * bugfix with message * Fix depreciation warning * Fix function naming * Make error routing use the error handler (#343) * Fix linking of accountType in schema (#371) * Bump mocha from 5.2.0 to 6.0.0 (#372) Bumps [mocha](https://github.com/mochajs/mocha) from 5.2.0 to 6.0.0. - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md) - [Commits](https://github.com/mochajs/mocha/compare/v5.2.0...v6.0.0) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump @google-cloud/logging-winston from 0.10.2 to 0.11.0 (#369) Bumps [@google-cloud/logging-winston](https://github.com/googleapis/nodejs-logging-winston) from 0.10.2 to 0.11.0. - [Release notes](https://github.com/googleapis/nodejs-logging-winston/releases) - [Changelog](https://github.com/googleapis/nodejs-logging-winston/blob/master/CHANGELOG.md) - [Commits](https://github.com/googleapis/nodejs-logging-winston/compare/v0.10.2...v0.11.0) Signed-off-by: dependabot[bot] <support@dependabot.com> * Convert major to list, convert ascii to string validation (#355) * Convert major to list, convert ascii to string validation * update docs * Fix majors valdiation for edit * Bump @types/mongoose from 5.3.17 to 5.3.18 Bumps [@types/mongoose](https://github.com/DefinitelyTyped/DefinitelyTyped) from 5.3.17 to 5.3.18. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump mongoose from 5.4.13 to 5.4.14 Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.4.13 to 5.4.14. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md) - [Commits](https://github.com/Automattic/mongoose/compare/5.4.13...5.4.14) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump jsonwebtoken from 8.3.0 to 8.5.0 Bumps [jsonwebtoken](https://github.com/auth0/node-jsonwebtoken) from 8.3.0 to 8.5.0. - [Release notes](https://github.com/auth0/node-jsonwebtoken/releases) - [Changelog](https://github.com/auth0/node-jsonwebtoken/blob/master/CHANGELOG.md) - [Commits](https://github.com/auth0/node-jsonwebtoken/compare/v8.3.0...v8.5.0) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump mocha from 6.0.0 to 6.0.1 Bumps [mocha](https://github.com/mochajs/mocha) from 6.0.0 to 6.0.1. - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md) - [Commits](https://github.com/mochajs/mocha/compare/v6.0.0...v6.0.1) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump @types/mongoose from 5.3.18 to 5.3.19 Bumps [@types/mongoose](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mongoose) from 5.3.18 to 5.3.19. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mongoose) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump mongoose from 5.4.14 to 5.4.15 Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.4.14 to 5.4.15. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md) - [Commits](https://github.com/Automattic/mongoose/compare/5.4.14...5.4.15) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump mocha from 6.0.1 to 6.0.2 …
1 parent 32bf018 commit 074085a

File tree

8 files changed

+222
-3
lines changed

8 files changed

+222
-3
lines changed

.github/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.2.0](https://github.com/hackmcgill/hackerapi/tree/2.2.0) - 2020-01-12
9+
10+
### Added
11+
12+
- Add route to accept hacker by email
13+
814
## [2.1.3](https://github.com/hackmcgill/hackerapi/tree/2.1.3) - 2020-01-11
915

1016
### Changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.1.3
1+
2.2.0

constants/routes.constant.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,10 @@ const hackerRoutes = {
128128
requestType: Constants.REQUEST_TYPES.PATCH,
129129
uri: "/api/hacker/accept/" + Constants.ROLE_CATEGORIES.ALL,
130130
},
131+
patchAcceptHackerByEmail: {
132+
requestType: Constants.REQUEST_TYPES.PATCH,
133+
uri: "/api/hacker/acceptEmail/" + Constants.ROLE_CATEGORIES.ALL,
134+
},
131135
postAnySendWeekOfEmail: {
132136
requestType: Constants.REQUEST_TYPES.POST,
133137
uri: "/api/hacker/email/weekOf/" + Constants.ROLE_CATEGORIES.ALL

middlewares/hacker.middleware.js

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,40 @@ async function sendStatusUpdateEmail(req, res, next) {
328328
}
329329
}
330330

331+
/**
332+
* Sends a preset email to a user if a status change occured with email params.
333+
* @param {{body: {status?: string}, params: {email: string}}} req
334+
* @param {*} res
335+
* @param {(err?:*)=>void} next
336+
*/
337+
async function completeStatusUpdateEmail(req, res, next) {
338+
//skip if the status doesn't exist
339+
if (!req.body.hacker.status) {
340+
return next();
341+
} else {
342+
// send it to the hacker that is being updated.
343+
const hacker = await Services.Hacker.findById(req.body.hacker._id);
344+
const account = await Services.Account.findById(hacker.accountId);
345+
if (!hacker) {
346+
return next({
347+
status: 404,
348+
message: Constants.Error.HACKER_404_MESSAGE
349+
});
350+
} else if (!account) {
351+
return next({
352+
status: 500,
353+
message: Constants.Error.GENERIC_500_MESSAGE
354+
});
355+
}
356+
Services.Email.sendStatusUpdate(
357+
account.firstName,
358+
account.email,
359+
req.body.hacker.status,
360+
next
361+
);
362+
}
363+
}
364+
331365
/**
332366
* Sends an email telling the user that they have applied. This is used exclusively when we POST a hacker.
333367
* @param {{body: {hacker: {accountId: string}}}} req
@@ -523,6 +557,40 @@ async function updateHacker(req, res, next) {
523557
}
524558
}
525559

560+
/**
561+
* Updates a hacker that is specified by req.body.hacker._id, and then sets req.email
562+
* to the email of the hacker, found in Account.
563+
* @param {{params:{_id: string}, body: *}} req
564+
* @param {*} res
565+
* @param {*} next
566+
*/
567+
async function obtainEmailByHackerId(req, res, next) {
568+
const hacker = await Services.Hacker.findById(req.body.hacker._id);
569+
if (hacker) {
570+
const acct = await Services.Account.findById(hacker.accountId);
571+
if (!acct) {
572+
return next({
573+
status: 500,
574+
message: Constants.Error.HACKER_UPDATE_500_MESSAGE,
575+
data: {
576+
hackerId: hacker.id,
577+
accountId: hacker.accountId
578+
}
579+
});
580+
}
581+
req.email = acct.email;
582+
return next();
583+
} else {
584+
return next({
585+
status: 404,
586+
message: Constants.Error.HACKER_404_MESSAGE,
587+
data: {
588+
id: req.params.id
589+
}
590+
});
591+
}
592+
}
593+
526594
/**
527595
* Sets req.body.status to Accepted for next middleware.
528596
* @param {{params:{id: string}, body: *}} req
@@ -531,6 +599,19 @@ async function updateHacker(req, res, next) {
531599
*/
532600
function parseAccept(req, res, next) {
533601
req.body.status = Constants.General.HACKER_STATUS_ACCEPTED;
602+
req.hackerId = req.params.id;
603+
next();
604+
}
605+
606+
/**
607+
* Sets req.body.hacker.status to Accepted for next middleware.
608+
* @param {{params:{email: string}, body: *}} req
609+
* @param {*} res
610+
* @param {*} next
611+
*/
612+
function parseAcceptEmail(req, res, next) {
613+
req.body.hacker.status = Constants.General.HACKER_STATUS_ACCEPTED;
614+
req.hackerId = req.body.hacker._id;
534615
next();
535616
}
536617

@@ -652,7 +733,9 @@ module.exports = {
652733
sendAppliedStatusEmail
653734
),
654735
updateHacker: Middleware.Util.asyncMiddleware(updateHacker),
736+
obtainEmailByHackerId: Middleware.Util.asyncMiddleware(obtainEmailByHackerId),
655737
parseAccept: parseAccept,
738+
parseAcceptEmail: parseAcceptEmail,
656739
validateConfirmedStatusFromAccountId: Middleware.Util.asyncMiddleware(
657740
validateConfirmedStatusFromAccountId
658741
),
@@ -662,6 +745,9 @@ module.exports = {
662745
validateConfirmedStatusFromObject: Middleware.Util.asyncMiddleware(
663746
validateConfirmedStatusFromObject
664747
),
748+
completeStatusUpdateEmail: Middleware.Util.asyncMiddleware(
749+
completeStatusUpdateEmail
750+
),
665751
checkDuplicateAccountLinks: Middleware.Util.asyncMiddleware(
666752
checkDuplicateAccountLinks
667753
),

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hackerAPI",
3-
"version": "2.1.3",
3+
"version": "2.2.0",
44
"private": true,
55
"scripts": {
66
"start": "DEBUG=hackboard:* NODE_ENV=development nodemon --ignore gcp_creds.json ./bin/www.js",

routes/api/hacker.js

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,37 @@ module.exports = {
307307
Middleware.Hacker.sendStatusUpdateEmail,
308308
Controllers.Hacker.updatedHacker
309309
);
310+
311+
/**
312+
* @api {patch} /hacker/acceptEmail/:email accept a Hacker by email
313+
* @apiName acceptHacker
314+
* @apiGroup Hacker
315+
* @apiVersion 2.0.0
316+
*
317+
* @apiSuccess {string} message Success message
318+
* @apiSuccess {object} data Hacker object
319+
* @apiSuccessExample {object} Success-Response:
320+
* {
321+
* "message": "Changed hacker information",
322+
* "data": {
323+
* "status": "Accepted"
324+
* }
325+
* }
326+
* @apiPermission Administrator
327+
*/
328+
hackerRouter
329+
.route("/acceptEmail/:email")
330+
.patch(
331+
Middleware.Auth.ensureAuthenticated(),
332+
Middleware.Auth.ensureAuthorized([Services.Hacker.findByEmail]),
333+
Middleware.Validator.RouteParam.emailValidator,
334+
Middleware.parseBody.middleware,
335+
Middleware.Hacker.findByEmail,
336+
Middleware.Hacker.parseAcceptEmail,
337+
Middleware.Hacker.obtainEmailByHackerId,
338+
Middleware.Hacker.completeStatusUpdateEmail,
339+
Controllers.Hacker.updatedHacker
340+
);
310341

311342
/**
312343
* @api {patch} /hacker/checkin/:id update a hacker's status to be 'Checked-in'. Note that the Hacker must eitehr be Accepted or Confirmed.

tests/hacker.test.js

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ const volunteerAccount0 = util.account.volunteerAccounts.stored[0];
2828

2929
const newHackerAccount0 = util.account.hackerAccounts.new[0];
3030
const newHacker0 = util.hacker.newHacker0;
31+
const invalidHackerAccount0 = util.account.hackerAccounts.invalid;
3132
const invalidHacker0 = util.hacker.invalidHacker0;
3233
const invalidHacker2 = util.hacker.invalidHacker2;
3334
const newHacker1 = util.hacker.newHacker1;
@@ -638,6 +639,7 @@ describe("PATCH update one hacker", function() {
638639
});
639640
});
640641

642+
//should FAIL on authentication
641643
it("should FAIL to accept a hacker on /api/hacker/accept/:id due to authentication", function(done) {
642644
chai.request(server.app)
643645
.patch(`/api/hacker/accept/${TeamHacker0._id}`)
@@ -730,6 +732,96 @@ describe("PATCH update one hacker", function() {
730732
});
731733
});
732734

735+
it("should FAIL to accept a hacker on /api/hacker/acceptEmail/:email due to authentication", function(done) {
736+
chai.request(server.app)
737+
.patch(`/api/hacker/acceptEmail/${teamHackerAccount0.email}`)
738+
.type("application/json")
739+
.send()
740+
.end(function(err, res) {
741+
res.should.have.status(401);
742+
res.should.be.json;
743+
res.body.should.have.property("message");
744+
res.body.message.should.equal(Constants.Error.AUTH_401_MESSAGE);
745+
done();
746+
});
747+
});
748+
749+
// should FAIL due to authorization
750+
it("should FAIL to accept hacker info due to lack of authorization on /api/hacker/acceptEmail/:email", function(done) {
751+
util.auth.login(agent, noTeamHackerAccount0, (error) => {
752+
if (error) {
753+
agent.close();
754+
return done(error);
755+
}
756+
return agent
757+
.patch(`/api/hacker/acceptEmail/${teamHackerAccount0.email}`)
758+
.type("application/json")
759+
.send()
760+
.end(function(err, res) {
761+
res.should.have.status(403);
762+
res.should.be.json;
763+
res.body.should.have.property("message");
764+
res.body.message.should.equal(
765+
Constants.Error.AUTH_403_MESSAGE
766+
);
767+
res.body.should.have.property("data");
768+
769+
done();
770+
});
771+
});
772+
});
773+
774+
it("should FAIL to accept an invalid hacker's info on /api/hacker/acceptEmail/:email", function(done) {
775+
util.auth.login(agent, Admin0, (error) => {
776+
if (error) {
777+
agent.close();
778+
return done(error);
779+
}
780+
return agent
781+
.patch(`/api/hacker/acceptEmail/${invalidHackerAccount0[0].email}`)
782+
.type("application/json")
783+
.send()
784+
.end(function(err, res) {
785+
res.should.have.status(404);
786+
res.should.be.json;
787+
res.body.should.have.property("message");
788+
res.body.message.should.equal(
789+
Constants.Error.ACCOUNT_404_MESSAGE
790+
);
791+
res.body.should.have.property("data");
792+
793+
done();
794+
});
795+
});
796+
});
797+
798+
it("should SUCCEED and accept a hacker on /api/hacker/acceptEmail/:email as an Admin", function(done) {
799+
util.auth.login(agent, Admin0, (error) => {
800+
if (error) {
801+
agent.close();
802+
return done(error);
803+
}
804+
return agent
805+
.patch(`/api/hacker/acceptEmail/${teamHackerAccount0.email}`)
806+
.type("application/json")
807+
.send()
808+
.end(function(err, res) {
809+
res.should.have.status(200);
810+
res.should.be.json;
811+
res.body.should.have.property("message");
812+
res.body.message.should.equal(
813+
Constants.Success.HACKER_UPDATE
814+
);
815+
res.body.should.have.property("data");
816+
chai.assert.equal(
817+
res.body.data.hacker.status,
818+
"Accepted"
819+
);
820+
done();
821+
});
822+
});
823+
});
824+
733825
// should succeed on admin case
734826
it("should SUCCEED and update a hacker using admin power", function(done) {
735827
util.auth.login(agent, Admin0, (error) => {

0 commit comments

Comments
 (0)