Commit Graph

723 Commits (d23feadc1f000fdeb8d3ef994157bfeef8d233be)

Author SHA1 Message Date
Alex Chaffee a8484873d8 feat(seed): "unpack" and "repack" scripts
add "npm run seed" as alias to "node seed"

unpack tests and solution into HTML file; add titles and help text; style unpacked file

enable running unpacked assert tests in browser

Using browserify, compile "tape", "lodash", jQuery into "unpacked-bundle.js" for use during in-browser unpacked tests

feat(seed): diff after repacking

feat(seed): unpacked tests use Browser TAP chrome dev tool if available
2018-04-03 19:52:56 +05:30
Stuart Taylor 766b6f98f1 feat(schema): Implement challenge schema 2018-04-03 19:52:01 +05:30
Stuart Taylor ebfbfb6df9 chore(package): Update react-freecodecamp-search (#16943) 2018-03-23 18:41:07 -05:00
Berkeley Martinez 1d513227e8
Merge pull request #16890 from Bouncey/fix/binButtons
Feat(Nav): Responsive Nav with promonent Bin buttons
2018-03-20 16:45:30 -07:00
Stuart Taylor 33d0d05adb feat(nav): Use screen width specific navs 2018-03-13 20:10:06 +00:00
Stuart Taylor a0c3d5bd08 feat(opbeat): Enable opbeat-react for frontend performance tracking 2018-03-09 15:42:44 +00:00
Berkeley Martinez 5bf2e57c6e
[Snyk Update] New fixes for 1 vulnerable dependency path (#16751)
[Snyk Update] New fixes for 1 vulnerable dependency path
2018-03-08 14:17:27 -08:00
Mrugesh Mohapatra 1e86d288df fix(mongodb): update mongodb driver 2018-03-07 23:44:09 +05:30
Stuart Taylor e9a7459597 chore(package): Update loopback-boot to remove vulnerability 2018-03-02 15:56:02 +00:00
snyk-bot f9d0f717b0 fix: package.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/npm:validator:20180218

Latest report for freecodecamp/freecodecamp:
https://snyk.io/test/github/freecodecamp/freecodecamp
2018-02-19 20:32:58 +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
Timo 673bab4761 fix(tests): Improve test output (#16449)
* fix(tests): Improve test output

Switches test-challengse from tap-spec to tap-difflet in
pessimistic mode for a more concise test output.
Also removes unused gulp tasks.

Closes #16406

* build(npm-script): Update scripts to have developer mode test run
2018-02-14 11:50:27 +00:00
Berkeley Martinez ef80131a29 feat(build): Add source maps to production
We don't have the same precautions as other sites as our code base is
open source, so we might as well make it easier on us to debug
production errors
2018-02-06 13:53:56 -08:00
Stuart Taylor ead6b99f61 chore(bundle): Bundle only one RX 2018-01-26 10:37:13 +00:00
Berkeley Martinez 307716f9c8 fix(loopback/passport): Show flash messages on link 2018-01-18 15:20:54 -08:00
Berkeley Martinez 04af4e326c feat(frameRunner): Run through webpack 2018-01-18 15:20:53 -08:00
Berkeley Martinez e384f6a90c feat(Webpack): Update to latest 2018-01-18 15:20:53 -08:00
Berkeley Martinez 71869757a0 feat(babel): Add babel-runtime plugin
Reduce payload and remove old shims in favor of babel shims
2018-01-18 15:18:42 -08:00
Snyk bot 6e78cd30d4 fix(synk): New fixes for 2 vulnerable dependency paths (#16521)
* fix: package.json & .snyk to reduce vulnerabilities


The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/npm:uglify-js:20151024

Latest report for freecodecamp/freecodecamp:
https://snyk.io/test/github/freecodecamp/freecodecamp

Some vulnerabilities weren't fixed or ignored, and so will still fail
the Snyk test report.

* chore(package): remove snyk autopatch

Cause it's slow AF
2018-01-17 18:38:04 -08:00
Berkeley Martinez 89592e9540
Merge pull request #16374 from Bouncey/chore/bundleSize
chore(bundle): Reduce react-bootstrap footprint by half
2018-01-08 20:24:30 -08:00
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 19c7bb1ac9 chore(packages): Update validator and express-validator 2018-01-02 23:38:01 +05:30
Stuart Taylor cd81cf71a2 chore(bundle): Transform react-bootstrap imports through babel 2018-01-02 12:00:48 +00:00
Stuart Taylor fafb53f11e feat(bundle): Add bundle visualisation tool 2018-01-01 13:01:18 +00:00
Stuart Taylor 3d86eaecbc fix(style): Update search bar and apply styles (#16218)
* fix(style): Update search bar and apply styles

* chore(pkg): Bump react-freecodecamp-search version so there is no autocomplete
2017-12-20 10:48:17 -06:00
Berkeley Martinez b2b1426e22 Feat: react redux migration (#16200)
* feat: crudely enables test to run solution code against React challenge (and passes!)

* feat: Updates comment

* feat: Adds React 2 and 3, validates challenges in app

* feat: Adds React 4, validates tests

* feat: Adds Peter's migrated challenge seed files for all challenges

* feat: Adds redux, react-redux imports, adds tests for React 7,

* feat: Adds tests for React 08

* fix(challenges): wrap reserved words in <code> and add tests

* feat: complete first two tests for React 9

* feat: modifies tests in React 09

* feat: Adds working tests for React 37, including async setState tests

* feat: Escape hatch to avoid async tests in automated test suite

* feat: Updates React 15 with working tests

* feat: build passes, yay

* feat: Provisions original code string in challenges and adds tests for React Redux 01

* fix(tests): add self-closing tags challenge, other small fixes

* fix(challenge): add react_10, some other stuff

* fix(challenges): update react 22, add react 23

* fix(challenges): react 5 and react 8

* feat: removes dependencies that will break in browser, will replace later

* feat: fix build

* feat: add redux 1

* fix(challenge): add react 24 tests

* feat: partial implemented Redux 2

* feat: migrate redux 3

* feat: Adds React-Redux 04 with working tests under npm test

* feat: Updates automated test runner, just provide all the dependencies. Adds Redux-Thunk.

* feat: Adds working tests for React Redux 07

* feat: redux challenge 4

* feat: migrate redux 5

* feat: redux 6

* feat: migrate Redux test 7

* fix(challenge): add react 25 tests

* feat: Adds tests for React 48, npm test does not pass...

* feat: Migrate Redux test 8

* fix(challenges): skip 26, add react 27 tests

* fix(challenges): add react 28 tests, replace function w/ => throughout, fix linter warnings

* feat: fixes (patches) hard to understand problem with automated test suite

* feat: updates async tests patch

* feat: adds converted tests for React 47

* feat: adds converted tests for React 46

* feat: Partially adds tests for React 43

* docs: adds TO-DO tests for React 43

* feat: migrates tests for React 42

* feat: migrates tests for React 41

* feat: migrates tests for React 39

* feat: Migrates tests for React 38, automated test script fails again!

* feat: migrates tests for React 32

* feat: QAs more React Redux challenge in FCC UI

* feat: Updates tests for React 7

* feat: Migrates React-Redux 3 tests and hardcodes deep-freeze dependency

* feat: migrates React Redux 05 tests

* feat: migrates React Redux 06 tests

* feat: Migrates React Redux 10

* feat: Migrates tests for React 16

* feat: Migrates React 17 tests

* feat: Migrates React 18 tests

* feat: Migrates React 19 tests

* feat: Migrates React 19 tests

* feat: fixing usage of code, replace with editor.getOriginalCode

* feat: Migrates React 21 tests

* feat: Finishes migration of React 09

* fix(challenges): add react 45 tests 💀

* feat: Adds React 11 tests

* feat: Migrates React 50 tests

* feat: Re-enables original code in FCC editor, QAs challenges blocked by original code

* feat: hacks head tail code in editor test environment

* feat: updates React 20 head code

* feat: QAs React Redux 07 in UI

* fix(challenges): add React 29 tests

* fix(challenges): add React 30 tests

* feat: updates async tests

* feat: Migrates React 12, gets ReactDOM challenges working and QAs them

* feat: Migrates React 13 tests

* feat: Migrates tests for React 14 and updates challenge description formatting

* feat: Refactors 2nd test for Redux 02

* feat: Migrates React 33

* feat: Removes React 26 and 43

* feat: Adds React 34 from Kevin

* fix(challenges): add React 31 & 35 tests (thanks Kevin)

* feat: Migrate Redux challenge 10 - pass both UI QA and terminal test

* fix(challenge): add react 40 tests

* feat: Migrates React Redux 02 tests

* feat: Migrates React Redux 08 and fixes async syntax in React challenge

* fix(challenge): add react 49 tests with caveat

* feat: fixes React 49 tests and adds first tests for React Redux 09

* feat: Migrate Redux 11 - pass both terminal test and UI test

* feat: Migrate Redux 12 - passing both UI test and terminal test

* feat: Migrate Redux 13 - passing both terminal and UI tests

* feat: Adding in code tags for previous redux challenges - terminal and UI tests pass

* feat: Migrates React Redux 09 and React 44 (thanks Kevin)

* feat: fix code tag issues - passed UI and terminal tests

* feat: Migrates Redux 14 tests

* feat: Migrates Redux 14

* feat: Migrates Redux 15

* feat: Migrates Redux 17

* feat: Final migration and QA of Redux, except for Redux 9

* feat: migrates React 36 and QAs

* feat: Rewrites Redux 09 and migrates

* feat: refactors pull request and cleans up code

* style(challenges): QA React challenges

* style(challenges): QA react challenges

* fix(challenges): fix react 41 and 45 tests

* style(challenges): QA redux challenges

* style(challenges): QA react and redux challenges

* fix(seed/react): Move head/tail to files

* fix(seed/redux): Move head/tail to file level

* chore(packages): Move jsdom to dev deps

* fix(seed/react/redux): Async funcs

make async func defined

* fix(seed): %s/editor.getUserCode/getUserInput/gc

* fix(Challenges/build): Make sure head/tail is bundled and transformed

* feat(Challenges.react): Add tail to render component

* chore(seed): Disable modern challenge testing for now

We will put these on beta while we update the auto testing framework
2017-12-18 15:04:03 -06:00
Stuart Taylor b4542a5aa3 feat(search): Add react-freecodecamp-search to Nav (#16209) 2017-12-18 10:48:21 -06:00
Stuart Taylor 01b47984c7 chore(package.json): Sort scripts 2017-12-16 10:09:57 +00:00
Stuart Taylor dfec5c952b feat(dev): Add Gulp to dev-deps 2017-12-16 10:08:53 +00:00
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
Berkeley Martinez dced96da8e feat: react challenges (#16099)
* chore(packages): Update redux utils

* feat(Panes): Invert control of panes map creation

* feat(Modern): Add view

* feat(Panes): Decouple panes from Challenges

* fix(Challenges): Decouple challenge views from panes map

* fix(Challenge/views): PanesMap => mapStateToPanesMap

This clarifies what these functions are doing

* fix(Challenges): Add view type

* fix(Panes): Remove unneeded panes container

* feat(Panes): Invert control of pane content render

This decouples the Panes from the content they render, allowing for
greater flexibility.

* feat(Modern): Add side panel

This is common between modern and classic

* feat(seed): Array to string file content

* fix(files): Modern files should be polyvinyls

* feat(Modern): Create editors per file

* fix(seed/React): Incorrect keyfile name

* feat(Modern): Highligh jsx correctly

This adds highlighting for jsx. Unfortunately, this disables linting for
non-javascript files as jshint will only work for those

* feat(rechallenge): Add jsx ext to babel transformer

* feat(seed): Normalize challenge files head/tail/content

* refactor(rechallenge/build): Rename function

* fix(code-storage): Pull in files from localStorage

* feat(Modern/React): Add Enzyme to test runner

This enables testing of React challenges

* feat(Modern): Add submission type

* refactor(Panes): Rename panes map update action
2017-11-29 17:44:51 -06:00
Mrugesh Mohapatra ecd0802f1e chore(dependencies): Update to latest semvers 2017-11-16 11:35:44 +05:30
Mrugesh Mohapatra 2f5a7869f0 chore(lb3-dependancies): Update to latest add-ons 2017-11-16 11:34:50 +05:30
Mrugesh Mohapatra 4967b2a2be chore(dependencies): Add and update CORS config 2017-11-16 11:34:50 +05:30
Mrugesh Mohapatra 460ce2644a fix: Update to loopback@^3 and add strong-error-hanlder@^1 2017-11-16 11:34:50 +05:30
Berkeley Martinez dbecdc5618 feat: prep for modern challenges (#15781)
* feat(seed): Add modern challenge

* chore(react): Use prop-types package

* feat: Initial refactor to redux-first-router

BREAKING CHANGE: Everything is different!

* feat: First rendering

* feat(routes): Challenges view render but failing

* fix(Challenges): Remove contain HOC

* fix(RFR): Add params selector

* fix(RFR): :en should be :lang

* fix: Update berks utils for redux

* fix(Map): Challenge link to arg

* fix(Map): Add trailing slash to map page

* fix(RFR): Use FCC Link

Use fcc Link to get around issue of lang being undefined

* fix(Router): Link to is required

* fix(app): Rely on RFR state for app lang

* chore(RFR): Remove unused RFR Link

* fix(RFR): Hydrate initial challenge using RFR and RO

* fix: Casing issue

* fix(RFR): Undefined links

* fix(RFR): Use onRoute<name> convention for route types

* feat(server/react): Add helpful redux logging/throwing

* fix(server/react): Strip out nonjson from state

This prevents thunks in routesMap from breaking serialization

* fix(RFR/Link): Should accept any renderable

* fix(RFR): Get redirects working

* fix(RFR): Redirects and not found's

* fix(Map): Move challenge onClick handler

* fix(Map): Allow Router.link to handle clicks after onClick

* fix(routes): Remove react-router-redux

* feat(Router): Add lang to all route actions by default

* fix(entities): Only fetch challenge if not already loaded

* fix(Files): Move files to own feature

* chore(Challenges): Remove vestigial hints logic

* fix(RFR): Update challenges on route challenges

* fix(code-storage): Should use events instead of commands

* fix(Map): ClickOnMap should not hold on to event

* chore(lint): Use eslint-config-freecodecamp

Closes #15938

* feat(Panes): Update panes on route instead of render

* fix(Panes): Store panesmap and update on fetchchallenges

* fix(Panes): Normalize panesmaps

* fix(Panes): Remove filter from createpanemap

* fix(Panes): Middleware on location meta object

* feat(Panes): Filter preview on nonhtml challenges

* build(babel): Add lodash babel plugin

* chore(lint): Lint js files

* fix(server/user-stats): Remove use of lodash chain

this interferes with babel-plugin-lodash

* feat(dev): Add remote redux devtools for ssr

* fix(Panes): Dispatch mount action

this is needed to trigger window/divider epics

* fix(Panes): Getpane to use new panesmap format

* fix(Panes): Always update panes after state

this lets the panes logic be affected by changes in state
2017-11-09 19:10:30 -06:00
Mrugesh Mohapatra dbd955a709 chore(tools): Move husky to dev dependencies 2017-11-01 10:34:01 +05:30
Mrugesh Mohapatra da24e83dfd chore(node): Update node version to 8x
Closes #15951
2017-11-01 01:20:55 +05:30
dhcodes 704a31682f build(package.json): Update react-bootstrap
change version to 0.31.2
2017-08-22 09:02:09 -05: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
Mrugesh Mohapatra 7acb1db632 fix(snyk): Remove snyk config 2017-07-16 23:53:43 +05:30
Mrugesh Mohapatra 54d88eca82 feat: enforce conventional commit messages 2017-07-14 00:23:34 +05:30
Berkeley Martinez 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
mrugesh mohapatra c0e876142a feat(tools): Add commitizen and cz-freecodecamp (#15589) 2017-07-05 14:49:58 -07:00
Snyk bot 70f554d045 fix: package.json & .snyk to reduce vulnerabilities (#15039)
The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/npm:ms:20170412

Latest report for freecodecamp/freecodecamp:
https://snyk.io/test/github/freecodecamp/freecodecamp
2017-05-31 00:13:52 +05:30
Berkeley Martinez b9911dbd34 Merge pull request #14082 from freeCodeCamp/greenkeeper-reselect-3.0.0
Update reselect to version 3.0.0 🚀
2017-04-18 16:26:00 -07:00
Berkeley Martinez 0116f58270 Merge pull request #14364 from freeCodeCamp/greenkeeper-redux-epic-0.2.0
Update redux-epic to version 0.2.0 🚀
2017-04-18 11:00:15 -07:00
greenkeeperio-bot 6bd965e312 chore(package): update redux-actions to version 2.0.2
https://greenkeeper.io/
2017-04-16 14:13:51 -07:00
greenkeeperio-bot a3b0ac8dfa chore(package): update redux-epic to version 0.2.0
https://greenkeeper.io/
2017-04-11 17:49:00 -07:00
Berkeley Martinez a2998c4b9c style(gulp): Linted gulpfile (#13978) 2017-03-28 13:25:08 -05:00
greenkeeperio-bot a5f83e6bd3 chore(package): update reselect to version 3.0.0
https://greenkeeper.io/
2017-03-24 13:37:16 -07:00
Berkeley Martinez 84db2f6644 Merge pull request #13928 from freeCodeCamp/greenkeeper-sinon-2.0.0
Update sinon to version 2.0.0 🚀
2017-03-17 14:20:10 -07:00
Berkeley Martinez 18abf92416 Merge pull request #12924 from freeCodeCamp/greenkeeper-gulp-notify-3.0.0
Update gulp-notify to version 3.0.0 🚀
2017-03-17 14:08:48 -07:00
greenkeeperio-bot 9156d5c175 chore(package): update sinon to version 2.0.0
https://greenkeeper.io/
2017-03-14 23:26:39 -07:00
Greenkeeper 514104fa82 chore(package): update dedent to version 0.7.0 (#12944)
https://greenkeeper.io/
2017-03-04 23:03:11 +00:00
Greenkeeper 8ef8c48ce4 chore(package): update yargs to version 7.0.1 (#13722)
https://greenkeeper.io/
2017-03-04 22:30:33 +00:00
Ivan 2ab929daa1 Remove unused npm package: clipboard (#13664) 2017-03-03 21:47:12 +05:30
Berkeley Martinez 81d720da5b Merge pull request #11474 from petrgazarov/chore/remove-bower
Remove bower and port dependencies over to npm
2017-02-27 15:03:59 -08:00
Berkeley Martinez 4d4516a2bc Merge pull request #12497 from Bouncey/fix/update-eslint-plugin-react
Enable react/sort-prop-types rule
2017-02-27 14:00:38 -08:00
Stuart Taylor 84f71de4ce Remove gltter-sidecar due to vunerability 2017-02-11 15:33:49 +00:00
Petr Gazarov f159027025 Remove bower and port dependencies over to npm 2017-02-09 00:09:39 -05:00
Stuart Taylor c96ce25598 Enable react/sort-prop-types rule 2017-02-05 13:13:36 +00:00
greenkeeperio-bot 0bebd94116 chore(package): update gulp-notify to version 3.0.0
https://greenkeeper.io/
2017-01-27 12:41:27 -08:00
Quincy Larson 1b2b54e2b0 Merge pull request #12586 from BerkeleyTrue/feat/real-time-user-count
feat(api): add current active users api
2017-01-26 22:02:02 -06:00
Berkeley Martinez 156796b167 Merge pull request #12424 from freeCodeCamp/greenkeeper-dotenv-4.0.0
Update dotenv to version 4.0.0 🚀
2017-01-26 18:23:40 -08:00
Berkeley Martinez 962675ee17 feat(api): Add active user api 2017-01-26 18:01:15 -08:00
Berkeley Martinez 04e6287fef chore: remove transition-replace 2017-01-11 11:31:06 -08:00
greenkeeperio-bot 1188b94145 chore(package): update dotenv to version 4.0.0
https://greenkeeper.io/
2017-01-07 11:16:01 -08:00
Greenkeeper c7bebadb87 chore(package): update react to version 15.4.2
https://greenkeeper.io/
2017-01-06 23:15:56 +00:00
Greenkeeper 07c75c8ae7 chore(package): update react-addons-shallow-compare to version 15.4.2
https://greenkeeper.io/
2017-01-06 23:06:56 +00:00
Greenkeeper 8ec040b300 chore(package): update react-dom to version 15.4.2
https://greenkeeper.io/
2017-01-06 23:03:25 +00:00
Greenkeeper 83febb9986 chore(package): update react-addons-css-transition-group to version 15.4.2
https://greenkeeper.io/
2017-01-06 23:01:55 +00:00
Stuart Taylor 7a035159d2 chore(pkg) update redux-actions to 1.2.0 2017-01-05 00:13:17 +00:00
Berkeley Martinez 3d93e70a73 Show dropdown on hover 2017-01-03 07:04:07 +00:00
Dylan 79a8c412f1 change node-uuid to uuid 2016-12-30 16:47:09 -06:00
Berkeley Martinez 44a0aeceb7 feat(lint): prefer spread over Object.assign call 2016-12-29 16:58:49 -08:00
Berkeley Martinez 8621c0618d Merge pull request #11770 from Bouncey/fix/upgradeHelmet
Chore(package): Updates helmet and helmet-csp to @latest
2016-12-21 18:07:44 -08:00
Berkeley Martinez 7130ea15bc fix: Peg normalizr until breaking change is resolved
see: https://github.com/paularmstrong/normalizr/issues/186
2016-12-19 14:17:52 -08:00
greenkeeperio-bot 966aa1d611 chore(package): update babel-istanbul to version 0.12.1
https://greenkeeper.io/
2016-12-13 16:49:41 -08:00
Greenkeeper 9eb2f2e488 chore(package): update loopback-connector-mongodb to version 1.17.0
https://greenkeeper.io/
2016-11-24 22:57:42 +00:00
Greenkeeper 7296a312b4 chore(package): update express-validator to version 3.0.0
https://greenkeeper.io/
2016-11-24 22:49:25 +00:00
Timo 246e2d6583 Downgrade react to resolve react-hot-loader error 2016-11-24 22:30:18 +00:00
Greenkeeper dd86dd21ca chore(package): update gulp-sourcemaps to version 2.2.1
https://greenkeeper.io/
2016-11-23 00:18:39 +00:00
Stuart Taylor adf7983818 Chore(package): Updates helmet and helmet-csp to @latest 2016-11-22 23:52:40 +00:00
Greenkeeper 8cb5520744 chore(package): update react-codemirror to version 0.3.0
https://greenkeeper.io/
2016-11-22 21:51:00 +00:00
Berkeley Martinez 7e8aad7505 Merge pull request #11633 from Bouncey/fix/removeStampit
Remove stampit in favour of a factory function
2016-11-17 14:54:40 -08:00
Stuart Taylor 16863d9641 Remove stampit in favour of a factory function 2016-11-17 19:15:23 +00:00
Zlatan Vasović 62d633088b Simplify package.json 2016-11-13 10:18:40 +01:00
Berkeley Martinez c4611c9446 Merge pull request #11538 from Bouncey/fix/router-history-update
Chore: react-router/history versions
2016-11-08 17:40:30 -08:00
greenkeeperio-bot 6a2cad88c2 chore(package): update frameguard to version 3.0.0
https://greenkeeper.io/
2016-11-05 17:22:23 -07:00
Greenkeeper 72d446eff1 chore(package): update redux-actions to version 0.13.0 2016-11-06 00:22:06 +00:00
Greenkeeper 00d93ee1ec chore(package): update babel-core to version 6.18.1 2016-11-06 00:12:58 +00:00
Stuart Taylor d5b9fcd6e6 Chore/Resolve react-router/history versions 2016-11-05 23:43:07 +00:00
Jonathan 9d616e7a04 Revert "Update history to version 4.4.0 🚀" 2016-11-03 10:57:39 +00:00
greenkeeperio-bot 462b69cef0 chore(package): update history to version 4.4.0
https://greenkeeper.io/
2016-11-01 09:02:57 -07:00
Berkeley Martinez 9d5f554f5e Merge pull request #11157 from FreeCodeCamp/greenkeeper-eslint-plugin-import-2.0.1
Update eslint-plugin-import to version 2.0.1 🚀
2016-10-27 17:14:39 -07:00
Berkeley Martinez 484dc743dc Merge pull request #11409 from systimotic/fix/test-js
Fix test-js command for Windows
2016-10-27 16:09:08 -07:00
systimotic ba7e7b1c55 Replace jsonlint with jsonlint-cli 2016-10-28 00:03:47 +02:00
systimotic 1836849db5 Fix test-js command for Windows 2016-10-27 23:09:41 +02:00
Logan Tegman c5f34404ba Merge pull request #11217 from atjonathan/fix/unknownprop-errors
Updated react-bootstrap to fix most of the errors with unknown props
2016-10-16 13:30:40 -07:00
greenkeeperio-bot 2bacaadccd chore(package): update yargs to version 6.1.1
https://greenkeeper.io/
2016-10-15 12:42:54 -07:00
theflametrooper 4f42c20416 Updated react-bootstrap to fix most of the errors with unknown props 2016-10-15 14:46:39 +01:00
systimotic cb4fc88cc8 Fix npm run only-once command on Windows 2016-10-14 19:56:30 +02:00
greenkeeperio-bot 578fbff87d chore(package): update eslint-plugin-import to version 2.0.1
https://greenkeeper.io/
2016-10-11 05:03:05 -07:00
greenkeeperio-bot c1927db43f chore(package): update gulp-sourcemaps to version 2.0.0
https://greenkeeper.io/
2016-10-10 13:42:46 -07:00
Logan Tegman c810a3c83a Merge pull request #10823 from atjonathan/feature/desc-emoji
Added emoji support for Bio
2016-10-09 21:44:44 -07:00
Logan Tegman 1bbcc6e16b Merge pull request #10931 from FreeCodeCamp/greenkeeper-validator-6.0.0
Update validator to version 6.0.0 🚀
2016-10-02 14:33:54 -07:00
Logan Tegman 188865c303 Merge pull request #10726 from FreeCodeCamp/greenkeeper-react-fontawesome-1.2.0
Update react-fontawesome to version 1.2.0 🚀
2016-10-02 14:22:05 -07:00
Logan Tegman 7a4b606e9a Merge pull request #10937 from FreeCodeCamp/greenkeeper-babel-eslint-7.0.0
Update babel-eslint to version 7.0.0 🚀
2016-10-02 14:06:33 -07:00
Berkeley Martinez a6f9e95ed8 Feat: Add react-hot-loader
Combine webpack and browser-sync on one port
2016-09-27 19:49:58 -07:00
greenkeeperio-bot ced643a297 chore(package): update babel-eslint to version 7.0.0
https://greenkeeper.io/
2016-09-27 09:45:19 -07:00
greenkeeperio-bot db712a5009 chore(package): update validator to version 6.0.0
https://greenkeeper.io/
2016-09-26 20:02:48 -07:00
theflametrooper ecdc6f7bc2 Added emoji support for Bio
* Fixed issue where bio returns null if there isn't a bio
2016-09-24 15:26:18 +01:00
Berkeley Martinez 3e6e214d51 Chore(tests): Move tests 2016-09-23 15:38:49 -07:00
greenkeeperio-bot 3a86de4da4 chore(package): update react-fontawesome to version 1.2.0
https://greenkeeper.io/
2016-09-13 13:20:06 -07:00
Quincy Larson e2ed1ace2b Merge pull request #10435 from BerkeleyTrue/fix/flash-to-toast
Fix(flash): Turn flash messages into toasts.
2016-09-04 00:59:34 -07:00
snyk-bot f64ca21c5b fix: package.json & .snyk to reduce vulnerabilities 2016-09-03 18:30:07 +00:00
greenkeeperio-bot 8443c2f75a chore(package): update eslint-plugin-react to version 6.2.0
https://greenkeeper.io/
2016-09-02 21:04:25 -07:00
Berkeley Martinez f94c85595b Merge pull request #10297 from FreeCodeCamp/greenkeeper-react-images-0.5.1
Update react-images to version 0.5.1 🚀
2016-09-02 21:04:07 -07:00
Berkeley Martinez c3989dc29a Merge pull request #10245 from FreeCodeCamp/greenkeeper-yargs-5.0.0
Update yargs to version 5.0.0 🚀
2016-09-02 20:52:43 -07:00
Berkeley Martinez 9d1e8c5a33 chore(toasts): refactor and test flash to toast logic 2016-09-01 18:46:09 -07:00
Quincy Larson 653ec7effd Merge pull request #10417 from BerkeleyTrue/refactor/move-step-logic
Refactor(challenges): Move step movement logic into epic
2016-09-01 16:58:50 -07:00
Berkeley Martinez 98673fc316 Refactor(challenges): Move step movement logic into epic 2016-08-31 14:06:03 -07:00
Steven d2b0a4ec54 Removed async, cheerio, url-regex, xss-filters, gulp-dest in package.json
Removed the obsolete dependencies:

async,
cheerio,
url-regex,
xss-filters,
gulp-dest

from the file package.json
2016-08-30 13:37:56 -07:00
Berkeley Martinez e8a1d78fe1 Chore(packages): Remove happy 2016-08-30 07:51:56 -07:00
greenkeeperio-bot 7ec4b3ff58 chore(package): update react-images to version 0.5.1
https://greenkeeper.io/
2016-08-25 16:51:31 -07:00
greenkeeperio-bot c48a893949 chore(package): update yargs to version 5.0.0
https://greenkeeper.io/
2016-08-25 16:51:31 -07:00
Jonathan 73ae1b1fe3 Merge pull request #10037 from FreeCodeCamp/greenkeeper-gulp-uglify-2.0.0
Update gulp-uglify to version 2.0.0 🚀
2016-08-26 00:51:13 +01:00
Berkeley Martinez 7d6250e8af Feature(challenges): Run user js code through babel
This is a naive implementation.
Ideally we would detect the users environment
and dynamically load only the appropriate plugins
2016-08-18 18:23:44 -07:00
snyk-bot d3eb0dc05b fix: package.json & .snyk to reduce vulnerabilities 2016-08-16 21:48:25 +00:00
Jonathan 9cf432c1cb Merge branch 'staging' into greenkeeper-gulp-uglify-2.0.0 2016-08-14 10:08:30 +01:00
Mrugesh Mohapatra 7f981c375d Merge pull request #10070 from iamrudra/fix/remove-obsolete-dependencies
Removing react-toastr dependency from package.json
2016-08-04 11:11:59 +05:30
iamrudra 03b339ba9c Removing react-toastr dependeicy from package.json 2016-08-03 19:52:32 -07:00
William Skinner e8477399b0 Removed loopback-testing dependency from package.json 2016-08-03 15:21:07 -04:00
greenkeeperio-bot ccc5a401fc chore(package): update gulp-uglify to version 2.0.0
https://greenkeeper.io/
2016-08-01 15:00:53 -07:00
Berkeley Martinez 2ba95e8050 Fix(scripts): run create-rev on pretest as well 2016-07-29 00:09:05 -07:00
Berkeley Martinez e10a74ab4c Fix(scripts): make sure rev-manifest exists while running lint 2016-07-29 00:02:13 -07:00
Berkeley Martinez d7f528dd1d chore(package): Update to react-bootstrap@0.30
This required a little of refactoring to get working
correctly.
2016-07-28 23:40:01 -07:00
Berkeley Martinez ff64349e9a Fix(package): Bad copy paste in test script 2016-07-28 23:40:01 -07:00
Berkeley Martinez 128455340e Feature(toast): fix toast positioning 2016-07-28 23:40:01 -07:00
Berkeley Martinez 8e3c092029 Feature(toast): Move from react-toastr to react-notifications 2016-07-28 23:40:01 -07:00
Berkeley Martinez 33c1a0ba7f Add(cover): add cover(alls) scripts and javascript testing 2016-07-28 23:40:01 -07:00
Berkeley Martinez 668bd74690 Fix(lint): Add import eslint and fix import errors 2016-07-28 23:40:01 -07:00
Berkeley Martinez d9e9af0a0f Feature(mousetrap): Add mousetrap features to redux 2016-07-28 23:40:01 -07:00
Berkeley Martinez d1b78eba9b Feature(react): Add lightbox to step challenge images 2016-07-28 23:40:01 -07:00
Berkeley Martinez 4b1d191fd5 Update(package): React-youtube 2016-07-28 23:40:01 -07:00
Berkeley Martinez 2207a26ee9 Udpate react-router-redux 2016-07-28 23:40:01 -07:00
Berkeley Martinez 5a736a6218 Update redux-actions 2016-07-28 23:39:17 -07:00
Berkeley Martinez 1acd3139c3 Add main chat toggle 2016-07-28 23:39:17 -07:00
Berkeley Martinez 515051d817 Fix lint errors
Remove commonFramework build from gulpfile
2016-07-28 23:39:17 -07:00
Berkeley Martinez a0efb99ea8 Fix production webpack build 2016-07-28 23:39:17 -07:00
Berkeley Martinez e45045440e Actually require invariant 2016-07-28 23:39:17 -07:00
Berkeley Martinez 9b7bd2a026 Initial preview rendering 2016-07-28 23:39:17 -07:00
Berkeley Martinez 861f89683b Initial work on new framework 2016-07-28 23:39:17 -07:00
Berkeley Martinez b6f9cfdf71 Move to redux-epic 2016-07-28 23:39:17 -07:00
Berkeley Martinez 844afb6e2f Add webpack code splitting module
Add cold-module replacement
Add webpack module hashing
2016-07-28 23:39:17 -07:00
Berkeley Martinez 4e12c45057 Add webpack cold reloading
On changes to the react bundle
webpack will store the current redux state
in localStorage, waits (to allow the server to restart)
then refreshes the page. On page load, it checks if it
has state stored and loads it into the app.
2016-07-28 23:39:17 -07:00
Berkeley Martinez c7af14bcf7 Initial step challenge ui with state changes 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
Berkeley Martinez ec16357c83 Merge pull request #9880 from FreeCodeCamp/greenkeeper-react-router-bootstrap-0.23.1
Update react-router-bootstrap to version 0.23.1 🚀
2016-07-28 21:03:57 -07:00
HKuz 8e163b8960 Fixed issue #9925 in package.json changed connect-mongo: ~1.3.2 to ^1.3.2 (#9928) 2016-07-28 09:37:10 +01:00
greenkeeperio-bot 8b158e6757 chore(package): update react-router-bootstrap to version 0.23.1
https://greenkeeper.io/
2016-07-27 13:56:55 -07:00
greenkeeperio-bot e808670460 chore(package): update connect-mongo to version 1.3.2
https://greenkeeper.io/
2016-07-27 03:03:15 -07:00
Lee Warnock d7b7fb67a5 fixes issue Add a hat symbol to babel-eslint version 2016-07-23 12:13:11 -05:00
snyk-bot c631056c25 fix: package.json & .snyk to reduce vulnerabilities 2016-07-20 15:33:27 +00:00
greenkeeperio-bot 87e5596f98 chore(package): update gulp-eslint to version 3.0.1
https://greenkeeper.io/
2016-07-18 11:12:32 -07:00
Berkeley Martinez ea3a9b7cda Merge pull request #9747 from FreeCodeCamp/greenkeeper-eslint-3.1.0
Update eslint to version 3.1.0 🚀
2016-07-18 11:12:03 -07:00
greenkeeperio-bot 07d3ded72d chore(package): update eslint to version 3.1.0
https://greenkeeper.io/
2016-07-15 13:03:57 -07:00
greenkeeperio-bot d4425e9066 chore(package): update babel-eslint to version 6.1.2
https://greenkeeper.io/
2016-07-09 08:47:26 -07:00
snyk-bot 98dbf8f77e fix: package.json & .snyk to reduce vulnerabilities 2016-07-09 00:55:06 +00:00
Berkeley Martinez b1f28626b8 Fix(lint): peg babel-eslint
6.1.1 has a regression
see: https://github.com/babel/babel-eslint/issues/337
2016-07-08 15:58:45 -07:00
greenkeeperio-bot b4ca82a268 chore(package): update pmx to version 0.6.2
https://greenkeeper.io/
2016-05-23 04:52:39 -07:00
greenkeeperio-bot f7d7c93fe3 chore(package): update gulp-tape to version 0.0.9
https://greenkeeper.io/
2016-05-17 16:44:35 -07:00
greenkeeperio-bot 46ec943cba chore(package): update loopback-connector-mongodb to version 1.15.2
https://greenkeeper.io/
2016-05-16 18:10:27 -07:00
greenkeeperio-bot a37cf58403 chore(package): update connect-mongo to version 1.2.0
https://greenkeeper.io/
2016-05-16 18:00:16 -07:00
greenkeeperio-bot 7dcc024599 chore(package): update babel-plugin-add-module-exports to version 0.2.1
https://greenkeeper.io/
2016-05-16 17:43:04 -07:00
greenkeeperio-bot 909858a38f chore(package): update gulp-tape to version 0.0.8
https://greenkeeper.io/
2016-05-16 17:28:30 -07:00
greenkeeperio-bot db6194ba67 chore(package): update react-bootstrap to version 0.29.4
https://greenkeeper.io/
2016-05-16 15:19:14 -07:00
greenkeeperio-bot 4f27f273e6 chore(package): update eslint-plugin-react to version 5.1.1
https://greenkeeper.io/
2016-05-09 16:15:38 -07:00
Jonathan b2af7f9a2e Revert "Update babel-plugin-add-module-exports to version 0.2.0 🚀" 2016-05-06 17:52:40 +01:00
greenkeeperio-bot 597ba89420 chore(package): update babel-plugin-add-module-exports to version 0.2.0
https://greenkeeper.io/
2016-05-06 03:54:14 -07:00
Berkeley Martinez a63fba8c9c Merge pull request #8196 from QuincyLarson/fix/vimeo-to-youtube
Transition Videos from Vimeo to Youtube
2016-05-04 15:42:15 -07:00
Logan Tegman d540e9e4ca Switch react lecture component to youtube 2016-05-04 10:30:47 -07:00
Logan Tegman 3e258a7868 Remove thundercats and oldActions, update react-dom 2016-05-03 22:12:59 -07:00
greenkeeperio-bot 74129df5e5 chore(package): update react to version 15.0.2
https://greenkeeper.io/
2016-05-03 13:23:28 -07:00
greenkeeperio-bot 02004e6398 chore(package): update redux-form to version 5.2.3
https://greenkeeper.io/
2016-05-03 11:44:04 -07:00
Logan Tegman 03963bcdf8 Merge pull request #8356 from FreeCodeCamp/greenkeeper-helmet-2.0.0
Update helmet to version 2.0.0 🚀
2016-05-03 11:43:48 -07:00
Logan Tegman 1ea2c2a20a helmet.csp -> helmet.contentSecurityPolicy
Also updated frameguard
2016-05-03 11:32:38 -07:00
Berkeley Martinez 3ae67f6fa9 Add csrf protection 2016-05-02 17:22:56 -07:00
greenkeeperio-bot 981a451d82 chore(package): update helmet to version 2.0.0
https://greenkeeper.io/
2016-04-29 11:27:51 -07:00
Berkeley Martinez dcccb1bc5c Fix move from Mandril to Amazon SES
closes #7240
2016-04-14 21:05:16 -07:00
Berkeley Martinez fa37dc865d Reduce initial user query load
Refactor passport to own file
2016-04-06 21:11:07 -07:00
Berkeley Martinez 690f9784b5 Merge pull request #7310 from FreeCodeCamp/greenkeeper-frameguard-1.1.0
Update frameguard to version 1.1.0 🚀
2016-03-28 13:31:35 -07:00
Hallaathrad 9853a54a9a Replace portfolio link 2016-03-26 13:20:15 -04:00
Logan Tegman f8ae1c6e93 Prevent eslint 2.3.0 from installing 2016-03-05 08:41:28 -08:00
Berkeley Martinez 74592e72b4 Update eslint, fix lint issues 2016-03-03 17:53:33 -08:00
Berkeley Martinez c50510db71 Update history/react-router 2016-03-03 17:53:33 -08:00
Berkeley Martinez 8ef3fdb6a0 Initial move to redux 2016-03-03 17:53:33 -08:00