Commit Graph

1916 Commits

Author SHA1 Message Date
Oliver Eyton-Williams
58bd0b5ce4 chore(tools): add jsx-a11y Eslint plugin (#38438)
* chore(tools): add a11y eslint plugin

* fix: use Gatsby's a11y eslint rules

* fix(search): remove unnecessary mouse listeners
2020-03-26 10:25:47 +05:30
Jacob Robinson
49efb02528 fix(client):remove hyperlink from flash message (#38429)
* fix(client):remove hyperlink from flash message

* Use full URL

Co-Authored-By: mrugesh <1884376+raisedadead@users.noreply.github.com>

Co-authored-by: mrugesh <1884376+raisedadead@users.noreply.github.com>
2020-03-24 17:31:48 +01:00
mrugesh
786626f21e fix(PayPal): update config pickup from env (#38423)
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2020-03-23 19:33:37 +05:30
Tobias Helsing
2ff5e83195 Add full width hover to map (#38412)
Co-authored-by: Tobias <tobias.helsing@futurice.com>
2020-03-22 19:15:46 +03:00
Ashraf Nazar
88e1952478 fix: ESLint warnings in logs 2020-03-21 03:09:38 +05:30
Ahmad Abdolsaheb
b561599614 fix(donate): re-enable monthly donations and update plans 2020-03-21 01:58:07 +05:30
Oliver Eyton-Williams
a7c70ddcd8 fix: remove debugModal (#38405) 2020-03-20 21:24:06 +05:30
Mrugesh Mohapatra
8866ed74c2 fix(donate): remove call to verification when not signed in 2020-03-20 13:17:39 +05:30
Ahmad Abdolsaheb
cdc8b1e8e5 feat: add reconfigurable paypal button to donate page 2020-03-20 10:05:07 +05:30
Mrugesh Mohapatra
170e3dbf4f fix(donate): remove isSigned in check temporarily 2020-03-19 23:55:47 +05:30
Mrugesh Mohapatra
585527d145 feat: add paypal donation to modals and certificates 2020-03-19 23:55:47 +05:30
Mrugesh Mohapatra
c30f0dbf0d fix(client): fixup PayPal intergration 2020-03-19 17:18:53 +05:30
Mrugesh Mohapatra
9d72ccf048 chore(client): remove PayPal integration
This commit removes the changes introduced via #38239 to unblock deployment to production
2020-03-18 00:18:23 +05:30
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
Jacob Robinson
00347ff8bf feat(client): add space for flash message (#38327) 2020-03-17 11:07:42 +05:30
Ahmad Abdolsaheb
c21af106bb feat: update open graph and twitter meta 2020-03-17 00:32:56 +05:30
Mrugesh Mohapatra
f9277b4fec fix(env): make PayPal env config dynamic 2020-03-16 18:35:52 +05:30
Ahmad Abdolsaheb
6c6eadfbe4 feat(donate): PayPal integration 2020-03-16 18:35:51 +05:30
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