Commit Graph

124 Commits (9bd2052b36d44eed5b05cc42c3cc416038c947df)

Author SHA1 Message Date
Stuart Taylor 3e52c666da fix(updated): Update completedChallenges and progressTimestamps without duplicates (#17226)
Closes #17200
2018-05-24 19:29:46 +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 75ac5962e0 fix: add cookie domain to loginByRequest 2018-05-22 21:53:09 +05:30
Mrugesh Mohapatra d2f63ac57a fix: make access available on all apps 2018-05-21 21:26:18 +05:30
Stuart Taylor bb4bcbfb45 Feat(privacy): Add granular privacy controls of public profile (#17178)
* feat(privacy): Add granular privacy controls of public profile

* feat(certs): Hide certs if showCerts is false
2018-05-19 22:07:41 -05: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
mrugesh mohapatra a2076ce1ec fix(auth): on-boarding, signup and welcome flows (#16882)
* fix(auth): Route should have specific targets

* fix(signup): Redirection should be to signup

Closes #16945

* feat(redirect): All fallback redirects to signin

* fix: send back to originating route

* fix(server,secrets): Specify profile field for LinkedIn provider.

* fix(profile): Add route to react profile page
2018-04-13 15:48:10 +01:00
Quincy Larson 4f0f17892c Fix/copy improvements (#16859)
* fix(seed): Simplify copy of lessons and remove need for image

* rework copy for account creation and login emails

* fix: Fixup email template and lock-file
2018-03-09 19:39:44 +00:00
Stuart Taylor e897c46cb8 chore(cleanup): Remove console.log 2018-03-05 14:26:57 +00:00
Stuart Taylor 6301411673 fix(cert-settings): Uncouple Cert-Settings from dashedName's 2018-03-05 14:15:30 +00:00
Stuart Taylor 3131c55782 feat(Profile): Reactify profile page (#16743)
* feat(Profile): Reactify profile page

* chore(tidyup): Remove console.log

* fix(timeline): Remove legacy challenges from Timeline render

* fix(style): Remove underline on a:hover
2018-02-19 14:32:14 -06:00
Stuart Taylor 24ef69cf7a feat(settings): Expand Settings page functionality (#16664)
* fix(layout): Fix Settings layout in firefox

* chore(availableForHire): Remove available for hire setting

* feat(helpers): Use helper components for Settings layout

* fix(map): Fix undefined lang requested

* feat(settings): Expand Settings page functionality

* chore(pledge): Remove pledge from Settings

* fix(about): Adjust AboutSettings layout

* fix(portfolio): Improve PortfolioSettings layout

* fix(email): Improve EmailSettings layout

* fix(settings): Align save buttons with form fields

* fix(AHP): Format AHP

* fix(DangerZone): Adjust DangerZone layout

* fix(projectSettings): Change Button Copy

* fix(CertSettings): Fix certificate claim logic

* chore(lint): Lint
2018-02-16 17:18:53 -06:00
Berkeley Martinez ae3ccdd672 fix(user/settings): Add theme server validations 2018-01-30 17:14:33 -08:00
Berkeley Martinez 2bb27e8dc6 feat(Flash): Get flash messages on load 2018-01-18 15:20:54 -08:00
Berkeley Martinez 0af881a177 feat(User): Add remove getMessages method
We'll use this api to get flash messages on the front end up
2018-01-18 15:20:54 -08:00
Berkeley Martinez 296387d67e fix(User): Move login logic into user model 2018-01-02 23:38:01 +05:30
Berkeley Martinez c5420229e4 fix(User.confirm): Overwrite confirm w/ custom method
Reduce db calls, implement old logic
2018-01-02 23:38:01 +05:30
Berkeley Martinez 07f30427cb feat(User/Auth): Use stand alone auth token 2018-01-02 23:38:01 +05:30
Berkeley Martinez bf196d37ff fix(User): Add isSignUp logic
emailVerfied field no longer indicates a new user.
2018-01-02 23:38:01 +05:30
Berkeley Martinez e60ff3775b fix(User): Unify old remove save hook with before save
Since we are no longer using remote api to create accounts those hooks
are useless. Unifying them will ensure they apply to all
save/update/creates
2018-01-02 23:38:01 +05:30
Berkeley Martinez 5ea434c429 fix(User): Email is off the constructor 2018-01-02 23:38:01 +05:30
Berkeley Martinez 0682ef33db fix(User.requestAuthEmail): Conditionally check for email availibility
Only check if email is available if it is not already associated with
this account
2018-01-02 23:38:01 +05:30
Berkeley Martinez 60e2baf307 feat(User): Refactor wait period logic 2018-01-02 23:38:01 +05:30
Berkeley Martinez b6f621fee3 fix(User.updateEmail): Reduce code logic. defer promises 2018-01-02 23:38:01 +05:30
Berkeley Martinez 750c9f1eab fix(passwordless): Reduce db calls, run in parallel
Adds validations, reduces the number of database calls, separates
concers. reduces logic
2018-01-02 23:38:01 +05:30
Berkeley Martinez 44c2eb65d5 refactor(User): Make `requestAuthEmail` into instance method 2018-01-02 23:38:01 +05:30
Berkeley Martinez 412fddd065 fix(models/User): Remove dup before create 2018-01-02 23:38:01 +05:30
Berkeley Martinez 2e410330f1 Feat(Challenges): no js preview (#16149)
* fix(files): Decouple files from challenges

* feat(server/react): Remove action logger

use redux remote devtools instead!

* feat(Challenges): Disable js on edit, enable on execute

* feat(Challenge/Preview): Show message when js is disabled

* refactor(frameEpic): Reduce code by using lodash

* feat(frameEpic): Disable js in preview by state

* feat(frameEpic): Colocate epic in Challenges/redux

* refactor(ExecuteChallengeEpic): CoLocated with Challenges

* refactor(executeChallengesEpic): Separate tests from main logic

* feat(Challenge/Preview): Update main on edit

* feat(frameEpuc): Replace frame on edit/execute

This allows for sandbox to work properly

* fix(Challenges/Utils): Require utisl

* revert(frameEpic): Hoist function to mount code in frame

* fix(frameEpic): Ensure new frame is given classname

* feat(executeChallenge): Update main on code unlocked

* fix(frameEpic): Filter out empty test message

* fix(Challenge/Preview): Remove unnessary quote in classname

* feat(codeStorageEpic): Separate localstorage from solutions loading

* fix(fetchUser): Merge user actions into one

prefer many effects from one action over one action to one effect

* fix(themes): Centralize theme utils and defs

* fix(entities.user): Fix user reducer namespacing

* feat(frame): Refactor frameEpic to util

* feat(Challenges.redux): Should not attempt to update main from storage

* fix(loadPreviousChallengeEpic): Refactor for RFR

* fix(Challenges.Modern): Show preview plane
2017-12-07 18:13:19 -06:00
Mrugesh Mohapatra 885d5916c0 fix: Update email action should hit API 2017-12-07 00:00:02 +05:30
Mrugesh Mohapatra af43360027 fix(auth): Add keyword in email support for passwordless 2017-11-29 23:11:24 +05:30
Berkeley Martinez 69fa4b3098
Merge pull request #15892 from raisedadead/feat/lb3-upgrade
feat(LoopBack): Upgrade to LoopBack 3
2017-11-27 13:33:01 -08:00
Mrugesh Mohapatra 187dbdfc92 fix(models): Update remote method definitions 2017-11-16 11:34:50 +05:30
Mrugesh Mohapatra e652ad934a fix: Email should be switched before confirm 2017-11-01 01:43:22 +05:30
Mrugesh Mohapatra 5e61fd53d1 fix(user): Add update new-email placeholder property 2017-10-28 00:24:27 +05:30
Mrugesh Mohapatra 9ccfe4f72c refactor: Update methods to sensible names 2017-10-28 00:24:27 +05:30
Mrugesh Mohapatra 2a3703b95a fix(user): Add LoopBack email validation once again
Earlier we did not need emails for everyone, this is not the case
anymore. We now require emails, and all other auth mechanisms are
now deprecated for new users.
2017-10-28 00:24:27 +05:30
Mrugesh Mohapatra fe059c224e fix(User): Naming convention updates 2017-10-28 00:24:26 +05:30
Mrugesh Mohapatra d77e9fd411 fix(user): Remove remote method on user create 2017-09-17 15:27:45 +05:30
Mrugesh Mohapatra 5e86b25a69 fix(auth): Remove reset password endpoint 2017-09-17 14:54:48 +05:30
Mrugesh Mohapatra ab93109828 fix(auth): Fix merge errors from rebase 2017-09-01 17:32:58 -07:00
Mrugesh Mohapatra 2321f7b326 feat(server): Add URL utils to compute server URL, HOST, PORT, etc. 2017-09-01 17:32:20 -07:00
Mrugesh Mohapatra d313ab68e4 fix(email): Error messages for updateEmail API 2017-09-01 17:23:40 -07:00
Mrugesh Mohapatra 3f332fc1f0 fix: Add error handling and refactoring of Observable methods 2017-09-01 17:21:02 -07:00
Mrugesh Mohapatra a426ff7ef9 fix(email): allow sender email var for development
Allows setting the SES_ID, SES_SECRET and EMAIL_SENDER values
2017-09-01 17:21:02 -07:00
Mrugesh Mohapatra 0ce30409c0 refactor(code): cleanup and rebase 2017-09-01 17:21:02 -07:00
Mrugesh Mohapatra 5c56a1e78c Update email views and notifications 2017-09-01 17:15:26 -07:00
Mrugesh Mohapatra f3804bb553 chore(passwordless): Update to freeCodeCamp 2017-09-01 17:15:26 -07:00
Mrugesh Mohapatra b32e2102ac Remove reset-password logic 2017-09-01 17:15:26 -07:00
Mrugesh Mohapatra 239313cb0b Remove sign up page and update button styles 2017-09-01 17:15:26 -07:00