- Fix invitation_period_valid? with no timestamp (#743)
- fix for ActionController::UnfilteredParameters error on rails 5.2 (commit)
- Fix
after_{invite,accept}_path_for
(#737) - Hide invitable attributes from
#inspect
(#736) - Generate migration template with version for rails >= 5 (commit)
- Set
@accepting_invitation
to false after accepting (#710) - Override
send_password_change_notification
to handle accepting invitation (#718)
- Sign out before accepting the invitation if the user logged in
- Allow to set invited_by_* options on model
- created_by_invite scope and test method checks invitation_created_at, because invitation_sent_at can be nil if skip_invitation is used
- Drop devise < 4 support
- Fix tests for devise 4.2
- Support 2 arguments on after_invite_path_for, inviter and invitee
- Support mongoid 6.0 (use :optional on invited_by relation)
- Support devise 4.1
- Support devise 4.0 and rails 5.0
- Add before/after invitation_created callbacks
- Fix invitation_due_at when invite_for is 0
- Add plain text mailer template
- Ruby 1.9 not supported anymore
- Adds :require_password_on_accepting config option, and ensure invitation is not accepted if password is required and removed from form
- Add optional options hash to invite! methods, they will be used for send_devise_notification call
- Ensure that all invited user passwords conform to a format
- Call set_minimum_password_length (if exists) on accept invitation as devise does
- Controllers inheriting from Devise::InvitationsController will now use 'devise.invitations' translations when using Devise >## 3.5. See heartcombo/devise#3407 for more details.
- Add invitation due date to mailer
- Fix #585, avoid generating new password if there already is a encrypted one
- Give error if trying to register with a registered email
- Fix #571, accept invitation when password changes only if reset_password_token was present
- Add support for setting invited_by foreign key
- Set random initial password for invited users
- Don't override password while User.invite!
- Fix #562 Avoid using after_password_reset
- Fix #564
Compare: https://github.com/scambra/devise_invitable/compare/v1.5.0...v1.5.1
Override valid_password? and unauthenticated_message instead of active_for_authentication? and inactive_message, active_for_authentication? doesn't work for default behavior of invited users without password
- Get list & check for user(s) created by invite irrespective of status
- Update simple_form template's hash syntax
- Update migration template's hash syntax
- Check if after_password_reset is defined
Compare: https://github.com/scambra/devise_invitable/compare/v1.4.2...v1.5.0
- Add option to allow controlling of auto sign in functionality for security
- Add intermediate method in active_for_authentication? for more flexibility
- Add intermediate block_from_invitation? method for more flexibility
- Fix undefined method `invite_key_fields'
- Fix override valid_password? instead of active_for_authentication? (fixes #541)
Compare: https://github.com/scambra/devise_invitable/compare/v1.4.1...v1.4.2
- Begin testing against devise 3.4
- Use current_inviter to get redirect path after invite (scambra#523)
Compare: https://github.com/scambra/devise_invitable/compare/v1.4.0...v1.4.1
Override active_for_authentication? and inactive_message instead of valid_password? To use counter_cache, invited_by_counter_cache must be set, no more checking of invitations_count to enable counter cache
Compare: https://github.com/scambra/devise_invitable/compare/v1.3.6...v1.4.0
- Regenerate invitation token each time even if "skip_invitation" was true
- Add passing a block to instance #invite! method
- Improvements to tests
Compare: https://github.com/scambra/devise_invitable/compare/v1.3.5...v1.3.6
No notes yet, contributions welcome.
Now devise 3.1 compatible, @token must be used instead of @resource.invitation_token in mail views
Add invitation_created_at column which is set when invitation is created even when sending is skipped. This new field is used to check invitation period valid