Commit Graph

47 Commits

Author SHA1 Message Date
rdm100
885538d9e1 fix: updated and consolidated quotes (#39069)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-06-15 18:42:27 +05:30
Ahmad Abdolsaheb
7db718141b feat: add paypal script loader for one time and subscription (#38553)
* fix: add one-time payment sdk script loader

* fix: remove paypal credit
2020-04-21 00:46:34 +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
Oliver Eyton-Williams
35751bacf0 chore: remove rollbar from client and .env 2020-03-26 16:51:17 +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
Oliver Eyton-Williams
23b899f50f fix(csrf): remove all csrf bypass 2020-03-17 23:28:23 +05:30
Ahmad Abdolsaheb
6c6eadfbe4 feat(donate): PayPal integration 2020-03-16 18:35:51 +05:30
mrugesh
059e826465 fix: remove all year-end gift implementation (#38030) 2020-01-09 02:37:50 +05:30
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
Mrugesh Mohapatra
663f726c4e fix(donate): allow unauthenticated donations for year-end 2019-12-18 04:21:57 +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
Mrugesh Mohapatra
aeec1bb9e6 feat(donate): integrate servicebot 2019-11-19 23:09:53 +05:30
Mrugesh Mohapatra
ef0a801c90 feat(donate): remove unauthenticated routes 2019-11-19 22:28:05 +05:30
Kristofer Koishigawa
77b27d79f6 fix: conditionally load MathJax (#37360)
* fix: Removed MathJax CDN from header and set it up to download whenever a user goes to a Rosetta Code challenge

* Reworked slightly so that MathJax CDN script is only rendered once

* Simplified further

* Resolved conflicts and updated MathJax fallback to work like the one on donate.js

* Escaped backticks in scriptLoaders.js

* refactor: remove reliance on state
2019-10-30 15:46:39 +03:00
Mrugesh Mohapatra
368aa688fa fix(client): call donate api withCredentials 2019-10-20 16:29:56 +05:30
Ahmad Abdolsaheb
78b6fd1adf fix: load stripe conditionally (#37365) 2019-10-17 18:21:01 +05:30
Oliver Eyton-Williams
4896e45eea fix: remove Gatsby proxy (#37364)
Direct ajax calls to the server directly, rather than a proxy to reduce
redirects while still allowing the server to be used in development.
2019-10-17 18:20:02 +05:30
Kristofer Koishigawa
3cd0bf0106 fix: temporarily remove rollbar (#37333)
* fix: Temporarily remove rollbar

* Reverting changes to api-server
2019-10-16 12:20:56 +05:30
Ahmad Abdolsaheb
9ff7bf5801 feat: simplify landing page 2019-09-04 18:23:21 +05:30
Valeriy
469c3f05c2 feat: use static query to get idToNameMap (#36722) 2019-08-30 22:37:28 +05:30
Mrugesh Mohapatra
56d78a1119 fix(server,client): CORS is a real nightmare 2019-08-17 17:01:10 +05:30
Ahmad Abdolsaheb
bc099d4971 fix: add cert claim logic for legacy cert 2019-06-11 16:19:32 +05:30
Ahmad Abdolsaheb
4558caf328 fix: make legacy certification saga call api and update db 2019-06-11 16:19:30 +05:30
Hemakshi Sachdev
05f8c2bd5c feat: added danger-zone-saga.js 2019-02-26 22:57:13 +05:30
Bouncey
c0104faa38 fix(ci): Fix lint errors thrown in CI 2019-02-19 14:30:27 +05:30
Bouncey
ca298e9bde fix: Revert to relative ajax urls 2019-02-16 12:27:23 +05:30
Bouncey
463a83b459 fix: Do not use relative api locations 2019-02-15 14:49:53 +00:00
Mrugesh Mohapatra
f9c4d2426c fix: remove unwanted stuff 2019-01-16 13:48:38 +00:00
Mrugesh Mohapatra
fdc2219f81 feat: remove news from platform 2019-01-16 13:48:38 +00:00
Bouncey
f66e59e20c fix: Use built-ins to format numbers 2018-12-04 17:42:12 +05:30
Bouncey
4a9d22cee0 feat: Comma separate active donations number 2018-12-04 17:42:12 +05:30
Stuart Taylor
d327a5c36b Feat: News in the client app (#34392) 2018-11-29 15:12:15 +03:00
Bouncey
987da19254 feat(profile): Add Profile and components 2018-11-13 05:39:50 +05:30
Bouncey
3da2a3eea9 fix(updates): Fix learn -> server communication 2018-09-30 12:42:40 +01:00
Bouncey
87837f480d feat(certs): Claim Certs 2018-09-25 13:18:17 +01:00
Bouncey
ef0428b396 feat(portfolio): Add portfolio settings 2018-09-21 11:26:30 +01:00
Bouncey
9f4430eced feat(settings): Internet Settings 2018-09-21 11:26:30 +01:00
Bouncey
2de2143457 feat(email-settings): Add email settings 2018-09-21 11:26:30 +01:00
Bouncey
3a98e3cfa3 feat(privacy): Add privacy settings 2018-09-21 11:26:30 +01:00
Bouncey
c7a4b5b50f feat(theme): Add theme updating functionality 2018-09-14 16:22:44 +01:00
Bouncey
a41ef09932 feat(about): Submit new 'about' settings 2018-09-14 16:22:44 +01:00
Bouncey
4f54803674 feat(username): Add Username updating 2018-09-14 16:22:44 +01:00
Bouncey
c5c4f3aa41 feat(report-user) Gatsby /user/:username/report-user 2018-09-07 14:37:14 +01:00
Bouncey
a9c948679e feat(prettier): Use prettier for client code 2018-09-07 14:37:14 +01:00
Bouncey
77a4452437 feat(certs): Convert certification views to gatsby 2018-09-04 19:40:07 +05:30
Bouncey
dc00eb8555 chore(root): Ensure development environment 2018-09-03 17:47:48 +05:30
Bouncey
e59ad6ebda chore(client): Move client app to /client 2018-09-03 17:47:48 +05:30