Commit Graph

159 Commits (022f96d40dadcd9520e25737c37d60f27402770d)

Author SHA1 Message Date
Berkeley Martinez 177b64306a Merge pull request #8862 from jaydenwindle/fix/cert-date-format
Changed date format for certificate views
2016-06-11 20:59:17 -07:00
Mrugesh Mohapatra 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
Jayden Windle 2964d0ce46 Changed date format for certificate generation 2016-05-30 22:06:58 -04:00
Berkeley Martinez 04b874de45 Fix email validations 2016-05-12 16:16:36 -07:00
Mrugesh Mohapatra caa49aea20
Refactor Email Update URL Change 2016-05-03 10:59:52 +05:30
Berkeley Martinez e65d55a3f7 Change update email endpoint 2016-05-02 17:22:46 -07:00
Berkeley Martinez 5830d69613 Merge branch 'feature/email-update-logic' of https://github.com/raisedadead/FreeCodeCamp into raisedadead-feature/email-update-logic 2016-05-02 13:19:54 -07:00
Mrugesh Mohapatra 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
George Stepanek e71f33cfc0 Show cheater message directly on user page 2016-05-02 11:46:20 +12:00
Mrugesh Mohapatra aeea02d7fc
Update the Sign in and Sign up Pages 2016-04-22 10:17:31 +05:30
Berkeley Martinez 1308d312a4 Add methods to get challengeMap
Update boot/challenge.js to use new methods
Update boot/user.js to use new methods
2016-04-06 21:11:07 -07:00
Karel Vervaeke 3a32650400 Display correct error message when visiting user front end certification page 2016-04-03 12:34:51 +02:00
Akira Laine fef1653542 added title to settings page 2016-03-17 17:39:44 +00:00
Quincy Larson ee6ca2c5ae address eslint errors from refactor 2016-03-15 11:22:54 -07:00
Quincy Larson 71b213d7d4 make notification text more friendly 2016-03-14 23:59:25 -07:00
Quincy Larson f16234d9c6 refactor make account private action to use updateAttribute instead of save 2016-03-14 23:59:25 -07:00
Quincy Larson d47aed4850 factor out settings page with email settings 2016-03-14 23:59:24 -07:00
Berkeley Martinez 74592e72b4 Update eslint, fix lint issues 2016-03-03 17:53:33 -08:00
Berkeley Martinez 8ef3fdb6a0 Initial move to redux 2016-03-03 17:53:33 -08:00
Berkeley Martinez b2acb682ef Fix next/current challenge routes
prevent bad id's from throwing
2016-02-14 21:58:24 -08:00
Berkeley Martinez ee1f1c3d5c Fix cert look up causing crash 2016-02-11 13:46:29 -08:00
Berkeley Martinez d8ad4a59eb Make sure projects are always available 2016-02-10 17:28:45 -08:00
Berkeley Martinez 76cfbdf752 challenge/user router now works with challengeMap 2016-02-10 10:09:40 -08:00
JelenaBarinova 631c7ea319 Timestamps are converted to start of the days and filtered to b unique before calculating streaks 2016-02-09 13:48:20 -08:00
Logan Tegman e2ac51f166 Fix lint errors 2016-02-01 14:16:27 -08:00
Berkeley Martinez 3e989de2a3 Fix isCheater/isLocked not blocking certs 2016-01-31 16:35:15 -08:00
JelenaBarinova 2df86ceb91 Not signed user case fixed 2016-01-27 22:14:19 -08:00
JelenaBarinova 29f93df1bb Getting users timezone on client side and passing it to server side within POST (on challenge complete), showing users stats with users timezone
After CR
2016-01-26 15:09:47 -08:00
Berkeley Martinez 6b6232fb3e Block certs from cheaters 2016-01-24 15:48:00 -08:00
Berkeley Martinez e3ec56ef40 Fix show profile page challenge filtering to use challengeType 2016-01-18 17:33:06 -08:00
Berkeley Martinez 918ea56e33 Add stats to about page 2016-01-15 04:49:46 -08:00
Berkeley Martinez 776b5156c1 Redirect user to current challenge 2016-01-15 04:46:20 -08:00
Quincy Larson 4c9026a354 Merge pull request #6071 from FreeCodeCamp/feature/add-data-science-cert
Add data vis certification
2016-01-11 18:24:39 -06:00
Berkeley Martinez a7f04cdc11 Add data vis certification 2016-01-11 15:58:37 -08:00
Quincy Larson 9b4b6a241c fix typo 2016-01-10 19:41:50 -06:00
Quincy Larson 3743b8ddf6 update certificate error messages 2016-01-04 02:01:38 -06:00
SaintPeter 9a18344dad Fix display of Checkpoints
Tested Locally\n\nFixes 5782
2016-01-02 17:43:48 -08:00
Berkeley Martinez 83e43dbbff Merge pull request #5134 from LenaBarinova/fix/streak-still-seems-to-be-broken
Current and Longest streak calculation fixed
2015-12-18 21:00:47 -08:00
JelenaBarinova 6c7d2685fd Current and Longest streak calculation fixed
Minor refactoring and unit tests added

