Commit Graph

771 Commits

Author SHA1 Message Date
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
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