Commit Graph

71 Commits

Author SHA1 Message Date
Berkeley Martinez
f1d936198e feat(challenges): add backend challenge infrastructure (#11058)
* Feat: Initial backend view

* Feat: Refactor frame runner

* Feat: backend challenge submit runs tests

* Feat: Backend challenge request

* Feat: Whitelist hyperdev in csp

* Fix: Use app tests instead of challenge tests

* Feat: Allow hyperdev subdomains

* Fix(csp): allow hypderdev.space subdomains

* feat(challenge): submit backend

* feat: Add timeout to test runner (5 sec)

* chore(seed): Add more to test backend

* fix(csp): s/hyperdev/gomix/g

* fix(app): fix code mirror skeleton filepath

* fix(app): remove Gitter saga import

* fix(app): codemirrorskeleton does not need it's own folder
fix(app): cmk needs to work with Null types

* fix: No longer restart the browser when challenges change

* fix(app): Update jquery for challenges

* fix(seed): Remove to promise jquery call

* fix(lint): Undo merge error
undefined is no allowed

* fix(app): linting errors due to bad merge

* fix(seed): Remove old seed file
2017-01-26 23:07:22 -06:00
Mrugesh Mohapatra
1f67c72fc6 feat(user): Report profiles
This adds a simple email-based mechanism to report profiles for
abuse. An email with text from the report is sent to Free Code
Camp's support account with the reporter's account in copy. This
also adds the reporter's details to the report for follow ups.
2017-01-13 00:14:29 +05:30
Ivan Sebastian
59a0788dfa fix optimizely csp for script-src 2016-10-27 16:50:10 +07:00
systimotic
4e4a2d0277 Fix typo. errorHanlder -> errorHandler 2016-10-05 11:33:30 +02:00
Berkeley Martinez
a6f9e95ed8 Feat: Add react-hot-loader
Combine webpack and browser-sync on one port
2016-09-27 19:49:58 -07:00
Berkeley Martinez
98763f5fd0 Fix(routes): Hardern add-lang middleware against short urls 2016-09-09 00:39:03 -07:00
Berkeley Martinez
2e9b179626 Feature(challenges): Load and cache required files 2016-07-28 23:40:01 -07:00
Berkeley Martinez
5d94cb369d Feature(server): Add response type detecting to lang redirect 2016-07-28 23:40:01 -07:00
Berkeley Martinez
668bd74690 Fix(lint): Add import eslint and fix import errors 2016-07-28 23:40:01 -07:00
Berkeley Martinez
95aab958aa Feature(langauge): Make client history language aware
Remove need for language aware links
2016-07-28 23:40:01 -07:00
Berkeley Martinez
078560c3ba Add language routing 2016-07-28 23:40:01 -07:00
Berkeley Martinez
cc8b608cb9 Moves to next challenges 2016-07-28 23:39:17 -07:00
Berkeley Martinez
a0efb99ea8 Fix production webpack build 2016-07-28 23:39:17 -07:00
Berkeley Martinez
c77fcedcbb Only use file hashing in production 2016-07-28 23:39:17 -07:00
Berkeley Martinez
4e12c45057 Add webpack cold reloading
On changes to the react bundle
webpack will store the current redux state
in localStorage, waits (to allow the server to restart)
then refreshes the page. On page load, it checks if it
has state stored and loads it into the app.
2016-07-28 23:39:17 -07:00
Arsen Melikyan
510ce1fe83 Show flash message on every page when cheater is logged in 2016-07-28 17:32:54 +04:00
Quincy Larson
b6c8b52465 add optimizely and expand shop offerings 2016-07-07 23:50:55 -07:00
Berkeley Martinez
e72ad8c513 fix(ui): Fix flash shown to user on page refresh
Store user theme preference on user object.
Must be logged in to use themes
2016-05-12 18:52:03 -07:00
Logan Tegman
c015cb5ec5 Inject csrf token into react app 2016-05-09 10:13:02 -07:00
Berkeley Martinez
a63fba8c9c Merge pull request #8196 from QuincyLarson/fix/vimeo-to-youtube
Transition Videos from Vimeo to Youtube
2016-05-04 15:42:15 -07:00
Logan Tegman
d540e9e4ca Switch react lecture component to youtube 2016-05-04 10:30:47 -07:00
Logan Tegman
03963bcdf8 Merge pull request #8356 from FreeCodeCamp/greenkeeper-helmet-2.0.0
Update helmet to version 2.0.0 🚀
2016-05-03 11:43:48 -07:00
Logan Tegman
1ea2c2a20a helmet.csp -> helmet.contentSecurityPolicy
Also updated frameguard
2016-05-03 11:32:38 -07:00
Berkeley Martinez
7b8dc2e77e Add friendly error message on auth create attemp 2016-05-02 23:03:44 -07:00
Berkeley Martinez
cda2fe768b Remove csrf from api calls 2016-05-02 21:11:49 -07:00
Berkeley Martinez
3ae67f6fa9 Add csrf protection 2016-05-02 17:22:56 -07:00
Quincy Larson
b7f2e194fb fix trailing comma issue 2016-04-19 09:35:04 -07:00
Quincy Larson
f1b5bffdd8 Update CSP to remove vimeo and add youtube 2016-04-19 00:23:27 -07:00
Aniruddh Agarwal
09bf747cfc Change ESLint quote-props rule to as-needed
Also fixes all files flagged by the rule
2016-04-16 00:31:13 +08:00
Berkeley Martinez
bbc76b1b73 Fix regression in challenge map migration 2016-04-07 16:38:39 -07:00
Geoffrey Wright
a42e4cfd83 extend session cookie past browser close 2016-03-28 21:49:23 -04:00
Berkeley Martinez
74592e72b4 Update eslint, fix lint issues 2016-03-03 17:53:33 -08:00
Hallaathrad
cc2aa67bec Lint pass 2016-02-13 21:26:59 -05:00
Quincy Larson
aaaf327992 Merge pull request #6879 from FreeCodeCamp/feature/wiki-sidebar
Add Wiki Sidebar, Use Gatsby Generated Wiki
2016-02-11 20:01:01 -08:00
SaintPeter
ba18520845 Add language detection 2016-02-11 18:14:47 -08:00
Berkeley Martinez
6642dd497f Add validation to challenge completion
Change ajax requests to send and accept JSON
to preserve data types.
Fix typos
2016-02-10 22:10:06 -08:00
Berkeley Martinez
c2915f9e14 Convert model instance to POJO earilier in migration change 2016-02-10 16:45:57 -08:00
Berkeley Martinez
0354eeae16 Move idMap to utils so it can be used elsewhere 2016-02-10 16:34:09 -08:00
Berkeley Martinez
5be6c4c92f Fix lint errors 2016-02-10 16:31:59 -08:00
Rex Schrader
858546e3ec Migrate invalid Challenge IDs 2016-02-10 15:18:48 -08:00
Berkeley Martinez
0542845b10 Filter out bad id's 2016-02-10 14:32:14 -08:00
Berkeley Martinez
ff34964264 Update completed challenge names 2016-02-10 13:27:00 -08:00
Berkeley Martinez
07d54a455c Add challengeMap migrations 2016-02-10 10:06:36 -08:00
Hallaathrad
fe422d2300 adding wiki as detached and integrating into .less folder 2016-02-09 23:26:59 -05:00
Berkeley Martinez
169c82acfc Add emailing on server exceptions
Keymetrics VC's are coming. They no longer let you see reported
errors or notify you on their free tier which renders the service
useless for us.

This will emailing you using mandrill with a stack trace and
context of the error when it receives it
2016-01-24 22:27:45 -08:00
greenkeeperio-bot
4e345e0d12 chore(package): update helmet to version 1.1.0
http://greenkeeper.io/
2016-01-19 15:22:14 -08:00
Berkeley Martinez
e3ec56ef40 Fix show profile page challenge filtering to use challengeType 2016-01-18 17:33:06 -08:00
Arsen Melikyan
a5bde55f6e Fixes incorrect redirection to map-aside 2016-01-17 13:28:03 +04:00
Berkeley Martinez
12b2be9db8 Remove old terminology 2016-01-15 06:08:54 -08:00
Berkeley Martinez
50b1e61e70 Fix change challenge model to POJO 2016-01-15 04:51:11 -08:00