Commit Graph

1033 Commits (9bd2052b36d44eed5b05cc42c3cc416038c947df)

Author SHA1 Message Date
Berkeley Martinez 5a32585ddd feat(Flash): Get flashes from ssr 2018-01-18 15:18:42 -08:00
Berkeley Martinez 9f15a09d26 feat(wepback): Add app reducer hot reloading 2018-01-18 15:18:42 -08:00
Berkeley Martinez 9d5d5c3be4 feat(Flash): Add remove logic 2018-01-18 15:18:42 -08:00
Berkeley Martinez f452a8dbce feat(Flash): Add initial redux logic 2018-01-18 15:18:42 -08:00
Berkeley Martinez 9e9e39b8b0 feat(Flash): Add initial ui 2018-01-18 15:18:42 -08:00
Vivek Agrawal de940a4ca5 fix(challenges): Changed background color of preview panel for night mode (#16502)
Closes #16318
2018-01-19 00:43:18 +05:30
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
Berkeley Martinez e8dcc43e23 fix(utils/encode-decode): Use lodash replace
_.replace is harded against undefined/null
2018-01-18 00:18:44 +05:30
huyenltnguyen e1bda08c59 fix(challenges): Add logic to toggle editor theme
Closes #16284
2018-01-17 05:11:20 +07:00
Berkeley Martinez 6e17281fda
Merge pull request #16442 from iabrenne/feature/link-to-guide
Feature/link to guide
2018-01-16 12:52:03 -08:00
Berkeley Martinez 2c7e571520 feat(Panes): Do not update state if panes are the same
This reduces the number of updates required when transitioning between
challenges while preserving the state of the panes when going from two
similar challengees.
2018-01-16 09:52:29 -08:00
Peter Weinberg 62e079c721 feat(panes/nav): persist pane state across transitions; rename side panel to lesson 2018-01-16 09:52:29 -08:00
Berkeley Martinez 81f65969ad
Merge pull request #16481 from lgrzybowski/fix/remove_star_from_map
fix(map): Removed required sign from challenges
2018-01-16 09:03:25 -08:00
Lukasz Grzybowski 73878e84b0 fix(map): Removed required sign from challenges
Closes #16239
2018-01-14 20:17:45 +01:00
Vivek Agrawal 9c3f0f3628 fix(challenges): Add spacing between test-suite rows (#16491)
Closes #16484
2018-01-15 00:17:34 +05:30
Irina Brennen c7a898bed7 refactor(seed): Add link to guide
Partially #16388
2018-01-10 18:32:16 -06:00
Austin Tice 49a5911fca fix: Updated fCC Function Logo on Small Screen (#16460)
* Fixed FCC Logo on Small Screen

Changed *.logo-glyph* height to 28px from 30 which makes a nice form-factor on all screen sizes. I also utilized flexbox on the parent anchor tag in *.navbar-brand* in order to assure the logo always stays horizontally and vertically center.

* Deleted unneeded class name

I deleted the *.nav-logo* class from the FCC Function logo img tag. It was serving no essential purpose, and was only needed for the main FCC logo.
2018-01-11 00:22:49 +05:30
Berkeley Martinez c27250eec1
Merge pull request #16429 from jameskaupert/feature/add_default_project_img
feat(challenges): Add default project image when none exists
2018-01-10 00:27:10 -08:00
James Kaupert 2bc1f0ae59 feat(challenges): Add default project image when none exists
BREAKING CHANGE: none

Closes #16426
2018-01-08 19:34:16 -05:00
Berkeley Martinez 0fb132e28a feat(Map): Create Challenges comp with scu
Reduce challenge map open time
2018-01-07 21:57:11 +05:30
Berkeley Martinez 41ab4a736a feat(Map): Add Blocks component
Makes a single point of update for the blocks under a superblock and
decrease the speed to open/close a superblock consistently
2018-01-07 21:57:11 +05:30
Berkeley Martinez 4db584d6cc feat(Map): Conditionally render blocks/challenges 2018-01-07 21:57:11 +05:30
Berkeley Martinez 1e491d82d3 chore(Map): Remove isHidden selectors/state
This logic is no longer used
2018-01-07 21:57:11 +05:30
Berkeley Martinez 55adc282fa
Merge pull request #16430 from raisedadead/fix/preview-pane-background
revert(preview): Remove night mode background-color
2018-01-06 14:25:19 -08:00
Mrugesh Mohapatra f11fe6c5fb revert(preview): Remove night mode background-color 2018-01-07 02:44:07 +05:30
Berkeley Martinez 9263b91f73
Merge pull request #16418 from jameskaupert/fix/undefined_images
fix(challenges): Remove broken images when undefined
2018-01-05 21:48:40 -08:00
Berkeley Martinez 8e87a8991e chore(Panes): Move non-redux to utils 2018-01-05 21:27:33 -08:00
Berkeley Martinez 8498abc95a fix(Panes): Fix rightPane isHidden shadow bound
a rightpane that is hidden would also provide a shadow barrier to
minimizing a pane just left of it.
2018-01-05 21:24:30 -08:00
Adam Bohannon b44b582f35 fix(Panes): pane resizing issue
fix(Panes): pane resizing issue

fix(panes): added ternary to redux action

fix(Panes): removed console log

fix(Panes): Updated leftBound with lodash condition

fix(Panes): Refactored condition for leftPane
2018-01-05 21:24:30 -08:00
James Kaupert da9e1f1129 fix(challenges): Remove broken images when undefined
BREAKING CHANGE: none

Closes #16410
2018-01-05 19:48:31 -05:00
Chloe Collier 5f65f04ba4 fix(style): changed colors for dark-mode (#16404) 2018-01-04 12:09:19 +05:30
Vivek Agrawal 68e1c83db7 style(lesson-section): Add paddings (#16391)
Closes #16299

styles moved to challenges.less
2018-01-02 22:30:40 +00:00
Berkeley Martinez e1c5b8a894 fix(Nav): My Profile => Settings 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 c5420229e4 fix(User.confirm): Overwrite confirm w/ custom method
Reduce db calls, implement old logic
2018-01-02 23:38:01 +05:30
Berkeley Martinez 6042ce2a84 fix(User): Allow confirm
This is still used for email confirmation on update
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 c55f0e5e89 fix(User): Deny old auth api 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 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
Berkeley Martinez 5ea434c429 fix(User): Email is off the constructor 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 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
Berkeley Martinez 60e2baf307 feat(User): Refactor wait period logic 2018-01-02 23:38:01 +05:30
Berkeley Martinez b6f621fee3 fix(User.updateEmail): Reduce code logic. defer promises 2018-01-02 23:38:01 +05:30
Berkeley Martinez 5e38ae4347 fix(User): Typo 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 44c2eb65d5 refactor(User): Make `requestAuthEmail` into instance method 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 412fddd065 fix(models/User): Remove dup before create 2018-01-02 23:38:01 +05:30
Vivek Agrawal cec1b9a227 style(map): Change estimated timestamp color (#16393)
Closes #16321
2018-01-01 17:29:58 -06:00
Berkeley Martinez 540b0ec4d4
Merge pull request #16295 from Bouncey/fix/duplicateKeys
fix(step-challenge): Fix duplicate keys in Step
2018-01-01 12:57:33 -08:00
Joshua Swift 603a354e56
Merge branch 'staging' into fix/js-disabled-message 2017-12-30 11:12:57 +00:00
Berkeley Martinez 4aa4248204 Merge branch 'Bouncey:fix/toolpanelConflict' into staging 2017-12-29 16:08:48 -08:00
Berkeley Martinez 46a696472c fix(lint): Move rsa link to utils 2017-12-29 16:08:29 -08:00
Joshua Swift 23d2f2a08b JS is disabled alert 2017-12-29 20:26:38 +00:00
Stuart Taylor 07df17287a feat(map): Map will remember if it is hidden between challenges 2017-12-29 12:29:03 +00:00
Stuart Taylor 0f68940865 chore(step-redux): Remove console.log 2017-12-28 19:07:28 +00:00
Stuart Taylor a3a9683bf7 fix(step-keys): Use description slice for key 2017-12-28 18:59:56 +00:00
Stuart Taylor def690b282 fix(step-challenge): Fix duplicate keys in Step 2017-12-28 18:59:56 +00:00
Filip Havrlent bed731d2ad fix(challenges): Change e.meta to e.metaKey
The Command + Enter was not working on Mac in completition modal

Closes #16352
2017-12-28 19:51:59 +01:00
Stuart Taylor 2884b551c3 fix(classNames): Use block prop for .btn-block className 2017-12-28 18:47:42 +00:00
Stuart Taylor 2c6f0b1f09 fix(merge-conflicts): Add missing classNames to Get Help button 2017-12-24 09:34:05 +00:00
Stuart Taylor 71708aa7ff fix(merge-conflicts): Resolve conflicts 2017-12-24 09:25:25 +00:00
Stuart Taylor 4c96c2079e Merge branch 'fix/merge-78e86f5' of https://github.com/mpontus/freeCodeCamp into fix/toolpanelConflict 2017-12-24 09:21:03 +00:00
Niko 16dcfb4183 fix: Map button overlap (#16301) (#16310) 2017-12-23 23:43:56 -06:00
Berkeley Martinez 59602200c0
Merge pull request #16294 from Bouncey/fix/documentTitle
fix(document.title): Update document title for Challenge route
2017-12-23 08:14:05 -08:00
Khaled Saleh 7f2edb6a71 style(challenges): Changed the lesson buttons to match production sty 2017-12-23 09:15:07 -06:00
Mikhail Pontus 3144820405 fix(challenges): Implement Help Dialog
This commit applies changes from 78e86f514f.

It introduces Help dialog which guides the user to review Read-Search-Ask
methodology, ask the question on the forums or in gitter chatroom.

This dialog replaces existing Help button which was leading to Gitter Chatroom.
2017-12-23 14:58:06 +03:00
Khaled Saleh 3592f797ec style(map): Changed the color of the placeholder to grey inste (#16259) 2017-12-23 11:28:37 +00:00
Stuart Taylor b14a821f6c fix(document.title): Update document title for Challenge route 2017-12-23 11:21:30 +00:00
Berkeley Martinez 65356ff7e7 fix(Challenges/frame.js): Make iframe href base relative to / (#16221)
This prevents requests from appending to the current challenge url
2017-12-23 09:53:11 +00:00
Kristofer Koishigawa 3df65c30cd fix(common): Fix for loopProtect undefined error (#16263)
Edited the file so that the loopProtect code, which is in the head of
the iframe on www.freecodecamp.org, is in the same script tag as the
base challenge content that get's rendered to the page. While the
loopProtect code is not rendered to the page like the rest of the
challenge code, it's within the same scope and seems to function
normally.

BREAKING CHANGE: None that I know of, but will keep checking.

Closes #16260
2017-12-22 14:51:21 -05:00
Angel Eduardo 8ee27fa6ed fix: missing space in quiz score (#16241) 2017-12-21 16:04:20 -06: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
Shane Farrar 002e7d38c7 fix(UX): corrected overflow of instruction content (#16236) 2017-12-21 00:24:59 -06: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 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 e412ce7d0a Fix: storage files use challenge files as source (#16215)
* fix(files): CreateFiles shouldn't preserve previous state

* fix(Challenges): Use fileSpec when pulling from storage
2017-12-19 11:41:09 -06:00
Stuart Taylor b16993b915 fix(backend): Unable to submit backend project 2017-12-19 00:07:53 +00: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
Berkeley Martinez 49133ab3d6
Merge pull request #16211 from Bouncey/fix/scroll-position
fix(Instructions): Scroll to top on update
2017-12-18 11:49:40 -08:00
Stuart Taylor b4542a5aa3 feat(search): Add react-freecodecamp-search to Nav (#16209) 2017-12-18 10:48:21 -06:00
Stuart Taylor e0f620ad59 fix(Instructions): Scroll to top on update 2017-12-18 12:43:48 +00:00
Quincy Larson 3c077561fa fix(linting): Fix linting issue 2017-12-16 20:11:03 +05:30
Quincy Larson cda82d68fe feat(navigation): Fix vertical bar in navbar and change "side panel" 2017-12-16 20:11:03 +05:30
Quincy Larson 7a110aaf55 fix(navbar): Fix a mistake I left in the CSS 2017-12-16 20:11:03 +05:30
Quincy Larson 59dc80a621 feat(navbar): Adds vertical line between normal navigation and p 2017-12-16 20:11:03 +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
Mrugesh Mohapatra 6852814e11 fix(rechallenge): Use includes instead 2017-12-15 12:17:30 +05:30
Berkeley Martinez d3bbf27dab Fix(Challenges): get user code (#16187)
* fix(Challenges.): Prevent source from being overwritten

* fix(Challenges): Tests should use name

* fix(seed/react): Namespace tests for now
2017-12-13 17:24:36 -06:00
Berkeley Martinez 375442d365 fix(Modern): Editor should update not create (#16183) 2017-12-13 17:15:57 -06:00
Anh Tran 127fae59f4 fix(UX): Change the Available/Unavailable to Yes/No label o (#16176) 2017-12-11 09:45:58 +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
Mrugesh Mohapatra 885d5916c0 fix: Update email action should hit API 2017-12-07 00:00:02 +05:30
Berkeley Martinez 7b6f774e9b fix(Settings): Actually change state when nav to update email 2017-12-04 13:50:49 -08:00
Berkeley Martinez bf706e9bf2 fix(Router): Link should use reselect 2017-12-03 13:38:52 -08:00
Berkeley Martinez 63875316d9 fix(Router): Add lang to payload if payload doesn't exist
closes #16134
2017-12-03 13:21:47 -08: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 af43360027 fix(auth): Add keyword in email support for passwordless 2017-11-29 23:11:24 +05:30
Berkeley Martinez 69fa4b3098
Merge pull request #15892 from raisedadead/feat/lb3-upgrade
feat(LoopBack): Upgrade to LoopBack 3
2017-11-27 13:33:01 -08:00
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 52c99823b8 feat(UI): Add new congratulations messages and remove confus (#16110) 2017-11-26 01:18:58 +05:30
Mrugesh Mohapatra c50965290e fix(email-auth): add missing properties to user 2017-11-16 11:34:50 +05:30
Mrugesh Mohapatra c9a961d3d8 fix(github-auth): add missing properties to user 2017-11-16 11:34:50 +05:30
Mrugesh Mohapatra 187dbdfc92 fix(models): Update remote method definitions 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
Berkeley Martinez 1ca383a5ff
Merge pull request #15803 from vivek28111992/fix/text-change
fix(challenges): Change of text in Introduction to the basic node a
2017-11-02 15:21:12 -07:00
JustusFT 4ba3e64786 fix(nav): Navbar breaks at 768px to 786px 2017-11-03 01:04:38 +05:30
Mrugesh Mohapatra e652ad934a fix: Email should be switched before confirm 2017-11-01 01:43:22 +05:30
Mrugesh Mohapatra 5e61fd53d1 fix(user): Add update new-email placeholder property 2017-10-28 00:24:27 +05:30
Mrugesh Mohapatra 9ccfe4f72c refactor: Update methods to sensible names 2017-10-28 00:24:27 +05:30
Mrugesh Mohapatra 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
Mrugesh Mohapatra fe059c224e fix(User): Naming convention updates 2017-10-28 00:24:26 +05:30
mrugesh mohapatra 326e10feff Merge pull request #16003 from aaronang/fix/shift-tab
fix(editor): Unindent line when nothing is selected
2017-10-24 01:22:43 +05:30
Aaron Ang 50d1b8aae8 fix(editor): Unindent line when nothing is selected
Pressing SHIFT + TAB while no text is selected would indent the text
which is uncommon behavior. This change will always unindent the code
regardless of whether text is selected or not.
2017-10-21 14:12:33 +02:00
Marc Rendl Ignacio ed68463738 fix: remove random compliment without gender-neutral alternative 2017-10-21 08:18:58 +08: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
Berkeley Martinez 509613f5d7 Merge pull request #15889 from ltegman/fix/navbar-props
fix(Navbar): stop using removed onClose prop of react-bootstraop Navbar
2017-09-25 21:15:59 -07:00
Mrugesh Mohapatra d77e9fd411 fix(user): Remove remote method on user create 2017-09-17 15:27:45 +05:30
Mrugesh Mohapatra 5e86b25a69 fix(auth): Remove reset password endpoint 2017-09-17 14:54:48 +05:30
Logan Tegman e0c4e53be3 fix(Navbar): stop using removed onClose prop of react-bootstraop Navbar 2017-09-16 19:12:30 -07:00
dhcodes 63a147257b fix(main): static page links and constantStrings 2017-09-16 17:16:48 -05:00
Quincy Larson 564e76b2bf fix(merge): Fix merge conflicts 2017-09-11 17:43:18 -05:00
Markus Englund 3206d8c549 fix(map): Change styling of map in night mode (#15780)
Previously the map had white background color and white color, making it
impossible to see the text. I changed the colors to the standard
night-mode color variables. I also deleted a css class that was not
doing anything.

Closes #15702
2017-09-11 09:53:16 +02:00
Berkeley Martinez 251131aceb Merge branch 'ogzcoder/feat/track-user-submit' into staging 2017-09-08 00:17:41 -07:00
Joshua Riddle 6cbdbc2580 feat(user): Track challenge submissions count
BREAKING CHANGE: none

Closes #14881
2017-09-07 20:47:26 -07:00
Berkeley Martinez 3be6775245 Merge pull request #15758 from xnt/fix/testResults-a11y
fix(challenges): Provide accessible test description and status
2017-09-04 14:22:05 -07:00
Darth Skywalker 64806f2a3b fix: submit button is not clickable on challenge completion modal 2017-09-02 12:13:07 +05:30
Stuart Taylor 1126bf7004 Protect the global name space from the code editor 2017-09-01 20:24:51 -07:00
Berkeley Martinez e50fbc05ca fix(redux.utils): Fix test plan 2017-09-01 20:01:57 -07:00
systimotic 01291162ef Fix isBeta challenges displaying without title when they should be hidden 2017-09-01 20:01:57 -07:00
Berkeley Martinez 61d740b8a0 Merge branch 'feature/passwordless-login' into staging 2017-09-01 19:07:41 -07:00
Berkeley Martinez 7dd9d31e54 Merge pull request #15760 from xnt/fix/main-landmark
fix(accessibility): Add main and complementary landmarks
2017-09-01 18:31:23 -07:00
Mrugesh Mohapatra ab93109828 fix(auth): Fix merge errors from rebase 2017-09-01 17:32:58 -07:00
Mrugesh Mohapatra 2321f7b326 feat(server): Add URL utils to compute server URL, HOST, PORT, etc. 2017-09-01 17:32:20 -07:00
Mrugesh Mohapatra d313ab68e4 fix(email): Error messages for updateEmail API 2017-09-01 17:23:40 -07:00
Mrugesh Mohapatra 3f332fc1f0 fix: Add error handling and refactoring of Observable methods 2017-09-01 17:21:02 -07:00
Mrugesh Mohapatra 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
Mrugesh Mohapatra 0ce30409c0 refactor(code): cleanup and rebase 2017-09-01 17:21:02 -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 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 fd442c55bb Remove error catch and use update method 2017-09-01 17:15:26 -07:00
Mrugesh Mohapatra 26c1389c3a Donot render per request email 2017-09-01 17:15:26 -07:00
Mrugesh Mohapatra 19e5ff537e Fix indenting and remove isDev from wait time. 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
Dylan 900617613f fix(challenges): Added bug modal to classic ch (#15828)
Closes #15740
2017-09-01 11:16:19 -07:00
Timo dcfe18d5d5 refactor: Replace .com with .org 2017-08-26 00:07:44 +02:00
Vivek ad20c9724d fix(challenges): Change of text in Introduction to the basic node a
Text was not getting changed going from step 1 to step 2 because ul
cannot be child node of p tag so I changed p tag to div in Introduction
to the basic node and express challenges. For ref.
https://stackoverflow.com/questions/10601345/ul-element-can-never-be-a-child-of-p-element

BREAKING CHANGE: Changed p tag to div tag in Step.jsx

Closes #15796
2017-08-25 16:42:24 +05:30
Zachary Kearns a5c330de4d fix(settings): Improve email settings buttons
Closes #15772
2017-08-23 23:36:44 -04:00
Vicente Plata cd9af163f6 fix(challenges): Provide accessible test description and status
Closes #13013

fix(challenges): Fix undefined initial variable status
2017-08-22 22:08:20 -07:00
Vicente Plata d449c3cdd0 fix(accessibility): Add main and complimentary landmarks
Screen readers and other assistive technologies use it for navigation

Closes #15658
2017-08-12 22:02:01 -07:00
Berkeley Martinez 0d70db5d98 Merge pull request #15022 from no-stack-dub-sack/feat/challenge-desc
feat(views): create global challenge-description component
2017-08-08 18:22:10 -07:00
Marius Espejo 34d512ffeb fix: don't render challange if isBeta (#15741) 2017-08-08 14:44:59 -05:00
Cody Seibert 9f875e1d11 feat(quiz): initial quiz view which can be used for multiple choice (#15743)
quizes
2017-08-08 14:31:26 -05:00
Dylan f9e925b03e Merge pull request #15734 from anawebdev/fix/hours-display
Correct misalignment between challenge names and hour estimates
2017-08-05 21:17:14 -05:00
Ana 9adbd5fb56 fix: hours-display 2017-08-05 11:06:03 +03:00
Berkeley Martinez c547c26bba Fix: map should redirect to current challenge (#15723)
* fix(routes): /map redirects to current challenge

* fix(map): Normalize server map building

Localize all server code dealing with the map

* refactor(server): Remove unused services

* feat(Nav): Show Map button when no panes

This gives user the ability to quickly return to their challenge using a
known feature

* fix(server.map): Add caching to nameIdMap

Add caching to nameIdMap on the server

* fix(services.map): Fix map service

Move map building utils to map util. Fix bad import. Normalize challenge
lookup
2017-08-03 22:45:36 -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
Berkeley Martinez de0101328f Merge pull request #15187 from raisedadead/fix/placeholder-project-view
fix(frontend-projects): replace video with image thumbnail
2017-07-17 16:33:41 -07:00
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 91105bdf12 fix(frontend-projects): replace video with image thumbnail 2017-07-13 21:50:47 +05:30
Dylan 6608f82d5a reset to top on new challenge (#15607) 2017-07-09 12:58:25 -05:00
Luke Bousfield 121f53a20b Replaced 'startsWith' with `RegExp.test()` 2017-07-02 15:15:23 +01:00
Peter Weinberg 5501542e10 feat(views): create global challenge-description component 2017-06-29 00:39:55 -04:00
Berkeley Martinez 36c61b1c52 Merge pull request #14979 from padulam/feature/bug-modal-issue-link
Updates create issue button in bug modal to direct user to forum
2017-06-21 15:43:40 -07:00
padulam ec020ad471 Add available for hire button 2017-06-18 09:13:48 -04:00
Dylan e1a2fecd13 add donate links and mousetrap 2017-06-05 16:46:04 +01:00
padulam ea951052a3 Point bug modal to forum 2017-05-30 10:17:21 +05:30
Berkeley Martinez 70f2b797d9 Fixs classic modal styling not rendering
Move classic modal less files co-locating them in the app file structure
2017-05-19 05:46:35 +01:00
Stuart Taylor 2ed64dc1e5 Add a settings skeleton 2017-05-03 00:21:42 +01:00
Berkeley Martinez ee8ac7b453 feat(rechallenge): Retool challenge framework (#13666)
* feat(rechallenge): Retool challenge framework

* fix(code-storage): should use setContent not updateContent

* fix(rechallenge): fix context issue and temporal zone of death

* fix(rechallenge): Fix frame sources for user code

* fix(polyvinyl): Set should ignore source and transform should keep track of source

* fix(rechallenge): Missing return statement causing issues
2017-04-28 20:30:23 -05:00
Berkeley Martinez f018cae686 Merge branch 'staging' into fix/update-config-for-debug-setups 2017-04-17 14:38:28 -07:00
Berkeley Martinez 8dd66b5084 fix(classic-challenge): should not show scroll bar if not needed (#13981) 2017-03-22 00:06:58 -05:00
Mrugesh Mohapatra 566de3e3f2 fix: Update config to be flexible for host 2017-03-20 12:13:27 +00:00
Berkeley Martinez 53001012d1 feat(Map): Map now is closed by default (#13980) 2017-03-18 02:38:11 -05: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
Eric Leung f046a7d5c3 Add space in challenge step counter within parens 2017-03-09 01:42:09 -08:00
Berkeley Martinez b9c54fb859 Merge pull request #13164 from no-stack-dub-sack/fix/backend-challenge-wrapper
fix(challenges): add class to backend challenge wrapper, fix basic no…
2017-02-28 13:43:54 -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
quentin de707c185e indexOf() instead of includes() 2017-02-20 15:42:50 -05:00
Peter Weinberg 9ec760fa54 fix(challenges): add class to backend challenge wrapper, fix basic node formatting 2017-02-17 20:20:23 -05:00
Stuart Taylor c96ce25598 Enable react/sort-prop-types rule 2017-02-05 13:13:36 +00:00
Peter Weinberg 0b60d7de3a chore(seed): freeCodeCampify remaining sections of codebase 2017-02-02 18:29:59 -05:00
Dylan 2d836f0237 Merge pull request #12917 from systimotic/feature/editor-focus-hotkeys
Add editor focus and unfocus hotkeys
2017-01-29 21:44:24 -06:00
Samuel Plumppu 3ebfb05171 Merge pull request #12856 from systimotic/fix/bug-reporting-indentation
Fix closing backticks indentation on bug report
2017-01-29 22:20:57 +01:00
systimotic c57f577fe0 Add editor focus and unfocus hotkeys 2017-01-27 16:42:05 +01:00
systimotic 01d10c5316 Fix closing backticks indentation on bug report 2017-01-27 09:24:21 +01:00
Berkeley Martinez f1d936198e feat(challenges): add backend challenge infrastructure (#11058)
* Feat: Initial backend view

* Feat: Refactor frame runner

* Feat: backend challenge submit runs tests

* Feat: Backend challenge request

* Feat: Whitelist hyperdev in csp

* Fix: Use app tests instead of challenge tests

* Feat: Allow hyperdev subdomains

* Fix(csp): allow hypderdev.space subdomains

* feat(challenge): submit backend

* feat: Add timeout to test runner (5 sec)

* chore(seed): Add more to test backend

* fix(csp): s/hyperdev/gomix/g

* fix(app): fix code mirror skeleton filepath

* fix(app): remove Gitter saga import

* fix(app): codemirrorskeleton does not need it's own folder
fix(app): cmk needs to work with Null types

* fix: No longer restart the browser when challenges change

* fix(app): Update jquery for challenges

* fix(seed): Remove to promise jquery call

* fix(lint): Undo merge error
undefined is no allowed

* fix(app): linting errors due to bad merge

* fix(seed): Remove old seed file
2017-01-26 23:07:22 -06:00
Berkeley Martinez 962675ee17 feat(api): Add active user api 2017-01-26 18:01:15 -08:00
Samuel Plumppu 1196093ca2 Merge pull request #12833 from systimotic/fix/es6-linting
Fix ES6 linting
2017-01-25 17:16:17 +01:00
systimotic 9d457c4cac Fix ES6 linting 2017-01-25 15:29:52 +01:00
Mrugesh Mohapatra f262bfd960 fix(night-mode): Update indenting and change border color 2017-01-24 22:23:20 +05:30
Markus Török e1261526d8 fix(night-mode): Add css classes to unsubscribe button
Add class btn-toggle and remove bg-color from inactive buttons in night mode
2017-01-24 22:17:45 +05:30
systimotic 6e653c65bd Center images in introduction challenges 2017-01-21 21:58:34 +01:00