Commit Graph

27474 Commits

Author SHA1 Message Date
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
fd955635e5 feat(client): transform app url to editor (#41858) 2021-04-20 14:47:42 -07:00
6e481cd193 chore(deps): update babel monorepo to v7.13.16 2021-04-20 18:26:07 +00:00
560517eb33 chore(curriculum): remove redundant babel plugin (#41869) 2021-04-20 16:42:43 +00:00
de8aae602e fix(docs): Fixed typo in "free" (#41867) 2021-04-20 15:33:35 +00:00
5eacd3912b chore(deps): update dependency dotenv to v8 (#41690)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-20 17:21:45 +02:00
629fc2901f chore(root): remove unused dependencies (#41855) 2021-04-20 19:31:41 +05:30
5d46e2830a feat: add Docker build (#41187)
* feat(docker): build and use client and api images

* feat: always use .env

dotenv fails without throwing if the .env file is missing and never
overwrites variables if they already exist. As such, we can use it in
build pipelines.

* fix: remove quotes from env vars

dotenv normalises quoted and unquoted strings (X=x, X='x' and
X="x") all become the same .env object {X: 'x'}. However, Docker's
env_file does not (the three cases are distinct).  As a result, we
should use unquoted strings for consistency.

* fix: provide custom warning when .env is missing

* feat(docker): include client-config

* fix(docker): remove build packages from api image

* fix(docker): run script from correct dir

* fix(docker): correct permissions and dests

* fix(docker): consolidate run steps

This is standard practice, but did not have a noticable affect on the
image size

* fix(docker): clean the npm cache

Prior to this step the image was 1.11GB uncompressed and we got a modest
saving, 1.09GB after.

* refactor(docker): regexless COPY directives

* feat(docker): use alpine

This shrinks the image down to 259MB

* fix(docker): update build scripts

* fix: correct the server Dockerfile RUNs

* DEBUG: expose mysql port for seeding

* chore: update client Dockerfile's node versions

* fix: remove executable permissions from index.js

It's not a cli, so I don't think it needs to be executable.

* chore: update node and remove stale comments

* feat: use ENTRYPOINT + CMD to allow runtime config

* fix: add CURRICULUM_LOCALE arg

* feat: allow client port configuration

* feat: allow api port to be configured

* refactor: use unique variable names for ports

* fix: add default CLIENT_PORT

* refactor: clean up
2021-04-20 19:29:31 +05:30
0858f078e2 fix(curriculum): added 4th test to amb challenge (#41848)
* fix: added 5th test to amb challenge

* fix: added 4th test to amb challenge

* Fix: updated 4th amb test

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

Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com>
2021-04-20 15:05:46 +09:00
abe9b997cd fix(deps): pin dependency psl to 1.8.0 2021-04-19 19:24:12 +00:00
dbdc704271 fix(curriculum): give better instructions on alignment p-tags (#41859)
* Improve instructions

* Remove unneccessary line break

* Move empty line
2021-04-19 19:42:59 +02:00