Commit Graph

123 Commits

Author SHA1 Message Date
Mrugesh Mohapatra
6b8061fa9a fix: url and CSP for deps 2018-08-15 11:00:12 +01:00
Mrugesh Mohapatra
38ad6eb878 fix(csp): Update policy for FA and remove optimizely 2018-08-04 22:48:20 +01:00
Stuart Taylor
9cdb0ec7a2 feat(article-views): Initial view tracking 2018-08-03 19:27:42 +05:30
Stuart Taylor
8ffd03578a feat(news): Initial server work for /news 2018-08-03 19:27:42 +05:30
Stuart Taylor
42a97da763 fix(csp): Add fontaesome.com to trusted styleSrc 2018-08-03 19:27:42 +05:30
Stuart Taylor
94622cc3d6 fix(csp): Add .rocks to csp 2018-08-03 19:27:42 +05:30
Mrugesh Mohapatra
57ceee0897 fix: update email template 2018-07-28 08:33:30 +01:00
Mrugesh Mohapatra
38bcc2e250 fix(auth): Remove deprecated views and routes 2018-06-29 21:29:20 +01:00
Mrugesh Mohapatra
580e1465bb fix: remove enforcing redirect to update-email 2018-06-26 15:37:51 +01:00
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