Commit Graph

853 Commits (6e7b7a404e0576ebbb99533eef5f12919182b690)

Author SHA1 Message Date
Berkeley Martinez 894a309723 fix(middlewares/errorhandler): Remove npm module and refactor for fcc use case 2018-01-02 23:38:01 +05:30
Niko 941e060da5 fix: Homepage responsiveness (#16326) 2017-12-28 00:47:43 -06: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
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 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
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
Berkeley Martinez caaeba03f2
Merge pull request #15985 from raisedadead/fix/update-email-pre-confirm
fix(user): Update email pre-confirm config
2017-11-27 12:40:56 -08:00
Quincy Larson b48037adc2 fix(landing): Update beta landing page (#16120) 2017-11-27 11:24:49 +05:30
Mrugesh Mohapatra fe059c224e fix(User): Naming convention updates 2017-10-28 00:24:26 +05:30
Dawsmonkee 593dbd42aa Changed grammar
Removed comma and put in appropriate and instead.
2017-10-20 09:15:40 +01:00
Peter Weinberg f868862c0f fix(editor): restore syntax highlighting for light theme 2017-10-13 20:26:51 -04:00
Berkeley Martinez d13ce469e6 Merge pull request #15891 from raisedadead/fix/passwordless-auth
fix(auth): update the passwordless-auth missed changes
2017-10-03 14:02:59 -07:00
Mrugesh Mohapatra 6e3f28e770 fix(sign-up): Update page for clear onboarding path
Closes #10407
2017-09-17 16:14:46 +05:30
Mrugesh Mohapatra d77e9fd411 fix(user): Remove remote method on user create 2017-09-17 15:27:45 +05:30
Timo a051d4d443 feat(server.certs): Remove team email 2017-09-08 10:48:08 -07:00
Mrugesh Mohapatra 4ae52983f6 fix(email-auth): add disable and loading indication to button 2017-09-01 17:32:20 -07:00
Mrugesh Mohapatra 5adff6a292 fix(email): Add a trailing slash to avoid redirects 2017-09-01 17:32:20 -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 7f657f7bd5 Remove non-react Update email views and routes 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
Mrugesh Mohapatra e941545d2e Unify signin and signup with lesser clicks 2017-09-01 17:15:26 -07:00
Mrugesh Mohapatra 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
Mrugesh Mohapatra 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
Timo dcfe18d5d5 refactor: Replace .com with .org 2017-08-26 00:07:44 +02:00
Berkeley Martinez 42bfa2e64d feat(app): new layout (#14707)
* feat(app): Restructure app to be more flexible and redux idiomatic

BREAKING CHANGE: Lots of breaking changes

* refactor(challenges): Redux to started file structure

* fix(app): lint issues due to refactor

* fix(settings): Refactor settings to use folder structure

* refactor(challenges): Move step redux stuff into step folder

* fix(challenges): Remove fetchchallenges actions

* refactor(challenges): Move project redux logic into project view subdirectory

* refactor(app): %s/sagas/epics/g

* refactor(redux): Use new redux-epic with combineEpic and ofType

* refactor(app): Move challenge selector to app level

* fix(app): Move loading challenge info into challenge route

This moves a lot of the logic needed to load challenge info into the challenge app. This decouples
the main app from the challenge route

* refactor(map): Map is now decoupled from challenges

* refactor(challenges): Use selectors everywhere instead of guessing state shape

* refactor(client): refactor client epics to use selectors

* refactor(app): Refactor userSelector to return user object instead of object.user

* refactor(entities): Move entities logic into it's own file

* fix(redux): combineTypes should be combineActions

* fix(app): reducer namespacing and import

* fix(Map): Fix undefined type and update redux-action

* fix(redux): Refactor fetchUser to be more declarative

Use rxjs methods instead of imperative if/else. Also prevent non-actions from being emitted

* fix(redux): toString multi phase action types

* fix(redux): typecast multiphase type, fix typo in reducer

toString multiphase types in fetch challenge epic. Add epic to epics lists. Fix type in fetch
challenge complete handler

* fix(redux): updateCurrentChallengelogic should be centerlized

Move route changes to one location.

* fix(Nav): Prevent event object from hanging around

closeDropDown/openDropDown where handing on to the event object. This was causing issues with react
since event objects are recycled in React.

* fix(Map.Challenge): decouple map selector

* fix(Map): Decouple panel selectors from props

Panel Selectors no longer need to know the shape of a components props. Refactored component
selectors to decouple them entities state shape

* fix(Map.redux): Add select challenge epic and connect map epics

* fix(redux.analytics): Fix meta creator and nav/map events

* fix(redux): Update current challenge ajax

* fix(challenges): ssr fetch challenge should update challenge ui

Was using an epic to update challenge ui on fetch complete, but this was not working on ssr due to
the way ssr disables epics to wait for completion. This commit fixes this by causing the complete to
directly update state in the challenge ui

* fix(challenges): wrong import of types, refactor epic name

* fix(redux): Prevent fetch challenge epic from emitting null to dispatch

* fix(redux): prevent executechallenge from emitting null

* fix(challenges.redux): testsSelector returns just tests

* fix(challenges.redux): Prevent completion challenge from emitting null

* refactor(Challenges.Step): Refactor step challenge to release event object

* fix(redux): wrap reducers in factories
reducers exported from features need to be factories
this helps avoid cyclic requires messing up reducer creation
We end up with exports from files being undefined as node tries
to resolve cyclic dependencies.
This prevents that by wrapping the `handleActions` call so that the ref
to types imported from parent features are closures and can be resolved
by node before we need them.

* fix(Map): createUi not working correctly

map utils should receive just map ui state, createMapUi needs to add title to challenge

* feat(Challenges): Adds Panes and panes backend challenge

* fix: Create child container to wrap children

Create a ChildContainer comp' to wrap all children that represent the view for the current route.
This let's the child route define if they want a full width view or if they want the standard
max-width view.

* feat(Panes): panes now render dividers

* feat(Panes): Get divider to move currectly

* fix(Nav): Add top margin to contained childs

Move margin-bottom from nav to child container as margin top. This let's the jsbin style views fit
snug with navbar

* fix(Panes): Should be contained within their borders

* feat(Panes): Update navbar height of pane on app mount

* feat(Panes): Toggle map on map nav btn click

* fix(gulpfile): Ensure nodemon exits on restart

On process exit, wait for nodemon to shutdown before process.exit

* feat(Panes): Make Panes redux first

* fix(Panes): Fix divider positioning

* fix(Panes): Update divider moved handler

dividerMoved action now uses new panesByName structure

* feat(Panes): Pane nav button will hide panes

* chore(package-lock): Update package lock

* feat(Panes.redux): Recaculate dividers on pane toggle

* fix(Challenges): Update challenge on dashedName change

This fixes backwards navigation not updating the redux state current
challenge

* feat(Panes.redux): Clear panes on unmount

Clearing panes on unmount will clear bin buttons in nav

* refactor(Map): Colocate styles

* feat(Map): New map layout

* fix(Map): No longer has it's own page

* fix: FetchChallenges on appMounted

* feat: Normalize fetchChallenge(s) results

This allows superblocks to be sent with both fetchChallenge and
fetchChallenges so the map is always populated on first load

* feat(Map): Show blocks on first load

* fix(less): Remove old css

* feat(Nav): Reduce nav height

* fix(Nav): Render nav after content

Render nav after content and use css to reverse again on screen. We do
this so the panes can render first and update redux panes state which
will then update the nav ui state before nav has a chance to render

* fix(Panes): Add container

This adds a Panes Container that will allow it to udpate redux state so
Panes Component will have redux state ready to actually render panes

* feat(Challenges.Classic): Add panes

* fix(Challenge.Classic): Editor onchange should not need to know about file

* fix(Panes): Index on panes hide should account for hidden pane

* fix(Challanges.Classic): Fix panes types

* fix(Challenges): Add completion modal to all challenges

Change classic modal to completion modal

* fix(Panes): Dividers live on top of planes

* fix(Challenges): Remove codemirror theme

Remove codemirror theme and remove borders from preview frame

* fix(Challenges.Classic): Remove old component

* feat(Challenges.Step): Add panes to step challenge

* feat(Challenges.Project): Add panes to projects

* fix(Challenges.Projects): Remove row

* fix(Modals): Move modal text color to challenge less

This text color is dependent on the actual header color

* fix(Map): Use Superblock title for ui

* fix(Map): Reduce panel header height

* fix(app): Capitalize Toasts folder

Feature folders should be campitalized

* chore(Map): Remove unused epic file

* fix(Step): Fix tests

* test(Map): Update createMapUi tests input
2017-07-31 22:04:01 -05:00
Quincy Larson 7805d74ea7 feat: Update meta tags (#15633) 2017-07-11 23:43:52 -07:00
Berkeley Martinez 6e1a4b0d41 feat(signup): Add disabled signup page (#15604)
Add a beta signup page and logic that will disable the signup page using
a environmental flag
2017-07-06 11:13:38 -05:00
texas2010 dcf0136764 delete code of conduct page and route 2017-06-25 11:29:44 -05:00
padulam 0194f82f21 Remove routes and views for legacy terms of service and privacy pages 2017-06-24 22:22:42 -04:00
Guillermo Hernandez Jr 034635aa2a fixed typos in how nonprofits work page (#15228) 2017-06-06 20:57:06 +05:30
Jae Logan 3e4e779864 Modify COC page (#15231) 2017-06-06 20:56:43 +05:30
Dylan e1a2fecd13 add donate links and mousetrap 2017-06-05 16:46:04 +01:00
Stuart Taylor d6e302dd58 Persist night mode on page load 2017-03-24 17:03:21 +00:00
Berkeley Martinez f4443e16dd feat(nav): make navbar static (#13673)
* feat(nav): make navbar static

make the navbar in react layout and the static layout stick to the top of the screen

* feat(challenges): Make classic view flex

Classic view now uses flex to control it's height. This was necessary to control view and allow
navbar to be static on other pages.

This breaks mobile view and other non-classic challenge views

* feat(app): Add logic to make screen expand on tablet

* fix(app): let routes define their content structure

* fix(less): use American spelling of gray

* fix(classic-preview): make preview smaller to prevent scroll

* feat(classic-frame): Make frame border less distinct

* fix(challenges): scope test suite less to challenges

* feat(challenges): make generic ChallengeTitle component
2017-03-13 18:17:07 -05:00
Petr Gazarov f159027025 Remove bower and port dependencies over to npm 2017-02-09 00:09:39 -05:00
Quincy Larson 3e3fa12b52 Merge pull request #12048 from raisedadead/feature/reporting-profiles
feat(user): Report profiles
2017-01-26 14:16:16 -06:00
systimotic 31b15a4712 Fix community dropdown server view 2017-01-22 11:22:50 +01:00