Commit Graph

27438 Commits (283ed2d6cac7a893edf7c0ce096abc8ef41971af)

Author SHA1 Message Date
renovate[bot] 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
Renovate Bot 8bca96845c fix(deps): update dependency @babel/standalone to v7.13.17 2021-04-21 09:19:21 +00:00
Renovate Bot 8a4d945c7c fix(deps): update dependency gatsby to v3.3.1 2021-04-21 04:41:06 +00:00
Renovate Bot 2648e9938f fix(deps): update dependency validator to v13.6.0 2021-04-21 02:12:29 +00:00
Shaun Hamilton fd955635e5
feat(client): transform app url to editor (#41858) 2021-04-20 14:47:42 -07:00
Renovate Bot 6e481cd193 chore(deps): update babel monorepo to v7.13.16 2021-04-20 18:26:07 +00:00
Oliver Eyton-Williams 560517eb33
chore(curriculum): remove redundant babel plugin (#41869) 2021-04-20 16:42:43 +00:00
Aung Myat Min de8aae602e
fix(docs): Fixed typo in "free" (#41867) 2021-04-20 15:33:35 +00:00
renovate[bot] 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
Oliver Eyton-Williams 629fc2901f
chore(root): remove unused dependencies (#41855) 2021-04-20 19:31:41 +05:30
Oliver Eyton-Williams 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
Jonathan 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
Renovate Bot abe9b997cd fix(deps): pin dependency psl to 1.8.0 2021-04-19 19:24:12 +00:00
Glitchy-Tozier 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
camperbot 452f004dee
chore(i18n,curriculum): update translations (#41857) 2021-04-19 15:50:08 +02:00
renovate[bot] 2f736f7f8e
chore(deps): update dependency cypress to v7 (#41838)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-19 13:05:00 +05:30
Kyle Holmberg 02f232caf4
fix(curriculum): add additional test to telephone regex challenge (#41852) 2021-04-18 21:36:09 +01:00
gracewest333 90fe009374
feat(client): add placeholder text to forum posts (#41849) 2021-04-18 19:40:26 +03:00
Evgeny Klimenchenko 9057750727
fix(curriculum): Fix a type `in line` -> `inline` in basic css challenge (#41847) 2021-04-18 11:54:17 +02:00
Jonathan ca3d5d51d6
fix: wrong text in standardize times challenge (#41842) 2021-04-17 06:19:52 +02:00
Shaun Hamilton 4171277dc9
fix(curriculum): clarify instructions for ouput (#41839) 2021-04-16 20:33:58 +02:00
Shaun Hamilton 1ba88935b2
feat(curriculum): clarify Replit use of env files (#41840) 2021-04-16 14:31:43 +02:00
Mrugesh Mohapatra 87666a738d
chore: bump patch updates to api-server (#41833) 2021-04-16 11:50:04 +02:00
Ahmad Abdolsaheb cbf088595c
feat: add gap scripts for production and staging (#40807)
* feat: set gap

* feat: add gap script conditionally

* feat: add 2.16.2 script

* feat: add initial tests

* feat: add dev and chinese gap scripts

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-04-16 14:29:53 +05:30
Karen Blacktopp 422bded413
fix: remove quotation marks from 'Hi World' in Instructions (#41837) 2021-04-16 10:36:59 +02:00
Renovate Bot a30b337591 chore(deps): update dependency @testing-library/cypress to v7.0.6 2021-04-16 00:53:18 +00:00
Renovate Bot 42bb12ea65 fix(deps): update gatsby monorepo 2021-04-15 23:06:47 +00:00
Renovate Bot ebb3d9246a fix(deps): update dependency date-fns to v2.21.1 2021-04-15 20:28:37 +00:00
Renovate Bot 3a03cd42e4 chore(deps): update dependency eslint-plugin-prettier to v3.4.0 2021-04-15 16:18:42 +00:00
camperbot f17ae493b9
chore(i18n,curriculum): update translations (#41832) 2021-04-15 07:21:59 -07:00
Kristofer Koishigawa 986275a6bc
fix: update exercise tracker test endpoints and test text (#41786)
* fix: update exercise tracker test endpoints and test text

* Update curriculum/challenges/english/05-apis-and-microservices/apis-and-microservices-projects/exercise-tracker.md

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

* Update curriculum/challenges/english/05-apis-and-microservices/apis-and-microservices-projects/exercise-tracker.md

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

* Update curriculum/challenges/english/05-apis-and-microservices/apis-and-microservices-projects/exercise-tracker.md

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

* Update curriculum/challenges/english/05-apis-and-microservices/apis-and-microservices-projects/exercise-tracker.md

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

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-04-15 10:02:00 +05:30
Nicholas Carrigan (he/him) 70a28cc528
fix(tools): i18n schema linting (#41823) 2021-04-15 09:31:18 +05:30
Renovate Bot 5b4cb91a2a fix(deps): update dependency unist-util-remove to v2.1.0 2021-04-15 02:23:06 +00:00
Renovate Bot 934c25000c chore(deps): update dependency webpack to v5.33.2 2021-04-14 22:37:12 +00:00
Renovate Bot 51510b0668 fix(deps): update dependency date-fns to v2.21.0 2021-04-14 20:08:37 +00:00
Renovate Bot 445c27d637 fix(deps): update dependency typescript to v4.2.4 2021-04-14 16:43:55 +00:00
Przemyslaw Karczmarczyk 4901b34670
fix: typo in a correct answer (#41819) 2021-04-14 16:37:56 +02:00
camperbot 11890b098f
chore(i18n,docs): processed translations (#41820) 2021-04-14 15:40:32 +02:00
camperbot 3c6b7cef32
chore(i18n,curriculum): processed translations (#41821) 2021-04-14 15:28:02 +02:00
Renovate Bot a50650ad19 fix(deps): update dependency react-i18next to v11.8.13 2021-04-14 11:16:40 +00:00
Renovate Bot 9d920c2df5 fix(deps): update dependency date-fns to v2.20.3 2021-04-14 08:46:27 +00:00
Renovate Bot 46b46ad1a9 fix(deps): update dependency @actions/core to v1.2.7 2021-04-14 04:04:12 +00:00
Renovate Bot 97fe754b60 chore(deps): update dependency webpack to v5.32.0 2021-04-14 01:02:45 +00:00
Renovate Bot 8dd35693ff chore(deps): update dependency eslint-config-prettier to v8.2.0 2021-04-13 22:45:28 +00:00
Chinmay Kunkikar 50db7c557a
fix(curriculum): specify id attribute in the instructions (#41716)
* fix(curriculum): specify id attribute in the instructions

* Update curriculum/challenges/english/03-front-end-libraries/jquery/remove-an-element-using-jquery.md

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

Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com>
2021-04-13 22:16:48 +01:00
Renovate Bot 193a5539dc chore(deps): update dependency mongodb to v3.6.6 2021-04-13 19:30:10 +00:00
gikf e180fc21a6
fix(curriculum): rework Problem Euler 65 (#41790)
* fix: rework challenge to use argument in function

* fix: add solution

* fix: missing backticks
2021-04-13 11:32:05 -05:00
camperbot 81dea15778
chore(i18n,curriculum): update translations (#41801) 2021-04-13 07:48:32 -07:00
Hassaan Pasha 9ce5a09593
fix (client): added editor refs to all the instances of Editor to enable hotkey focus (#41757) 2021-04-13 13:29:41 +02:00
Kristofer Koishigawa 1958d116d0
fix: update url shortener test endpoints and test text (#41784) 2021-04-13 13:28:27 +02:00