Commit Graph

26971 Commits (97fcaa693f6896680e8ccc8eed20feee158c8105)

Author SHA1 Message Date
Mrugesh Mohapatra 1e4c5fd6f0 fix: update donate page text options 2021-01-31 12:15:35 +05:30
Nicholas Carrigan (he/him) 59173b346a fix(tools): Validate `curriculum_locale` (#40572)
Adds validation for the `CURRICULUM_LOCALE`
environment variable in the same way the
`CLIENT_LOCALE` value is validated.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
2021-01-31 12:15:35 +05:30
Kabindra Shrestha ac3d762bb5 fix(learn): split and simplified learn map (#39154) 2021-01-31 12:15:35 +05:30
Tom 48c97238fc fix: revert spanish translations (#40513) 2021-01-31 12:15:34 +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
Mrugesh Mohapatra a3b1b52cdd fix(i18n): pathPrefix for languages at subpath 2021-01-31 12:15:34 +05:30
Oliver Eyton-Williams ac6fc605ad refactor: clean up supportLangs refs 2021-01-31 12:15:34 +05:30
Oliver Eyton-Williams 24d9c94fe5 refactor: remove confusing abstraction 2021-01-31 12:15:34 +05:30
Oliver Eyton-Williams 7c4e0ec41e refactor: abstract out walk in getChallenges 2021-01-31 12:15:33 +05:30
Oliver Eyton-Williams 412938890a fix(api): use English slugs for all challenges 2021-01-31 12:15:33 +05:30
Mrugesh Mohapatra 28d3319ba7 feat: add redirects after authentication 2021-01-31 12:15:33 +05:30
Tom a6432ec561 fix(client): translation hydration (#40469)
* fix: translation hydration
2021-01-31 12:15:33 +05:30
Mrugesh Mohapatra ec5b250d13 feat: add scaffolding for chinese client 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] a60a887e63 chore(deps-dev): bump acorn from 8.0.4 to 8.0.5 in /curriculum
Bumps [acorn](https://github.com/acornjs/acorn) from 8.0.4 to 8.0.5.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/8.0.4...8.0.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-31 05:19:39 +00:00
Tom 0e96d2604e
fix: delete existing users before seeding db (#40423) 2021-01-30 11:13:52 +05:30
Nicholas Carrigan (he/him) 5d7173b124
chore(i8n,docs): processed translations (#40799)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-01-28 03:03:22 +05:30
Hernando Guzmán 3394a654bd
fix(learn): Correct syntax in the code example (#40811)
Closes #40810
2021-01-27 11:03:22 -08:00
Moses Chandramouli 4f4622dd21
chore: Copyright year from 2020 to 2021 in readme.md file (#40797) 2021-01-25 23:10:36 +05:30
Randell Dawson 2777fa3485
chore(docs) - Remove all but Spanish translations (#40789) 2021-01-25 18:01:16 +05:30
dependabot[bot] b48ec8adaa chore(deps): bump gatsby-plugin-manifest in /client
Bumps [gatsby-plugin-manifest](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-manifest) from 2.10.0 to 2.11.0.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-manifest/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-manifest@2.11.0/packages/gatsby-plugin-manifest)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-25 09:40:07 +00:00
dependabot[bot] 2eb9f48178 chore(deps): bump gatsby from 2.30.3 to 2.31.1 in /client
Bumps [gatsby](https://github.com/gatsbyjs/gatsby) from 2.30.3 to 2.31.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.30.3...gatsby@2.31.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-25 09:36:09 +00:00
dependabot[bot] b507767efa 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.8.0 to 2.9.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.9.0/packages/gatsby-plugin-create-client-paths)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-25 09:18:14 +00:00
dependabot[bot] 73218ec934 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.8.0 to 3.9.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.9.0/packages/gatsby-plugin-react-helmet)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-25 08:57:12 +00:00
dependabot[bot] 74847b4084 chore(deps): bump gatsby-plugin-advanced-sitemap in /client
Bumps [gatsby-plugin-advanced-sitemap](https://github.com/tryghost/gatsby-plugin-advanced-sitemap) from 1.5.6 to 1.5.7.
- [Release notes](https://github.com/tryghost/gatsby-plugin-advanced-sitemap/releases)
- [Commits](https://github.com/tryghost/gatsby-plugin-advanced-sitemap/compare/v1.5.6...v1.5.7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-25 08:38:47 +00:00
dependabot[bot] d5316456e2 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.9.1 to 2.10.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.10.0/packages/gatsby-source-filesystem)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-25 08:38:04 +00:00
dependabot[bot] 8a0c51d2a6 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.14.0 to 2.15.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.15.0/packages/gatsby-transformer-remark)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-25 05:56:00 +00:00
dependabot[bot] 74bfeccf2a chore(deps): bump react-reflex from 3.1.0 to 3.1.1 in /client
Bumps [react-reflex](https://github.com/leefsmp/Re-Flex) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/leefsmp/Re-Flex/releases)
- [Commits](https://github.com/leefsmp/Re-Flex/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-25 05:54:11 +00:00
dependabot[bot] 2559cdd736 chore(deps): bump enzyme-adapter-react-16 in /client
Bumps [enzyme-adapter-react-16](https://github.com/enzymejs/enzyme/tree/HEAD/packages/enzyme-adapter-react-16) from 1.15.5 to 1.15.6.
- [Release notes](https://github.com/enzymejs/enzyme/releases)
- [Changelog](https://github.com/enzymejs/enzyme/blob/master/CHANGELOG.md)
- [Commits](https://github.com/enzymejs/enzyme/commits/enzyme-adapter-react-16@1.15.6/packages/enzyme-adapter-react-16)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-25 05:51:12 +00:00
dependabot[bot] 11b471e6c0 chore(deps): bump sanitize-html from 2.3.0 to 2.3.1 in /client
Bumps [sanitize-html](https://github.com/apostrophecms/sanitize-html) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/apostrophecms/sanitize-html/releases)
- [Changelog](https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md)
- [Commits](https://github.com/apostrophecms/sanitize-html/compare/2.3.0...2.3.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-25 05:47:09 +00:00
dependabot[bot] 526efe8b8b chore(deps): bump react-instantsearch-dom from 6.8.2 to 6.8.3 in /client
Bumps [react-instantsearch-dom](https://github.com/algolia/react-instantsearch) from 6.8.2 to 6.8.3.
- [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.8.2...v6.8.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-25 05:44:10 +00:00
dependabot[bot] e13996d143 chore(deps): bump react-youtube from 7.13.0 to 7.13.1 in /client
Bumps [react-youtube](https://github.com/tjallingt/react-youtube) from 7.13.0 to 7.13.1.
- [Release notes](https://github.com/tjallingt/react-youtube/releases)
- [Changelog](https://github.com/tjallingt/react-youtube/blob/canary/release.config.js)
- [Commits](https://github.com/tjallingt/react-youtube/compare/v7.13.0...v7.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-25 05:37:56 +00:00
dependabot[bot] cedd1ea8e4 chore(deps): bump gatsby-remark-prismjs from 3.11.0 to 3.12.0 in /client
Bumps [gatsby-remark-prismjs](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-remark-prismjs) from 3.11.0 to 3.12.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.12.0/packages/gatsby-remark-prismjs)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-25 05:32:23 +00:00
dependabot[bot] fea073403a chore(deps): bump gatsby-cli from 2.17.1 to 2.18.0 in /client
Bumps [gatsby-cli](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-cli) from 2.17.1 to 2.18.0.
- [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.18.0/packages/gatsby-cli)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-25 05:25:31 +00:00
Randell Dawson 32e80aa351
fix(docs): Configure docs folder with Crowdin (#40776) 2021-01-25 08:39:57 +05:30
gikf d41630ee19
fix(learn): clarify test description for Use Rest Parameter with Function Parameter (#40725)
* fix: clarify test description

* fix: improve wording regarding rest parameters syntax

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

* fix: improve with better sounding wording

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

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-01-24 08:30:13 -08:00
Nicholas Carrigan (he/him) 96753ddca4
feat(docs): add notes about Crowdin quirks (#40758)
Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-01-22 18:49:10 +05:30
Mainak Debnath d5ad87d915
fix(learn): put test cases under --seed-- and remove them from the solution (#40755)
* fix: put test cases under --seed--

* fix: put test cases under --seed--
2021-01-21 18:26:06 -08:00
Shaun Hamilton ce3a20e552
fix(learn): change requirements for positive and negative lookaheads (#40570) 2021-01-21 15:35:19 -06:00
Lasse Jørgensen f2b1d7b147
fix(challenge): Assert arrays contain expected values (#40693) 2021-01-21 10:52:52 -08:00
Ilenia a38922536c
Adding language to code fences and pre to console logs (#40603)
* added languages to prismjs

* added language to code fences for python for everybody

* multiline pre to python for everybody questions

* multiline pre for data analysis with python

* multiline pre in numpy questions

* single line pre for python for everybody

* single line pre for data analysis with python

* single line pre for numpy

* Revert "multiline pre in numpy questions"

This reverts commit af1a02cdd3.

* fix unneded escaping

commit suggestions from code review

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

* Revert "single line pre for numpy"

This reverts commit 5f90981108.

* revert changes to snippet that have a language

* one last code fence to pre

* Revert "fix unneded escaping
"

This reverts commit 64c84a9213.

* Revert "single line pre for data analysis with python"

This reverts commit 3bccaff753.

* Revert "single line pre for python for everybody"

This reverts commit 03a5379062.

* remove unnecessary escape

Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com>
2021-01-21 12:12:42 -06:00
github-actions[bot] 392005154c
chore(i8n,learn): processed chinese translations (#40752)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-01-21 10:07:18 -08:00
Shaun Hamilton 5bfc6de78b
feat(docs): add newline formatting for notes tip (#40712)
* feat(docs): add newline formatting for notes tip

* clarify formatting

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-01-21 11:42:29 -06:00
Nicholas Carrigan (he/him) 8e62a243bb
fix(learn): Update demo links (#40575)
* fix(learn): Replace demo projects

Replaces the Heroku demo project links with the
.rocks demo projects that @moT01 provided.

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

* fix(learn): Use correct endpoint

Corrects the API endpoint for the image search
project.

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

* fix: user stories to align with project + backticks

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2021-01-21 11:09:35 -06:00
Durbatuluk1701 0a7aa59d51
fix(learn): Convert response testcase regex handles any variable name (#40568)
* Update convert response to JSON testcase

Testcase previously required that variable be named exactly "response". Changes will allow variable of any name to be used.
Example: res can now be used and tests still pass.

* Forgot the \ in front of )
2021-01-21 08:54:24 -08:00
matias-miller 8a9f3319c6
fix(learn): Fixed typos in count-backwards-with-a-for-loop.md (#40478)
* Spelling change in count-backwards-with-a-for-loop

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/count-backwards-with-a-for-loop.md

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

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2021-01-21 08:44:10 -08:00
Mukesh Gurpude a5dceb3e7e
Fixed error when changing the default order of css properties (#40525)
* Bug with psoitioning

Fixed bug with positioning of background-color` property for Selector `.heart::after`

* Trying new changes

* Update curriculum/challenges/english/01-responsive-web-design/applied-visual-design/create-a-more-complex-shape-using-css-and-html.md

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

* Tests passing

Check the regex matching at [Regex101](https://regex101.com/r/GU18ds/4)

* fixed typo

* applied suggestions

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-01-21 10:17:16 -06:00
Nicholas Carrigan (he/him) 7fef673f93
docs: Remove chinese files from sidebar (#40068) 2021-01-21 13:46:10 +05:30
Nicholas Carrigan (he/him) 062b1cd424
fix: replace h tags (#40750)
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2021-01-21 13:41:46 +05:30
Randell Dawson 83e3d93953
fix(learn): Remove strong syntax around code inline code (#40754) 2021-01-21 13:40:19 +05:30