Commit Graph

306 Commits (c132c6bf9f80c3d3ef5e44c8168bdd5fcc5b937e)

Author SHA1 Message Date
Oliver Eyton-Williams c077ffe4b9
feat(api): decouple api from curriculum (#40703) 2021-02-22 12:23:59 +05:30
dependabot[bot] 113ad71889 chore(deps-dev): bump @babel/core from 7.12.16 to 7.12.17 in /api-server
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.12.16 to 7.12.17.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.17/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-21 06:21:52 +00:00
dependabot[bot] d7fee838d7 chore(deps-dev): bump @babel/plugin-proposal-optional-chaining
Bumps [@babel/plugin-proposal-optional-chaining](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-optional-chaining) from 7.12.16 to 7.12.17.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.17/packages/babel-plugin-proposal-optional-chaining)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-21 06:07:59 +00:00
dependabot[bot] a3f00d5436 chore(deps-dev): bump @babel/cli from 7.12.16 to 7.12.17 in /api-server
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.12.16 to 7.12.17.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.17/packages/babel-cli)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-21 05:57:41 +00:00
dependabot[bot] 5b9b792652 chore(deps-dev): bump @babel/preset-env in /api-server
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.12.16 to 7.12.17.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.17/packages/babel-preset-env)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-21 05:46:20 +00:00
dependabot[bot] d847ba5a0c chore(deps): bump lodash from 4.17.20 to 4.17.21 in /api-server
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-21 05:46:07 +00:00
dependabot[bot] d014b2c166 chore(deps-dev): bump @babel/node from 7.12.16 to 7.12.17 in /api-server
Bumps [@babel/node](https://github.com/babel/babel/tree/HEAD/packages/babel-node) from 7.12.16 to 7.12.17.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.17/packages/babel-node)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-21 05:32:28 +00:00
Mrugesh Mohapatra 51ec477329
chore: pin mongodb for warnings - again (#41163) 2021-02-18 16:01:22 +05:30
dependabot[bot] 1017f420b5 chore(deps-dev): bump @babel/plugin-proposal-optional-chaining
Bumps [@babel/plugin-proposal-optional-chaining](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-optional-chaining) from 7.12.13 to 7.12.16.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.16/packages/babel-plugin-proposal-optional-chaining)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-14 07:21:50 +00:00
dependabot[bot] 4936f9d9af chore(deps-dev): bump @babel/preset-env in /api-server
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.12.13 to 7.12.16.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.16/packages/babel-preset-env)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-14 06:07:20 +00:00
dependabot[bot] 41d46ac13f chore(deps-dev): bump @babel/cli from 7.12.13 to 7.12.16 in /api-server
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.12.13 to 7.12.16.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.16/packages/babel-cli)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-14 06:01:06 +00:00
dependabot[bot] 88f8c33ab2 chore(deps-dev): bump @babel/node from 7.12.13 to 7.12.16 in /api-server
Bumps [@babel/node](https://github.com/babel/babel/tree/HEAD/packages/babel-node) from 7.12.13 to 7.12.16.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.16/packages/babel-node)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-14 06:00:42 +00:00
dependabot[bot] 49399736fe chore(deps): bump query-string from 6.13.8 to 6.14.0 in /api-server
Bumps [query-string](https://github.com/sindresorhus/query-string) from 6.13.8 to 6.14.0.
- [Release notes](https://github.com/sindresorhus/query-string/releases)
- [Commits](https://github.com/sindresorhus/query-string/compare/v6.13.8...v6.14.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-14 05:33:02 +00:00
dependabot[bot] 19337b6993 chore(deps): bump mongodb from 3.6.3 to 3.6.4 in /api-server
Bumps [mongodb](https://github.com/mongodb/node-mongodb-native) from 3.6.3 to 3.6.4.
- [Release notes](https://github.com/mongodb/node-mongodb-native/releases)
- [Changelog](https://github.com/mongodb/node-mongodb-native/blob/3.6/CHANGES_3.0.0.md)
- [Commits](https://github.com/mongodb/node-mongodb-native/compare/v3.6.3...v3.6.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-14 05:28:54 +00:00
dependabot[bot] 2c951de6e2 chore(deps-dev): bump @babel/core from 7.12.13 to 7.12.16 in /api-server
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.12.13 to 7.12.16.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.16/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-14 05:23:57 +00:00
Mrugesh Mohapatra bc59d3c63c
fix(api): pin mongodb for warnings (#41018) 2021-02-10 00:47:55 +05:30
dependabot[bot] 15047f2d90 chore(deps-dev): bump @babel/plugin-proposal-object-rest-spread
Bumps [@babel/plugin-proposal-object-rest-spread](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-object-rest-spread) from 7.12.1 to 7.12.13.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.13/packages/babel-plugin-proposal-object-rest-spread)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-07 06:57:19 +00:00
dependabot[bot] c47ca3c6a1 chore(deps-dev): bump @babel/cli from 7.12.10 to 7.12.13 in /api-server
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.12.10 to 7.12.13.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.13/packages/babel-cli)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-07 06:39:43 +00:00
dependabot[bot] 21f2467896 chore(deps-dev): bump @babel/plugin-proposal-optional-chaining
Bumps [@babel/plugin-proposal-optional-chaining](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-optional-chaining) from 7.12.7 to 7.12.13.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.13/packages/babel-plugin-proposal-optional-chaining)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-07 06:36:05 +00:00
dependabot[bot] e042816c4a chore(deps-dev): bump @babel/core from 7.12.10 to 7.12.13 in /api-server
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.12.10 to 7.12.13.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.13/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-07 06:18:58 +00:00
dependabot[bot] 204c773c8f chore(deps-dev): bump @babel/preset-env in /api-server
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.12.11 to 7.12.13.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.13/packages/babel-preset-env)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-07 06:14:28 +00:00
dependabot[bot] a89135ffab chore(deps): bump moment-timezone from 0.5.32 to 0.5.33 in /api-server
Bumps [moment-timezone](https://github.com/moment/moment-timezone) from 0.5.32 to 0.5.33.
- [Release notes](https://github.com/moment/moment-timezone/releases)
- [Changelog](https://github.com/moment/moment-timezone/blob/develop/changelog.md)
- [Commits](https://github.com/moment/moment-timezone/compare/0.5.32...0.5.33)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-07 05:59:47 +00:00
dependabot[bot] f5f4bdd3fa chore(deps-dev): bump @babel/node from 7.12.10 to 7.12.13 in /api-server
Bumps [@babel/node](https://github.com/babel/babel/tree/HEAD/packages/babel-node) from 7.12.10 to 7.12.13.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.13/packages/babel-node)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-07 05:59:25 +00:00
dependabot[bot] d2a2a0c101 chore(deps-dev): bump @babel/register in /api-server
Bumps [@babel/register](https://github.com/babel/babel/tree/HEAD/packages/babel-register) from 7.12.10 to 7.12.13.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.13/packages/babel-register)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-07 05:55:04 +00:00
dependabot[bot] 7a07438159 chore(deps): bump mongodb from 3.6.3 to 3.6.4 in /api-server
Bumps [mongodb](https://github.com/mongodb/node-mongodb-native) from 3.6.3 to 3.6.4.
- [Release notes](https://github.com/mongodb/node-mongodb-native/releases)
- [Changelog](https://github.com/mongodb/node-mongodb-native/blob/3.6/CHANGES_3.0.0.md)
- [Commits](https://github.com/mongodb/node-mongodb-native/compare/v3.6.3...v3.6.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-07 05:31:12 +00:00
dependabot[bot] 923f5adb18 chore(deps-dev): bump @babel/plugin-proposal-class-properties
Bumps [@babel/plugin-proposal-class-properties](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-class-properties) from 7.12.1 to 7.12.13.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.13/packages/babel-plugin-proposal-class-properties)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-07 05:23:47 +00:00
Tom 421c05e652
fix: set hours to claim certs to 300 (#40910) 2021-02-06 00:33:20 +05:30
Tom 30ff9b1202
fix: show username on cert if name is private (#40897)
Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com>
2021-02-04 13:30:48 +05:30
Tom 14ca6beb0a fix: naming scheme for messages in translation files (#40642)
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-01-31 12:15:38 +05:30
Tom 072a7ce6c6 feat(i18n): translate server messages (#40626) 2021-01-31 12:15:38 +05:30
Oliver Eyton-Williams 77022b8a56 fix: redirect correctly in development (#40594)
* fix: redirect correctly in development

* fix: prevent // appearing in path

* refactor: remove old comments

* fix: remove trailing slash for redirection
2021-01-31 12:15:38 +05:30
Mrugesh Mohapatra 2f525de24c fix(api): validate url before use 2021-01-31 12:15:37 +05:30
Oliver Eyton-Williams a076547d43 fix(api): only use homeLocation as a fallback (#40517) 2021-01-31 12:15:36 +05:30
Mrugesh Mohapatra 77c46dba2c fix(i18n): redirect based on Referer header (#40512)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-01-31 12:15:34 +05:30
Oliver Eyton-Williams 412938890a fix(api): use English slugs for all challenges 2021-01-31 12:15:33 +05:30
Tom 3978c6be28 feat: i18n user interface (#40306)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-01-31 12:15:32 +05:30
dependabot[bot] 8fb84ecd4d chore(deps): bump @sentry/node from 5.29.2 to 5.30.0 in /api-server
Bumps [@sentry/node](https://github.com/getsentry/sentry-javascript) from 5.29.2 to 5.30.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/5.29.2...5.30.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-17 05:21:45 +00:00
dependabot[bot] a1a113dc66 chore(deps): bump express-validator from 6.9.0 to 6.9.2 in /api-server
Bumps [express-validator](https://github.com/express-validator/express-validator) from 6.9.0 to 6.9.2.
- [Release notes](https://github.com/express-validator/express-validator/releases)
- [Commits](https://github.com/express-validator/express-validator/compare/v6.9.0...v6.9.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-10 05:23:24 +00:00
dependabot[bot] be43de2a57 chore(deps-dev): bump nodemon from 2.0.6 to 2.0.7 in /api-server
Bumps [nodemon](https://github.com/remy/nodemon) from 2.0.6 to 2.0.7.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v2.0.6...v2.0.7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-10 05:21:05 +00:00
dependabot[bot] 3a39de24c2 chore(deps): bump query-string from 6.13.7 to 6.13.8 in /api-server
Bumps [query-string](https://github.com/sindresorhus/query-string) from 6.13.7 to 6.13.8.
- [Release notes](https://github.com/sindresorhus/query-string/releases)
- [Commits](https://github.com/sindresorhus/query-string/compare/v6.13.7...v6.13.8)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-03 05:21:13 +00:00
dependabot[bot] 6bb0df4748 chore(deps): bump mongodb from 3.6.2 to 3.6.3 in /api-server
Bumps [mongodb](https://github.com/mongodb/node-mongodb-native) from 3.6.2 to 3.6.3.
- [Release notes](https://github.com/mongodb/node-mongodb-native/releases)
- [Changelog](https://github.com/mongodb/node-mongodb-native/blob/3.6/CHANGES_3.0.0.md)
- [Commits](https://github.com/mongodb/node-mongodb-native/compare/v3.6.2...v3.6.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-27 07:54:41 +00:00
dependabot[bot] 11471b413e chore(deps): bump loopback from 3.27.0 to 3.28.0 in /api-server
Bumps [loopback](https://github.com/strongloop/loopback) from 3.27.0 to 3.28.0.
- [Release notes](https://github.com/strongloop/loopback/releases)
- [Changelog](https://github.com/strongloop/loopback/blob/master/CHANGES.md)
- [Commits](https://github.com/strongloop/loopback/compare/v3.27.0...v3.28.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-27 06:31:11 +00:00
dependabot[bot] 4367307490 chore(deps): bump axios from 0.21.0 to 0.21.1 in /api-server
Bumps [axios](https://github.com/axios/axios) from 0.21.0 to 0.21.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.0...v0.21.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-27 06:30:56 +00:00
dependabot[bot] 730ff3d993 chore(deps): bump passport-auth0 from 1.3.3 to 1.4.0 in /api-server
Bumps [passport-auth0](https://github.com/auth0/passport-auth0) from 1.3.3 to 1.4.0.
- [Release notes](https://github.com/auth0/passport-auth0/releases)
- [Changelog](https://github.com/auth0/passport-auth0/blob/master/CHANGELOG.md)
- [Commits](https://github.com/auth0/passport-auth0/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-27 06:19:26 +00:00
dependabot[bot] 8eb8d30cbf chore(deps-dev): bump @babel/plugin-proposal-optional-chaining
Bumps [@babel/plugin-proposal-optional-chaining](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-optional-chaining) from 7.11.0 to 7.12.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.7/packages/babel-plugin-proposal-optional-chaining)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-27 06:14:42 +00:00
dependabot[bot] 0720a9dce0 chore(deps): bump @sentry/node from 5.27.4 to 5.29.2 in /api-server
Bumps [@sentry/node](https://github.com/getsentry/sentry-javascript) from 5.27.4 to 5.29.2.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/5.27.4...5.29.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-27 06:04:47 +00:00
dependabot[bot] 77d056457b chore(deps): bump moment-timezone from 0.5.31 to 0.5.32 in /api-server
Bumps [moment-timezone](https://github.com/moment/moment-timezone) from 0.5.31 to 0.5.32.
- [Release notes](https://github.com/moment/moment-timezone/releases)
- [Changelog](https://github.com/moment/moment-timezone/blob/develop/changelog.md)
- [Commits](https://github.com/moment/moment-timezone/compare/0.5.31...0.5.32)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-27 05:29:54 +00:00
dependabot[bot] 011584fe23 chore(deps-dev): bump @babel/node from 7.12.6 to 7.12.10 in /api-server
Bumps [@babel/node](https://github.com/babel/babel/tree/HEAD/packages/babel-node) from 7.12.6 to 7.12.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.10/packages/babel-node)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-27 05:28:53 +00:00
dependabot[bot] 287b1585a3 chore(deps): bump bad-words from 3.0.3 to 3.0.4 in /api-server
Bumps [bad-words](https://github.com/web-mech/badwords) from 3.0.3 to 3.0.4.
- [Release notes](https://github.com/web-mech/badwords/releases)
- [Changelog](https://github.com/web-mech/badwords/blob/master/CHANGELOG.md)
- [Commits](https://github.com/web-mech/badwords/compare/v3.0.3...v3.0.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-27 05:25:28 +00:00
dependabot[bot] 98fd1008e3 chore(deps): bump express-validator from 6.7.0 to 6.9.0 in /api-server
Bumps [express-validator](https://github.com/express-validator/express-validator) from 6.7.0 to 6.9.0.
- [Release notes](https://github.com/express-validator/express-validator/releases)
- [Commits](https://github.com/express-validator/express-validator/compare/v6.7.0...v6.9.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-27 05:25:18 +00:00