Commit Graph

26652 Commits (be43de2a578aa771f8fccbf9593532a734538691)

Author SHA1 Message Date
Nicholas Carrigan (he/him) 2d0bba3097
docs: Replace Gitter/Discord links (#40514) 2020-12-22 12:00:00 +05:30
Randell Dawson 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
dependabot[bot] 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
Paulson J Paul 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
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
Mrugesh Mohapatra e7db3386ed
chore: update CodeQL Scanning (#40511) 2020-12-21 16:25:42 +01:00
Mrugesh Mohapatra befc6c4de5
chore: update root dependencies (#40510) 2020-12-21 20:38:51 +05:30
dependabot[bot] 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
dependabot[bot] 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
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] 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
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] 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
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
dependabot[bot] 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
dependabot[bot] 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
dependabot[bot] 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
dependabot[bot] 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
dependabot[bot] 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
dependabot[bot] 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
dependabot[bot] 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
dependabot[bot] 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
Ilenia 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
Randell Dawson 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
Lakshya Baghel 036da8cd0c
Fixed seed-contents for react componentDidMount challenge (#40441) 2020-12-15 18:19:58 -07:00
Nicholas Carrigan (he/him) 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
Kai-Chin Huang 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
vbinithyanandamv 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
Oliver Eyton-Williams 22fbc62f88
chore: format curriculum (#37912) 2020-12-15 21:22:02 +05:30
Twaha Rahman 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
Oliver Eyton-Williams 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
Ahmad Abdolsaheb 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
Ahmad Abdolsaheb 2959196b35
feat: update title meta (#40362) 2020-12-07 11:15:11 +01:00
Twaha Rahman 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
Ahmad Abdolsaheb 080154b34f
fix: adjust ga value for stripe modal (#40360) 2020-12-07 10:49:20 +01:00
Nicholas Carrigan (he/him) 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
Oliver Eyton-Williams 4f4bbfbb6c
chore(api): migrate from express-validator 5 to 6 (#40363) 2020-12-03 21:17:38 +05:30
Shaun Hamilton 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
Ahmad Abdolsaheb bfc4c33b0c
fix: remove unused PAYPAL_SUPPORTERS var (#40361) 2020-12-01 14:51:24 +01:00
Shaun Hamilton 1ef12d5605
feat(dev): update GitPod testing (#40328)
* feat(dev): update GitPod testing
2020-12-01 14:37:10 +01:00
Huyen Nguyen f1f6cf8a48
fix(docs): display text direction correctly (#40345) 2020-11-29 23:00:30 +05:30
Oliver Eyton-Williams c1436445a7
chore(api): remove unused packages (#40271) 2020-11-28 12:41:33 +05:30
Oliver Eyton-Williams e20c61b7f5
chore(curriculum): remove unused packages (#40273) 2020-11-28 12:40:05 +05:30
Oliver Eyton-Williams 0bd52f8bd1
Feat: add new Markdown parser (#39800)
and change all the challenges to new `md` format.
2020-11-27 10:02:05 -08:00
Joe a07f84c8ec
feat(learn): expanded introduction to provide clarity (#40304)
* expanded a bit to transition into the tutorial

* Update client/src/pages/learn/machine-learning-with-python/how-neural-networks-work/index.md

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

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2020-11-27 16:13:08 +00:00
Oliver Eyton-Williams 24f57ca7c2
fix: ignore .env in pipelines (#40327) 2020-11-27 09:32:50 -06:00
ngschaider 6c5304980d
fix(learn): type checking and additional test for isBalanced binary search tree (#40323)
* Update find-the-minimum-and-maximum-height-of-a-binary-search-tree.md

* fixed binary search tree values for balanced tree test

* Apply suggestions from code review

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

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2020-11-26 22:33:45 -06:00