Commit Graph

114 Commits (3f61c1356f8002d8b20f8044c657e8dac9f0df71)

Author SHA1 Message Date
Stuart Taylor b2276fe807 fix(errors): Filter out handled errors from rollbar (#17368)
Give me my inbox back!!
2018-06-01 22:37:28 +05:30
Mrugesh Mohapatra b7843c6047 fix: update alert style 2018-05-31 01:35:24 +05:30
Stuart Taylor 6315c6eae0 feat(reporting): Use rollbarjs for error reporting in production (#17259) 2018-05-29 18:38:55 +05:30
Stuart Taylor 2adeaccf20
Merge pull request #17181 from tamj0rd2/feature/remove-opbeat
refactor(server): Remove opbeat from dev tools
2018-05-28 22:43:57 +01:00
Mrugesh Mohapatra 5f8eb3615a fix: update middleware passthru and user in memory 2018-05-29 01:59:37 +05:30
Mrugesh Mohapatra d3567fbb9b fix: add route for lear redirects 2018-05-29 01:51:38 +05:30
Stuart Taylor 9cf1d67e02 fix(Observables): Remove observables from requestUpdateEmail method 2018-05-29 01:51:38 +05:30
Mrugesh Mohapatra 12b2c556ec fix(views): update static email update views 2018-05-29 01:51:38 +05:30
Mrugesh Mohapatra 59f700b110 fix(auth): Add verification route for email 2018-05-29 01:51:38 +05:30
Mrugesh Mohapatra 3ad70a7926 feat: add gdpr privacy and terms 2018-05-28 19:12:26 +05:30
Stuart Taylor 238657d356 fix(points): Assign external user points when validated (#17228)
Trying to emulate ` component-passport`.

There has to be a reason why we don't do this in the user service.
2018-05-24 21:28:00 +05:30
Stuart Taylor 58a5d0d181 fix(external): Ensure req.user on verified web token (#17225) 2018-05-24 16:49:51 +05:30
Stuart Taylor dfda68fb58 feat(auth): Authorise 'external' requests through JWT (#17224) 2018-05-24 01:40:56 +05:30
Mrugesh Mohapatra c2a0443486 fix: report error only when enabled 2018-05-20 13:40:48 +05:30
Stuart Taylor 0553bfe2ff refactor(server): Remove opbeat from dev tools 2018-05-19 22:05:09 +05:30
mrugesh mohapatra 0271e78a1d chore(opbeat): Remove opbeat react logging (#17173) 2018-05-16 15:22:43 +01:00
Stuart Taylor f916204ba5 Chore: Update User model (#17171)
* fix(logs): Remove console.log's

* chore(challengeMap): challengeMap -> completedChallenges

* chore(userModel): Update user model

* feat(userIDs): Add user ident fields

* chore(github): Remove more refs to github data
2018-05-15 19:26:26 +05:30
Stuart Taylor 156ea1af76 Feat: Welcome Page (#17150) 2018-05-15 10:42:05 +05:30
Stuart Taylor ebfbfb6df9 chore(package): Update react-freecodecamp-search (#16943) 2018-03-23 18:41:07 -05:00
Stuart Taylor a0c3d5bd08 feat(opbeat): Enable opbeat-react for frontend performance tracking 2018-03-09 15:42:44 +00:00
Stuart Taylor c6975c77df
fix(search): Allow csp to always trust search.freecodecamp.org 2018-02-12 22:38:42 +00:00
Berkeley Martinez b8f8ea80cf feat(express): Add sendFlash to send a flash message json 2018-01-30 17:14:33 -08:00
Berkeley Martinez 13c9d97262 fix(error-reporter): Only report uncaught errors (#16526)
Errors that have status codes do not need reporting. If opbeat is not enabled, do not report
2018-01-19 11:03:57 +05:30
Berkeley Martinez 0b62f4450c refactor(jade-helpers): Clean up code 2018-01-18 15:20:54 -08:00
Berkeley Martinez 9a481afe6a feat(jade): Add cacheBreaker for dev browser cache breaking 2018-01-18 15:20:54 -08:00
Berkeley Martinez 4a911931d0 fix(server/flash): Api to match documentation
This fixes duplication issues and normalize our use with everyone else
2018-01-18 15:20:54 -08:00
Berkeley Martinez 2bb27e8dc6 feat(Flash): Get flash messages on load 2018-01-18 15:20:54 -08:00
Berkeley Martinez 387eafbf33 feat(Flash): Add render methods that do not dump flash autom
query from the front end app for these messages
2018-01-18 15:20:54 -08:00
Cassidy Pignatello eab62f6623
Merge branch 'staging' into fix/normalize-flash-type 2018-01-10 14:19:00 -05:00
cassidypignatello f158183039 fix(app): Normalize flash type
Changed flash messages to use types provided by Bootstrap

Closes #16395
2018-01-08 17:25:45 -05:00
Berkeley Martinez a1530c041a fix(Auth): Error type in json payload 2018-01-02 23:38:01 +05:30
Berkeley Martinez d5e7bd586d fix(handled-errors): Handled errors should default to 200 2018-01-02 23:38:01 +05:30
Berkeley Martinez 13b7eac16f fix(passport/login): Use middleware instead of bootscript
prototype overwrite doesn't seem have any effect
2018-01-02 23:38:01 +05:30
Berkeley Martinez 894a309723 fix(middlewares/errorhandler): Remove npm module and refactor for fcc use case 2018-01-02 23:38:01 +05:30
Berkeley Martinez 19c7bb1ac9 chore(packages): Update validator and express-validator 2018-01-02 23:38:01 +05:30
Stuart Taylor b4542a5aa3 feat(search): Add react-freecodecamp-search to Nav (#16209) 2017-12-18 10:48:21 -06:00
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