Commit Graph

26611 Commits

Author SHA1 Message Date
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
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
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
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
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
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
eb8359c281 feat: add script to annotate challenges for translation (#40366)
* feat: add script to annotate challenges for translation

* fix: readdirp-walk -> readdirp

* fix: remove notranslate for frontmatter

* fix: don't output seed/solution

* feat: convert to function

Also puts in some missing 'async's to make it clearer what returns
promises.

* refactor: use meaningful names

* refactor: remove comments

* chore: update dependencies

* chore: move dir

* fix(crowdin): annotate individual answers
2020-12-23 12:04:56 -07:00
994598900a fix(dashboard): Use CDN for favicon (#40522)
* fix: Use CDN for favicon

Replaces the local favicon (which was not
rendering correctly on production) with the
version served by the CDN. Also adds our other
meta tags used for PWAs and OpenGraph Protocol.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

* fix: remove local manifest

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
2020-12-22 17:07:21 -07:00
0ff001eaed docs: One remaining chat link (#40519)
Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
2020-12-22 11:56:53 -07:00
2d0bba3097 docs: Replace Gitter/Discord links (#40514) 2020-12-22 12:00:00 +05:30
c8f6d15688 feat(tool): Add ability to view all open PRs for repos other than freeCodeCamp in the Dashboard app (#40453)
* feat: show open boilerplate prs on dashboard

fix:  rest of boilerplate server changes

fix: more

fix: other

* fix: update lib functions

* fix: retrofitted one-off scripts

* feat: added rateLimit for requests

* fix: reduce time

* fix: put limiter inside each route

* fix: make client show when rated limited

* fix: removed unused probot from app

* fix: renamed folders

* fix: consolidate config.js and constants.js

* chore: update octokit to latest version

* fix: remove invalid file

* fix: refactored update-db.js

* feat: add fcc logo

* fix: logo url

* fix: remove Home link

* fix: change link colors

* fix: added rate limiter to landing page

* fix: ran npm install in client to create package-lock.json

* fix: correct typo in doc

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

* fix: Replace favicon, Gitter => Discord

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

* fix: add extra linting guidance to package.json

* Ignore contributor app

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

* fix: revert linting rules for client

* fix: add skip_preflight_check=true for tests

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Kris Koishigawa <scissorsneedfoodtoo@gmail.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2020-12-22 13:43:36 +09:00
8324a5fcd7 chore(deps): bump @babel/standalone from 7.12.7 to 7.12.11 in /client (#40507)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-21 22:54:00 +05:30
decb879694 fix(client): better contrast for code sections when selected (#40461)
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2020-12-21 21:16:33 +05:30
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
e7db3386ed chore: update CodeQL Scanning (#40511) 2020-12-21 16:25:42 +01:00
befc6c4de5 chore: update root dependencies (#40510) 2020-12-21 20:38:51 +05:30
33d90fd6d4 chore(deps-dev): bump cross-env from 7.0.2 to 7.0.3 in /curriculum
Bumps [cross-env](https://github.com/kentcdodds/cross-env) from 7.0.2 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/v7.0.2...v7.0.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-21 14:39:39 +00:00
64c882421a chore(deps-dev): bump @babel/register in /curriculum
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-21 14:17:09 +00:00
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
9cd46b69e8 chore(deps-dev): bump @babel/preset-env in /curriculum
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.12.7 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:47 +00:00
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
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
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
6b72fa6e5e chore(deps): bump gatsby from 2.27.0 to 2.29.1 in /client
Bumps [gatsby](https://github.com/gatsbyjs/gatsby) from 2.27.0 to 2.29.1.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/compare/gatsby@2.27.0...gatsby@2.29.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-21 13:11:34 +00:00
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
fd111e3567 chore(deps): bump validator from 13.1.17 to 13.5.2 in /client
Bumps [validator](https://github.com/chriso/validator.js) from 13.1.17 to 13.5.2.
- [Release notes](https://github.com/chriso/validator.js/releases)
- [Changelog](https://github.com/validatorjs/validator.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/chriso/validator.js/compare/13.1.17...13.5.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-21 12:51:40 +00:00
78caa21d7d chore(deps-dev): bump @babel/core from 7.12.9 to 7.12.10 in /curriculum
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.12.9 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 12:50:15 +00:00
a3104da89c chore(deps): bump gatsby-cli from 2.14.0 to 2.16.1 in /client
Bumps [gatsby-cli](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-cli) from 2.14.0 to 2.16.1.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/gatsby-cli@2.16.1/packages/gatsby-cli/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-cli@2.16.1/packages/gatsby-cli)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-21 12:29:44 +00:00
dfef6bc3fa chore(deps): bump gatsby-source-filesystem in /client
Bumps [gatsby-source-filesystem](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-source-filesystem) from 2.6.0 to 2.8.0.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-source-filesystem/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-filesystem@2.8.0/packages/gatsby-source-filesystem)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-21 12:09:00 +00:00
1c05aaa33d chore(deps): bump gatsby-plugin-create-client-paths in /client
Bumps [gatsby-plugin-create-client-paths](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-create-client-paths) from 2.3.13 to 2.7.0.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-create-client-paths/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-create-client-paths@2.7.0/packages/gatsby-plugin-create-client-paths)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-21 12:08:31 +00:00
4711e50835 chore(deps): bump gatsby-transformer-remark in /client
Bumps [gatsby-transformer-remark](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-transformer-remark) from 2.11.0 to 2.13.0.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-transformer-remark/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-remark@2.13.0/packages/gatsby-transformer-remark)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-21 11:48:25 +00:00
069eabc3f6 chore(deps): bump gatsby-plugin-react-helmet in /client
Bumps [gatsby-plugin-react-helmet](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-react-helmet) from 3.3.14 to 3.7.0.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-react-helmet/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-react-helmet@3.7.0/packages/gatsby-plugin-react-helmet)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-21 11:45:59 +00:00
9dda78e831 chore(deps): bump gatsby-remark-prismjs from 3.6.0 to 3.10.0 in /client (#40509)
Bumps [gatsby-remark-prismjs](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-remark-prismjs) from 3.6.0 to 3.10.0.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-remark-prismjs/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-remark-prismjs@3.10.0/packages/gatsby-remark-prismjs)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-21 16:56:57 +05:30
7de8549e02 fix(learn): Made the Escaping literal quotes channel accept the dot inside the double quotes too (#40465)
* made valid solution dot inside and dot outside quotes

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/escaping-literal-quotes-in-strings.md

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2020-12-16 08:07:47 -08:00
9ce4a02a41 chore(learn): Applied MDX format to Chinese curriculum files (#40462) 2020-12-16 13:07:30 +05:30
Tom
873fce02a2 feat: expand cypress tests to include some cert claiming (#40422) 2020-12-16 12:54:18 +05:30
036da8cd0c Fixed seed-contents for react componentDidMount challenge (#40441) 2020-12-15 18:19:58 -07:00
582d3ab93f fix(learn): Headless Browser Tests have incorrect values (#40330)
* Restructure files

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

* Realign forum topic ids

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

* Missed query string numbers

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

* Test all previous tests

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

* Fix the semi-colon

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

* change test name to match boilerplate change

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
2020-12-15 19:17:25 -06:00
a1928ba272 Update the return value of values method in create a set class challenge (#40450)
* fix #40443

* Fix the solution add method
2020-12-15 18:15:33 -07:00
7c19c82076 [BUG] Able to pass challenge "Basic JavaScript: Initializing Variables with the Assignment Operator" with incorrect answers #40406 (#40409)
* [BUG] #40406 Fix

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/initializing-variables-with-the-assignment-operator.md

Requested Change.

Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>

Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
2020-12-15 18:07:36 -07:00
22fbc62f88 chore: format curriculum (#37912) 2020-12-15 21:22:02 +05:30
45fe3d8814 fix(cypress): Re-introduce Firefox in Cypress CI (#40440)
* Revert "chore: drop firefox for intermittent fails"

This reverts commit 704beb2260.

* Increase timeout for Cypress learn log output test
2020-12-14 18:50:48 +01:00
1f65b3b7eb fix: require project completion to claim certs (#40399)
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
2020-12-08 07:53:02 -08:00
26bb9a4e21 feat: isolate donation views (#40383)
* feat: capitalize all donation cats

* feat: isolate donation page views from donation actions
2020-12-07 14:35:28 +01:00
2959196b35 feat: update title meta (#40362) 2020-12-07 11:15:11 +01:00
bf0c49f9b4 chore(cypress): migrate to Cypress v6 (#40396)
* Update Cypress version from 5.3.0 to 6.0.0

* Replace `not.be.visible` with `not.exist`

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-12-07 11:02:52 +01:00
080154b34f fix: adjust ga value for stripe modal (#40360) 2020-12-07 10:49:20 +01:00
81a49ec94b fix(learn): Disable prettier formatting on challenge files (#40370)
* Ignore challenge files

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
2020-12-03 18:10:15 +01:00
4f4bbfbb6c chore(api): migrate from express-validator 5 to 6 (#40363) 2020-12-03 21:17:38 +05:30
c75b28faf2 feat(tools): add fully certified development user (#40181)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-12-03 21:15:45 +05:30