Commit Graph

1885 Commits (5eed674c3a2aa9514dfe7f6a1732ebff67351396)

Author SHA1 Message Date
Ahmad Abdolsaheb 99a30d4b65
fix: remove donation message for unauthorized users (#38188)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-02-10 18:34:49 +05:30
Manish Giri 3e5963b2a7 fix(client): disable intellisense in editor (#37813) 2020-02-09 00:26:47 +05:30
Josh Soref 004b99bf8f chore: fix typos in spelling (#38100)
* spelling: accidentally

* spelling: announce

* spelling: assembly

* spelling: avoid

* spelling: backend

* spelling: because

* spelling: claimed

* spelling: candidate

* spelling: certification

* spelling: certified

* spelling: challenge

* spelling: circular

* spelling: it isn't

* spelling: coins

* spelling: combination

* spelling: compliant

* spelling: containers

* spelling: concise

* spelling: deprecated

* spelling: development

* spelling: donor

* spelling: error

* spelling: everything

* spelling: exceed

* spelling: exist

* spelling: falsy

* spelling: faulty

* spelling: forward

* spelling: handle

* spelling: indicates

* spelling: initial

* spelling: integers

* spelling: issealed

* spelling: javascript

* spelling: length

* spelling: maximum

* spelling: minimum

* spelling: mutable

* spelling: notifier

* spelling: coordinate

* spelling: passport

* spelling: perform

* spelling: permuter

* spelling: placeholder

* spelling: progressively

* spelling: semantic

* spelling: submission

* spelling: submit

* spelling: translations

* spelling: turquoise

* spelling: visualization

* spelling: without

* spelling: registration

* spelling: representation
2020-02-08 23:59:10 +05:30
Mika Laaksonen f4fbe1d97c
fix(client): Header and buttons text made smaller (#38110)
* Front page header and login buttons text made smaller

* Increased headers size a little to all be over 1rem
2020-02-08 18:28:25 +05:30
Kristofer Koishigawa 4ef445c543
feat: add styles for markdown tables and convert some HTML tables to markdown (#38126) 2020-02-07 09:47:35 +01:00
Tom a9c173b35b
fix: remove useless last sentence on intros (#38176) 2020-02-06 17:22:15 +01:00
Oliver Eyton-Williams c76978bdfe
fix: prevent duplication of Monaco webpack plugin (#38131)
It seems that adding it during the 'build-html' stage meant it was
creating new, unminified, versions of the scripts and overwriting the
existing, minified, ones.
2020-02-06 14:24:00 +03:00
kundan kumar fcddfc90b2
fix: Update html tags to fix misalignment (#38160) 2020-02-05 11:18:51 +05:30
vanya829 9a863898f3
fix: remove html tags to fix misalignment (#38159)
* fix: remove html tags to fix misalignment

* Update client/src/pages/learn/apis-and-microservices/managing-packages-with-npm/index.md

Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2020-02-04 11:31:48 -06:00
Tom 25a46f613b
fix: add line break to align with the rest of the intros (#38161) 2020-02-04 11:27:58 -06:00
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 992ee98cc1 fix: make no-hits result seem non-interactive 2020-02-04 10:56:34 +05:30
Oliver Eyton-Williams 00e0f574df refactor: move no hits case into own component 2020-02-04 10:56:34 +05:30
Tom 964328dbae
fix(client): accuracy issue with heatmap (#38137)
* fix/accuracy-issue-with-heatmap

* fix: typo

* feat: add test and simplify logic

* test: mock Date.now and update snapshot

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-02-04 10:37:04 +05:30
Oliver Eyton-Williams c6eb40ceef
feat: remove protection from interview prep (#38136)
The interview prep section includes many challenges that require long
running calculations which can be mistaken for infinite loops. This
removes the loop protection from those challenges, while the tests are
being evaluated.

It keeps the protection for the preview, since it is easy to create
broken code while working on a challenge and that should not crash the
site.
2020-02-04 10:33:56 +05:30
vanya829 d626e898ee
fix(curriculum): stop tests running after navigating away (#38146) 2020-02-03 18:52:49 +05:30
Ahmad Abdolsaheb 92ffe117f1 fix: add space to blockDonationText (#38075) 2020-01-21 09:49:25 +01:00
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