Commit Graph

27814 Commits

Author SHA1 Message Date
3a961199fa chore(root): update deps - minor & patch 2021-06-08 21:16:56 +05:30
d81a451f4b chore(i18n,curriculum): update translations (#42407) 2021-06-08 16:52:55 +02:00
3875c6e619 fix: use env.json in both client and server (#42359) 2021-06-08 13:12:44 +01:00
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
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
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
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
28add4712a Remove backticks from around data types to ease translations (#42403) 2021-06-08 14:03:16 +05:30
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
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
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
40401b0792 fix(curriculum): updated instructions on inline-styles (#42385) 2021-06-07 12:52:51 +01:00
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
2d9c864b4b chore(i18n,curriculum): update translations (#42377) 2021-06-06 08:19:07 -07:00
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
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
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
3f45f778b8 chore: remove unused fetch-and-cache.js (#42358) 2021-06-04 08:17:16 -07:00
91901b822e chore(i18n,docs): update translations (#42361) 2021-06-04 08:08:27 -07:00
ce1811bfe2 chore(i18n,curriculum): update translations (#42362) 2021-06-04 08:07:40 -07:00
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
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
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
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
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
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
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
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
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
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
7c8d65174d fix(deps): pin dependencies (#42345)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-03 22:34:24 +05:30
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
b2539f330d chore: clean up dependencies (#42329) 2021-06-03 19:20:52 +05:30
b60324ff55 chore(i18n,docs): update translations (#42348) 2021-06-03 18:57:47 +05:30
814faaf82d chore(i18n,curriculum): update translations (#42349) 2021-06-03 18:51:47 +05:30
24be225fa4 feat(client): refactor propTypes to TS types (#42278) 2021-06-03 14:23:46 +03:00
232469fc58 docs: add set up code editor docs for intellij (#42344) 2021-06-03 10:59:51 +01:00
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
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
9f48f0f644 chore(deps): update dependency execa to v5.1.0 2021-06-02 22:06:53 +00:00
dfe80470c6 fix: require a link element in html (#42336)
* fix: require a link element in html

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-06-02 22:38:21 +02:00
f7ca9796c1 Update specify-how-fonts-should-degrade.md (#42335)
Added a period at the end of the second sentence "These generic font families include monospace, serif and sans-serif".
2021-06-02 22:28:57 +04:00
802273cf8a refactor: remove sinon (#42337) 2021-06-02 21:03:05 +05:30
7d1e9af9df chore(i18n,curriculum): update translations (#42323) 2021-06-02 12:46:30 +02:00
d33eeef4d5 fix(deps): update dependency gatsby to v3.6.2 2021-06-02 09:59:22 +00:00
629c011ab6 chore(deps): update dependency tailwindcss to v2.1.3 2021-06-01 19:30:20 +00:00
c0aaecba63 fix(curriculum): rework Project Euler 72 (#42282)
* fix: rework challenge to use argument in function

* fix: add solution

* fix: use MathJax in fractions and equations

* fix: missing backticks
2021-06-01 08:50:51 +02:00
841a6758fd fix(curriculum): rework Project Euler 100 (#42313)
* fix: rework challenge to use argument in function

* fix: add solution

* fix: use MathJax to improve look of math notation

* fix: corrections from review

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
2021-05-31 19:05:17 -05:00
c0feae0459 fix(curriculum): rework Project Euler 99 (#42310)
* fix: rework challenge to use argument in function

* fix: add solution

* fix: use MathJax to improve math notation look
2021-05-31 18:51:13 -05:00