Commit Graph

3761 Commits (35fd18262c460d62be53a4d98ead810001504b38)

Author SHA1 Message Date
Hasun Amarasekara 9a9d1fc3d7 fix(seed): Fixed check on U tag to Underline tests (#16744) 2018-02-24 12:28:44 +05:30
Quincy Larson 229a6902a5 fix(seed): Add legacy project back in and update id (#16749)
Closes #16336
2018-02-24 11:56:15 +05:30
renisalcedo e0d084465e fix(seed): Fix "Change the Color of Text" challenge not loading (#16764)
Closes #16762
2018-02-22 10:47:33 +01:00
Stuart Taylor 1a5cab57a1 feat(sass): Enable client-side sass compiling (#16747) 2018-02-19 14:41:01 -06:00
Stuart Taylor 24ef69cf7a feat(settings): Expand Settings page functionality (#16664)
* fix(layout): Fix Settings layout in firefox

* chore(availableForHire): Remove available for hire setting

* feat(helpers): Use helper components for Settings layout

* fix(map): Fix undefined lang requested

* feat(settings): Expand Settings page functionality

* chore(pledge): Remove pledge from Settings

* fix(about): Adjust AboutSettings layout

* fix(portfolio): Improve PortfolioSettings layout

* fix(email): Improve EmailSettings layout

* fix(settings): Align save buttons with form fields

* fix(AHP): Format AHP

* fix(DangerZone): Adjust DangerZone layout

* fix(projectSettings): Change Button Copy

* fix(CertSettings): Fix certificate claim logic

* chore(lint): Lint
2018-02-16 17:18:53 -06:00
Schalk Neethling 82ec375f19 fix: language update suggestions for basic-css and basic-html (#16729) 2018-02-16 11:11:23 +00:00
Kristofer Koishigawa 2eafac5989 fix(seed): Add tests and solution for Project Euler 19 (#16694)
Added additional tests and a working solution for this problem.

BREAKING CHANGE: None
2018-02-15 09:11:54 +00:00
Kristofer Koishigawa 9ae25664b5 fix(seed): Add tests, solution, and edit description for Project Euler 16 (#16641)
Edited the description so the exponents are displayed properly, and
added more tests and a solution.

Amend: Edited the seed so that the challenge function in the seed is called only once.

BREAKING CHANGE: None
2018-02-15 09:06:41 +00:00
Kristofer Koishigawa 38cee8bce5 fix(challenges): Add tests and solution for Project Euler problem 17 (#16685)
Added a couple of additional tests and a working solution for this
problem.

BREAKING CHANGE: None
2018-02-15 09:04:01 +00:00
Kristofer Koishigawa 748b257234 fix(seed): Add tests, solution, and image for Project Euler problem 15 (#16626)
Added more tests, a solution, and an image to make the description more
clear. The image is from Project Euler but is rehosted on imgur.

Amend: Edited the seed so that the challenge function in the seed is called only once.

BREAKING CHANGE: None
2018-02-15 09:02:17 +00:00
Nguyen Quoc Bao 1789f9da0a fix(seed): Add length check for component find (#16678)
Closes #16677

fix(seed): Use triple equal
2018-02-14 17:50:38 +00:00
Jason Kao 09689be107 fix(seed): Removed inconsistent and unnecessary ReactDOM.rend (#16711) 2018-02-14 22:25:05 +05:30
Schalk Neethling 5fbf769e1b fix: language update suggestions for basic-css and basic-html (#16713) 2018-02-14 16:24:21 +00:00
Samuel Coe 9f63625411 fix(seed): Replaced 'include' with 'match' and RegExp for the (#16700)
Closes #16698
2018-02-14 11:24:25 +00:00
Eduardo Azeredo Massarani f3300546f6 update test for media query challenge (#16691)
the test fails if there is no space between @media and the parenthesis, even though it is possible to not have a space. Also it doesn't tell you that that is the problem, so it can make the person get stuck trying to figure out what they did wrong, when in fact they were right, like I was for half an hour until I came here to check the test =)
2018-02-14 11:21:14 +00:00
Akshat Harit e3027dc3cc fix(challenges): Fix animation-timing-function default from linear (#16690)
Closes #16684
2018-02-14 11:19:32 +00:00
Kristofer Koishigawa 47ca691a14 fix(seed): Add tests for Project Euler problem 13 (#16617)
Added a head property to the challenge object and moved the large fiftyDigitNums array to it, preventing the browser from having to re-render it with every keystroke and causing lag. Also fixed a problem where the testNums and fiftyDigitNums arrays were not declared with const properly in my original PR.

BREAKING CHANGE: None
2018-02-14 10:55:21 +00:00
Ahmad Abdolsaheb 007b68ecf8 fix(seed): Typo in test message (#16708) 2018-02-13 20:13:42 +05:30
Nguyen Quoc Bao 71974d6972 fix(seed): Add default values to incompleted declarations (#16704)
Closes #16696

fix(seed): Fix undefined render
2018-02-13 11:45:12 +00:00
Schalk Neethling 5c8b512168 fix: small language update suggestion for basic css (#16706) 2018-02-13 09:46:48 +00:00
Schalk Neethling 77b7b17096 Language update suggestions for basic HTML curriculum (#16697)
* Language update suggestions for basic HTML curriculum

* fix: Changes based on review feedback
2018-02-12 12:30:43 +00:00
Kristofer Koishigawa 43eaff2957 fix(seed): Add tests and solution for Project Euler 14 (#16621)
Added tests and a working solution for problem.
2018-02-10 21:13:22 +00:00
Matthew Brener 0bb658078f feat(seed): Fix attribute selector grammar error (#16676)
Changed the word "style" to "styles"

Closes #16675
2018-02-10 09:23:12 +00:00
Quincy Larson 0904f856bf fix(seed): Make algorithm projects appear after intermediate algorithms (#16655)
* fix(seed): Make algorithm projects appear after intermediate

* fix(seed): Update order values to remove ambiguity
2018-02-10 09:20:59 +00:00
Jason Kao 3289f9e1d5 feat(seed): Added ES6's strict mode to a lesson and made verbiage clearer (#16652) 2018-02-08 18:16:18 +05:30
Zuzana 99afe980dc fix(seed): Fix Modify Array challenge description typo (#16662) 2018-02-08 11:49:51 +05:30
Jason Kao 30182c9304 fix(seed): strengthened buggy regex in an Applied Accessibility test (#16653)
Closes #16645
2018-02-08 11:48:29 +05:30
Jason Kao 51ce73ed2e test(seed): Tests now send string values into input, not number (#16639)
Closes #16636
2018-02-08 11:36:42 +05:30
jpdail01 a78b2a4f33 Select div by element instead of by class to test background-color (#16638) 2018-02-08 11:32:57 +05:30
Nguyen Quoc Bao 546e30ac3a fix(seed): Fix solution doesn't pass for challenge "React: Use Advanced JavaScript in React Render Method" (#16631)
Closes #16629
2018-02-08 11:23:20 +05:30
Ahmad Abdolsaheb 4cd7be48dc fix(seed): Make tests accepts all correct answers (#16627)
the test and challenge seed has changed

Closes #16516
2018-02-08 11:17:31 +05:30
David Golightly 9203192a21 fix(challenges): Add more examples of text-align CSS property (#16624)
Closes #16446
2018-02-08 00:37:17 +05:30
Tarun Singh e1d5cb6405 fix(seed): Squashed a bug from Disable an element using Jquery 2018-02-06 15:53:07 +00:00
Jason Kao e0b1ecec35 fix(seed): Fixed disruptive, unclosed <code> tag (#16594)
Closes #16581
2018-02-06 10:18:11 +00:00
Nguyen Quoc Bao 195653a2ef fix(seed): Add missing bindings outside comment lines (#16585) 2018-02-05 23:18:10 -05:00
Huyen Nguyen b2e58ab212 fix(challenges): Fix typos in some project Euler problems (#16605) 2018-01-31 01:37:20 +05:30
Neenad Ingole 58eafb4d9b fix(seed): English error in Basic HTML and HTML5 challenge (#16608) 2018-01-31 01:35:11 +05:30
Juraj Majerik fc95bcb667 fix(seed): Fix typo in test of Mongoose dependency (#16606)
Closes #16604
2018-01-30 22:20:48 +05:30
Anh Tran 79d9335977 fix(seed): Add test cases for closing tags (#16575) 2018-01-30 11:09:39 +05:30
Ahmad Abdolsaheb 7871fad1b3 fix(seed): Expand description of media query challenge (#16572)
example change to make it more clear

Closes #16474
2018-01-30 11:00:10 +05:30
Stuart Taylor 4ce84166ed Validate ObjectId on test (#16579)
* feat(challenges): Validate ObjectId on test

* fix(challenges): Fix 'id' field typo
2018-01-29 10:11:27 -06:00
Neenad Ingole f13f0be26d fix(seed): Change Line Number & Typo (#16586)
Line number in the problem is corrected to 52 which was previously 38
and spelling mistake of 'compponent' is changed to 'component'

Closes #16567
2018-01-28 17:37:37 +05:30
Kristofer Koishigawa 20b46cc6c4 fix(challenges): Add tests for Project Euler problem 12 (#16545) 2018-01-28 13:22:50 +05:30
Neenad Ingole c3f768417e fix(seed): Typo correction to es6.json in javascript challeng (#16589)
Closes #16584
2018-01-28 13:18:09 +05:30
mrugesh mohapatra 4346de64f3
Merge pull request #16573 from tarun7singh/fix/relative-protocol-URLs
fix(URLs): Changed protocol relative URLs to HTTPS URLs
2018-01-26 01:38:11 +05:30
Tarun Singh 90ba46f6f0 fix(URLs): Changed protocol relative URLs to Https URLs
BREAKING CHANGE: None

Closes #16522
2018-01-25 20:11:01 +05:30
Timo fff0dd5a66 test(challenges): Add missing tests to escaping quotes challenges (#16566)
These tests were removed because there were issues with the head and
tail being added to the code variable. Now that they've been removed, we
can add the tests back in.
2018-01-24 23:35:32 +00:00
A-J Roos 35be15dfc2 test(seed): Check for both opening and closing footer tags (#16542)
Currently the test is only checking for the opening footer tag. This
proposed change would make it that the test checks for both the opening
and closing footer tags.

Closes #16416
2018-01-24 23:33:58 +00:00
ATLowther 528d856405 fix(challenges): Change invalid ObjectId
Closes #16550
2018-01-24 17:24:35 +01:00
Berkeley Martinez 20a3363d39
Merge pull request #16479 from lgrzybowski/fix/change_NA_to_blank_when_no_estimation
fix(map): Removed NA text for challenge without time estimat
2018-01-23 18:59:30 -08:00
Diogo Righi bb1e0c4539 fix(challenges): Fix test on react challenge that was always passing (#16558) 2018-01-23 20:16:57 -05:00
Lukasz Grzybowski f3d87d6e73 fix(map): Removed NA text for challenge without time estimat
Closes #16454
2018-01-23 19:34:42 +01:00
Sagar Jha 70a4ebe4f7 fix(seed): Update instruction (#16543)
* fix(seed): Update instruction

Update the instruction to pass the challenge

Closes #16268

* Minor grammar usage change
2018-01-21 18:58:39 -06:00
Davinderpal Singh Rehal 7cbe4141ce fix(challenge): Remove the note about Safari in the HTML5 require (#16546) 2018-01-21 12:21:13 +05:30
build65 33d1e1b1e5 Turn Bootstrap relative URL into https URL (#16547) 2018-01-21 12:05:58 +05:30
Alex Chaffee eacd4d7bb0 docs(seed): Document how to edit and test challenges (#16511)
* docs(seed): Document how to edit and test challenges

add seed/README.md documenting scripts and schema for challenges
edit challenge-style-guide with mongodb id generation info

Closes #16373

docs(seed): add Ethan's video, apply PR feedback

* docs: fix up syntax highlight

While it was ideal to have ```json, its not really doing anything in terms of highlight. But, the side effect in diff is making the other parts really ugly and unreadable.

Hence fixing up.
2018-01-20 22:00:21 +05:30
A-J Roos ab6b04b0f1 fix(seed): Fix invalid MongoDB ObjectId in array seed challenge (#16532)
In the `Introduction to Arrays` seed challenge there was a
incorrect MongoDB ObjectId. Created a new MongoDB ObjectId
that fixes it.

Closes #16530
2018-01-19 19:26:02 +05:30
A-J Roos 42025e3ad0 fix(seed): Fix invalid MongoDB ObjectID in jquery seed (#16535)
In the `Introduction to jQuery' seed challenge there is a incorrect
MongoDB ObjectId. Created a new MongoDB ObjectId.

Closes #16523
2018-01-19 19:18:00 +05:30
Vivek Agrawal 67027c37a9 feat(seed): Added Bright-Light app as a new home-assignment (#16513) 2018-01-19 00:19:07 -06:00
Sagar Jha dc05c33798 fix(seed): Change require pixel (#16500) 2018-01-19 00:03:57 +05:30
Kristofer Koishigawa b1fcdbf9d4 fix(challenges): Add Project Euler problem 11 solution and tests (#16480)
Added tests and a working solution for Project Euler problem 11. Also added some styling to the problem's description to highlight four numbers in red to be more in-line with the description on the projecteuler.net.
2018-01-18 23:03:17 +05:30
adityajoshi ad6b3b86c8 fix(seed/challenges): Update test code for escaping quotes in literal strings (#16476)
Closes #16344 
Closes #16332
2018-01-18 22:50:47 +05:30
Saurish Kar 2788f723f9 fix(seed): added example breakdown to give more clarity to question (#16485) 2018-01-18 12:16:50 +05:30
Saurish Kar 26e5e458aa fix(seed): fixed typo in question 6 code (#16482) 2018-01-18 12:12:50 +05:30
mrugesh mohapatra 69b47f853a fix(seed): Typos in testing code (#16515)
Just formatting issues - missing quote, unescaped quotes in strings and
fixed a typo by moving code chars out of string literals.
2018-01-17 23:10:50 -05:00
Sagar Jha 0e6feee138 fix(seed): Change variable name from array to args (#16472)
Changed variable name from array to args. It will validate the last validation. Particular variable name is required but it is not mentioned in description.

Closes #16351
2018-01-18 00:45:19 +05:30
mrugesh mohapatra 953208244c
Merge pull request #16437 from scissorsneedfoodtoo/feature/euler-problem-22
feat(challenges): Add Project Euler problem 22
2018-01-17 12:06:23 +05:30
Berkeley Martinez 6e17281fda
Merge pull request #16442 from iabrenne/feature/link-to-guide
Feature/link to guide
2018-01-16 12:52:03 -08:00
Berkeley Martinez 81f65969ad
Merge pull request #16481 from lgrzybowski/fix/remove_star_from_map
fix(map): Removed required sign from challenges
2018-01-16 09:03:25 -08:00
Berkeley Martinez a2d3cc6bfb
Merge pull request #15856 from AungMyoKyaw/feat/eluer-prob-4
feat(euler-problem): Add tests and solution for Problem 4: Largest palindrome product
2018-01-16 08:13:31 -08:00
Niko 107b9c2fb4 refactor: Basic Algorithm Scripting (#16365)
Change var to let/const.
Change some single quotes to double quotes to be consistent. (Most were using double quotes)
Change callback functions to use ES6 arrow syntax.
Add function call to solution to be more consistent. (Some were present already)
Remove comments from solution to be more consistent. (Most didn't have comments)
2018-01-16 11:50:31 +05:30
Stephen Mayeux 0e9706e8ab fix(seed): Eliminate regex bug for async assertions (#16341) 2018-01-16 11:25:20 +05:30
Sagar Jha eff0bce0ae fix(seed): Space between function name and parameters was not (#16324) 2018-01-15 22:08:36 +05:30
Kristofer Koishigawa 8c42b475a1 fix(challenges): Add tests and solution for Euler Problem 10 (#16431)
Added tests and working solution for Euler Problem 10.
2018-01-15 11:37:56 +05:30
Kristofer Koishigawa becef503fb fix(challenges): Add tests and solution for Euler problem 5 (#16421) 2018-01-15 11:36:42 +05:30
Lukasz Grzybowski 73878e84b0 fix(map): Removed required sign from challenges
Closes #16239
2018-01-14 20:17:45 +01:00
Aung Myo Kyaw 68c4485e12 feat(euler-problem): Add Test and solution for euler problem 9 (#16029)
* feat(euler-problem): Add Test and solution for euler problem 9

* style: Fix up formating per comments
2018-01-11 21:22:04 -05:00
Mrugesh Mohapatra b1d3037989 fix(euler): Fixed broken build 2018-01-12 04:09:37 +05:30
Aung Myo Kyaw 4814adc6a4 feat(euler-problem): Add tests and solution for Problem 4: Largest palindrome product 2018-01-12 03:52:28 +05:30
Ryan 9610f1facc fix(challenges): improved instructions for anchor element challenge
Text and external links. Image was not clear in explaining the
composition of anchor tags.

Closes #16289
2018-01-12 02:25:52 +05:30
Irina Brennen c7a898bed7 refactor(seed): Add link to guide
Partially #16388
2018-01-10 18:32:16 -06:00
Quincy Larson 7bed78c272 fix(seed): Fix label
Closes #16456
2018-01-09 16:10:27 -06:00
mrugesh mohapatra 6521839ff4 chore(seed): Refactoring to use logger (#16443) 2018-01-08 13:08:29 +00:00
Iván Munguía 575ea380dc fix(seed/challenges): Correct typo in a JavaScript challenge (#16441) 2018-01-08 10:53:55 +05:30
scissorsneedfoodtoo 19af4f6bc6 feat(challenges): Add Project Euler problem 22
Noticed that problem 22 was missing from the seed file and decided to
add it along with some additional tests. However, I didn't include a
solution because I would have had to repeat the entire names array in
the solution string.

BREAKING CHANGE: None
2018-01-07 19:46:33 +09:00
Alvin Kristanto 8319472d5a feat(seed): Added more assertions for project euler (#16079) 2018-01-05 18:50:03 +05:30
Dylan a7a436651d fix(challenges): Clarified instructions on es6 let challenge (#15983) 2018-01-04 10:58:30 +00:00
satyamchaudharydev a5a75ca9f9 feat(challenges): Added pong game as a take home project (#16400) 2018-01-03 17:15:55 -06:00
Timo 73c0491758 fix(seed): Fix quotient should only be assigned once test
The tail is no longer included in the code variable. I updated this test
to account for that

Closes #16329
2018-01-02 23:56:13 +05:30
Kristofer Koishigawa 40d34c39dc style(challenges): Style changes and added solutions (#16372)
Renamed some of the functions in the challengeSeeds/tests, and added a
couple of solutions.

BREAKING CHANGE: None
2018-01-01 17:33:18 -06:00
Berkeley Martinez ae34683996
Merge pull request #16375 from saurishkar/fix/system-design-arraymap-ques2
fix(seed): fixed correct answer typo in explanation of question 2
2018-01-01 12:55:49 -08:00
vinsol fc1162f731 fix(seed): fixed correct answer typo in explanation of question 2 2017-12-30 16:51:16 +05:30
Nick Karnik 95d8473fef fix(challenges): Fixed import export related challenges
Closes #16235
2017-12-29 18:38:22 -08:00
darthm3gatron 1507a5a545 fix(seed): Best practice for radio button (#16349) 2017-12-30 00:27:38 +05:30
Niko c6b030a417 fix: Make semicolon optional (#16364) 2017-12-29 14:56:52 +00:00
Tuomas Poikela b1c09cd2c2 feat(challenges): Added challenge stubs including pre-formatted solu (#16339) 2017-12-28 00:47:16 -06:00
Alvin Kristanto f792a4380a feat(seed): Added more assertions for Project Euler Problem (#15953) 2017-12-26 15:10:39 +05:30
Alvin Kristanto 7108b91de5 feat(seed): Added more assertions for Project Euler Problem (#15952) 2017-12-26 15:10:11 +05:30
Alvin Kristanto f6dedc7023 feat(seed): Added more assertions for Project Euler Problem (#15950) 2017-12-26 15:09:32 +05:30
Ethan Arrowood 1dae80ad1b Refactor ES6 Challenges (#16262)
* fix(challenges): Add function scope of use strict

Refactored first 13 challenges with function scope `"use strict";`
syntax

Closes #16254

fix(challenges): Refactor ES6 challenges

Refactored ES6 challenges up to 22 to use function scope `"use strict";`

test(challenges): QA ES6 Challenges

Refactored es6 challenges getting tested and QA'd

fix(challenges): QA remaining ES6 challenges

* refactor(challenges): Quick edit for ES6 challenges

More changes to come. This commit solves issues addressed by Quincy

* refactor(challenges): ES6 Textual refactor

Textual refactor. Improved challenge test messages to be more
explanatory
2017-12-22 22:17:05 -06:00
Kristofer Koishigawa 2109845ac1 fix(seed/challenges): Change cash register algorithm (#16244)
Edited the description and tests so that freeCodeCamp users learn to
write functions that return a similar data structure type each time.

BREAKING CHANGE: None.

Closes #16083
2017-12-22 22:15:16 -06:00
Ethan Arrowood 0cdf478f0e test(challenges): Test ES6 challenge (#16201)
* test(challenges): Test ES6 challenge

Added tests to 3rd ES6 challenge

* test(challenges): ES6 challenges

* test(challenges): ES6 chall c11-c15

* test(challenges): ES6 chall c16-c20

* test(challenges): ES6 chall c21-c27

* test(challenges): Refactor ES6 challenges

Update tests to use getUserInput. Remove test for arrow function use

Closes #16207

* test(challenges): Fix falsey case

Add proper getUserInput syntax for !code.match tests

Closes #16207

* test(challenges): QA ES6 Challenges

QA and edit for ES6 challenges 1 - 18

Closes #16207
2017-12-21 14:38:28 -06:00
Berkeley Martinez 2108d45ccc
Merge pull request #16217 from no-stack-dub-sack/fix/react-redux-finishing-touches
fix(challenges): put finishing touches on react & redux challenges
2017-12-21 09:22:23 -08:00
Angel Eduardo 5a18d1cf80 add tip for alt attribute for the add-images-to-your-website challenge (#16197) 2017-12-21 22:05:02 +05:30
Peter Weinberg 277898afd3 fix(challenges): put finishing touches on react & redux challenges 2017-12-21 00:03:42 -05:00
Jonathan Grah 674ce83ab0 feat(cert): Certificates (#16185)
* feat(cert): finished layout and design of legacy certificates

* feat(cert): added new certs

* feat(cert): added logic for new certs

* feat(cert): updated claiming challenges

* feat(cert): fixed various small issues

* feat(cert): completed suggested changes
2017-12-20 19:15:23 -06:00
mrugesh mohapatra 941462f399
Merge pull request #16223 from mpontus/fix/merge-a29a928
fix(seed): Update Show the Local Weather challenge
2017-12-21 01:19:41 +05:30
mrugesh mohapatra 8303f0ea34
Merge pull request #16232 from cassidypignatello/fix/size-of-set-challenge
Fixes undeclared index variable in Set challenges
2017-12-21 01:15:15 +05:30
Jonathan Grah 012f8f7a8b
Merge pull request #16199 from QuincyLarson/feature/add-algorithm-projects
feat(seed): Move required projects into new algorithm projects
2017-12-20 19:09:31 +00:00
Cassidy Pignatello a79d5fec19 fix: declares index variable in Set challenges 2017-12-20 14:00:39 -05:00
Mikhail Pontus 5ab0fe2148 fix(seed): Update Show the Local Weather challenge
Pulling changes from commit a29a928f49
Preserve glitch weather API from commit ddd852df7b
2017-12-20 03:06:41 +03:00
mpontus 5ee49d6f88 fix(seed): Update description for basic-javascript/word-blanks (#16206)
Pulling changes from commit 54c11a0de9
2017-12-19 15:46:30 -06:00
Berkeley Martinez b2b1426e22 Feat: react redux migration (#16200)
* feat: crudely enables test to run solution code against React challenge (and passes!)

* feat: Updates comment

* feat: Adds React 2 and 3, validates challenges in app

* feat: Adds React 4, validates tests

* feat: Adds Peter's migrated challenge seed files for all challenges

* feat: Adds redux, react-redux imports, adds tests for React 7,

* feat: Adds tests for React 08

* fix(challenges): wrap reserved words in <code> and add tests

* feat: complete first two tests for React 9

* feat: modifies tests in React 09

* feat: Adds working tests for React 37, including async setState tests

* feat: Escape hatch to avoid async tests in automated test suite

* feat: Updates React 15 with working tests

* feat: build passes, yay

* feat: Provisions original code string in challenges and adds tests for React Redux 01

* fix(tests): add self-closing tags challenge, other small fixes

* fix(challenge): add react_10, some other stuff

* fix(challenges): update react 22, add react 23

* fix(challenges): react 5 and react 8

* feat: removes dependencies that will break in browser, will replace later

* feat: fix build

* feat: add redux 1

* fix(challenge): add react 24 tests

* feat: partial implemented Redux 2

* feat: migrate redux 3

* feat: Adds React-Redux 04 with working tests under npm test

* feat: Updates automated test runner, just provide all the dependencies. Adds Redux-Thunk.

* feat: Adds working tests for React Redux 07

* feat: redux challenge 4

* feat: migrate redux 5

* feat: redux 6

* feat: migrate Redux test 7

* fix(challenge): add react 25 tests

* feat: Adds tests for React 48, npm test does not pass...

* feat: Migrate Redux test 8

* fix(challenges): skip 26, add react 27 tests

* fix(challenges): add react 28 tests, replace function w/ => throughout, fix linter warnings

* feat: fixes (patches) hard to understand problem with automated test suite

* feat: updates async tests patch

* feat: adds converted tests for React 47

* feat: adds converted tests for React 46

* feat: Partially adds tests for React 43

* docs: adds TO-DO tests for React 43

* feat: migrates tests for React 42

* feat: migrates tests for React 41

* feat: migrates tests for React 39

* feat: Migrates tests for React 38, automated test script fails again!

* feat: migrates tests for React 32

* feat: QAs more React Redux challenge in FCC UI

* feat: Updates tests for React 7

* feat: Migrates React-Redux 3 tests and hardcodes deep-freeze dependency

* feat: migrates React Redux 05 tests

* feat: migrates React Redux 06 tests

* feat: Migrates React Redux 10

* feat: Migrates tests for React 16

* feat: Migrates React 17 tests

* feat: Migrates React 18 tests

* feat: Migrates React 19 tests

* feat: Migrates React 19 tests

* feat: fixing usage of code, replace with editor.getOriginalCode

* feat: Migrates React 21 tests

* feat: Finishes migration of React 09

* fix(challenges): add react 45 tests 💀

* feat: Adds React 11 tests

* feat: Migrates React 50 tests

* feat: Re-enables original code in FCC editor, QAs challenges blocked by original code

* feat: hacks head tail code in editor test environment

* feat: updates React 20 head code

* feat: QAs React Redux 07 in UI

* fix(challenges): add React 29 tests

* fix(challenges): add React 30 tests

* feat: updates async tests

* feat: Migrates React 12, gets ReactDOM challenges working and QAs them

* feat: Migrates React 13 tests

* feat: Migrates tests for React 14 and updates challenge description formatting

* feat: Refactors 2nd test for Redux 02

* feat: Migrates React 33

* feat: Removes React 26 and 43

* feat: Adds React 34 from Kevin

* fix(challenges): add React 31 & 35 tests (thanks Kevin)

* feat: Migrate Redux challenge 10 - pass both UI QA and terminal test

* fix(challenge): add react 40 tests

* feat: Migrates React Redux 02 tests

* feat: Migrates React Redux 08 and fixes async syntax in React challenge

* fix(challenge): add react 49 tests with caveat

* feat: fixes React 49 tests and adds first tests for React Redux 09

* feat: Migrate Redux 11 - pass both terminal test and UI test

* feat: Migrate Redux 12 - passing both UI test and terminal test

* feat: Migrate Redux 13 - passing both terminal and UI tests

* feat: Adding in code tags for previous redux challenges - terminal and UI tests pass

* feat: Migrates React Redux 09 and React 44 (thanks Kevin)

* feat: fix code tag issues - passed UI and terminal tests

* feat: Migrates Redux 14 tests

* feat: Migrates Redux 14

* feat: Migrates Redux 15

* feat: Migrates Redux 17

* feat: Final migration and QA of Redux, except for Redux 9

* feat: migrates React 36 and QAs

* feat: Rewrites Redux 09 and migrates

* feat: refactors pull request and cleans up code

* style(challenges): QA React challenges

* style(challenges): QA react challenges

* fix(challenges): fix react 41 and 45 tests

* style(challenges): QA redux challenges

* style(challenges): QA react and redux challenges

* fix(seed/react): Move head/tail to files

* fix(seed/redux): Move head/tail to file level

* chore(packages): Move jsdom to dev deps

* fix(seed/react/redux): Async funcs

make async func defined

* fix(seed): %s/editor.getUserCode/getUserInput/gc

* fix(Challenges/build): Make sure head/tail is bundled and transformed

* feat(Challenges.react): Add tail to render component

* chore(seed): Disable modern challenge testing for now

We will put these on beta while we update the auto testing framework
2017-12-18 15:04:03 -06:00
Quincy Larson 306e6bb494 feat(seed): Move required projects into new algorithm projects 2017-12-15 15:22:19 -06:00
Sunny 1720c61753 feat(challenges): Adds do...while challenge to basic JS challenges (#16068)
* feat(challenges): Adds do...while challenge to basic JS challenges

Closes #14948

* fix: Update id for challenge in correct format
2017-12-15 10:14:22 -06:00
Berkeley Martinez d3bbf27dab Fix(Challenges): get user code (#16187)
* fix(Challenges.): Prevent source from being overwritten

* fix(Challenges): Tests should use name

* fix(seed/react): Namespace tests for now
2017-12-13 17:24:36 -06:00
rcohane d52efaec8d fix(challenges): Fix 'only subtract one number' test (#16173)
Closes #13103
2017-12-12 02:07:40 +05:30
Mandi Hamza c609356b44 refactor(Challenges): Added Integrity and crossorigin attributes
Closes #16163
2017-12-12 00:37:39 +05:30
Mandi Hamza dc52813cf1 refactor(challenges): Added Integrity and crossorigin attributes
best practice

BREAKING CHANGE: N/A
2017-12-12 00:33:46 +05:30
Emanuele Antonelli 87ac2e0e9e fix bookclub p2p_chat pinterest_clone glitch apps and links (#16172) 2017-12-11 00:31:55 +05:30
Vanco Stojkov 383a0d0f5f fix(seed): Differentiation between sass and scss 2017-12-10 11:55:23 +05:30
Colin Thornton 1deb45a122 chore(seed/challenges): Change misleading variable name in example
Changed variable named "thisVariableNameIsTooLong" to
"thisVaribaleNameIsSoLong"

Closes #16165
2017-12-09 21:04:01 +05:30
Will Garcia 0965099148 fix: add 2nd regex check for bracket notation 2017-12-09 12:40:44 +05:30
mrugesh mohapatra 0b53649d21
Merge pull request #16139 from scissorsneedfoodtoo/fix/regex-asterisk-challenge
Fix(challenges): Change regular expressions match characters that occur zero or more times
2017-12-09 12:15:33 +05:30
breakpoint25 b09c59b2ca fix(seed): Add pass through details
Closes #16148
2017-12-08 13:29:48 -08:00
Alvin Kristanto 35f0b4f0d7 docs(seed): Added Guide for contributing project euler (#16140) 2017-12-05 00:41:25 -06:00
scissorsneedfoodtoo 72fe47c609 fix(challenges): Change regular expressions match characters that o
Originally the challenge's example code was a little unclear about what
the * character does. Also, the challenge could be solved without using
the * character.

BREAKING CHANGE: None

Closes #16119
2017-12-03 00:18:30 +09:00
Berkeley Martinez a92ff79b5e
Merge pull request #16116 from QuincyLarson/fix/cleanup-map-seed-files
fix: cleanup seed files and landing pages.
2017-11-29 15:48:45 -08:00
Berkeley Martinez dced96da8e feat: react challenges (#16099)
* chore(packages): Update redux utils

* feat(Panes): Invert control of panes map creation

* feat(Modern): Add view

* feat(Panes): Decouple panes from Challenges

* fix(Challenges): Decouple challenge views from panes map

* fix(Challenge/views): PanesMap => mapStateToPanesMap

This clarifies what these functions are doing

* fix(Challenges): Add view type

* fix(Panes): Remove unneeded panes container

* feat(Panes): Invert control of pane content render

This decouples the Panes from the content they render, allowing for
greater flexibility.

* feat(Modern): Add side panel

This is common between modern and classic

* feat(seed): Array to string file content

* fix(files): Modern files should be polyvinyls

* feat(Modern): Create editors per file

* fix(seed/React): Incorrect keyfile name

* feat(Modern): Highligh jsx correctly

This adds highlighting for jsx. Unfortunately, this disables linting for
non-javascript files as jshint will only work for those

* feat(rechallenge): Add jsx ext to babel transformer

* feat(seed): Normalize challenge files head/tail/content

* refactor(rechallenge/build): Rename function

* fix(code-storage): Pull in files from localStorage

* feat(Modern/React): Add Enzyme to test runner

This enables testing of React challenges

* feat(Modern): Add submission type

* refactor(Panes): Rename panes map update action
2017-11-29 17:44:51 -06:00
Quentin Gibson 7c6bcde3a7 refactor(challenges): Change "Hashing Your Password" desc (#16090)
Change description of "Hashing Your Passwords" to use the the aysnc api
of bcrypt and updated the cost to 12

Closes #16072
2017-11-25 12:26:48 -06:00
Alvin Kristanto 8a327b6ca0 feat(seed): Added more assertions for Project Euler (#16078) 2017-11-25 12:09:23 -06:00
mrugesh mohapatra 5622db48d0 docs(license): Update License fix for GitHub (#16113) 2017-11-25 11:47:27 -06:00
Quincy Larson 730d17b289 fix(seed): Add in introductory slide challenges 2017-11-24 14:58:06 -06:00
Quincy Larson 927ddacda6 fix(seed): Clean up seed directory and add open source for go 2017-11-24 14:50:04 -06:00
mrugesh mohapatra bd2d2d8f54
Merge pull request #16035 from aferreira44/translate/Pt-br-translation-claim-your-responsive-web-design-certificate
feat(pt-br-translation): claim-your-responsive-web-design-certificate
2017-11-18 13:24:05 +05:30
Alvin Kristanto 54feadc6e2 feat(seed): Added more assertions for Project Euler (#16065) 2017-11-09 20:38:07 -06:00
Alvin Kristanto 28067a965b feat(seed): Change task and assertion for Project Euler (#16082) 2017-11-09 20:32:44 -06:00
Berkeley Martinez dbecdc5618 feat: prep for modern challenges (#15781)
* feat(seed): Add modern challenge

* chore(react): Use prop-types package

* feat: Initial refactor to redux-first-router

BREAKING CHANGE: Everything is different!

* feat: First rendering

* feat(routes): Challenges view render but failing

* fix(Challenges): Remove contain HOC

* fix(RFR): Add params selector

* fix(RFR): :en should be :lang

* fix: Update berks utils for redux

* fix(Map): Challenge link to arg

* fix(Map): Add trailing slash to map page

* fix(RFR): Use FCC Link

Use fcc Link to get around issue of lang being undefined

* fix(Router): Link to is required

* fix(app): Rely on RFR state for app lang

* chore(RFR): Remove unused RFR Link

* fix(RFR): Hydrate initial challenge using RFR and RO

* fix: Casing issue

* fix(RFR): Undefined links

* fix(RFR): Use onRoute<name> convention for route types

* feat(server/react): Add helpful redux logging/throwing

* fix(server/react): Strip out nonjson from state

This prevents thunks in routesMap from breaking serialization

* fix(RFR/Link): Should accept any renderable

* fix(RFR): Get redirects working

* fix(RFR): Redirects and not found's

* fix(Map): Move challenge onClick handler

* fix(Map): Allow Router.link to handle clicks after onClick

* fix(routes): Remove react-router-redux

* feat(Router): Add lang to all route actions by default

* fix(entities): Only fetch challenge if not already loaded

* fix(Files): Move files to own feature

* chore(Challenges): Remove vestigial hints logic

* fix(RFR): Update challenges on route challenges

* fix(code-storage): Should use events instead of commands

* fix(Map): ClickOnMap should not hold on to event

* chore(lint): Use eslint-config-freecodecamp

Closes #15938

* feat(Panes): Update panes on route instead of render

* fix(Panes): Store panesmap and update on fetchchallenges

* fix(Panes): Normalize panesmaps

* fix(Panes): Remove filter from createpanemap

* fix(Panes): Middleware on location meta object

* feat(Panes): Filter preview on nonhtml challenges

* build(babel): Add lodash babel plugin

* chore(lint): Lint js files

* fix(server/user-stats): Remove use of lodash chain

this interferes with babel-plugin-lodash

* feat(dev): Add remote redux devtools for ssr

* fix(Panes): Dispatch mount action

this is needed to trigger window/divider epics

* fix(Panes): Getpane to use new panesmap format

* fix(Panes): Always update panes after state

this lets the panes logic be affected by changes in state
2017-11-09 19:10:30 -06:00
Dylan 936223af47
Merge pull request #15833 from Manish-Giri/fix/improve-existing-object-challenges
fix(challenges): Improve description in existing object challenges
2017-11-01 15:45:51 -05:00
garritfra 9777bf6c6d fix(translations): Updated German translations (#15995) 2017-11-01 20:13:36 +05:30
manish-giri a6d031a0f6 fix(challenges): Improve description in existing object challenges 2017-11-01 10:28:47 +05:30
Alvin Kristanto 185a7cda88 feat(seed): Added more assertions for Project Euler (#16057) 2017-10-30 16:25:39 -05:00
Peter Weinberg 383ec75fff fix(challenge): wrap method names & other code in <code> tags 2017-10-29 21:00:11 -04:00
Peter Weinberg adfa7c74c2 fix(challenge): update description and add img for 1st binary tree challenge 2017-10-28 13:51:12 -04:00
mrugesh mohapatra 429bc9e89f Merge pull request #16036 from aferreira44/translate/Pt-br-translation-claim-your-front-end-libraries-certificate
feat(pt-br-translation): claim-your-front-end-libraries-certificate
2017-10-27 09:51:56 +05:30
Aung Myo Kyaw 032a1c34ae feat(euler-problem): Add test and solution for problem 7 (#15988) 2017-10-27 09:38:49 +07:00
André Ferreira 9a6e97731a fix: Peer review suggestions accepted 2017-10-26 21:24:04 -02:00
André Ferreira 037d9c4e2d feat(pt-br-translation): claim-your-front-end-libraries-certificate 2017-10-26 02:09:53 -02:00
André Ferreira 04ed210d30 feat(pt-br-translation): claim-your-responsive-web-design-certificate 2017-10-26 00:16:08 -02:00
Aung Myo Kyaw 308afdd1ae feat(euler-problem): Add test and solution for project euler problem 6 (#15987) 2017-10-26 08:40:10 +07:00
Aung Myo Kyaw 36e8a29766 feat(euler-problem): Add test and solution for problem 8 (#15990) 2017-10-26 08:08:28 +07:00
Alvin Kristanto 945c9b0fd3 feat(seed): Added more assertion for Project Euler problem twe (#15887) 2017-10-25 01:03:42 -05:00
Alvin Kristanto 2037576712 feat(seed): Added more assertion for problem twenty eight (#15913) 2017-10-25 01:03:22 -05:00
Alvin Kristanto 6329dac4a3 feat(seed): Added more assertions for Project Euler problem tw (#15881) 2017-10-25 01:03:04 -05:00
Alvin Kristanto 4de1be810b feat(seed): Added more assertions for Project Euler (#16028) 2017-10-25 00:58:56 -05:00
Alvin Kristanto 1c73aa1288 feat(seed): Added more assertions for Project Euler (#16023) 2017-10-25 00:54:01 -05:00
Alvin Kristanto 2f4b77f313 feat(seed): Change Project Euler assertion (#16021) 2017-10-25 00:45:38 -05:00
mrugesh mohapatra efc00c0568 Merge pull request #15944 from FranciscoKnebel/feat/mlab-challenge
feat(challenge): Added mLab tutorial
2017-10-24 01:34:09 +05:30
mrugesh mohapatra 474c97697f Merge pull request #15928 from ResamVi/fix/json-challenge-test
Fix vague tests for "Convert JSON Data to HTML" challenge
2017-10-24 00:57:46 +05:30
Sean Smith 303f801d52 Merge pull request #15971 from no-stack-dub-sack/fix/adv-data-structures
fix(instructions): fix spacing and correct example code for max heap …
2017-10-22 18:07:54 -07:00
mrugesh mohapatra 0874376815 Merge pull request #15751 from DusanSacha/feature/add-basis-js-challenge-return-undefined
feat(seed): Add new Basis JS Challenge Return Undefined
2017-10-20 19:58:31 +05:30
Peter Weinberg a30409859d fix(instructions): fix spacing and correct example code for max heap and binary search tree problems 2017-10-19 01:37:01 -04:00
Dylan 4ab129683b Merge pull request #15923 from ResamVi/feature/jquery-introduction
Add introduction to jQuery challenge section
2017-10-17 14:24:56 -05:00
Edward Weymouth 5214371ef1 fix(seed-update): browser console, fCC Console, functionality of both (#15660) 2017-10-17 13:41:46 -04:00
Julien 19ebed94a5 feat(seed): Add introduction to jQuery challenge section
Additions
2017-10-17 19:21:58 +02:00
Francisco Knebel cc2a8d0d16 feat(challenge): Added mLab tutorial
Closes #14912
2017-10-07 01:57:00 -03:00
Tuomas Poikela 0fa83742cd feat: Added 1st batch of Rosetta code problems. (#15877) 2017-10-05 19:26:26 -05:00
Julien 08754f2d4e fix(challenges): Fix vague tests for "Convert JSON Data to HTML" challenge 2017-10-02 14:15:17 +02:00
Manish Giri e88af5c0e8 fix(challenges): Improve Word Blanks on staging (#15901) 2017-09-21 13:11:31 -05:00
Dylan 4c016216b9 Merge pull request #15794 from Bouzmine/fix/dot-notation
Change "dot operator" to "dot notation"
2017-09-15 21:19:25 -05:00
Francis Clavette 06611c129a refactor(challenges): Change dot operator to notation 2017-09-15 19:54:49 -04:00
Alvin Kristanto 0b969e5d3e feat(seed): Added more assertion for problem twenty four (#15850) 2017-09-11 21:39:28 -05:00
Alvin Kristanto 42008876f8 feat(seed): Added more assertion for Project Euler problem twe (#15874) 2017-09-11 17:57:40 -05:00
Shubham Sharma f0124b9dfb fix(challenges): Improve wording of description (#15873)
changed the description of the challenge to make campers understand the
task better

Closes #14306
2017-09-11 17:55:58 -05:00
Berkeley Martinez fdb430f2b5 Merge pull request #15866 from QuincyLarson/fix/fix-math-seed-files
fix(seed): Remove redundant seed files from math directory
2017-09-11 15:44:14 -07:00
Dylan b944d60620 fix(challenges): Add helmetjs intro (#15865)
Closes #12634
2017-09-11 16:09:32 -05:00
Vaidic Joshi e7957219cd fix(seed): Fixed assert regex
Closes #13999
2017-09-10 19:43:57 +05:30
Quincy Larson cf389e7126 fix(seed): Remove redundant seed files from math directory 2017-09-09 10:52:12 -05:00
Berkeley Martinez 77af5c9ca8 Merge pull request #15539 from dakshshah96/fix/dynamic-data-d3-description
Improve description of work with dynamic data in D3 challenge
2017-09-05 18:32:59 -07:00
Beau Carnes 891c977cb4 Merge pull request #15811 from alvinkl/feature/problem_euler23
feat(challenges): Added more assertion for Project Euler problem twe
2017-09-05 09:16:03 -04:00
Dylan 5c3c1be67b Merge pull request #15841 from texas2010/fix/short-fix-stories
fix(seed): Fix typo in the user stories
2017-09-04 11:23:35 -05:00
texas2010 f4a952e180 fix(seed): Fix typo in the user stories
Closes #15769
2017-09-04 08:51:10 -05:00
DusanSacha 4a19a6d370 feat(seed): Add new Basis JS Challenge Return Undefined
Add new Bassis JS Challenge Return Undefined with all Change Requests
2017-09-04 14:15:38 +02:00
Zuzana 5c83dd0fde fix(challenge): Close <code> element with </code> (#15842)
Closes #15185
2017-09-04 12:03:40 +02:00
Dylan 144ff5f4e4 fix test on es6 export default (#15627) 2017-09-04 10:16:50 +02:00
williamsb abbdb28228 refactor(challenges): Remove euler problem (#15837)
BREAKING CHANGE: Remove euler problem 22 from the file

Closes #15831
2017-09-02 22:16:30 -07:00
Beau Carnes e3eb02e9b1 Merge pull request #15798 from AungMyoKyaw/feature/euler-problem-3
feat(seed): Add tests and solution to Problem: Largest Prime Factor
2017-09-01 20:01:47 -07:00
Beau Carnes 0fcaccdc3c Merge branch 'feat/object-freeze-challenge' into staging 2017-09-01 19:18:01 -07:00
Beau Carnes 45c2c73033 fix(seed): Fix typos 2017-09-01 19:15:29 -07:00
Beau Carnes 618e164063 Merge branch 'feature/object-freeze-challenge' of https://github.com/adityaparab/FreeCodeCamp into adityaparab-feature/object-freeze-challenge 2017-09-01 18:58:57 -07:00
Darkpingouin 79c06ac6a5 Updated simple challenges for colorblinds (#15602)
* Update Challenge for color-blindness 

To do : Translate for Ru, Es and pt-br
Done : Corrected the challenge + translation in German done.

* Corrected color for color-blindness in simple challenges

To do : Translate in ru, pt-br and es
Done: code correction + de translation

* Fix a bug and update some translations
2017-09-01 18:56:03 -07:00
Berkeley Martinez 956bacf0e5 Merge pull request #15373 from dhcodes/fix/tests-inc-dec
change tests to reflect desired solution
2017-09-01 18:15:32 -07:00
Berkeley Martinez 885c73abac Merge pull request #15821 from QuincyLarson/feature/add-math-for-programmers-stubs
feat(challenges): Added math challenge stubs
2017-08-31 22:42:08 -07:00
Dylan 9ad056a7df Merge pull request #15801 from systimotic/fix/revert-regex-css-test
fix(challenges): Revert CSS regex test
2017-08-31 21:11:36 -05:00
Quincy Larson 0fa97530bb feat(challenges): Added math challenge stubs 2017-08-30 17:35:35 -07:00
Timo 626d243db4 fix(challenges): Revert CSS regex test
Some CSS tests were changed to regex tests while the CSS tests weren't
working on Firefox. Now that the original issue has been fixed, these
changes can be reverted.

Closes #15567
2017-08-30 14:56:09 +02:00
Alvin Lim b41a3c0ff4 feat(challenges): Added more assertion for Project Euler problem twe 2017-08-27 16:35:31 +07:00
Timo dcfe18d5d5 refactor: Replace .com with .org 2017-08-26 00:07:44 +02:00
Aung Myo Kyaw 7b8256a519 feat(seed): Add tests and solution to Problem: Largest Prime Factor 2017-08-25 17:08:51 +06:30
Daksh Shah 77935478fb Improve description of work with dynamic data in D3 challenge 2017-08-23 16:30:20 +05:30