Commit Graph

1772 Commits (7a4e84d163a5ebdff1a69c1fc46538c999ea298a)

Author SHA1 Message Date
Mrugesh Mohapatra 7a4e84d163 chore(donate): remove donate page tests
Removed the donate page tests, which seemed weirdly depending on
the rendered tree. Unreliable at the best.

We sould be adding comprehensive tests to the components instead.
2019-11-09 11:39:29 -08:00
Mrugesh Mohapatra 83ac3c5f95 chore(donate): remove unused donate modal wiring
This commit removed the donate modal and related wiring,
although some of the state mapping is still around.

The remaining state mapping can either be removed, or kept
for now, because it will be replaced as is for the newer
motivation based donation prompts
2019-11-09 11:39:29 -08:00
imgbot[bot] a36e0d8351 [ImgBot] Optimize images (#37723)
*Total -- 50.98kb -> 38.49kb (24.51%)

/client/src/assets/images/square_puck.png -- 25.51kb -> 13.31kb (47.81%)
/client/src/assets/images/freeCodeCamp-404.svg -- 25.47kb -> 25.17kb (1.17%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2019-11-09 01:33:48 -08:00
Ahmad Abdolsaheb ccd135f268 feat: update logo (#37716)
* feat: update logo

* fix: adjust logo height
2019-11-09 01:31:49 -08:00
Abdelrahman Ashraf 94532f98db refactor(tests): enzyme => react-testing-library (#37712)
* refactor: 💡 rewrite enzyme tests in react-testing-library

* fix: 🐛 remove enzyme imports from frame-runner.js

* chore: 🤖 install and add enzyme imports to frame-runner.js back
2019-11-08 16:50:25 +05:30
Randell Dawson 18891bf3ff feat(curriculum): download solution as non-json text file (#37681)
* feat: download solution as non-json text file

* fix: added missing end of line character

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2019-11-07 16:11:57 +05:30
Kishore Devaraj 06277c8436 fix(client): Improve client validation accessibility (#37459) 2019-11-06 19:43:58 +05:30
Nirvin M 699ffc5593 fix(client): reduce height of the alert banner (#37497) 2019-11-05 21:23:35 +05:30
Ahmad Abdolsaheb 55a4cadf2a fix: clean failed challenges (#37526) 2019-11-04 19:20:14 +05:30
Parth Parth c2e7809ccd feat: add message to warn users before changing name (#37527)
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2019-11-04 18:54:18 +05:30
Ahmad Abdolsaheb 8f73a92e16 fix: set color based on theme (#37634) 2019-10-31 22:59:47 +05:30
Oliver Eyton-Williams c6a11dd50a fix: escape HTML entities in code editor log (#37601) 2019-10-31 17:56:10 +05:30
Michaël De Boey c22ca2429e [ImgBot] Optimize images (#37520)
*Total -- 70.80kb -> 52.55kb (25.77%)

/docs/images/devops/travis-build.png -- 65.11kb -> 46.87kb (28.02%)
/api-server/public/images/freeCodeCamp-puck.svg -- 2.03kb -> 2.03kb (0.05%)
/client/src/assets/images/freeCodeCamp-404.svg -- 3.66kb -> 3.66kb (0.03%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: Imgbot <ImgBotHelp@gmail.com>
2019-10-31 17:54:30 +05:30
Mathew Joseph ebb7d8f3f7 fix(client): icon background not covering on hover. (#37414)
* Fixed the issue of icon background

* Removed background from icons

* Reverted the margin in last icon and fixed the slight color change on hover.

* Update client/src/components/profile/components/social-icons.css

Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: null <mathew@sovereignwallet.network>
2019-10-31 17:49:04 +05:30
Kristofer Koishigawa 77b27d79f6 fix: conditionally load MathJax (#37360)
* fix: Removed MathJax CDN from header and set it up to download whenever a user goes to a Rosetta Code challenge

* Reworked slightly so that MathJax CDN script is only rendered once

* Simplified further

* Resolved conflicts and updated MathJax fallback to work like the one on donate.js

* Escaped backticks in scriptLoaders.js

* refactor: remove reliance on state
2019-10-30 15:46:39 +03:00
Parth Parth f6add96fd6 feat: Make modal scrollable (#37504) 2019-10-30 14:30:24 +03:00
Kristofer Koishigawa 740c839f3f fix: submit backend projects (#37498) 2019-10-24 20:33:33 +05:30
Ahmad Abdolsaheb 3ca4dd5500 feat: update footer (#37476)
* feat: update footer

* fix: update tests

* fix: clean up

* fix: rearrange links

* fix: update test
2019-10-23 23:45:15 +05:30
Ahmad Abdolsaheb da1fe7971e feat: new logo landing (#37482) 2019-10-23 22:22:37 +05:30
Kishore Devaraj b6470f93dc fix(client): Signin page button's cursor made pointer (#37478) 2019-10-23 18:31:42 +05:30
Mrugesh Mohapatra 37528a6d26 fix: a11y on primary logo 2019-10-23 16:15:44 +05:30
Kishore Devaraj 45101c63fa fix(client): border visibility for form control in nightmode (#37470) 2019-10-23 15:26:51 +05:30
Kristofer Koishigawa a475ddc65b fix: remove unnecessary stripe iframes (#37428)
* fix: Remove stripe iframes when navigating away from /donate while still leaving two that may/may not be essential to Stripe

* Moved MutationObserver code into Header component

* fix: make MutationObserver remove old iframes


Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2019-10-23 15:25:04 +05:30
Tom 3fb5a2c361 fix: separate certs from interview prep on landing page (#37462) 2019-10-23 00:20:55 +05:30
mrugesh 8469975e52
fix: update caching on resources (#37460) 2019-10-23 00:19:56 +05:30
Ahmad Abdolsaheb b9014e2ceb feat: add local navigation 2019-10-22 21:21:10 +05:30
Ahmad Abdolsaheb 54db501138 fix: update nav items 2019-10-22 21:21:09 +05:30
Ahmad Abdolsaheb d7ad40688a feat: add settings button to learn 2019-10-22 21:21:08 +05:30
Ahmad Abdolsaheb 1606502784 fix: update test 2019-10-22 21:21:08 +05:30
Ahmad Abdolsaheb 2352c0b1d9 feat: remove portfolio and add conditional intro 2019-10-22 21:21:07 +05:30
Derryk Boyd 3483a04ba1 fix: center certificates vertically when viewed on large scree… (#37427)
* fix: center certificates vertically when viewed on large screens

* adjust alignment for all screen sizes

* change height to min-height
2019-10-22 21:14:04 +05:30
Kishore Devaraj 5b1ee9c177 fix(client): make academy honesty button disabled (#37453) 2019-10-22 17:20:33 +05:30
Kristofer Koishigawa 2b5268305a chore(client): add tests for search bar (#37012)
* feat(client): Tests for search bar

* Switched out Enzyme for react-test-renderer, but had to remove a lot of the incompatible tests
2019-10-22 17:01:00 +05:30
Ahmad Abdolsaheb 9337d6ad82 fix: return the loader after redirect (#37432)
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
2019-10-22 16:58:35 +05:30
lasjorg 4a478b550f chore: update monaco-editor, react-monaco-editor (#37445) 2019-10-22 01:09:21 +05:30
mrugesh 9fb9ce3085
fix(donate): offset the no of donations on prod (#37443) 2019-10-22 00:08:22 +05:30
floookay 2542ea3124 fix: display current progress in single line (#37418) 2019-10-21 20:07:38 +05:30
Mrugesh Mohapatra aa62fdbfe9 feat(api): add custom redirect back 2019-10-21 18:03:26 +05:30
Ahmad Abdolsaheb 3823ed19bc fix: update user state from server (#37374)
* fix: return updates from server
* fix: make store consistant and adjust form validation
2019-10-21 17:07:28 +05:30
Ricky Syamsi e4a26c9a74 fix(client): Email and internet presence client validation (#37389) 2019-10-20 16:31:13 +05:30
Mrugesh Mohapatra 7a6e8ed2d8 chore(client): remove unused ajax util lib 2019-10-20 16:29:56 +05:30
Mrugesh Mohapatra 368aa688fa fix(client): call donate api withCredentials 2019-10-20 16:29:56 +05:30
Mrugesh Mohapatra 2a449d03a3 fix(client): avoid rendering inside a p tag 2019-10-20 16:29:56 +05:30
Vivek Agrawal c5b973a7b1 fix(donate): other ways to donate btn styled as link (#37394)
* fix(donate): other ways to donate btn styled like link

* fix: minor style error
2019-10-19 04:18:56 +05:30
Oliver Eyton-Williams 058e0b7f8f feat: SSR MathJax and Stripe on routes using them (#37388)
* feat: SSR MathJax and Stripe on routes using them

* refactor: clean up scripts
2019-10-18 21:15:34 +05:30
Oliver Eyton-Williams 6316b47fbb fix: update timeline without reload
Rather than pinging the server, this uses the current time.  It should
almost always be the same and only lasts until reload.
2019-10-18 16:28:59 +09:00
Kristofer Koishigawa 3a2db6f090 fix: Bound handleStripeLoad to this in the constructor to prevent setState is not a function errors (#37371) 2019-10-17 16:57:37 +02:00
Oliver Eyton-Williams 0e143c2caf fix: replace navigate with hardgoto in showUser (#37363)
* fix: use hardGoTo in ShowUser

* refactor: clean up hardGoTo

Rather than using both navigate and hardGoTo this imports hardGoTo as
navigate and uses navigate everywhere


Co-authored-by: mrugesh <1884376+raisedadead@users.noreply.github.com>
2019-10-17 18:58:16 +05:30
Ahmad Abdolsaheb 78b6fd1adf fix: load stripe conditionally (#37365) 2019-10-17 18:21:01 +05:30
Mrugesh Mohapatra 1eb41c33b3 chore: update client deps 2019-10-17 18:20:33 +05:30