Commit Graph

27844 Commits (9beb788d7b071ca2c99fad5114f6269345f7e0de)

Author SHA1 Message Date
Oliver Eyton-Williams 9beb788d7b
chore: group together monaco-editor and plugin (#42443)
This should get renovate to create PRs where both are modified.
2021-06-12 13:11:21 +05:30
alirezaghey 2d450bd4e6
fix(curriculum): correct small english typo (#42447) 2021-06-11 15:59:36 -07:00
gikf f0375198df
fix(curriculum): rework Project Euler 56 (#42364)
* fix: rework challenge to use argument in function

* fix: add solution

* fix: use MathJax to improve look of math notation
2021-06-11 13:22:54 -05:00
gikf ea7683ac36
fix(curriculum): rework Project Euler 98 (#42423)
* fix: rework challenge to use argument in function

* fix: add solution

* fix: use MathJax to improve math notation
2021-06-11 12:40:13 -05:00
gikf bc9e8a69de
fix(client): display legacy certs like current ones (#42038)
* fix: display legacy certs like the current ones

* fix: link projects in legacy certs to project pages

* fix: update tests to changed legacy cert display

* fix: update tests for removed legacy certs forms

* fix: display legacy certs like the current ones

* fix: submit projects for cert on projects pages

* fix: remove legacy certs form submitting handling

* fix: move claiming cert setup before both tests

* fix: remove legacy cert update props and actions

* fix: remove legacy cert updates from api

* fix: correct merge conflict
2021-06-11 17:06:46 +01:00
Oliver Eyton-Williams c6aa6ddbcd
fix: get showUpcomingChange from env.json (#42440) 2021-06-11 16:40:37 +02:00
Shaun Hamilton af2a7658b4
feat(client): remove whitespace from calculated values (#42400)
* feat(client?): remove whitespace for calculated values

* feat(client): remove whitespace from styledeclaration

* do not automatically strip

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

* fix: include all properties of CSSStyleDeclaration

* fix test for getPropVal

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-06-10 14:59:02 -07:00
Oliver Eyton-Williams c7882fed9b
fix: use more memory for gatsby develop (#42433) 2021-06-10 22:39:31 +05:30
camperbot 9d4b3a339b
chore(i18n,curriculum): update translations (#42430) 2021-06-10 17:04:45 +02:00
camperbot 121b92e2dd
chore(i18n,docs): update translations (#42429) 2021-06-10 17:03:49 +02:00
Beau Carnes df4c0ef8f6
fix(curriculum): Update data analysis slides and question for first section (#42418)
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-06-10 08:16:52 -06:00
Oliver Eyton-Williams 65786b6929
fix: control CodeSee via .env variable (#42428) 2021-06-10 18:38:14 +05:30
renovate[bot] 49656662a4
chore(deps): update babel monorepo to v7.14.5 (#42425)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-10 14:13:07 +05:30
Oliver Eyton-Williams 87830f3a9c
docs: add helpers to contribute docs (#42417)
* docs: add helpers to contribute docs

* chore: remove helper script readme

* Update docs/how-to-work-on-practice-projects.md

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

* Update docs/how-to-work-on-practice-projects.md

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

* Update docs/how-to-work-on-practice-projects.md

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-06-10 14:11:11 +05:30
renovate[bot] 3de01083a4
chore(deps): update dependency postcss to v8.3.1 (#42426)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-10 12:24:36 +05:30
renovate[bot] 9a74b5fa4d
fix(deps): update dependency react-instantsearch-dom to v6.11.1 (#42416)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-10 11:34:16 +05:30
renovate[bot] b485d85726
chore(deps): update dependency @codesee/babel-plugin-instrument to v0.33.4 (#42422)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-10 11:31:51 +05:30
Prashant 205be3db81
fix(client): Insufficient color contrast on highlighted code block (#42415)
Co-authored-by: PrashantSakre <prashantsakre@Prashants-mac-mini.local>
2021-06-10 10:56:35 +05:30
renovate[bot] f0eaaadcc1
chore(deps): update dependency @codesee/tracker to v0.33.4 (#42420)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-10 00:27:38 +05:30
renovate[bot] 91b54278b6
chore(deps): pin dependencies (#42419)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-09 22:18:09 +05:30
Oliver Eyton-Williams 63156dffee
CodeSee take 2 (#42330)
* Adds CodeSee developer tooling to FreeCodeCamp client

CodeSee is a continuous code understanding platform,
meant to help developers when diving into a codebase.

This is an alpha version, which enables FCC contributors
to create and explore recordings of code execution on the
front-end. These recordings are meant to help orient a
developer to an unfamiliar part of the codebase, or help
diagnose when behavior is not matching our mental model.

When running in development, the client will now display
a small, purple CodeSee icon in the browser. Clicking this
icon starts (then stops) a new recording.

* chore(deps): update to @codesee/latest

* feat: switch to CodeSee hosted

* chore(deps): add process to root

I couldn't pin down what, exactly, but something in the client depends
on safer-buffer from the root, which tries to find process/browser, so
it needs installing here too.

Co-authored-by: Joshua Leven <josh@codesee.io>
2021-06-09 21:19:04 +05:30
renovate[bot] e8f4285f9b
chore(deps): update dependency normalize-url to 4.5.1 [security] (#42414)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-09 11:59:58 +05:30
renovate[bot] f11dfe8203
chore(deps): pin dependencies (#42413)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-09 00:02:36 +02:00
Oliver Eyton-Williams bd4d46915a
feat(curriculum): add project creation tool (#42410)
* refactor: extract help category map as JSON

* refactor: extract block names as json

* feat: add create-project script

* fix: correct case for tsconfig target

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-06-09 00:57:45 +05:30
renovate[bot] bd88d9f7ce
fix(deps): update gatsby monorepo (#42412)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-09 00:42:50 +05:30
renovate[bot] a13d6b8be9
chore(deps): pin dependencies (#42409)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-08 23:48:39 +05:30
Sem Bauke a53b235bd8
fix: multi editor bottom cut off (#42375) 2021-06-08 18:43:21 +02:00
Oliver Eyton-Williams c69a1cb483
test: enable testing for upcoming challenges (#42360)
* test: enable testing for upcoming challenges

* fix: enable SHOW_UPCOMING_CHANGES during test

* Revert "fix: enable SHOW_UPCOMING_CHANGES during test"

This reverts commit f1bd00fdba.

* Revert "test: enable testing for upcoming challenges"

This reverts commit d0409fef66.

* feat: test upcoming changes in separate job
2021-06-08 16:57:27 +01:00
Mrugesh Mohapatra 2db594d318 chore: apply npm audit:fix 2021-06-08 21:16:56 +05:30
Mrugesh Mohapatra c243a8b62f chore(client): update deps - minor & patch 2021-06-08 21:16:56 +05:30
Mrugesh Mohapatra 3a961199fa chore(root): update deps - minor & patch 2021-06-08 21:16:56 +05:30
camperbot d81a451f4b
chore(i18n,curriculum): update translations (#42407) 2021-06-08 16:52:55 +02:00
Oliver Eyton-Williams 3875c6e619
fix: use env.json in both client and server (#42359) 2021-06-08 13:12:44 +01:00
renovate[bot] 104cbc596e
chore(deps): update dependency start-server-and-test to v1.12.5 (#42355)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-08 15:04:57 +05:30
renovate[bot] e0a5fe1802
chore(deps): update dependency eslint to v7.28.0 (#42371)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-08 14:22:18 +05:30
DySQRD 6b60384160
fix(curriculum): correct blank field representation (#42253)
* Typo in Rosetta Code Challenge : "Sudoku"

It is stated blank fields are represented by 0s when they are actually -1s.

* Update curriculum/challenges/english/10-coding-interview-prep/rosetta-code/sudoku.md

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

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: gikf <60067306+gikf@users.noreply.github.com>
2021-06-08 10:50:00 +02:00
renovate[bot] 0020258e2e
fix(deps): update dependency @actions/core to v1.4.0 (#42399)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-08 14:05:01 +05:30
Ilenia 28add4712a
Remove backticks from around data types to ease translations (#42403) 2021-06-08 14:03:16 +05:30
Eric Leung 7c8b0fcf08
chore: separate News articles issue template (#42372)
Updates to News articles are resolved by sending emails to the editorial
team. This commit reflects this decision in creating a distinct link
about News articles and removing mention of it in an existing issue.

Mail link was created using https://mailxto.com/.
2021-06-08 08:25:50 +02:00
gikf 99834ac1ef
fix(curriculum): rework Project Euler 43 (#42347)
Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
2021-06-08 11:43:07 +05:30
Shaun Hamilton 35b18829d1
fix(curriculum): use mediaText for CSSHelp (#42393)
* fix(curriculum): use mediaText in CSSHelp

prevent selection of style elements with class or media attributes
this should avoid picking up some browser extensions
2021-06-07 23:33:58 +02:00
Mallikarjun Ople 40401b0792
fix(curriculum): updated instructions on inline-styles (#42385) 2021-06-07 12:52:51 +01:00
Huyen Nguyen fdf1de38e5
feat(tools): setup react testing library in ui-components (#42221)
* feat(tools): setup react testing library in ui-components

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2021-06-07 09:01:20 +02:00
camperbot 2d9c864b4b
chore(i18n,curriculum): update translations (#42377) 2021-06-06 08:19:07 -07:00
Oliver Eyton-Williams 440169a7cb
feat: conditionally include files (#42205)
Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com>
2021-06-05 11:15:13 -07:00
Oliver Eyton-Williams 7b65909522
feat: make api only return json (#42320)
* fix(api): return json for delete + reset-progress

* refactor(api): make .json calls explicit

These .send() calls had objects as arguments. Using .json() makes it
explicit without changing behaviour.

* fix: return json or redirectWithFlash

We should never be getting requests for plain text, but if we do they
should be redirected back to the client.

* fix: prioritize JSON responses

If accepted, respond with JSON.  If not, it's probably a bad request.
2021-06-05 13:20:40 +01:00
gikf 989347387f
fix(curriculum): rework Project Euler 38 (#42321)
* fix: rework challenge to use argument in function

* fix: update solution to challenge changes

* fix: use MathJax to improve look of math notation
2021-06-05 10:16:40 +02:00
Tom 2ac98e39a2
fix(curriculum): allow any response status for error response (#41906)
* fix(curriculum): allow any response status for error response

* Update curriculum/challenges/english/05-apis-and-microservices/apis-and-microservices-projects/timestamp-microservice.md

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

* Update curriculum/challenges/english/05-apis-and-microservices/apis-and-microservices-projects/timestamp-microservice.md

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

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-06-05 09:13:18 +01:00
Oliver Eyton-Williams 3f45f778b8
chore: remove unused fetch-and-cache.js (#42358) 2021-06-04 08:17:16 -07:00
camperbot 91901b822e
chore(i18n,docs): update translations (#42361) 2021-06-04 08:08:27 -07:00