After CR: user-stats file moved to util folder, export keywork added to exported functions, new line added at the end of gulp file

User-stats-test file moved to replicate user-stats path in test folder
2015-12-15 18:33:04 -05:00
Berkeley Martinez 2aa611047f Change full stack to back end 2015-12-14 13:19:30 -08:00
Craig Burton 275e3ad9ea Fixed error message displayed when an error occurs while requesting a password reset 2015-12-10 09:21:21 -05:00
Berkeley Martinez 9774638d43 Fix waypoints are not bonfires 2015-12-08 16:17:45 -08:00
Berkeley Martinez 5270f0e42e Make tag replacement more robust
Some challenges are incorrectly saved with no solutions
2015-12-08 11:30:47 -08:00
Quincy Larson 0fefac1090 update page titles and sitemap 2015-10-31 02:59:09 -07:00
Quincy Larson ce57a13a88 Merge pull request #3657 from FreeCodeCamp/fix/harded-certs
Harden showCert against errors
2015-10-08 15:30:13 -07:00
Berkeley Martinez 0dc35f2b0a Fix show certs to anon user
closes #3648
2015-10-08 09:02:35 -07:00
Berkeley Martinez ba88def035 Harden showCert against errors 2015-10-08 08:48:52 -07:00
Berkeley Martinez 362efd4365 Add display on user profile when user commits 2015-10-06 19:51:19 -07:00
Quincy Larson 914f2ef0b8 Merge pull request #3611 from FreeCodeCamp/fix/replace-script-tag-in-url
Fix replace script tags in URL
2015-10-06 16:48:37 -07:00
Berkeley Martinez 33e8f35bbf Fix replace script tags in URL
Replace script tags in URL with fcc tags.
This prevents some xss bugs blocking code from running
in the iFrame.
2015-10-06 16:39:15 -07:00
Quincy Larson 9a0505f782 add github linking enforcement 2015-10-05 22:42:42 -07:00
Berkeley Martinez e16efc832c Move commit to separate router 2015-10-05 22:19:56 -07:00
Quincy Larson 68b12caf48 minor improvements to onboarding and create skeleton commit page 2015-10-05 22:19:55 -07:00
Berkeley Martinez 188da02ffc Fix disable cert
Disable certificate when user is locked to the public
or when they haven't signed academic honesty
2015-10-05 20:00:25 -07:00
Quincy Larson 34efc43f6a update copy of certificate flows 2015-10-05 17:18:35 -07:00
Berkeley Martinez 8c48626f03 Add certification page 2015-10-05 15:55:50 -07:00
Berkeley Martinez ee35fe075c Feature show Waypoints on user profile page
This PR also fixes some bugs in lockedDown mode
2015-10-01 23:03:52 -07:00
Berkeley Martinez d0528ec768 fix re-encode uri during redirect 2015-10-01 21:11:15 -07:00
Berkeley Martinez 8a1a7f238d fix undefined username and remove old function
fix many bugs and undefined
fix linting errors
2015-10-01 21:03:28 -07:00
Quincy Larson b197358056 make one page profile with bonfire solution urls 2015-09-30 21:04:16 -07:00
Quincy Larson e74533a727 add lockdown mode toggling 2015-09-27 17:08:56 -07:00
Quincy Larson 5b5b37adff fix tshirt version 2 not submitting properly bug 2015-09-27 14:00:55 -07:00
Quincy Larson ccf5504537 add tshirt voting mechanism 2015-09-27 10:49:44 -07:00
Quincy Larson c4c9068950 start refactoring account view into show view 2015-09-08 22:52:32 -07:00
Berkeley Martinez 0f3acc629c fix profile linking 2015-08-21 16:09:07 -07:00
Berkeley Martinez d14eb0dbaa fix 401 account/delete if not auth 2015-08-20 09:40:29 -07:00
Berkeley Martinez 16dcc6a39e remove old password reset route 2015-08-20 08:55:26 -07:00
Berkeley Martinez 6d1d8a3e28 fix current streak
always start from today
2015-08-20 08:55:25 -07:00
Berkeley Martinez da61161765 fix longest streak 2015-08-20 08:55:25 -07:00
Berkeley Martinez 03b837cf51 fix break current stream 2015-08-19 13:46:26 -07:00
Berkeley Martinez 576315abdc fix current streak,
longest streak still broken
2015-08-19 13:05:53 -07:00
Berkeley Martinez 8c803281f6 fix cannot read property match of undefined 2015-08-18 19:23:43 -07:00
Quincy Larson b667a776ea add bonfires back in but now they are only visible to their creators 2015-08-18 14:53:18 -07:00
Berkeley Martinez de7eb3d440 fix email password reset 2015-08-16 09:54:59 -07:00
Quincy Larson 58d86ce2dc hide linking buttons 2015-08-16 06:07:38 -07:00
Quincy Larson f8665324ad simplify user account and profile system for github locking 2015-08-10 15:37:49 -07:00
Quincy Larson add87ae801 start simplifying account page 2015-08-10 15:10:38 -07:00
Berkeley Martinez 71a02ed8b7 update all instances of progressTimestamp to check for objects 2015-08-07 13:32:30 -07:00
Berkeley Martinez 0def1b3ba8 readd challenges 2015-08-05 13:21:53 -07:00
Berkeley Martinez f167238c74 remove public accounts if user is not github cool or grandfathered 2015-08-05 13:01:48 -07:00
Quincy Larson 3c4142c92c fix profile update button 2015-08-04 18:43:40 -07:00
Quincy Larson 7246945b42 remove bonfires from campers' public portfolios 2015-08-04 15:09:20 -07:00
Berkeley Martinez 1b948ed4af Merge pull request #1302 from tanis2000/tanis2000-1273
Fixes #1273 (URL validation when submitting news)
2015-08-01 16:37:01 -07:00
Berkeley Martinez 13f2f349dc remove bonfire/comments models
remove comments from user router
2015-07-31 20:22:08 -07:00
Berkeley Martinez 5f52498dc1 lint user file 2015-07-23 16:03:51 -07:00
Valerio Santinelli 9343806cd7 Fixed password reset. The check on the expiration date was incorrect. 2015-07-15 12:28:13 +02:00
Quincy Larson d9fe6dcef1 fix broken challenges and attempt to make streak more lenient. 2015-06-29 16:32:49 -07:00
Berkeley Martinez 03ea412b4a major challenges refactor
commented out resetEditor in main
remove heatmap timout
2015-06-20 19:55:07 -07:00
terakilobyte 4fa1f25cc2 Fix challenge map display for loopback updated models. Update loopback migration script to auto complete and catch all records. 2015-06-15 20:53:43 -04:00
Berkeley Martinez b0dc4ffa12 get account should redirect to '/' when no user is logged in 2015-06-15 15:47:56 -07:00
terakilobyte 5b2b7e23ae Take id property of username, remove wasteful save on profile lookup. 2015-06-12 19:16:10 -04:00
terakilobyte 34c3fef7d4 Move api hooks to user.js 2015-06-11 19:11:07 -04:00
Berkeley Martinez 84f2168769 fix remove stray profile reference
fix findOne queries should have where filter
2015-06-10 17:12:21 -07:00
Berkeley Martinez bdb7d40548 fix usernames should be saved lowercased 2015-06-10 15:22:57 -07:00
Berkeley Martinez 996c3e7816 fix make email optional 2015-06-10 15:12:48 -07:00
Berkeley Martinez a8494b29da add user signup through loopback 2015-06-09 16:45:14 -07:00
Berkeley Martinez 78dac937f7 remove email verification. 2015-06-07 22:07:38 -07:00
terakilobyte 1a27c133c5 Update user account fetching for profile view 2015-06-05 15:57:27 -04:00
Quincy Larson 3654bb7e6f change _id to id everywhere that seems relevant to loopback 2015-06-04 13:20:42 -07:00
Quincy Larson b2aafd89e7 flatten user object references throughout controllers and views 2015-06-04 12:54:41 -07:00