Commit Graph

26080 Commits (bd22836d18af59d9972c15e278bf7a498a355ac5)

Author SHA1 Message Date
Oliver Eyton-Williams bd22836d18 fix: add verbose output script to root 2020-09-09 01:00:43 +05:30
Oliver Eyton-Williams 189b9081ca feat: add script reporting more errors 2020-09-09 01:00:43 +05:30
Oliver Eyton-Williams e9bd88d245 fix: make all unhandled errors fail tests 2020-09-09 01:00:43 +05:30
Kristofer Koishigawa 0ccb140f71
fix: up and down hotkeys in search bar (#39529)
This fix prevents whitespace from breaking the up and down hotkeys in the search bar.
2020-09-08 23:43:45 +05:30
Oliver Eyton-Williams 9e3441fe1d
fix(client): solutionLink -> solution (#39544)
This sends the api the 'solution' it expects, not 'solutionLink'.
2020-09-08 23:16:24 +05:30
piouson fbbf7e3f75
Fix tests failing due to whitespaces and trailing forward slash in Advanced Node and Express (#39534)
* Fix implementation-of-social-authentication.english.md

Resolve #39533

* Update implementation-of-social-authentication.english.md

- added capture groups
- updated whitespace filter, `/[\s\r\n]/g` -> `/\s/g`

* Update curriculum/challenges/english/06-quality-assurance/advanced-node-and-express/implementation-of-social-authentication.english.md

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

* Update implementation-of-social-authentication.english.md

Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
2020-09-08 11:55:20 -05:00
ZhichengChen ff8db8ce9e
fix(i18n): update Chinese translation of json apis and ajax (#38863)
* fix(i18n): update Chinese translation of  json apis and ajax

* address comments

Co-authored-by: Zhicheng Chen <chenzhicheng@dayuwuxian.com>
Co-authored-by: S1ngS1ng <liuxing0514@gmail.com>
2020-09-07 13:48:38 +05:30
ZhichengChen 3b7b64feb3
fix(i18n): update Chinese translation of jquery (#38579)
Co-authored-by: Zhicheng Chen <chenzhicheng@dayuwuxian.com>
Co-authored-by: S1ngS1ng <liuxing0514@gmail.com>
2020-09-07 13:47:51 +05:30
ZhichengChen 0b2be70c9a
fix(i18n): update Chinese translation of bootstrap (#38560)
Co-authored-by: Zhicheng Chen <chenzhicheng@dayuwuxian.com>
2020-09-07 13:47:39 +05:30
ZhichengChen 193d13e7ba
fix(i18n): update Chinese translation of JavaScript Algorithms and Da… (#38494)
Co-authored-by: Zhicheng Chen <chenzhicheng@dayuwuxian.com>
Co-authored-by: S1ngS1ng <liuxing0514@gmail.com>
2020-09-07 13:47:22 +05:30
ZhichengChen b378f110ca
fix(i18n): update Chinese translation of redux (#38825) 2020-09-07 13:46:17 +05:30
ZhichengChen 91c9fc6cd5
fix(i18n): update Chinese translation of front end libraries projects (#38826) 2020-09-07 13:45:49 +05:30
ZhichengChen 424cb619c1
fix(i18n): update Chinese translation of data visualization projects (#38864) 2020-09-07 13:45:31 +05:30
ZhichengChen 88ae7a5df8
fix(i18n): update Chinese translation of react and redux (#38786)
Co-authored-by: Zhicheng Chen <chenzhicheng@dayuwuxian.com>
2020-09-07 13:41:48 +05:30
ZhichengChen 087946adc1
fix(i18n): update Chinese translation of sass (#38595)
Co-authored-by: Zhicheng Chen <chenzhicheng@dayuwuxian.com>
2020-09-07 13:41:08 +05:30
ZhichengChen 653396706e
feat(i18n):Chinese intermediate algorithm scripting (#38442)
Co-authored-by: ZhichengChen <chenzhicheng@dayuwuxian.com>
2020-09-07 13:40:29 +05:30
ZhichengChen 2db889099d
fix(i18n): update Chinese translation of debugging (#38045)
Co-authored-by: Zhicheng Chen <chenzhicheng@dayuwuxian.com>
2020-09-07 13:39:54 +05:30
ZhichengChen 5a72d44482
fix(i18n): update Chinese translation of basic node and express (#38889) 2020-09-07 11:10:31 +05:30
Mrugesh Mohapatra c23c4ef8e4
fix: negative sentiment → neutral language (#39522)
The existing terminology carries negative sentiment that can be
interpreted in a racial or sense. Updating the name to have no
potential for such a connection.

Co-authored-by: Justin Rogers <justrog@gmail.com>
2020-09-07 11:04:44 +05:30
Kristofer Koishigawa b93785be5d
fix(learn): update example image URL (#39530)
Update example URL in "Add Images to Your Website" challenge to point to example image on https://freecatphotoapp.com.
2020-09-05 10:27:27 -07:00
PSN221B 3425dadb46
Use JQuery to solve Catastrophic Backtracking with regex (#39112)
* Use JQuery to solve Catastrophic Backtracking with regex

* fix: improve regex for last test

* fix: improved the other tests with regex

* fix: change regex to allow spaces

Co-authored-by: Randell Dawson <rdawson@onepathtech.com>
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2020-09-04 16:06:57 -05:00
Twaha Rahman 3e3652a788
Test(Cypress): Add tests for the landing page and the navbar (#39459)
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2020-09-04 18:27:21 +02:00
Lasse Jørgensen f3a82fe2f1
fix: Add information about local development for RWD projects (#38670)
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2020-09-04 20:26:26 +05:30
Shaun Hamilton e3cfe80f88
fix(curriculum): advanced node express changes for new boilerplate (#39080)
* fix: add tests and steps

* add necessary changes

* edit for new boilerplate

* fix: adjust content for boilerplate merge

* add 4 passing 1 failing socketio

* fix: add socketio changes

* fix: update wording and http test

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>

* fix: replace glitch remix urls with repl.it urls

* integrate steps between lessons 4 and 5

* add mongodb altas link

* edit test to not require db deletion

* correct register routing and formatting

* fix typos and formatting

* fix: typos, standardize spacing, and remove unnecessary hr elements

* fix: add/update links

Add or update Gist solution links at the bottom of each challenge. Also add a missing link/text to the top of one of the challenges.

* fix: remove Repl.it/boilerplate repo links from all but first challenge

* fix: add target='_blank' to links in challenges

* add note about PIP browser issues

* move PIP note to end of instructions

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
2020-09-04 08:50:03 -05:00
Shaun Hamilton f247090895
fix: add backend placeholder to solution form (#39494) 2020-09-04 19:14:26 +05:30
Ezekiel Oladejo 4165135380
Update serialization-of-a-user-object.english.md (#39518) 2020-09-03 23:53:31 -07:00
Gianpaolo Macario a3856a5fd7
Fix typo in title (#39492)
* Fix typo in title

* fix: typo in meta and filename

* fix: it

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2020-09-03 17:16:12 -07:00
Oliver Eyton-Williams bd68b70f3d
Feat: hide blocks not challenges (#39504)
* fix: remove isHidden flag from frontmatter

* fix: add isUpcomingChange

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>

* feat: hide blocks not challenges

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2020-09-03 15:07:40 -07:00
AnonymousRepositoryStuff 6b081c7e7b
Update unclear instructions on an FCC CSS Grid challenge in English #39433 (#39506)
* Unclear instructions on an FCC CSS Grid challenge #39433

* Update curriculum/challenges/english/01-responsive-web-design/css-grid/use-grid-area-without-creating-an-areas-template.english.md

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* Update curriculum/challenges/english/01-responsive-web-design/css-grid/use-grid-area-without-creating-an-areas-template.english.md

Co-authored-by: Manish Giri <manish.giri.me@gmail.com>

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Manish Giri <manish.giri.me@gmail.com>
2020-09-03 13:58:59 -07:00
Oliver Eyton-Williams f6f5603a88 chore: prevent builds when vars are missing 2020-09-04 00:14:24 +05:30
Oliver Eyton-Williams c772382d59 fix: remove remnants of servicebot
None of the code was still in use.
2020-09-04 00:14:24 +05:30
Beau Carnes 5ce8abc131
fix: data analysis links (#39499)
* fix: data analysis links

* fix: add rel attributes to all links in data analysis with python section

* fix: combine rel properties into one attribute

* fix: change single quotes to double

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2020-09-03 09:48:42 -07:00
Colin Nielsen 807244c81a
fix: update formatting, add image + solution (#38907)
* fix: update formatting, add image + solution

* fix: change img src and add suggestions

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2020-09-03 10:49:51 -05:00
Ty Mick b45e6ecae0
Add previously written methods to challenge seed in "Remove an Element from a Max Heap" (#38834)
* Add previous methods to challenge seed

* fix: add suggested changes

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2020-09-03 10:40:23 -05:00
Haile Lagi 77bf5630f0
fix(learn): update helmet.js instructions for specific versioning (#39194)
* fix(client): update middleware names of helmet.js tests

* Revert "fix(client): update middleware names of helmet.js tests"

This reverts commit 86d3bb2de8.

* fix: set helmet to v3.21.3

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2020-09-03 15:58:28 +01:00
Ishu Singhal 56469d1c5c
fix(learn): update tests to allow more valid solutions (#39054)
* fix(curriculum): updated tests: fixed #39049

It won't pass something like this now:

const myConcat = () => {};
console.log(3);

* fix: add suggested change

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2020-09-03 15:28:35 +01:00
Tom 6ce2db7bb2
feat(learn): add word frequency challenge to rosetta section (#39424)
* feat(learn): add word frequency challenge to rosetta section

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

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

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

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

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

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

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

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

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

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

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

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

* fix: tests

* fix: revert challenge so it can have multiple solutions

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

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

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
2020-09-03 06:30:57 -07:00
skaparate f97c847e29
fix(learn): formatting bug preventing tests to pass (#39045)
* implemented object validation

* fix: formatting bug preventing tests to pass

* implemented object validation

* fix: formatting bug preventing tests to pass

* integrated changes again

* added suggested changes

* fix: refine instructions

* fix: revert some bad instructions and change album to albumTitle

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2020-09-03 12:34:12 +01:00
Nicholas Carrigan 763ff1ae83
docs: remove beta statement (#39497) 2020-09-03 14:47:33 +05:30
Aadhar Agarwal 81479ffd40
fix: add tests for metric-imperial-converter (infosec) (#37891)
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <2397860h@student.gla.ac.uk>
2020-09-03 14:39:01 +05:30
Shaun Hamilton 223c2dc205
fix: convert async tests to synchronous (#39478)
* fix: convert async tests to sync

* fix: correct formatting changed by prettier
2020-09-02 19:24:22 -05:00
Anonyma 8edca2efc5
fix(curriculum): add instructions to clarify use of model.createMany (#38026)
* Update create-many-records-with-model.create.english.md

The previous instructions were causing confusion:
https://www.freecodecamp.org/forum/t/mongodb-and-mongoose-create-many-records-with-model-create/208546
https://github.com/freeCodeCamp/freeCodeCamp/issues/36447

* Added clearer instructions

* Update curriculum/challenges/english/05-apis-and-microservices/mongodb-and-mongoose/create-many-records-with-model.create.english.md

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

* Update curriculum/challenges/english/05-apis-and-microservices/mongodb-and-mongoose/create-many-records-with-model.create.english.md

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

* Update curriculum/challenges/english/05-apis-and-microservices/mongodb-and-mongoose/create-many-records-with-model.create.english.md

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2020-09-03 00:01:48 +01:00
Ty Mick 57c7003119
fix(curriculum): fix typography in "Set a Domain and a Range on a Scale" (#39259)
* Change spaced hyphen to em dash

* Update curriculum/challenges/english/04-data-visualization/data-visualization-with-d3/set-a-domain-and-a-range-on-a-scale.english.md

* Update curriculum/challenges/english/04-data-visualization/data-visualization-with-d3/set-a-domain-and-a-range-on-a-scale.english.md

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

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
2020-09-02 19:33:17 +01:00
g4rry420 9a4ab36fa4
Changed Regex of 3rd textString (#38944)
* changes the regex of 3rd textString

I changes the regex of 3rd textString so that it can accept h2 as a selector instead of class.

* Changed the Regex of 3rd textString

I changes the regex of 3rd textString so that it can accept h2 as a selector instead of class.

* Changed the Regex of 3rd textString 

I changes the regex of 3rd textString so that it can accept h2 as a selector instead of class.

* Changed the Regex of 3rd textString

I changes the regex of 3rd textString so that it can accept h2 as a selector instead of class.

* Chamged the Regex of 3rd textString

I changes the regex of 3rd textString so that it can accept h2 as a selector instead of class.

* Changed the Regex of 3rd textString

I changes the regex of 3rd textString so that it can accept h2 as a selector instead of class.

* fix: regex tests and instructions

* Update curriculum/challenges/english/01-responsive-web-design/basic-css/import-a-google-font.english.md

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

* fix: add suggested change

* revert non-english changes

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <2397860h@student.gla.ac.uk>
2020-09-02 11:21:52 -07:00
bhagerty 046137891e
fix(learn): clarify how object names are associated with destructured fields (#39485)
* Clarify how object names are associated with destructured fields

* fix: make description more concise

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-destructuring-assignment-to-pass-an-object-as-a-functions-parameters.english.md

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
Co-authored-by: Manish Giri <manish.giri.me@gmail.com>
2020-09-02 19:06:27 +01:00
bhagerty db15a44160
fix(learn): clarify instructions to remove confusion (#39479)
* Clarify instructions to remove confusion

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/accessing-object-properties-with-variables.english.md

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2020-09-02 18:41:59 +01:00
Tom e48664af2a
fix(learn): font size multiple headings exercise (#39511)
* fix: use regex to capture font-size of h6 element, as minimum font-size of browsers may influence outcome

* fix: add suggested changes

Co-authored-by: Ashraf Nazar <ashraf.caspian@gmail.com>
2020-09-02 18:11:23 +01:00
Tom 9cd4b93601
fix(learn): getter setter instructions (#39512)
* Update use-getters-and-setters-to-control-access-to-an-object.english.md

* fix: revert changes, keep example

Co-authored-by: Daniel Sing <danielsingsong@gmail.com>
2020-09-02 18:07:17 +01:00
Shaun Hamilton 9ed2a554a7
fix(curriculum): changed test to use regex (#38770)
* changed test to use regex

* added width has to be spelt correctly

* added second width assertion

* add case insensitive flag

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* fix: allow compilable CSS to pass

* add allowance of final property without semicolon

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2020-09-02 11:59:16 -05:00
Ashlee Crusco 3836ce08e3
fix(learn): add for and id attributes to label and input (#39019)
* add value and id attributes

* revert prettier format changes

* fix whitespace changes

* Revert "fix whitespace changes"

This reverts commit 9da78e58ce474b0f4a7cf076574e23961a6d3734.

* fix typo

* fix: conflict I forgot to resolve

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2020-09-02 15:19:47 +01:00