-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Joining groups #14
Joining groups #14
Conversation
…oups a user already owns.
…ves items, lists, invitations and the group when invoked.
… groups by group owner.
…nd group invites.
@kmeyerhofer Please resolve merge conflicts. I think this are appearing because I just merged |
Functional Testing NotesInvitations
Groups
Users
|
I wanted to have a second way for a group owner to invite someone. Yes, you do have to know their ID to invite them, that is definitely a big downside.
Fixed.
Show route removed.
Fixed.
Fixed. Adds
This is being worked on in branch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some small items to look over and I will check out the tests and giant if statements in the controllers later 🥇
This PR's base is based on PR #13
Invitations Added
As a group owner, you can invite a user to join the group. Your invite can contain a message to the user. You can invite a user in two ways:
/users/:id
) it will show a drop down menu of the groups you are an owner of. Select the group, write a message and submit your invitation to that user.You can only send one invitation to a user at a time. If the user declines the invitation, you cannot invite them again.
If you have been invited to a group, your invitation will be at your
/dashboard
awaiting your Accept or Decline.Groups
groups#destroy
functionality for a group owner works correctly deleting allItem
s,List
s, and finally theGroup
itself.gift_due_date
date attributes. This is a required field during group creation and update. It will be used for business logic in the future.Users
User
email addresses are converted to downcase before being saved or accessed in the database.user#update
received a refactor: the current password is required to update any information for a user.Items
item#update
actions correctly.Gems
strong_password
Adds the
strong_password
gem.Users must use a strong password.
Password strength is tested in
spec/models/user_spec.rb
.database_cleaner
For testing only.
Gemfile
Dependency upgrades.
Database
Invitations
.db/seeds
updated to be more relevant for the new data.Tests!
users
,groups
,items
,invitations
rake
orrspec
, one is currently not yet implemented.