Commit Graph

127 Commits (2ea59d8014dd81a0b04f5ced399fc53ce7344b97)

Author SHA1 Message Date
dependabot[bot] 2ea59d8014 chore(deps): bump @babel/polyfill from 7.11.5 to 7.12.1 in /client
Bumps [@babel/polyfill](https://github.com/babel/babel/tree/HEAD/packages/babel-polyfill) from 7.11.5 to 7.12.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.1/packages/babel-polyfill)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-19 07:41:05 +00:00
dependabot[bot] ab24b8845b chore(deps): bump react from 16.13.1 to 16.14.0 in /client
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) from 16.13.1 to 16.14.0.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v16.14.0/packages/react)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-19 07:38:26 +00:00
dependabot[bot] d2ab69ef49 chore(deps): bump gatsby from 2.24.73 to 2.24.80 in /client
Bumps [gatsby](https://github.com/gatsbyjs/gatsby) from 2.24.73 to 2.24.80.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/compare/gatsby@2.24.73...gatsby@2.24.80)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-19 05:37:33 +00:00
dependabot[bot] 6185f44892 chore(deps): bump gatsby-source-filesystem in /client
Bumps [gatsby-source-filesystem](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-source-filesystem) from 2.3.34 to 2.3.35.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-source-filesystem/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-filesystem@2.3.35/packages/gatsby-source-filesystem)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-19 05:36:56 +00:00
dependabot[bot] 8d6e33ced9 chore(deps): bump @babel/standalone from 7.11.6 to 7.12.3 in /client
Bumps [@babel/standalone](https://github.com/babel/babel/tree/HEAD/packages/babel-standalone) from 7.11.6 to 7.12.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.3/packages/babel-standalone)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-19 05:33:14 +00:00
dependabot[bot] c93421a21b chore(deps): bump react-instantsearch-dom from 6.7.0 to 6.8.1 in /client
Bumps [react-instantsearch-dom](https://github.com/algolia/react-instantsearch) from 6.7.0 to 6.8.1.
- [Release notes](https://github.com/algolia/react-instantsearch/releases)
- [Changelog](https://github.com/algolia/react-instantsearch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/algolia/react-instantsearch/compare/v6.7.0...v6.8.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-19 05:29:31 +00:00
Oliver Eyton-Williams 38323f858f
fix(client): update nanoid (#39960) 2020-10-13 17:24:46 +05:30
Oliver Eyton-Williams 35f43e8886 chore: update date-fns 2020-10-13 16:26:17 +05:30
Oliver Eyton-Williams 6da9d105e0
chore(client): update testing-library 2020-10-12 14:15:51 +02:00
Oliver Eyton-Williams 59e81824a6 chore(client): minor version bumps 2020-10-12 15:23:05 +05:30
dependabot[bot] cce1355efa chore(deps): bump gatsby-plugin-postcss from 2.3.12 to 2.3.13 in /client
Bumps [gatsby-plugin-postcss](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-postcss) from 2.3.12 to 2.3.13.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-postcss/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-postcss@2.3.13/packages/gatsby-plugin-postcss)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-11 20:16:31 +00:00
dependabot[bot] 221a822009 chore(deps): bump axios from 0.19.2 to 0.20.0 in /client
Bumps [axios](https://github.com/axios/axios) from 0.19.2 to 0.20.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.19.2...v0.20.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-11 20:12:28 +00:00
dependabot[bot] 20867256fb chore(deps-dev): bump autoprefixer from 9.7.6 to 9.8.6 in /client
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 9.7.6 to 9.8.6.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/9.7.6...9.8.6)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-11 19:37:11 +00:00
dependabot[bot] 82b028542f chore(deps): bump prismjs from 1.21.0 to 1.22.0 in /client
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.21.0 to 1.22.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.21.0...v1.22.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-11 19:28:59 +00:00
dependabot[bot] 551f0ca6c7 chore(deps): bump typescript from 3.8.3 to 4.0.3 in /client
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.8.3 to 4.0.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.8.3...v4.0.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-11 17:50:17 +00:00
dependabot[bot] 4f520a2144 chore(deps): bump sanitize-html from 1.27.4 to 2.1.0 in /client
Bumps [sanitize-html](https://github.com/apostrophecms/sanitize-html) from 1.27.4 to 2.1.0.
- [Release notes](https://github.com/apostrophecms/sanitize-html/releases)
- [Changelog](https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md)
- [Commits](https://github.com/apostrophecms/sanitize-html/compare/1.27.4...2.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-10 18:25:34 +00:00
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