Commit Graph

27784 Commits

Author SHA1 Message Date
9c28a2300a fix(curriculum): look for inlined filter function (#41953) 2021-04-30 20:55:16 +01:00
2eac236e39 fix: remove JS comments revisited (#41952)
* fix: restrict removeJSComments to test-evaluator

To prevent @babel from being included everywhere, this only calls
removeJSComments inside the test-evaluator

* test: add removeJSComments test
2021-04-30 22:30:06 +03:00
341fe76f0f chore: roll back CSRF changes for the weekend
This reverts commit 00193858a0.
2021-04-30 23:57:28 +05:30
00193858a0 fix: generate csrf tokens on server not client (#41908)
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-04-30 09:42:26 +03:00
968c6f7700 feat(Cypress): Add test for email change (#41946)
* feat(Cypress): Add test for email change

* fix should be possible to save new email
2021-04-29 13:33:21 -07:00
2762d4b8e5 chore(i18n,curriculum): update translations (#41945) 2021-04-29 08:43:46 -07:00
3b056aa7b4 chore(replit): use correct brand name across codebase (#41941)
* replace repl.it with replit.com in the English version

Replace repl.it to replit.com in the English version.  Chinese and Spanish versions have the same issue.

* Updated the repl.it to replit.com or Replit

I changed the text from replit.com to Replit and added the changes to the files outside the curriculum folder.

* Forgot removing one .com.

There was on Replit.com that I missed when I reviewed the files.

* Resolve conflicts

I got an unable to auto merge so resolving conflicts and trying again.

* try committing conflicts again

* Trying the conflicts again

* chore: fix typo in personal library

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

Co-authored-by: gemmaf98 <44875585+gemmaf98@users.noreply.github.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com>
2021-04-29 11:13:38 +01:00
9be2fb9a10 fix: use lodash-es in the client (#41931) 2021-04-28 16:11:20 -05:00
db369fbed1 fix(client): remove JS comments from user code for tests (#41873)
* Removes comments in js challanges by default

* fix local-scope-and-functions test regex

* fix all languages

* revert language changes

* removed unnecessary removeJSComments from challenges

* fix challanges in other languages

* removed removeJSComments from all challanges
2021-04-28 10:18:54 -05:00
ebe8f99345 test(e2e): re-enable output tests (#41897)
This time visiting the page in the 'before' stage, which seems to help
with the ChunkLoadError
2021-04-28 09:04:07 -05:00
0296abbea6 chore(i18n,curriculum): processed translations (#41939) 2021-04-28 18:43:20 +05:30
14fd7b0006 chore(i18n,docs): processed translations (#41938) 2021-04-28 18:42:39 +05:30
20cbfce484 chore(client) remove contextual navigation (#41919) 2021-04-28 08:10:43 -05:00
a0463d2c99 fix: insert missing forward-slash in instructions (#41934)
inserted forward-slash in closing 'sup' tag in instructions section
2021-04-28 08:07:43 +02:00
d8ca6db29e fix(curriculum): replace repl.it with replit.com (#41933)
Replace repl.it to replit.com in the English version.  Chinese and Spanish versions have the same issue.

Co-authored-by: gemmaf98 <44875585+gemmaf98@users.noreply.github.com>
2021-04-27 21:30:04 +01:00
55a1b2a5bf fix(curriculum): allow adnode regex test for multi-line (#41929) 2021-04-28 00:07:12 +05:30
315bfb07f1 fix(curriculum): remove inaccessible fields from anon test (#41932) 2021-04-28 00:05:23 +05:30
17a7a84b48 fix(tools): update helper scripts (#41923) 2021-04-27 11:29:49 -07:00
300ff756ce fix(api): stop ignored files (tests) being copied (#41926) 2021-04-27 10:40:01 -07:00
4d83779b2e fix(curriculum): intellisense suggenstion box should not be visible (#41918) 2021-04-27 09:27:53 -07:00
9bc80ce293 chore(i18n,curriculum): processed translations (#41928) 2021-04-27 17:16:44 +02:00
Tom
093325abdf fix(curriculum): tabindex order lesson (#41901)
Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
2021-04-27 00:55:28 +05:30
e45689d495 fix(curriculum): HTML-challenges: links are inconsistent. (#41900)
Co-authored-by: Ilenia <nethleen@gmail.com>
2021-04-26 22:34:53 +05:30
6f744e063e chore(i18n,curriculum): update translations (#41917) 2021-04-24 17:53:08 +02:00
Tom
6be76738b0 fix(curriculum): import a google font lesson regex test (#41907) 2021-04-24 12:43:55 +02:00
Tom
e79e212912 fix(curriculum): helper function regex s flag causing error (#41910) 2021-04-23 22:59:33 +02:00
6ae186a8cf fix(curriculum): record collection challenge - variable names shouldn't be keywords (#41904)
* style - update record collection challenge, variables shouldn't be name after keywords

* minor - typo fix

* Apply suggestions from code review

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

Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com>
2021-04-23 21:51:41 +02:00
3fbe1ebc05 fix(curriculum): remove stale video from nest anchor element (#41914) 2021-04-24 02:47:35 +07:00
d3f59e6d5d fix(dev): rename superBlock with v7 to certSlug (#41738)
* fix(dev): rename superBlock with v7 to slug

* improve name slug -> certSlug

* superBlockTitle -> superBlock

* correct teeny, tiny mistake

* fix: correct slug to certSlug in certLocation

* refactor currentCerts

* rename showCert cert -> certSlug and various
2021-04-23 22:29:17 +03:00
99cecfb581 fix(curriculum): check if count gets incremented by function (#41856)
* fix(curriculum): check if count gets incremented by function

* update text

* Update regex to look for whitespace

* look for function globally

* Apply suggestions from gikf

Co-authored-by: gikf <60067306+gikf@users.noreply.github.com>

Co-authored-by: gikf <60067306+gikf@users.noreply.github.com>
2021-04-23 11:01:54 -05:00
81e84542e4 chore(i18n,curriculum): update translations (#41909) 2021-04-23 07:35:27 -07:00
Tom
a329eec0a8 fix(curriculum): sanitize css comments on typography lesson (#41902) 2021-04-23 16:24:50 +02:00
e36ae5d80f fix(curriculum): fluid containers test not specific (#41866)
* fix: fluid containers test not specific

* fix: fluid containers test not specific

* fix: update fluid containers test not specific

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

Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com>
2021-04-23 15:14:58 +01:00
41a7768ca1 chore(deps): update dependency @testing-library/jest-dom to v5.12.0 2021-04-22 19:21:13 +00:00
71faba15da fix(e2e): wait for next challenge render (#41888)
* test: wait for next challenge render

* test: confirm URL has changed

* test: stop trying to go to next challenge

* test: increase no. of retries due to flakiness
2021-04-22 21:53:55 +05:30
9e992a32a2 chore: update issue templates (#41892)
* chore: update issue templates

* chore: 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>
2021-04-22 10:14:35 -05:00
bc46c683ad fix(GitPod): add PR comments back to config
GitPod says they have rolled out a fix - trying it out. Will revert if this doesn't work
2021-04-22 19:54:15 +05:30
824d5f9fdf chore(deps): update actions/github-script action to v4 (#41885)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-22 19:33:08 +05:30
96e8dbc58f fix(client): replace lookbehind in transformEditorLink (#41889) 2021-04-22 19:06:33 +05:30
b439ae7e34 fix: add universalify to lock (#41887) 2021-04-22 15:22:40 +05:30
09b6b6fa0d chore(deps): update dependency jsdom to v16 (#41709)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-22 11:44:02 +03:00
669844527c chore: remove unused code (#41878) 2021-04-22 11:36:56 +03:00
9c86ed508c fix(deps): update dependency micromark-extension-gfm-table to v0.4.3 (#41883)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-22 12:28:47 +05:30
ec761dbdfa fix(curriculum): add target in challeges link (#41876) 2021-04-22 11:34:23 +07:00
ec7224fb65 chore(deps): update dependency webpack to v5.35.0 2021-04-21 18:00:24 +00:00
1880ca05d1 chore(i18n,docs): update translations (#41880) 2021-04-21 07:29:24 -07:00
283ed2d6ca fix(deps): update dependency micromark-extension-gfm-strikethrough to v0.6.5 (#41661)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-21 18:54:56 +05:30
8bca96845c fix(deps): update dependency @babel/standalone to v7.13.17 2021-04-21 09:19:21 +00:00
8a4d945c7c fix(deps): update dependency gatsby to v3.3.1 2021-04-21 04:41:06 +00:00
2648e9938f fix(deps): update dependency validator to v13.6.0 2021-04-21 02:12:29 +00:00