Commit Graph

1868 Commits (e7ccaeff134bfa45ecc52188a4cbddfaf75dc504)

Author SHA1 Message Date
Ashraf Nazar e7ccaeff13 Fix/landing page vs learn page (#38085)
* fix: Use template literals for welcome conditional on /learn page

* fix: Make sign in button on /learn page same width as landing page
2020-01-20 09:50:07 +01:00
Kristofer Koishigawa d29bfcd1e9 fix: adjust styles and search behavior when there are no hits (#38073)
fix search bar to show "No tutorials found" and not redirect to search page without hits. 
change styles to match news.
2020-01-20 10:47:06 +03:00
Oliver Eyton-Williams fd72bd40f9 fix: change test-evaluator hash to refresh cache 2020-01-14 00:29:39 +09:00
Oliver Eyton-Williams bb5a9e8153 fix(security): treat messages as text, not HTML (#38062) 2020-01-13 12:56:29 +03:00
Kristofer Koishigawa 978bae6716 fix: news search redirects and loading indicator (#38048)
Disable loading indicator and redirect to full news search page url so NGINX no longer redirects to ../news/news/search?query=...
2020-01-13 04:22:27 +05:30
Ahmad Abdolsaheb b64048fe13 fix: hide stripe form when isDonating (#38034) 2020-01-09 18:57:04 +05:30
mrugesh 059e826465
fix: remove all year-end gift implementation (#38030) 2020-01-09 02:37:50 +05:30
Ahmad Abdolsaheb 14c1c429e2
fix: remove inappropriate quotes (#38019) 2020-01-07 14:42:05 +03:00
Kristofer Koishigawa 849e78d72e feat: enable MathJax for Project Euler challenges (#38017)
* feat: enable MathJax for Project Euler challenges

Enables MathJax to render mathematical formulae for some Project Euler problems

* refactor: DRY out script insertion

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-01-07 14:14:12 +03:00
Oliver Eyton-Williams e2b357bb56 fix: flush logs straight after evaluation (#38011)
If test evaluation takes too long the worker can timeout and any logs
will be lost.  Flushing the logs before test evaluation avoids this.
2020-01-04 10:38:05 +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 1a56f4d5f4 fix(client): show certs on timeline (#37947)
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2020-01-03 11:32:31 +05:30
mrugesh 8e605d8b85
Revert "feat(client): unify GA and add to donation" (#38001)
This reverts commit 78df306707.
2020-01-01 12:04:50 +05:30
Ahmad Abdolsaheb 78df306707 feat(client): unify GA and add to donation (#37984) 2019-12-31 23:29:32 +05:30
Ahmad Abdolsaheb 1d855b75b4 fix: add paypal image and donate form verification (#37978)
Co-Authored-By: mrugesh <1884376+raisedadead@users.noreply.github.com>
2019-12-30 21:10:46 +05:30
dependabot[bot] 6756c06fcd chore(deps): bump handlebars from 4.1.2 to 4.5.3 (#37987)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.2...v4.5.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: null <49699333+dependabot[bot]@users.noreply.github.com>
2019-12-27 22:15:58 +05:30
Parth Parth 075bfb38ff fix: styles for certs until redirect fixed (#37885)
* remove extra styling
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2019-12-25 22:29:57 +03:00
Ahmad Abdolsaheb d08a87bcd6 feat: add payment option image to donation forms (#37938) 2019-12-23 18:01:10 +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
mrugesh 885c8edeb7
fix(donate): update copy of the support text (#37964) 2019-12-20 22:48:57 +05:30
Tom a8a7eeb10d fix: make github url optional for backend projects (#37936) 2019-12-20 19:30:33 +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
Ahmad Abdolsaheb 2e3a5d4b1f fix: adjust default theme for StripeCardForm 2019-12-20 19:10:42 +05:30
Mrugesh Mohapatra e4590fed5c fix(donate): implement donate page 2019-12-20 19:10:42 +05:30
Oliver Eyton-Williams 6ef9345f92 fix: add close modal to keyboard navigation 2019-12-18 21:04:55 +05:30
Ahmad Abdolsaheb 1289d35435
fix: show default theme for donation related pages (#37956)
* fix: show default theme for donation related pages

* feat: add default theme to stripForm
2019-12-18 17:40:48 +03:00
Mrugesh Mohapatra 8db0f89634 fix(donate): remove isDontating check from year-end 2019-12-18 12:59:18 +03:00
Mrugesh Mohapatra 663f726c4e fix(donate): allow unauthenticated donations for year-end 2019-12-18 04:21:57 +05:30
Ahmad Abdolsaheb fc25c281e4 fix: adjust cert logo and grid 2019-12-18 03:08:58 +05:30
moT01 81de7dfaf7 fix: make nav logo link to /learn 2019-12-18 03:07:46 +05:30
Ahmad Abdolsaheb 1cead2f086 feat(donate): add year end gift page 2019-12-18 02:48:03 +05:30
Parth Parth 9ad5a95197 fix: re-order and update sign in CTA styles on completion modal (#37884) 2019-12-16 17:10:55 +05:30
Tom 2dfd850de8 Fix: bad link on donate page (#37935)
* fix: donate page link

* fix: remove unneeded curly brackets
2019-12-14 22:19:38 +05:30
mrugesh 38160d6dd7
fix(donate): update message on the success (#37917) 2019-12-13 16:05:59 +05:30
Mrugesh Mohapatra fdb17223ec revert : Added displayUsername and username update functionality
removes implemenation from #35699
This reverts commit e154f38118.
2019-12-13 01:07:05 +05:30
Mrugesh Mohapatra 647e25aa7c fix(donate): update mesage on the modal 2019-12-12 20:18:32 +05:30
Ahmad Abdolsaheb d7b7f0bfde fix: replace donate page 2019-12-12 20:18:32 +05:30
Ahmad Abdolsaheb 00f18dc21c chore: address review comments
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2019-12-12 20:18:32 +05:30
Ahmad Abdolsaheb 053dbfbba4 feat: add donation form to certificate 2019-12-12 20:18:32 +05:30
Ahmad Abdolsaheb 01d1315835 feat: add minimal form to modal 2019-12-12 20:18:32 +05:30
Derryk Boyd 85d3587e59 fix:remove additional certification from certs (#37910) 2019-12-12 11:16:10 +01:00
Oliver Eyton-Williams d6c53eb914 fix(client): report cross origin errors (#37793)
* fix(client): report cross origin errors

This reports errors generated in cross origin scripts to the dev console
and lets the user know via the fcc console.

* refactor: clean up script error checks

Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2019-12-11 17:59:19 +05:30
Catalina e154f38118 Added displayUsername and username update functionality (#35699)
* Added displayUsername and username update functionality

* fix: move username assignment to safe place

moved the username assignment down a statement so that it doesn't cause exception 

* fix: handle missing username or displayUsername

* refactor: remove redundant code
2019-12-11 12:43:06 +01:00
Mrugesh Mohapatra c40680b81e fix(client): remove donate settings page 2019-12-10 17:55:57 +01:00
Oliver Eyton-Williams 6a91f7c5b2 fix(client): add missing bootstrap container (#37905) 2019-12-10 17:38:16 +05:30
Ahmad Abdolsaheb 3f075f91d8 feat: activate progress based donation modal (#37882) 2019-12-09 22:00:24 +05:30
mrugesh f1ddec3f9b
fix(donate): hide legacy tiers (#37853) 2019-12-09 11:38:20 +05:30
Oliver Eyton-Williams d40be9cbf2 fix: use util.inspect for more reliable logging (#37880)
The tests are probably overkill, but this way we will know if
util.inspect changes dramatically.
2019-12-06 08:37:10 -08:00
Ahmad Abdolsaheb daf3a53e55
fix: optimize donation for mobile (#37803) 2019-12-06 10:30:53 +03:00
Ahmad Abdolsaheb d7c4fd7fea
fix: remove donation prevention (#37867) 2019-12-06 08:43:23 +03:00