GravityProject / gravity

Open source social network built with Meteor
MIT License
131 stars 62 forks source link

Closes #28 #29 - Downcase username; Allow username for sign in #34

Closed michaltakac closed 9 years ago

michaltakac commented 9 years ago
  1. Added packages:
    • useraccounts:unstyled
    • useraccounts:flow-routing
    • fortawesome:fontawesome
  2. Added useraccounts configuration files into client/lib/accounts
  3. From line 63 to 89 in client/lib/accounts/config.js, enabled creating accounts with email and username, also that will create third field username_and_field which will help when signing-in with both username or email - followed guide from here: https://github.com/meteor-useraccounts/core/blob/master/Guide.md#login-with-username-or-email
  4. From line 95 to 100 in client/lib/accounts/config.js, added preconfigured routes for sign-up, sign-in, change-password, forgot-password and verify-email.
  5. Styled sign up/sign in/reset password and other useraccounts forms to match skeleton styles (forms uses different class names).
  6. Refractored logout - moved it from routes to client/views/header.js template event, it logouts and redirects to /sign-in

...After this merge, we can implement sending emails (useraccounts have this bundled, just waits for email settings on the server)

pmuens commented 9 years ago

Awesome (nice description with an overview of the changes)! Thank you! I'll have a look at it ASAP!

pmuens commented 9 years ago

Checked your PR. Awesome Work. Thanks!

zaverichintan commented 8 years ago

Hey, how can we add login buttons for github, Facebook etc. Using account - ..... Package? Kindly help me to solve the issue.