Commit Graph

278 Commits (2c7efe50fd60fa38a9b39251f05aaa6e37690f6a)

Author SHA1 Message Date
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
dependabot[bot] 567d8c5139 chore(deps): bump query-string from 6.13.6 to 6.13.7 in /api-server
Bumps [query-string](https://github.com/sindresorhus/query-string) from 6.13.6 to 6.13.7.
- [Release notes](https://github.com/sindresorhus/query-string/releases)
- [Commits](https://github.com/sindresorhus/query-string/compare/v6.13.6...v6.13.7)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-27 05:21:18 +00:00
dependabot[bot] 819245a789 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.1 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-register)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-27 05:19:19 +00:00
dependabot[bot] 5458b586f0 chore(deps-dev): bump cross-env from 6.0.3 to 7.0.3 in /api-server
Bumps [cross-env](https://github.com/kentcdodds/cross-env) from 6.0.3 to 7.0.3.
- [Release notes](https://github.com/kentcdodds/cross-env/releases)
- [Changelog](https://github.com/kentcdodds/cross-env/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kentcdodds/cross-env/compare/v6.0.3...v7.0.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-21 15:33:16 +00:00
dependabot[bot] aae5c8bfb2 chore(deps-dev): bump jest from 26.6.1 to 26.6.3 in /api-server
Bumps [jest](https://github.com/facebook/jest) from 26.6.1 to 26.6.3.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v26.6.1...v26.6.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-21 14:14:07 +00:00
dependabot[bot] 5e45d9bb1f 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.1 to 7.12.11.
- [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.11/packages/babel-preset-env)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-21 13:53:25 +00:00
dependabot[bot] 9aae267d79 chore(deps-dev): bump @babel/cli from 7.12.1 to 7.12.10 in /api-server
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.12.1 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-cli)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-21 13:52:22 +00:00
dependabot[bot] 7f40f17d18 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.10.4 to 7.12.1.
- [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.1/packages/babel-plugin-proposal-class-properties)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-21 13:32:30 +00:00
dependabot[bot] e3deae08ec chore(deps-dev): bump @babel/core from 7.12.7 to 7.12.10 in /api-server
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.12.7 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-core)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-21 13:10:03 +00:00
Oliver Eyton-Williams 4f4bbfbb6c
chore(api): migrate from express-validator 5 to 6 (#40363) 2020-12-03 21:17:38 +05:30
Shaun Hamilton 1ef12d5605
feat(dev): update GitPod testing (#40328)
* feat(dev): update GitPod testing
2020-12-01 14:37:10 +01:00
Oliver Eyton-Williams c1436445a7
chore(api): remove unused packages (#40271) 2020-11-28 12:41:33 +05:30
Kristofer Koishigawa f7943d0ad5
fix(api): expand blocked usernames list (#40313) 2020-11-25 18:58:49 +05:30
dependabot[bot] a267a23888 chore(deps-dev): bump @babel/core from 7.11.6 to 7.12.7 in /api-server
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.11.6 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-core)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-22 05:42:04 +00:00
dependabot[bot] ef6cbb4da5 chore(deps): bump shortid from 2.2.15 to 2.2.16 in /api-server
Bumps [shortid](https://github.com/dylang/shortid) from 2.2.15 to 2.2.16.
- [Release notes](https://github.com/dylang/shortid/releases)
- [Changelog](https://github.com/dylang/shortid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dylang/shortid/compare/2.2.15...2.2.16)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-22 05:22:06 +00:00
dependabot[bot] 35119cc71a chore(deps): bump @sentry/node from 5.26.0 to 5.27.4 in /api-server
Bumps [@sentry/node](https://github.com/getsentry/sentry-javascript) from 5.26.0 to 5.27.4.
- [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.26.0...5.27.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-15 05:38:04 +00:00
dependabot[bot] 0434c1e118 chore(deps-dev): bump @babel/node from 7.12.1 to 7.12.6 in /api-server
Bumps [@babel/node](https://github.com/babel/babel/tree/HEAD/packages/babel-node) from 7.12.1 to 7.12.6.
- [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.6/packages/babel-node)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-15 05:21:42 +00:00
dependabot[bot] 91017f9cbf chore(deps): bump axios from 0.19.2 to 0.21.0 in /api-server
Bumps [axios](https://github.com/axios/axios) from 0.19.2 to 0.21.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.19.2...v0.21.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-08 05:38:42 +00:00
dependabot[bot] 237ea6c69f chore(deps-dev): bump @babel/register in /api-server
Bumps [@babel/register](https://github.com/babel/babel/tree/HEAD/packages/babel-register) from 7.11.5 to 7.12.1.
- [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.1/packages/babel-register)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-08 05:20:51 +00:00
Oliver Eyton-Williams b2e2f33cf1
feat(api): allow redirects with a returnTo param (#40161) 2020-11-07 13:35:25 +05:30
Mrugesh Mohapatra 5f67843e50
revert: allow user to redirect after signin (#40160)
This reverts commit a7eba00690.
2020-11-02 19:24:24 +05:30
Ahmad Abdolsaheb 0a2f01c9d8
fix: keep unsubscribed donors as isDonating (#40103) 2020-11-02 15:45:03 +05:30
Oliver Eyton-Williams a7eba00690
feat: allow user to redirect after signin (#40069)
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2020-11-02 15:40:43 +05:30
dependabot[bot] 2d69fcb787 chore(deps-dev): bump @babel/node from 7.10.5 to 7.12.1 in /api-server
Bumps [@babel/node](https://github.com/babel/babel/tree/HEAD/packages/babel-node) from 7.10.5 to 7.12.1.
- [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.1/packages/babel-node)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-01 06:03:24 +00:00
dependabot[bot] ff1bf54073 chore(deps-dev): bump @babel/cli from 7.11.6 to 7.12.1 in /api-server
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.11.6 to 7.12.1.
- [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.1/packages/babel-cli)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-01 05:43:36 +00:00
dependabot[bot] a29ecfdc1a chore(deps): bump query-string from 6.13.5 to 6.13.6 in /api-server
Bumps [query-string](https://github.com/sindresorhus/query-string) from 6.13.5 to 6.13.6.
- [Release notes](https://github.com/sindresorhus/query-string/releases)
- [Commits](https://github.com/sindresorhus/query-string/compare/v6.13.5...v6.13.6)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-01 05:39:36 +00:00
dependabot[bot] 82bda9e57d chore(deps-dev): bump jest from 24.9.0 to 26.6.1 in /api-server
Bumps [jest](https://github.com/facebook/jest) from 24.9.0 to 26.6.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v24.9.0...v26.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-25 09:57:26 +00:00
dependabot[bot] a7971f3bda chore(deps-dev): bump nodemon from 1.19.4 to 2.0.6 in /api-server
Bumps [nodemon](https://github.com/remy/nodemon) from 1.19.4 to 2.0.6.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v1.19.4...v2.0.6)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-25 09:36:15 +00:00
dependabot[bot] 342713e03b 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.11.5 to 7.12.1.
- [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.1/packages/babel-preset-env)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-25 05:23:55 +00:00