Commit Graph

27249 Commits

Author SHA1 Message Date
0c28a2c755 fix: update notification bar z-index (#41160)
* fix: update notification bar z-index

* fix: update notification bar z-index to 100

* fix: update z-index to 100 in flash.css
2021-02-22 13:12:24 +03:00
156f47b000 fix: only log errors when challenges update (#41214)
* fix: only log errors when challenges update

* refactor: handle error first

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-02-22 15:12:36 +05:30
5090ea66c3 chore: update npm run scripts (#41221) 2021-02-22 09:51:17 +01:00
ae143bd378 chore(deps): bump lodash from 4.17.20 to 4.17.21 in /client
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-22 08:50:11 +00:00
c077ffe4b9 feat(api): decouple api from curriculum (#40703) 2021-02-22 12:23:59 +05:30
f4bbe3f34c fix(learn): Updated code blocks to help with translation on two challenges (#41217) 2021-02-22 11:21:59 +05:30
5189655aec chore(deps): bump gatsby from 2.32.3 to 2.32.4 in /client
Bumps [gatsby](https://github.com/gatsbyjs/gatsby) from 2.32.3 to 2.32.4.
- [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.32.3...gatsby@2.32.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-22 05:44:21 +00:00
3ccc2947fb chore(deps): bump @babel/standalone from 7.12.16 to 7.12.18 in /client
Bumps [@babel/standalone](https://github.com/babel/babel/tree/HEAD/packages/babel-standalone) from 7.12.16 to 7.12.18.
- [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.18/packages/babel-standalone)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-22 05:27:57 +00:00
04c2f4e620 fix: parse ::directives correctly (#41186) 2021-02-22 09:14:12 +05:30
b12360d4a8 Removed the hint Fixes #41192 (#41215)
* Removed the hint Fixes #41192

* Removed the blank line as suggested
2021-02-21 13:36:14 -07:00
fcbd3775b0 chore(i8n,client): processed translations (#41198)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-02-21 08:39:51 -08:00
a0a7598c44 chore(i8n,learn): processed translations (#41197)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-02-21 07:49:16 -08:00
fd7b63c8d7 fix: no translation action (#41212)
* fix: no translation action body quotes

* refactor: more canonical no translation script
2021-02-21 07:24:38 -08:00
113ad71889 chore(deps-dev): bump @babel/core from 7.12.16 to 7.12.17 in /api-server
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.12.16 to 7.12.17.
- [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.17/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-21 06:21:52 +00:00
aa615763af fixed tests for link to external pages challenge (#41191)
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2021-02-21 11:46:00 +05:30
e0edae94bd chore(i8n,docs): processed translations (#41196)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-02-21 11:44:29 +05:30
d7fee838d7 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.12.16 to 7.12.17.
- [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.17/packages/babel-plugin-proposal-optional-chaining)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-21 06:07:59 +00:00
a3f00d5436 chore(deps-dev): bump @babel/cli from 7.12.16 to 7.12.17 in /api-server
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.12.16 to 7.12.17.
- [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.17/packages/babel-cli)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-21 05:57:41 +00:00
a6032ed784 chore(deps-dev): bump lodash from 4.17.20 to 4.17.21 in /curriculum
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-21 05:46:35 +00:00
5b9b792652 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.16 to 7.12.17.
- [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.17/packages/babel-preset-env)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-21 05:46:20 +00:00
d847ba5a0c chore(deps): bump lodash from 4.17.20 to 4.17.21 in /api-server
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-21 05:46:07 +00:00
d014b2c166 chore(deps-dev): bump @babel/node from 7.12.16 to 7.12.17 in /api-server
Bumps [@babel/node](https://github.com/babel/babel/tree/HEAD/packages/babel-node) from 7.12.16 to 7.12.17.
- [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.17/packages/babel-node)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-21 05:32:28 +00:00
a95ed086e8 chore(deps-dev): bump @babel/core from 7.12.16 to 7.12.17 in /curriculum
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.12.16 to 7.12.17.
- [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.17/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-21 05:24:34 +00:00
33977722ff 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.16 to 7.12.17.
- [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.17/packages/babel-preset-env)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-21 05:23:25 +00:00
531c3f9997 feat(learn): add project tests (#41183) 2021-02-21 10:37:02 +05:30
037cd95d3d fix: revert suggestions to workflow (#41199)
* fix: revert suggestions to workflow

* fix: one more await
2021-02-20 16:33:35 -07:00
219339b2ce fix(learn): rework Project Euler - Problem 58 (#41188) 2021-02-20 12:06:32 +05:30
f5a905b7c2 fix(learn): unmangle challenge description (#41182) 2021-02-20 12:04:38 +05:30
70c4d82068 fix(learn): correct test result (#41068) 2021-02-20 12:04:12 +05:30
c8db838754 fix: correct function call in test description (#40949) 2021-02-20 12:03:54 +05:30
a91444d3d4 fix: correct function call in test description (#40944) 2021-02-20 12:03:33 +05:30
be655b4742 fix(docs): remove schema mention (#41189)
We no longer use schemas to validate the translation json objects,
instead using the English files as the single source of truth.
2021-02-20 12:02:07 +05:30
d70e33c1d2 feat(i18n): url validation translations (#41190) 2021-02-20 10:32:44 +05:30
b2ec1a3ef4 feat(client): add common links to formValidators regex (#41094)
* feat(client): add repl join link to formValidators regex

* add fCCRegex to validators
2021-02-19 12:43:54 +01:00
9312060870 chore(deps): bump react-i18next from 11.8.6 to 11.8.7 in /client
Bumps [react-i18next](https://github.com/i18next/react-i18next) from 11.8.6 to 11.8.7.
- [Release notes](https://github.com/i18next/react-i18next/releases)
- [Changelog](https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/react-i18next/compare/v11.8.6...v11.8.7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-19 04:50:10 +00:00
e64784c3fb chore(deps): bump i18next from 19.8.7 to 19.8.9 in /client
Bumps [i18next](https://github.com/i18next/i18next) from 19.8.7 to 19.8.9.
- [Release notes](https://github.com/i18next/i18next/releases)
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next/compare/v19.8.7...v19.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-19 04:38:10 +00:00
f08174b5b1 fix(learn): Remove unnecessary inline code tag in challenge (#41177)
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2021-02-19 09:44:50 +05:30
e8cfefd1bb fix(tools): update default branch name to main (#41178) 2021-02-18 12:41:50 -08:00
950841c25e fix(tools): no i18n workflow (#41157)
* fix(tools): adjust no-translate workflow

Modifies the no-prs-to-translation workflow to target our new `main`
branch, and verify that the PR comes from a forked repository.

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-02-18 17:04:03 +01:00
fad168b465 fix(learn): fix some code tags, capitalization and punctuation in challenge (#41161)
* fix some code tags, capitalization and punctuation

Note: The reserved word in JavaScript is "boolean", so I think it is appropriate to use it like this inside the code tags.

* Remove code tags and capitalize first letter

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

* capitalize letter and replace slash

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

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2021-02-18 08:45:12 -07:00
7f8e0592c8 fix(tools): remove gitpod checks from the PR (#41170) 2021-02-18 21:02:49 +05:30
2c1280af65 fix(learn): Improve the clarity on a challenge sentence (#41154)
* Improve the clarity on a challenge sentence

* add string type and remove double quotes

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

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2021-02-18 08:29:31 -07:00
d7d25f502d fix(client): Don't truncate challenge titles (#41124)
* Add wrap to challenge title

* Remove max-height from challenge title
2021-02-18 07:47:16 -06:00
51ec477329 chore: pin mongodb for warnings - again (#41163) 2021-02-18 16:01:22 +05:30
b57e268329 fix(client): add tests for layoutSelector (#41047) 2021-02-18 10:41:05 +05:30
e7aa1c5d62 refactor: use the English json as the schema (#41146)
Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
2021-02-18 10:38:45 +05:30
762775889e fix: rework Project Euler - Problem 57 (#40926)
* fix: rework challenge to use argument in function

* fix: add solution

* fix: correct variable name
2021-02-17 11:58:18 -08:00
1fe1371b16 add missing inline-code block (#41153) 2021-02-17 11:24:53 -08:00
10aee18748 Remove broken twitter links (#41152) 2021-02-17 12:03:57 -07:00
b45406ec9d fix(learn): Remove repeated definition tag in challenge (#41151) 2021-02-17 23:01:42 +05:30