Commit Graph

28273 Commits

Author SHA1 Message Date
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
camperbot
ce1811bfe2 chore(i18n,curriculum): update translations (#42362) 2021-06-04 08:07:40 -07:00
Oliver Eyton-Williams
8290ad0bac fix: force mocha to exit when 0 tests (#42357)
Otherwise a command like

npm run test:curriculum -- -g 'Not a real title'

will spin forever
2021-06-04 14:15:00 +02:00
renovate[bot]
00e5440882 chore(deps): update dependency dotenv to v10 (#42306)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-04 13:08:21 +02:00
Kristofer Koishigawa
e82f5f4425 feat: update titles for certification pages (#42252)
* feat: update titles for certification pages

* fix: update titles in Cypress tests

* fix: change "certificate" to "certification" in intro-page.js test file

* fix: prevent adding "Certification" to title for interview prep, make variable name more clear

* feat: add test for coding interview prep page title
2021-06-04 12:04:02 +02:00
renovate[bot]
fa594cf7f5 chore(deps): update dependency @testing-library/jest-dom to v5.13.0 (#42351)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-04 14:20:50 +05:30
Prasanna Venkatesh T S
b5e228fc92 fix(curriculum): change projects hint article links (#42339)
What?
Make "Get a Hint" links of some projects to point to their
corresponding forum topics.
Ref: https://github.com/freeCodeCamp/freeCodeCamp/issues/40472#issuecomment-850496017

How?
Set `forumTopicId` in the front matter of the project files.

Closes #40472
2021-06-04 09:02:46 +02:00
gikf
401d42bdfc fix(curriculum): rework Project Euler 32 (#42342)
* fix: rework challenge to use argument in function

* fix: change solution to allow using argument
2021-06-04 08:47:56 +02:00
Nicholas Carrigan (he/him)
b95886a2e2 docs: test translations locally (#42352)
* docs: test translations locally

Brief documentation on enabling a new language in the codebase.

* fix(docs): apply review suggestions

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

* fix(docs): move sidebar link

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

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-06-03 22:24:37 +01:00
Oliver Eyton-Williams
1fde5897fc fix(curriculum): remove helpRoom and fileName (#42268)
* fix(curriculum): remove helpRoom and fileName

Neither are used any more.

* fix: remove fileName form cert meta.jsons
2021-06-04 00:15:01 +05:30
Ramón Huidobro
ed4e591ffc docs: minor wording improvements (#42350)
- Added a link to the local setup guide
- Tightened language around git version verification
- Reordered some wording to make it clearer that Docker can be used multiple types of databases
- Added "the" for flow
2021-06-03 17:21:53 +00:00
renovate[bot]
e13e681cfd chore(deps): update dependency tailwindcss to v2.1.4 (#42333)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-03 22:42:56 +05:30
renovate[bot]
7c8d65174d fix(deps): pin dependencies (#42345)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-03 22:34:24 +05:30
Ahmad Abdolsaheb
06294afdd3 fix(client): remove prism from app chunk (#42230)
* remove-prisim-from-app-chunk

* Update client/src/components/profile/components/TimeLine.js

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

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-06-03 19:55:21 +05:30
Oliver Eyton-Williams
b2539f330d chore: clean up dependencies (#42329) 2021-06-03 19:20:52 +05:30
camperbot
b60324ff55 chore(i18n,docs): update translations (#42348) 2021-06-03 18:57:47 +05:30
camperbot
814faaf82d chore(i18n,curriculum): update translations (#42349) 2021-06-03 18:51:47 +05:30
Shaun Hamilton
24be225fa4 feat(client): refactor propTypes to TS types (#42278) 2021-06-03 14:23:46 +03:00
Dripcoding
232469fc58 docs: add set up code editor docs for intellij (#42344) 2021-06-03 10:59:51 +01:00
nayanadasgupta
f5eb0d55fb fix(curriculum): add element to create-a-stack tests (#42326)
* Adding more than one stack item to the stack tests for #42322

* fix(curriculum): improved peek, pop and clear tests

tests that peek does not remove top element and pop does remove top element and addded an element to the stack for the clear test
2021-06-03 09:01:34 +02:00
gikf
f559f18747 fix(curriculum): rework Project Euler 73 (#42300)
* fix: rework challenge to use argument in function

* fix: add solution

* fix: use MathJax to improve math notation look
2021-06-03 14:00:28 +09:00
Renovate Bot
9f48f0f644 chore(deps): update dependency execa to v5.1.0 2021-06-02 22:06:53 +00:00