Commit Graph

202 Commits

Author SHA1 Message Date
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
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
dcfe18d5d5 refactor: Replace .com with .org 2017-08-26 00:07:44 +02:00
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
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
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
91105bdf12 fix(frontend-projects): replace video with image thumbnail 2017-07-13 21:50:47 +05:30
ec020ad471 Add available for hire button 2017-06-18 09:13:48 -04:00
566de3e3f2 fix: Update config to be flexible for host 2017-03-20 12:13:27 +00:00
962675ee17 feat(api): Add active user api 2017-01-26 18:01:15 -08:00
3ed485b14a chore(common): updated common to freeCodeCamp 2017-01-14 19:49:01 -05:00
79a8c412f1 change node-uuid to uuid 2016-12-30 16:47:09 -06:00
44a0aeceb7 feat(lint): prefer spread over Object.assign call 2016-12-29 16:58:49 -08:00
a455ec0dc1 show core team status in user profile 2016-10-29 15:54:42 +07:00
0696825fc3 standardize capitalization and fix typos 2016-10-04 10:34:07 +08:00
5e9f22e05f fix typo in user.json 2016-09-24 10:44:18 -05:00
94c4c846e9 Feature(theme): add nightmode react logic
We wait to load the user before applying the theme
as we will begin aggressively caching most of the react
app routes. This means we can not depend on user data to
determine.
2016-08-06 07:24:10 -07:00
42de7c57ef Feature(nav): clicking on logo takes user to current challenge 2016-08-03 15:51:28 -07:00
1c9b419c2f Feature(challenges): challenges define their own requires 2016-07-28 23:41:23 -07:00
9a2dfca0fc Feature(settings): complete settings page logic 2016-07-28 23:40:01 -07:00
668bd74690 Fix(lint): Add import eslint and fix import errors 2016-07-28 23:40:01 -07:00
078560c3ba Add language routing 2016-07-28 23:40:01 -07:00
ee4f1dbb73 feature(translations): Normalize translations
translations are now listed under the prop "translations"
and keys to the IETF lang tag.
2016-07-28 23:40:01 -07:00
ccc5c3ec24 Feature(challenges): Add hint system to challenges 2016-07-28 23:40:01 -07:00
c8b0a6cf74 Submit projects 2016-07-28 23:39:17 -07:00
c909cd032e Add React Map 2016-07-28 23:39:17 -07:00
6898d961bf Normalize model json using generator loopback 2016-07-28 23:39:17 -07:00
4514d39eff Add challenge map service 2016-07-28 23:39:17 -07:00
85a1212da5 Error messages for invalid tokens from email links
This commit, adds error messages for users hiting the confirm
endpoint with invalid, or expired tokens from emailed links.
2016-07-12 11:46:11 +00:00
546737e6be fix password validate crash 2016-06-23 00:55:15 +05:30
bbcadd1fc5 fix a typo in notification 2016-06-08 01:13:11 -07:00
e29a2a9716 feature(email): add ability to verify current email 2016-06-02 15:23:49 -07:00
942962fa0f Add prod urls to verify emails 2016-06-02 13:49:34 -07:00
564f4c1180 Update email info copy 2016-06-02 13:48:56 -07:00
ff4dfb09da Add email verification and notifications
This commit
- [x] Fixes the flash notice color (Trivial)
- [x] Adds flash message for user with no email.
- [x] Adds checks to see if user's email is verified, and displays corresponding notification.
- [x] Adds email templates.
2016-06-01 08:34:34 +00:00
ee2e0e290f Merge branch 'fix/theme-flash' of https://github.com/BerkeleyTrue/FreeCodeCamp into BerkeleyTrue-fix/theme-flash
Conflicts:
	common/models/user.js
2016-05-12 21:28:29 -07:00
e72ad8c513 fix(ui): Fix flash shown to user on page refresh
Store user theme preference on user object.
Must be logged in to use themes
2016-05-12 18:52:03 -07:00
04b874de45 Fix email validations 2016-05-12 16:16:36 -07:00
7b8dc2e77e Add friendly error message on auth create attemp 2016-05-02 23:03:44 -07:00
8166bfbcd8 Remove o-auth account creation
Accounts can only be created with Github or email
2016-05-02 21:26:47 -07:00
428cf8135e user-identity 2016-05-02 21:26:47 -07:00
e65d55a3f7 Change update email endpoint 2016-05-02 17:22:46 -07:00
3d55b9bb8b Add Update Email View
This commit:

- Displays the user's email that we have on records
- Adds a button in the settings to update email
- Adds a form view to update the email
- Fixes CSS for the Email icons and the email form
                         ~ Credits to @hallaathrad

- Linting fixes and updated with Berkeley's Comments

- Streamline checks and fix scope

- Add AJAX Calls

- Add flash messages

- Update the views & add XHR value
2016-05-02 18:33:37 +00:00
be27deaa4c Merge pull request #8124 from BerkeleyTrue/feature/re-add-announcement
(Re)add announcement/flyer
2016-04-20 14:48:05 -07:00
09bf747cfc Change ESLint quote-props rule to as-needed
Also fixes all files flagged by the rule
2016-04-16 00:31:13 +08:00
02eb6cad6c Refactor announcement feature 2016-04-14 20:06:42 -07:00
c9fdb581ce Revert "Announcement feature" 2016-04-14 18:13:58 -07:00
17915e7ecf Revert "Fix give-brownie-points/about API DB queries" 2016-04-14 17:07:40 -07:00
66fda23dac Improve style on flash notification and make flyer conditional on logged in user with at least 6 points
Lower case model json file
2016-04-13 23:10:46 +01:00
f0c8e06574 rename the Flyer object to flyer 2016-04-13 23:10:42 +01:00