Commit Graph

161 Commits (efb12a2d7aef674ef08964edd65a9abd4ed72a44)

Author SHA1 Message Date
dependabot[bot] e9bfd68ec7 chore(deps): bump react-helmet from 5.2.1 to 6.1.0 in /client
Bumps [react-helmet](https://github.com/nfl/react-helmet) from 5.2.1 to 6.1.0.
- [Release notes](https://github.com/nfl/react-helmet/releases)
- [Changelog](https://github.com/nfl/react-helmet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nfl/react-helmet/commits/6.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-10 18:22:27 +00:00
dependabot[bot] c3acbc8692 chore(deps): bump @fortawesome/react-fontawesome in /client
Bumps [@fortawesome/react-fontawesome](https://github.com/FortAwesome/react-fontawesome) from 0.1.9 to 0.1.11.
- [Release notes](https://github.com/FortAwesome/react-fontawesome/releases)
- [Changelog](https://github.com/FortAwesome/react-fontawesome/blob/master/CHANGELOG.md)
- [Commits](https://github.com/FortAwesome/react-fontawesome/compare/0.1.9...0.1.11)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-10 17:18:12 +00:00
Mrugesh Mohapatra b80f4da09d chore(deps): update packages on client 2020-10-10 21:54:43 +05:30
Ahmad Abdolsaheb 1a66eac990 feat: render nav conditionally 2020-09-24 17:48:29 +05:30
Oliver Eyton-Williams 5528823151 fix(client): add polyfill explicitly
Previously it was only present because of a chain of dependencies
2020-09-24 16:29:55 +05:30
Oliver Eyton-Williams 410ab87c61 fix(client): use new Gatsby --inspect 2020-09-24 16:29:55 +05:30
Mrugesh Mohapatra 806cadfd91 chore:(deps): client - update minor and patch 2020-09-24 16:29:55 +05:30
Oliver Eyton-Williams 3ea251383f fix: use loadable MonacoEditor 2020-09-16 11:54:10 +05:30
Oliver Eyton-Williams a0f43c93ba chore: update react-monaco-editor 2020-09-16 11:54:03 +05:30
Ahmad Abdolsaheb d9dad10f43
feat(client): shinny new landing page 🎉 (#39400)
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-08-24 23:36:40 +05:30
Mrugesh Mohapatra adef746299
chore: move search-indexing, supress webpack-cli progress (#39367) 2020-08-09 04:17:10 +05:30
Oliver Eyton-Williams c285ce5a0c
chore: bump loadash and remove gulp (#39276) 2020-07-18 00:34:48 +05:30
Mrugesh Mohapatra 426732f7b5
revert(client): /s/react-youtube/plyr-react/g (#39162)
This reverts commit df6a4f649d.
We found mulitple issues with the integration and will rework on this.
2020-07-02 19:46:10 +05:30
Mrugesh Mohapatra df6a4f649d
feat(client): /s/react-youtube/plyr-react/g (#39137)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-06-29 17:37:24 +05:30
Oliver Eyton-Williams 9954c3d0bc
feat: add python syntax highlighting (#39079)
To err on the side of caution, this explicitly includes all languages
that were implicitly included before using the Babel plugin.
2020-06-17 20:33:08 +05:30
Mrugesh Mohapatra e3ee7eef3a chore(client): bump minor & patch versions of deps 2020-05-11 22:53:55 +05:30
Oliver Eyton-Williams 54c6190361 feat: add GitHub action for e2e testing 2020-04-23 01:42:24 +05:30
Bouncey 7eb6351530 feat: add cypress for e2e tests 2020-04-23 01:42:24 +05:30
Ahmad Abdolsaheb 7db718141b
feat: add paypal script loader for one time and subscription (#38553)
* fix: add one-time payment sdk script loader

* fix: remove paypal credit
2020-04-21 00:46:34 +05:30
Oliver Eyton-Williams 8300a669a3 chore: roll react-tooltip back to 4.1.0
Later versions use random classnames, breaking snapshots.
2020-04-01 22:40:40 +05:30
Oliver Eyton-Williams b1296a4521 chore: update deps and install peers 2020-04-01 22:40:40 +05:30
Tom 0ffc657d5f
feat: paginate heatmap + calculate streaks on client (#38318)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-03-31 23:34:54 +03:00
Oliver Eyton-Williams 23b899f50f fix(csrf): remove all csrf bypass 2020-03-17 23:28:23 +05:30
Oliver Eyton-Williams 10eaf8ed13 chore: update client 2020-03-17 11:09:12 +05:30
Ahmad Abdolsaheb 6c6eadfbe4 feat(donate): PayPal integration 2020-03-16 18:35:51 +05:30
Ahmad Abdolsaheb 24eb2c4310
fix: add donation ga and tests (#38003)
* fix: add donation ga

* feat: add ga-saga tests
2020-02-04 11:13:56 +05:30
Oliver Eyton-Williams f5feff386a fix: stop user code after 500ms of execution
Code like `var xs = []; while(true){ xs.push(1) }` can quickly run the
browser out of memory causing it to crash.  These changes stop user loops
from running indefinitely so that common mistakes will no longer cause
the browser to crash.

Also, the user is informed if a long running loop is detected (js and
jsx challenges) during preview or testing.  Before this there was no
protection for js challenges and no information was given to the
user if they had created such a loop.

Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
Co-Authored-By: mrugesh <1884376+raisedadead@users.noreply.github.com>
Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2020-01-03 11:41:52 +05:30
Oliver Eyton-Williams e5abfa15ad Revert "fix: stop user code after 100ms of execution" (#37965)
This reverts commit 01b37f664f.
2019-12-21 11:09:32 +05:30
Oliver Eyton-Williams 01b37f664f fix: stop user code after 100ms of execution (#37841)
Co-authored-by: mrugesh <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2019-12-20 19:28:17 +05:30
mrugesh 1b61bceee7
feat(client): completion modal progress bar (#37836)
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2019-11-26 22:14:44 +05:30
Ahmad Abdolsaheb 1d73575a59
Revert "feat(client): completion modal progress bar (#37775)" (#37835)
This reverts commit a8928739dd.
2019-11-26 18:30:08 +03:00
Tom a8928739dd feat(client): completion modal progress bar (#37775)
* feat: add progress bar to completion modal

* feat: add stuff

* feat: finalize-layout-and-make-responsive

* feat: add feature to all challenge templates

* git test

* fix: remove challenge title + enlarge top message

* fix: move graphql query to completion modal

* fix: remove some previous additions

* fix: optimize functions

* fix: removed isRequired flag

* feat: add animation

* feat: add interval to state + clear on unmount

* fix: change around interval function

* feat: make bar fill non-linearly

* Update client/src/templates/Challenges/components/CompletionModal.js

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* Update client/src/templates/Challenges/components/CompletionModal.js

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* Update client/src/templates/Challenges/components/CompletionModal.js

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* Update client/src/templates/Challenges/redux/index.js

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* Update client/src/templates/Challenges/redux/index.js

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* Update client/src/templates/Challenges/redux/index.js

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* Update client/src/templates/Challenges/redux/index.js

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* Update client/src/templates/Challenges/components/CompletionModalBody.js

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* Update client/src/templates/Challenges/components/CompletionModalBody.js

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* Update client/src/templates/Challenges/components/CompletionModalBody.js

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* fix: remove bracket

* fix: tweak animation + change to pure component

* fix: remove comment

* Update client/src/templates/Challenges/components/CompletionModalBody.js

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* Update client/src/templates/Challenges/components/CompletionModalBody.js

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* fix: remove animateProgress

* feat: add tests for progress bar

* feat: add working tests

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

* fix: add formatting

* fix: use content selectors where possible

* fix: make progress bar show 0 for unauthed users
2019-11-26 18:15:59 +03: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
lasjorg 4a478b550f chore: update monaco-editor, react-monaco-editor (#37445) 2019-10-22 01:09:21 +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
Ahmad Abdolsaheb 09eebd8598 fix: save the fonts locally 2019-10-16 19:29:48 +09:00
Ahmad Abdolsaheb e6d55fd086 feat: add fonts locally 2019-10-14 20:31:58 +09:00
mrugesh cc3c9a8fa2
chore: update meta, caching and headers (#37159) 2019-10-09 14:23:41 -07:00
Ahmad Abdolsaheb 6ed3426128 fix: remove scrolling (#37098) 2019-10-08 02:00:08 -07:00
Oliver Eyton-Williams 1130a1c0df
chore: update to beta of react-instantsearch-dom (#36843)
* chore: update to beta of react-instantsearch-dom

* feat: use .env variables for search keys
2019-10-04 18:03:20 +02:00
Ahmad Abdolsaheb 203ca92a20 feat: improve landing page (#36826)
* feat/ add smooth scroll from landing to map

* feat: scroll to currentChallengeId if it exist

* fix: update tests

* refactor: migrate from componentWillMount

* fix: update Map and Block's tests and mocks


Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2019-10-04 08:32:35 -07:00
Oliver Eyton-Williams cd3ef998a6 fix: rollback react-hotkeys and remove buttons 2019-09-24 22:22:14 +05:30
Oliver Eyton-Williams c91393d737 feat: use local HotKeys and allow editor escape
GlobalHotKeys were abandoned, because they were capturing events that
had called stopPropagation.  This meant that something needed to be in
focus, hence passing a ref of the HotKey DOM element to the Editor.

react-hotkeys has been updated to 2.0.0-pre9, because 2.0.0 captured
ctrl keypresses when asked for ctrl+enter

Currently only classic challenges can be executed by hotkey, but all
allow hotkey navigation
2019-09-24 22:22:14 +05:30
Oliver Eyton-Williams a19ceeffe2 feat: add navigation hotkeys 2019-09-24 22:22:14 +05:30
Valeriy 4ef44a4621 chore(client): update monaco-editor 2019-09-04 18:56:06 +05:30
Valeriy d85425fd1b feat(client): use React Final Form instead of Redux Form (#36742) 2019-09-04 18:18:58 +05:30
Ahmad Abdolsaheb 31e3d9b27e feat: commandline chic 2019-08-20 13:37:11 +05:30
mrugesh 5f97782eb0
fix: add identicon natively (#36633) 2019-08-19 19:17:53 +05:30
Mrugesh Mohapatra a00f9c5810 fix: update client dependencies 2019-08-18 15:43:25 +05:30
Valeriy S 052769e69f chore(client): update gatsby 2019-08-17 18:35:21 +05:30
mrugesh 91ad464020
Revert "feat: add bootcamp cost calc guide (#35278)" (#36614)
This reverts commit 869f5edfc5.
2019-08-17 16:31:29 +05:30
Ron Sogueco 869f5edfc5 feat: add bootcamp cost calc guide (#35278)
* feat: add bootcamp cost calc guide

* feat: use ReactJS portals

* feat: fix eslint errors

* feat: update with change requests

* feat: update package-lock.json
2019-08-16 23:57:36 -05:00
Mrugesh Mohapatra ae80f96ec3 fix(client): remove service workers 2019-08-14 19:23:27 +05:30
Mrugesh Mohapatra 8980528009 chore(client): update dependencies except gatsby 2019-07-22 17:10:54 +05:30
Mrugesh Mohapatra c112fe6a20 chore(client): update all dependencies to latest 2019-06-21 19:56:20 +05:30
Mrugesh Mohapatra c5fd478d9a fix(deploy): misc. re-arrange scripts and organize 2019-06-21 00:53:05 +05:30
Mrugesh Mohapatra 9c324f103f chore: update client dependencies 2019-06-16 23:33:51 +05:30
Mrugesh Mohapatra 91adc43bcd fix(tools): rearrange scripts and graceful exit 2019-06-16 00:23:41 +05:30
dependabot[bot] 9e82ae87b6 chore: bump jquery from 3.3.1 to 3.4.0 in /client
Bumps [jquery](https://github.com/jquery/jquery) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Commits](https://github.com/jquery/jquery/compare/3.3.1...3.4.0)

Signed-off-by: dependabot[bot] <support@github.com>
2019-06-12 23:00:21 +05:30
ValeraS 08403ca561 chore(client): update redux-saga 2019-06-12 02:49:29 +05:30
ValeraS ec1b51debb chore(client): update gatsby 2019-06-12 02:49:28 +05:30
ValeraS 01ddc7c9a2 chore(client): update react-testing-library 2019-06-12 02:49:28 +05:30
Tom 397ff21390 fix(client): add tooltip for calendar-heatmap (#36008) 2019-06-11 16:43:46 +03:00
kozlovvski d6a6504f74 chore(tools): updated jest in packages
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2019-06-11 19:06:57 +05:30
Oliver Eyton-Williams 60dd7ca703 fix: Change test output formatting from code to html (#35857) 2019-06-09 05:28:10 +05:30
Hemakshi Sachdev b1956a7ba1 fix: flash modals stack up and are not visible until scrolled to top (#35808)
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2019-06-09 05:25:54 +05:30
Valeriy 3552fd392a fix: make search working 2019-06-08 03:16:28 +05:30
Valeriy 4f1fdfdd14 chore(tools): update docker setup to use npm ci 2019-05-02 01:01:00 -07:00
Valeriy fbf5439248 chore: update packages 2019-05-02 01:01:00 -07:00
Mrugesh Mohapatra cbaea46504 fix: rollback gatsby-remark-prismjs & more updates 2019-05-02 01:01:00 -07:00
Mrugesh Mohapatra 0f720671d5 fix: update client packages 2019-05-02 01:01:00 -07:00
Valeriy 6bbe152f34 chore(client): replace react-media with react-responsive
react-media does not handle props changes, use react-responsive instead.
2019-03-14 19:06:18 +05:30
Stuart Taylor d2387023f5 chore: Bump gatsby packages (#35444)
<!-- Please follow this checklist and put an x in each of the boxes, like this: [x]. It will ensure that our team takes your pull request seriously. -->

- [x] I have read [freeCodeCamp's contribution guidelines](https://github.com/freeCodeCamp/freeCodeCamp/blob/master/CONTRIBUTING.md).
- [x] My pull request has a descriptive title (not a vague title like `Update index.md`)
- [x] My pull request targets the `master` branch of freeCodeCamp.
2019-02-27 17:00:40 +05:30
Bouncey f4528ad0ff fix: Consolodate full screen loaders in to one component 2019-02-26 16:06:05 +03:00
Bouncey f5ca6ce5e9 chore: Move sinon dep to the root 2019-02-21 21:03:06 +05:30
Valeriy be36915605 feat: use prettier with eslint 2019-02-19 14:30:27 +05:30
Bouncey 1ba67c4e2b chore: Clean up linting from child package.json's 2019-02-19 14:30:27 +05:30
Bouncey 09e563f742 chore: remove fetchr 2019-02-19 14:30:27 +05:30
Stuart Taylor 05a49e36ee chore: apply fixes from npm audit (#35210)
- [x] I have read [freeCodeCamp's contribution guidelines](https://github.com/freeCodeCamp/freeCodeCamp/blob/master/CONTRIBUTING.md).
- [x] My pull request has a descriptive title (not a vague title like `Update index.md`)
- [x] My pull request targets the `master` branch of freeCodeCamp.
2019-02-14 20:39:55 +05:30
Ahmad Abdolsaheb c3399893c6 fix: remove underline on hover (#35161)
* fix: remove underline on hover

* fix: load Lato font
2019-02-13 08:49:31 -06:00
Valeriy dd41028f5b fix(client): replace decodeHTMLEntities to entities package 2019-01-28 12:02:45 +00:00
Valeriy 995489eb3c fix(client): classic challenge styles and update react-reflex 2019-01-28 12:02:45 +00:00
Valeriy S 271e7dd077 fix(client): simplify header component and styles, auto close menu 2019-01-28 12:02:45 +00:00
Valeriy 44e9ffb6f2 fix(learn): remove sass.js from bundle and place it to static/js 2019-01-17 16:53:38 +05:30
Valeriy S 9642b63eae fix(client): increase node memory for workers' build 2019-01-16 11:52:14 +00:00
Valeriy S db4d1b6fa7 chore(client): rename script and add progress 2019-01-16 11:52:14 +00:00
Valeriy S d4b0250988 feat: bundle sass.js with a worker 2019-01-16 11:52:14 +00:00
Niraj Nandish 2888f9eda8 feat(client): Update all client gatsby packages (#34866) 2019-01-15 14:41:23 +05:30
Valeriy 786da39499 feat(client): bundling test dependencies 2018-12-09 10:38:10 +00:00
Stuart Taylor d327a5c36b Feat: News in the client app (#34392) 2018-11-29 15:12:15 +03:00
Stuart Taylor cee98aef43 feat: watch challenges (#34321) 2018-11-16 23:52:52 +05:30
Bouncey d686b32d9d fix: Reimplement the HeatMap 2018-11-13 05:39:50 +05:30
Bouncey 987da19254 feat(profile): Add Profile and components 2018-11-13 05:39:50 +05:30
Stuart Taylor 7da04a348b fix: Update packages and fix local dev (#26907)
<!-- Please follow this checklist and put an x in each of the boxes, like this: [x]. It will ensure that our team takes your pull request seriously. -->

- [x] I have read [freeCodeCamp's contribution guidelines](https://github.com/freeCodeCamp/freeCodeCamp/blob/master/CONTRIBUTING.md).
- [x] My pull request has a descriptive title (not a vague title like `Update index.md`)
- [x] My pull request targets the `master` branch of freeCodeCamp.
2018-10-23 18:48:46 +05:30
Bouncey 2ec3c6962f chore(curriculum): Bump pkg version to fix build 2018-10-05 15:58:12 +01:00
Bouncey badc68089f chore(pkg): Prep md parser for publish
fix(netlify): Fix Build
2018-10-05 15:58:12 +01:00
Bouncey 3f86862d3e chore(lock): Update Lock files 2018-10-05 15:58:12 +01:00
Bouncey 3151390be4 feat(next): BREAKING New curriculum package 2018-10-05 15:58:12 +01:00
Bouncey 6ba31ae5d1 fix(build): Add gatsby-cli to deps 2018-10-05 15:58:12 +01:00