Commit Graph

1947 Commits

Author SHA1 Message Date
Jacob Robinson
694e52f742 feat: Code saveing to localStorage on Cmd/Ctrl + S (#38324)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: mrugesh <1884376+raisedadead@users.noreply.github.com>
2020-03-13 18:50:14 +05:30
Hassaan Pasha
5294936667 fix(learn): prevent indexing learn pages on search engines (#38260)
Co-authored-by: mrugesh <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-03-03 20:57:53 +05:30
Ahmad Abdolsaheb
2c3de17c74 fix: open universal nav links on the same tab (#38273) 2020-02-27 00:39:56 +05:30
Ezekiel Oladejo
402ccb36f1 Fix typographical errors in introductory texts (#38276)
* Fix typographical errors in introductory texts
2020-02-26 18:32:21 +01:00
Oliver Eyton-Williams
5b80595fbf fix: remove useless logging (#38246) 2020-02-21 15:08:53 +05:30
Oliver Eyton-Williams
7cdf01276d fix: ensure Babel options exist when used
Also renamed 'config' to 'options' to be consistent with the calling
function.
2020-02-20 19:52:23 +05:30
Oliver Eyton-Williams
ebc6197c54 fix: assume scripts inside HTML are js, not jsx 2020-02-20 19:52:23 +05:30
Oliver Eyton-Williams
d87c16e65e fix: only load preset when needed 2020-02-20 19:52:23 +05:30
Oliver Eyton-Williams
21833ab508 fix: load all Babel libs dynamically 2020-02-20 19:52:23 +05:30
Oliver Eyton-Williams
3fff454872 fix(client): localise calendar to user's current timezone (#38217)
* fix: localise Heatmap to user's timezone

Rather than using ISO formatted date strings, this uses Date objects
for simplicity and to ensure that the heatmap is correct for the
timezone it is viewed in. It should also match the timeline which is
also localised to the viewing computer's timezone.

* test: update snapshot
2020-02-15 00:29:41 +05:30
Oliver Eyton-Williams
cc79999a31 fix: force timezone to be UTC for tests (#38215)
react-calendar-heatmap's output depends on the timezone, which means
that snapshots can fail if the timezone changes.  This sets the timezone
as UTC during client tests to avoid that problem.
2020-02-14 21:24:29 +05:30
Ashraf Nazar
4999288912 fix: Use markdown syntax instead of HTML on exercises (#38196) 2020-02-11 23:26:09 +05:30
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