Commit Graph

852 Commits (a5a75ca9f96a7b4712eae71f1c72dd495bb384fb)

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