Commit Graph

2533 Commits

Author SHA1 Message Date
Mrugesh Mohapatra
00c475f663 chore: update meta and description (#38419) 2020-04-02 17:26:21 +05:30
Oliver Eyton-Williams
d4838f65d8 test: update HeatMap snap 2020-04-01 22:40:40 +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
db4b94f5ad refactor: refer directly to editor when possible 2020-04-01 22:40:40 +05:30
Oliver Eyton-Williams
457dbe13be fix: use updated monaco api 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
Ashraf Nazar
7e29462168 fix(Editor): change tab size to 2 spaces instead of 4 (#38475) 2020-03-31 16:20:46 +05:30
Ahmad Abdolsaheb
562f28e8b9 fix: update supporter badge logic (#38461)
* fix: update supporter badge logic

* fix: update snapshot
2020-03-28 12:34:48 +05:30
Ahmad Abdolsaheb
b7e9795466 fix: make modal donation text dynamic (#38462) 2020-03-28 12:34:09 +05:30
Oliver Eyton-Williams
ffcf8294f1 fix: fetch CSRF cookie and set headers lazily (#38452)
* fix: fetch csrf cookie and set headers lazily

* fix: check cookie each call to keep it up to date

Previously the cookie was checked once and never updated until the
client was reloaded.  Stale or absent cookies would generate incorrect
tokens or no tokens, respectively, causing CSRF errors.
2020-03-27 16:41:33 +05:30
Ahmad Abdolsaheb
8aa68be560 feat: border on avatar and badge for donating campers (#38434) 2020-03-27 14:21:35 +05:30
Ashraf Nazar
28d363e65a fix(client): adjust CTA button width depending on viewport (#38432) 2020-03-26 23:10:59 +05:30
Ashraf Nazar
66cbabda22 fix(search): add borders for list items (#38425)
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2020-03-26 22:35:34 +05:30
Oliver Eyton-Williams
35751bacf0 chore: remove rollbar from client and .env 2020-03-26 16:51:17 +05:30
Hassaan Pasha
2b1e02daf3 fix (client): show correct paypal donation duration on donate page (#38444) 2020-03-26 10:51:05 +03:00
Ahmad Abdolsaheb
af46e851df fix: make donation plan dynamic 2020-03-26 16:34:37 +09:00
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