Commit Graph

26495 Commits

Author SHA1 Message Date
2ac34a9799 chore(client): refactor NotFoundPage (#39777) 2020-10-22 03:56:46 +05:30
7b6e32ca7c fix: show profile link when user signed in on landing page (#39983) 2020-10-22 03:50:22 +05:30
0caa2fe782 fix: only test audited certificates 2020-10-22 03:18:16 +05:30
92a60f8bce fix(tools): update translation parser
Since we're adding more validation we can simplify the parser and
make sure it does catch all the comments.  Rather than worry about a
load of edge cases that do not appear in our challenges.
2020-10-22 03:18:16 +05:30
793fa8fb52 test: check replaced iff translatable comment
All translatable comments should be replaced, but nothing else.
2020-10-22 03:18:13 +05:30
d2ecd03013 fix: recreate comment map 2020-10-22 02:51:46 +05:30
797722a099 fix: add seed code comment rules 2020-10-22 02:51:45 +05:30
2cae697f65 fix: change variables to match exported names 2020-10-22 02:51:45 +05:30
5eb33e36e1 fix(learn): add a comments dictionary 2020-10-22 02:51:45 +05:30
fa2d5c687c Fix broken Discord link (#40035)
* Fix broken Discord link

* Change links across translations
2020-10-20 00:11:08 +05:30
dec4b2180f Scalar addition issue on Element-wise operations (#40013)
* Scalar addition issue on Element-wise operations

* remove chinese from PR

Co-authored-by: Sreekumar Menon <sreekumar@roofstock.com>
2020-10-19 11:29:23 -07:00
b503333c64 Rephrase linear gradient explanation (#39990)
* Rephrase linear gradient explanation

Small tweak to explanation to remove ambiguity over horizontal vs vertical

* Update curriculum/challenges/english/01-responsive-web-design/applied-visual-design/create-a-gradual-css-linear-gradient.md

Code review suggestion - mention horizontal and quote the values

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

* Use code tag for snippets

Was using backtick but updated based on formatting guidelines - https://contribute.freecodecamp.org/#/how-to-work-on-coding-challenges?id=formatting-challenge-text

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2020-10-19 11:01:03 -07:00
3042b055f5 chore: add newline 2020-10-19 19:51:38 +05:30
6f405f70bc fix: sidebar 2020-10-19 19:48:09 +05:30
e21e6c1ce6 Streamline copy and remove gitter references (#40015)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
Co-authored-by: freeCodeCamp <freecodecamp@MacBook-Pro.local>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2020-10-19 18:27:37 +05:30
86bfdc4536 chore(deps-dev): bump mocha from 5.2.0 to 8.2.0 in /curriculum
Bumps [mocha](https://github.com/mochajs/mocha) from 5.2.0 to 8.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/v5.2.0...v8.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-19 10:30:09 +00:00
05fe520c0f feat: update footer sept (#40030)
* feat: update footer sept

* fix: typo and urls

Co-authored-by: Kris Koishigawa <scissorsneedfoodtoo@gmail.com>
2020-10-19 18:28:03 +09:00
c3e415bcd8 chore(deps): bump @babel/plugin-proposal-function-bind in /client
Bumps [@babel/plugin-proposal-function-bind](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-function-bind) 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-plugin-proposal-function-bind)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-19 08:02:27 +00:00
fad4272bdc chore(deps): bump gatsby-cli from 2.12.107 to 2.12.109 in /client
Bumps [gatsby-cli](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-cli) from 2.12.107 to 2.12.109.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-cli/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-cli@2.12.109/packages/gatsby-cli)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-19 07:45:55 +00:00
a1d875bc38 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.8.38 to 2.8.42.
- [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.8.42/packages/gatsby-transformer-remark)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-19 07:42:02 +00:00
2ea59d8014 chore(deps): bump @babel/polyfill from 7.11.5 to 7.12.1 in /client
Bumps [@babel/polyfill](https://github.com/babel/babel/tree/HEAD/packages/babel-polyfill) 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-polyfill)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-19 07:41:05 +00:00
ab24b8845b chore(deps): bump react from 16.13.1 to 16.14.0 in /client
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) from 16.13.1 to 16.14.0.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v16.14.0/packages/react)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-19 07:38:26 +00:00
d2ab69ef49 chore(deps): bump gatsby from 2.24.73 to 2.24.80 in /client
Bumps [gatsby](https://github.com/gatsbyjs/gatsby) from 2.24.73 to 2.24.80.
- [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.24.73...gatsby@2.24.80)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-19 05:37:33 +00:00
6185f44892 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.3.34 to 2.3.35.
- [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.3.35/packages/gatsby-source-filesystem)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-19 05:36:56 +00:00
8d6e33ced9 chore(deps): bump @babel/standalone from 7.11.6 to 7.12.3 in /client
Bumps [@babel/standalone](https://github.com/babel/babel/tree/HEAD/packages/babel-standalone) from 7.11.6 to 7.12.3.
- [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.3/packages/babel-standalone)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-19 05:33:14 +00:00
c93421a21b chore(deps): bump react-instantsearch-dom from 6.7.0 to 6.8.1 in /client
Bumps [react-instantsearch-dom](https://github.com/algolia/react-instantsearch) from 6.7.0 to 6.8.1.
- [Release notes](https://github.com/algolia/react-instantsearch/releases)
- [Changelog](https://github.com/algolia/react-instantsearch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/algolia/react-instantsearch/compare/v6.7.0...v6.8.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-19 05:29:31 +00:00
044ce10d13 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.11.0 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-object-rest-spread)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-18 05:50:27 +00:00
ccd4bb077e chore(deps-dev): bump @babel/core from 7.11.6 to 7.12.3 in /curriculum
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.11.6 to 7.12.3.
- [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.3/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-18 05:30:13 +00:00
3877defa54 chore(deps-dev): bump @babel/register in /curriculum
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-10-18 05:29:37 +00:00
805921ea07 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.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-18 05:29:26 +00:00
7aec6d53be chore(deps): bump @sentry/node from 5.25.0 to 5.26.0 in /api-server
Bumps [@sentry/node](https://github.com/getsentry/sentry-javascript) from 5.25.0 to 5.26.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.25.0...5.26.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-18 05:28:15 +00:00
b9736ac35e chore(deps-dev): bump @babel/polyfill in /curriculum
Bumps [@babel/polyfill](https://github.com/babel/babel/tree/HEAD/packages/babel-polyfill) 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-polyfill)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-18 05:24:36 +00:00
71659b7c94 fix(learn): Date corrected the example description from Sunday, to Friday, in the date-format Rosetta Code Challenge (English) (#39998) 2020-10-17 23:01:18 +02:00
13e7251ed9 fix(learn): Update findXmasSunday function arguments from (2008,2121) to (1970, 2017) to match expected return. (#39996)
Co-authored-by: keiveland <keivelanddev@gmail.com>
2020-10-17 22:46:03 +02:00
a834672437 Fix low-contrast CSS strings in code blocks (#39967) (#39987)
First noticed on the challenge "Divide the Grid Into an Area Template", text is hard to read in night mode due to low contrast in the CSS code block. Problem was discussed in issue #39967, and this change was proposed to boost contrast above the minimum acceptable ratio of 4.5:1.

This change only targets CSS code blocks in night mode, and only strings. I could not find code blocks in other languages with this issue, but they may exist.
This also does not target `.token.operator`, `.token.entity`, or `.token.url`. There is no issue here with contrast, but these classes do not include a background. A proposed future change could be to remove the background from `.token.string` as well, but this change is not made here, as current style guides recommend the background.
2020-10-16 14:52:16 +03:00
a39235be83 feat(learn): allow word breaks in tool panel (#39986)
This is motivated by a desire to remove <wbr>s from the test texts

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

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2020-10-16 16:20:50 +05:30
35c4020f4d fix(curriculum): test typos (#39984) 2020-10-15 14:49:57 -04:00
f6fcb26a9d fix(learn): strengthen a test in "Data Structures: Remove Elements from a Linked List" (#39977)
* Add an additional test to LinkedList.remove

* Consolidate tests
2020-10-15 17:14:05 +01:00
Tom
15cf41e7e1 fix(learn): Update basic node express instructions to remove them from boilerplates (#39953)
* fix: adjust instuctions so we can remove them all from the boilerplate

* fix: adjust instuctions so we can remove them all from the boilerplate
2020-10-15 16:01:10 +01:00
cb1c3b2001 feat(learn): migrate instructions from adnode boilerplate (#39791)
* feat(learn): clarify instructions for boilerplate

* add how-to-put-a-profile-together

* add pug as language

* rephrase sentence for clarity

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

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2020-10-15 09:37:29 -05:00
52f27c1cbf fix(learn): Remove isHidden from frontmatter for steps 87-94 of Cafe Menu project (#39974)
* fix: remove isHidden from frontmatter

* fix: corrected ERM name

* fix: removed duplicate step (54)
2020-10-15 09:24:25 -05:00
89737e1406 refactor(learn): remove static prism css (#39981) 2020-10-15 18:13:51 +05:30
6de5144c8c fix(docs): add formatting instructions for coding challenge text (#39660)
* fix(docs): add formatting instructions

* add note about markdown

* fix: mention preference to use single-quotes

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-10-15 10:25:05 +02:00
cc464a6e56 fix(learn): Possible semantic error in explanation comment (#39813)
* Possible semantic error

"identical" generally means that both variables are linked to exact same array which is not the case:
``` thisArray !== thatArray ```

Maybe "similar" or other word could be used instead

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-data-structures/copy-an-array-with-the-spread-operator.md

Made the comment more accurate

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

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2020-10-14 19:53:49 -06:00
Tom
3131360318 fix(learn): enhance user stories for header parser project (#39964)
* fix(learn): enhance user stories for header parser project

* Update curriculum/challenges/english/05-apis-and-microservices/apis-and-microservices-projects/request-header-parser-microservice.md

Co-authored-by: Manish Giri <manish.giri.me@gmail.com>

Co-authored-by: Manish Giri <manish.giri.me@gmail.com>
2020-10-14 18:49:02 -04:00
5164b09dab Update post-data-with-the-javascript-xmlhttprequest-method.md (#39835)
Uses common language to describe API data request. Improves clarity of instruction.
2020-10-14 16:34:13 -06:00
40c16e6f44 chore(api): drop unused react related packages 2020-10-14 19:09:33 +02:00
e2ae6303d5 fix(learn): Implement map and filter (#39621)
* Added changes to implement-filter-method challenge as requested in reviews by Randall D and moT01

* Added changes requested for in code review
2020-10-14 10:33:43 -06:00
a71150074d fix(learn): preserve whitespace in the tool panel (#39973) 2020-10-14 21:40:15 +05:30
3106fe804f fix(client): unify client donations methods (#39562)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-10-14 15:53:26 +05:30