Commit Graph

117 Commits

Author SHA1 Message Date
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
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
e897c46cb8 chore(cleanup): Remove console.log 2018-03-05 14:26:57 +00:00
6301411673 fix(cert-settings): Uncouple Cert-Settings from dashedName's 2018-03-05 14:15:30 +00:00
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
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
ae3ccdd672 fix(user/settings): Add theme server validations 2018-01-30 17:14:33 -08:00
2bb27e8dc6 feat(Flash): Get flash messages on load 2018-01-18 15:20:54 -08:00
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
296387d67e fix(User): Move login logic into user model 2018-01-02 23:38:01 +05:30
c5420229e4 fix(User.confirm): Overwrite confirm w/ custom method
Reduce db calls, implement old logic
2018-01-02 23:38:01 +05:30
07f30427cb feat(User/Auth): Use stand alone auth token 2018-01-02 23:38:01 +05:30
bf196d37ff fix(User): Add isSignUp logic
emailVerfied field no longer indicates a new user.
2018-01-02 23:38:01 +05:30
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
5ea434c429 fix(User): Email is off the constructor 2018-01-02 23:38:01 +05:30
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
60e2baf307 feat(User): Refactor wait period logic 2018-01-02 23:38:01 +05:30
b6f621fee3 fix(User.updateEmail): Reduce code logic. defer promises 2018-01-02 23:38:01 +05:30
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
44c2eb65d5 refactor(User): Make requestAuthEmail into instance method 2018-01-02 23:38:01 +05:30
412fddd065 fix(models/User): Remove dup before create 2018-01-02 23:38:01 +05:30
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
885d5916c0 fix: Update email action should hit API 2017-12-07 00:00:02 +05:30
af43360027 fix(auth): Add keyword in email support for passwordless 2017-11-29 23:11:24 +05:30
69fa4b3098 Merge pull request #15892 from raisedadead/feat/lb3-upgrade
feat(LoopBack): Upgrade to LoopBack 3
2017-11-27 13:33:01 -08:00
187dbdfc92 fix(models): Update remote method definitions 2017-11-16 11:34:50 +05:30
e652ad934a fix: Email should be switched before confirm 2017-11-01 01:43:22 +05:30
5e61fd53d1 fix(user): Add update new-email placeholder property 2017-10-28 00:24:27 +05:30
9ccfe4f72c refactor: Update methods to sensible names 2017-10-28 00:24:27 +05:30
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
fe059c224e fix(User): Naming convention updates 2017-10-28 00:24:26 +05:30
d77e9fd411 fix(user): Remove remote method on user create 2017-09-17 15:27:45 +05:30
5e86b25a69 fix(auth): Remove reset password endpoint 2017-09-17 14:54:48 +05:30
ab93109828 fix(auth): Fix merge errors from rebase 2017-09-01 17:32:58 -07:00
2321f7b326 feat(server): Add URL utils to compute server URL, HOST, PORT, etc. 2017-09-01 17:32:20 -07:00
d313ab68e4 fix(email): Error messages for updateEmail API 2017-09-01 17:23:40 -07:00
3f332fc1f0 fix: Add error handling and refactoring of Observable methods 2017-09-01 17:21:02 -07:00
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
0ce30409c0 refactor(code): cleanup and rebase 2017-09-01 17:21:02 -07:00
5c56a1e78c Update email views and notifications 2017-09-01 17:15:26 -07:00
f3804bb553 chore(passwordless): Update to freeCodeCamp 2017-09-01 17:15:26 -07:00
b32e2102ac Remove reset-password logic 2017-09-01 17:15:26 -07:00
239313cb0b Remove sign up page and update button styles 2017-09-01 17:15:26 -07:00
fd442c55bb Remove error catch and use update method 2017-09-01 17:15:26 -07:00
26c1389c3a Donot render per request email 2017-09-01 17:15:26 -07:00
19e5ff537e Fix indenting and remove isDev from wait time. 2017-09-01 17:15:26 -07:00
e006f5c97d Optimize code and streamline flow.
- Optimize code and streamline flow.
- Add return statements for error display.
- Invalidate status vars and TTLs on User Model.
- Build Observable for findOrCreate
2017-09-01 17:15:26 -07:00
f8c818e7e7 Implement passwordless login
* Created a new rest API to create and save a temporary token that
  can be exchanged for a access token.
* Updated the sign in view
* Add email template for sign in links
* Add route to request a access token and login user
* Make the email views conistent
2017-09-01 17:14:43 -07:00
dcfe18d5d5 refactor: Replace .com with .org 2017-08-26 00:07:44 +02:00
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