Commit Graph

1524 Commits (9c3f0f3628a1862a98a73875d419d20e92d47720)

Author SHA1 Message Date
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 52529a99b1 feat(server): Use debug for prettier logs 2018-01-07 11:18:26 +05:30
Berkeley Martinez 020a25bb4f feat(server): Add sigint kill script
Closes #15733
2018-01-07 11:18:26 +05:30
Berkeley Martinez 35a290f8fa feat(server): Move wepback require code split
Clean up server code
2018-01-07 11:18:26 +05:30
Berkeley Martinez de153ebc6f chore(server/production-start): Modernize code 2018-01-07 11:18:26 +05:30
Berkeley Martinez 00c3a97fa0 chore(server): Remove https redirect
This is no longer used. https is handled by Cloudflare/nginx
2018-01-07 11:18:26 +05:30
Mrugesh Mohapatra 7d2e9bc15e fix: Re-enable button and add disable styles 2018-01-05 13:06:59 +05:30
Mrugesh Mohapatra 07ca7c4376 fix(sign-in): Adds a feedback on sign-in request
Closes #16266
2018-01-04 23:21:26 +05:30
Berkeley Martinez a7534dce14 fix(views/signup): Error should be danger 2018-01-02 23:38:01 +05:30
Berkeley Martinez a1530c041a fix(Auth): Error type in json payload 2018-01-02 23:38:01 +05:30
Berkeley Martinez 558328aa08 feat(boot/auth): Add signup disabled debug info 2018-01-02 23:38:01 +05:30
Berkeley Martinez 296387d67e fix(User): Move login logic into user model 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 7a922229f4 chore(Loopback): Normalize configs using cli 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 d5e7bd586d fix(handled-errors): Handled errors should default to 200 2018-01-02 23:38:01 +05:30
Berkeley Martinez 9c5322334b fix(User): Fix typos 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 550e1db9a4 fix(boot/auth): Fix typo 2018-01-02 23:38:01 +05:30
Berkeley Martinez 8a66886081 fix(AccessToken): Move extensions to boot script
Loopback does not facilitate built in model extensions in the same way
as user defined models
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 b35501c78e refactor(server/authenticate): Move auth api into own boot script
separate from user account/display methods
2018-01-02 23:38:01 +05:30
Berkeley Martinez 0452a9d1d5 fix(models): Move custom method to loopback model extension 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
Berkeley Martinez dc7432c62f fix(server/user): End signin middleware early if signed in 2018-01-02 23:38:01 +05:30
Berkeley Martinez 4d3ee43ca3
Merge pull request #16338 from Bouncey/fix/mapInitialUI
fix(map): Render superBlock titles on initial render
2017-12-28 10:35:14 -08:00
Niko 941e060da5 fix: Homepage responsiveness (#16326) 2017-12-28 00:47:43 -06:00
Stuart Taylor 7d7e559b08 fix(map): Render superBlock titles on initial render 2017-12-27 10:56:30 +00:00
Vladi 869bf1750e fix(visual): Flash notifications now do not overlap with naviga (#16298)
removed negative-30 class used in partial view

Closes #16267
2017-12-23 12:52:21 -06:00
Jonathan Grah b7e89e698f
Merge pull request #16251 from cpheimbach/fix/adds_certificates_to_static_profile_path
feat(profile): Adds certificates to static profile path
2017-12-22 11:47:15 +00:00
mrugesh mohapatra 8f6deff199 fix: Update text for GitHub and Settings (#16253)
This commit adds back changes from the
commit 9142aec8ad

Just updates the labels of some of the buttons
2017-12-21 15:35:21 -06:00
cpheimbach 7823c0dbe2 feat(profile): Adds certificates to static profile path
I added all boolean checks, buttons and routes of the new certificates
to the view. (According to user.json)

Closes #16246
2017-12-21 19:50:41 +00:00
Jonathan Grah 674ce83ab0 feat(cert): Certificates (#16185)
* feat(cert): finished layout and design of legacy certificates

* feat(cert): added new certs

* feat(cert): added logic for new certs

* feat(cert): updated claiming challenges

* feat(cert): fixed various small issues

* feat(cert): completed suggested changes
2017-12-20 19:15:23 -06:00
Stuart Taylor b4542a5aa3 feat(search): Add react-freecodecamp-search to Nav (#16209) 2017-12-18 10:48:21 -06:00
Mrugesh Mohapatra 94e808b15c fix(show): Move the order of tabs to be consistent 2017-12-16 11:51:54 +05:30
Mrugesh Mohapatra e3d1e8b16c fix(show): Make the user profile tab consistent 2017-12-16 11:50:23 +05:30
Berkeley Martinez b1e9a172a2 Feat: anon navbar (#16189)
* chore(React): %s/react-pure-render/React.PureComponent/gc

* fix(Settings): Should redirect to signup when unauthen

* feat(Development): Use SES for mail if defined

* feat(Nav): Show anon navbar when logged in

* fix(server/datasources): Make sure mailhog works if no ses keys are found

LB will use both mail settings if using both local and dev

* fix(Nav): Use text instead of icons

* fix(Nav): Make donate page open in new tab
2017-12-15 15:53:32 -06:00
Onel Harrison fb98968433 fix(sitemap): Update challenge urls to use new url format (#16164)
Closes #16121
2017-12-11 15:39:33 -06:00
Matteo Giaccone 9eff3cba38 fix(UI): Add container back to layout (#16181)
Add missing container to layout and add top margin in user profile
2017-12-12 01:56:32 +05:30
Quincy Larson 8848673b90 fix: landing icons and verify email template (#16178) 2017-12-11 10:42:50 +05:30
Onel Harrison 3653c3d385 fix(nav): Apply correct classes and style to nav profile (#16170) 2017-12-10 22:53:03 +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
kennethlumalicay 46383ddaa6 fix(user): new function to compute unique days within hours. 2017-12-04 19:10:33 -05:00
Berkeley Martinez 8b9be0242a
Merge pull request #16133 from raisedadead/fix/keyword-in-email-support
fix(auth): Add keyword in email support for passwordless
2017-11-29 15:30:38 -08:00
Berkeley Martinez fe6177a084
Merge pull request #16130 from raisedadead/fix/mitigate-signin-for-github-auth
fix(github-auth): Add the github auth path to deprecated login
2017-11-29 15:24:13 -08:00
Mrugesh Mohapatra af43360027 fix(auth): Add keyword in email support for passwordless 2017-11-29 23:11:24 +05:30
scissorsneedfoodtoo 924e7f19d6 fix(server/views/account): Change default text of heatmap legend
The default text of the legend is confusing given the low range of
values used. Cal-heatmap expects higher legend values, such as [10, 20,
30, 40], rather than [1, 2, 3]. This change will hopefully make the
mouseover text for the legend a little less confusing.

BREAKING CHANGE: None

Closes #16124
2017-11-29 20:40:04 +09:00
Mrugesh Mohapatra b81a04879e fix(github-auth): Add the github auth path to deprecated login
This should let us allow users with github only auth login and update
their emails with us

Closes #16126
2017-11-29 11:45:06 +05:30