Commit Graph

27807 Commits (28add4712a4d0d7dd488aa1904cfd81917920136)

Author SHA1 Message Date
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
Seth Falco 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
impirios 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
Oliver Eyton-Williams 802273cf8a
refactor: remove sinon (#42337) 2021-06-02 21:03:05 +05:30
camperbot 7d1e9af9df
chore(i18n,curriculum): update translations (#42323) 2021-06-02 12:46:30 +02:00
Renovate Bot d33eeef4d5 fix(deps): update dependency gatsby to v3.6.2 2021-06-02 09:59:22 +00:00
Renovate Bot 629c011ab6 chore(deps): update dependency tailwindcss to v2.1.3 2021-06-01 19:30:20 +00:00
gikf 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
gikf 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
gikf 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
Oliver Eyton-Williams 3b115a1876
fix(client): use @freecodecamp/strip-comments for js comments (#42254) 2021-06-01 01:37:45 +02:00
gikf a7556a82d5
fix(curriculum): rework Project Euler 95 (#42255) 2021-06-01 01:52:05 +05:30
Shaun Hamilton 6f65591ec9
fix(curriculum): add strict versioning to adnode (#42297) 2021-06-01 01:51:33 +05:30
Renovate Bot aa21dc945c chore(deps): update typescript-eslint monorepo to v4.26.0 2021-05-31 18:37:10 +00:00
gikf 42ff4307ba
fix(curriculum): rework Project Euler 94 (#42243)
Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
2021-05-31 23:04:05 +05:30
gikf b765237f38
fix(curriculum): rework Project Euler 89 (#42219)
* fix: define test arrays in background

* fix: add solution

* fix: position block evenly between paragraphs

* fix: include rules from external link

* fix: change to preferred version of spelling

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

* fix: improve wording

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
2021-05-31 23:03:33 +05:30
Oliver Eyton-Williams 128cb813cb
fix: remove unused polyvinyl functions (#42295) 2021-05-31 21:16:26 +05:30