Commit Graph

78 Commits (0fcaccdc3c4dca53e85dc7e12cb3c9303099106f)

Author SHA1 Message Date
Timo dcfe18d5d5 refactor: Replace .com with .org 2017-08-26 00:07:44 +02:00
Berkeley Martinez 2fcd976700 fix(signup): signup auth (#15628)
* fix(models.user): Colocate all user methods

Moved user methods/extensions into one file. Tracked down `next method
called more than once` error and setting headers after their sent. Let
regular error handler handle api errors as well.

* feat(server.auth): Disable github account creation

We are no longer allowing account creation through github

* refactor(Auth): Move user identity link into models dir

* feat(Disable link account login): This removes the ability to use a linked account t

* feat(errorhandlers): Add opbeat, filter out handled error
2017-07-14 00:09:07 +05:30
Berkeley Martinez 36ce006aac fix(csp): ws connection during dev uses SYNC_PORT only (#14483) 2017-04-21 16:21:55 +05:30
Berkeley Martinez f018cae686 Merge branch 'staging' into fix/update-config-for-debug-setups 2017-04-17 14:38:28 -07:00
ZZhaoTireless 45f1c92d79 Fix: replace all GoMix with Glitch 2017-03-23 22:26:45 -04:00
Mrugesh Mohapatra 566de3e3f2 fix: Update config to be flexible for host 2017-03-20 12:13:27 +00:00
Petr Gazarov f159027025 Remove bower and port dependencies over to npm 2017-02-09 00:09:39 -05:00
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