Commit Graph

185 Commits

Author SHA1 Message Date
Mrugesh Mohapatra
6b8061fa9a fix: url and CSP for deps 2018-08-15 11:00:12 +01:00
Mrugesh Mohapatra
dae7f383f4 fix: remove code-mirror 2018-08-04 22:48:20 +01:00
Stuart Taylor
e4d0dbc2a4 feat(news-link): Add link to news in navbar partial 2018-08-03 19:27:42 +05:30
Stuart Taylor
6d6f8af647 chore(unused): Remove unused files 2018-08-03 19:27:42 +05:30
Stuart Taylor
99b9e9e3ba feat(resub): Add resubscribe endpoint 2018-08-02 22:38:11 +01:00
Rachel Sinclair
6fab6319f8 chore(package): Update Font Awesome and remove Ionicon dependency (#17497)
Update Font Awesome from 4.7 to 5. Update existing Font Awesome icon
references to match version 5 syntax. Replace all Ionicon references
with Font Awesome icons and remove all files relating to Ionicon.

Closes #13798
2018-06-22 01:46:17 +05:30
Tom
3f61c1356f fix: open learn in current tab (#17443) 2018-06-07 13:39:20 -05:00
Quincy Larson
74eb179c7b fix: update confusing welcome page copy (#17314) 2018-05-31 14:12:04 +05:30
Mrugesh Mohapatra
59f700b110 fix(auth): Add verification route for email 2018-05-29 01:51:38 +05:30
Stuart Taylor
dfda68fb58 feat(auth): Authorise 'external' requests through JWT (#17224) 2018-05-24 01:40:56 +05:30
Stuart Taylor
156ea1af76 Feat: Welcome Page (#17150) 2018-05-15 10:42:05 +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
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
167b609853 Merge pull request #16496 from huyenltnguyen/fix/editors-theme-in-dark-mode
fix(challenges): Add logic to toggle editor theme
2018-01-17 11:24:21 -08:00
Robert Richey
f36a2a7bcc perf(navbar): Add rel=noopener to navbar anchor tags (#16467) 2018-01-18 00:24:28 +05:30
huyenltnguyen
e1bda08c59 fix(challenges): Add logic to toggle editor theme
Closes #16284
2018-01-17 05:11:20 +07: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
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
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
3653c3d385 fix(nav): Apply correct classes and style to nav profile (#16170) 2017-12-10 22:53:03 +05:30
Peter Weinberg
f868862c0f fix(editor): restore syntax highlighting for light theme 2017-10-13 20:26:51 -04:00
Mrugesh Mohapatra
e941545d2e Unify signin and signup with lesser clicks 2017-09-01 17:15:26 -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
Dylan
e1a2fecd13 add donate links and mousetrap 2017-06-05 16:46:04 +01: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
systimotic
31b15a4712 Fix community dropdown server view 2017-01-22 11:22:50 +01:00
Berkeley Martinez
86d4b5e841 chore: Remove unused/deprecated files 2017-01-19 17:56:07 -08:00
Eric Leung
16616f78c8 Fix s/Free Code Camp/freeCodeCamp in /server/views
This commit changes instances of "Free Code Camp" to "freeCodeCamp"
within the /server/views/ directory.
2017-01-11 01:29:38 -08:00
Berkeley Martinez
3a4e62da44 feat(nav): Add dropdown menu 2016-12-30 16:08:15 -08:00
Berkeley Martinez
1892654dab feat(nav): remove sidecar 2016-12-29 22:04:05 -08:00
Adegbuyi Ademola
5cbe98c3eb (Feat): Menu should show username on sm screens
(Feat): Menu should show username on sm screens

(Feat): Menu should show username on sm screens

(Feat): Menu should show username on sm screens
2016-09-24 20:24:36 +01:00
Adegbuyi Ademola
f1a1166173 fix(Nav): Avatar should light up brownie #10581 2016-09-24 18:07:13 +01:00
Berkeley Martinez
8db46eed26 Fix(nav): Change sign in to sign up 2016-09-08 21:56:46 -07:00
Berkeley Martinez
f076f09a45 Fix(nav): Avatar/points should always lead to settings 2016-08-06 07:33:01 -07:00
Berkeley Martinez
c3c640d00a Fix(nav): Use current-challenge instead of next-challenge for logo 2016-08-04 14:51:31 -07:00
Berkeley Martinez
44b83ce494 Fix(views): remove wiki/map iframe drawers
closes #9460
2016-07-28 23:40:01 -07:00
Berkeley Martinez
627c92c72f Fix(challenges): make challenge height auto
closes #9347
2016-07-28 23:40:01 -07:00
Berkeley Martinez
4815f98e8c Fix(map): remove map drawer from non-react pages
map drawer will be reserved for react pages only
closes #9341
2016-07-28 23:40:01 -07:00
Berkeley Martinez
91dc3625d9 Remove step pointer events block
unminify animate.css
2016-07-28 23:39:17 -07:00
Berkeley Martinez
09ea99e561 Add react challenge view with editor 2016-07-28 23:39:17 -07:00
dhcodes
70769d56a5 remove Wiki sidebar HTML, LESS, JS
remove Wiki sidebar
2016-07-21 09:59:32 -05:00
Quincy Larson
3eaf37d4a9 remove wiki nav button and target blank from shop nav button 2016-07-20 01:37:38 -07:00
Quincy Larson
7dd2ffc83e improve shop and set flyer show threshold to 15 brownie points 2016-07-08 14:23:15 -07:00