rodauth-rails 1.7.0 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +34 -0
  3. data/LICENSE.txt +1 -1
  4. data/README.md +50 -10
  5. data/lib/generators/rodauth/install_generator.rb +35 -34
  6. data/lib/generators/rodauth/migration/active_record/account_expiration.erb +2 -2
  7. data/lib/generators/rodauth/migration/active_record/active_sessions.erb +2 -2
  8. data/lib/generators/rodauth/migration/active_record/audit_logging.erb +3 -3
  9. data/lib/generators/rodauth/migration/active_record/base.erb +1 -1
  10. data/lib/generators/rodauth/migration/active_record/disallow_password_reuse.erb +2 -2
  11. data/lib/generators/rodauth/migration/active_record/email_auth.erb +2 -1
  12. data/lib/generators/rodauth/migration/active_record/jwt_refresh.erb +3 -3
  13. data/lib/generators/rodauth/migration/active_record/lockout.erb +4 -4
  14. data/lib/generators/rodauth/migration/active_record/otp.erb +2 -2
  15. data/lib/generators/rodauth/migration/active_record/password_expiration.erb +2 -2
  16. data/lib/generators/rodauth/migration/active_record/recovery_codes.erb +2 -2
  17. data/lib/generators/rodauth/migration/active_record/remember.erb +2 -2
  18. data/lib/generators/rodauth/migration/active_record/reset_password.erb +2 -2
  19. data/lib/generators/rodauth/migration/active_record/single_session.erb +2 -2
  20. data/lib/generators/rodauth/migration/active_record/sms_codes.erb +2 -2
  21. data/lib/generators/rodauth/migration/active_record/verify_account.erb +2 -2
  22. data/lib/generators/rodauth/migration/active_record/verify_login_change.erb +2 -2
  23. data/lib/generators/rodauth/migration/active_record/webauthn.erb +4 -4
  24. data/lib/generators/rodauth/migration/sequel/account_expiration.erb +2 -2
  25. data/lib/generators/rodauth/migration/sequel/active_sessions.erb +3 -3
  26. data/lib/generators/rodauth/migration/sequel/audit_logging.erb +3 -3
  27. data/lib/generators/rodauth/migration/sequel/base.erb +1 -1
  28. data/lib/generators/rodauth/migration/sequel/disallow_password_reuse.erb +2 -2
  29. data/lib/generators/rodauth/migration/sequel/email_auth.erb +2 -2
  30. data/lib/generators/rodauth/migration/sequel/jwt_refresh.erb +3 -3
  31. data/lib/generators/rodauth/migration/sequel/lockout.erb +4 -4
  32. data/lib/generators/rodauth/migration/sequel/otp.erb +2 -2
  33. data/lib/generators/rodauth/migration/sequel/password_expiration.erb +2 -2
  34. data/lib/generators/rodauth/migration/sequel/recovery_codes.erb +2 -2
  35. data/lib/generators/rodauth/migration/sequel/remember.erb +2 -2
  36. data/lib/generators/rodauth/migration/sequel/reset_password.erb +2 -2
  37. data/lib/generators/rodauth/migration/sequel/single_session.erb +2 -2
  38. data/lib/generators/rodauth/migration/sequel/sms_codes.erb +2 -2
  39. data/lib/generators/rodauth/migration/sequel/verify_account.erb +2 -2
  40. data/lib/generators/rodauth/migration/sequel/verify_login_change.erb +2 -2
  41. data/lib/generators/rodauth/migration/sequel/webauthn.erb +5 -5
  42. data/lib/generators/rodauth/migration_generator.rb +43 -1
  43. data/lib/generators/rodauth/templates/app/mailers/{rodauth_mailer.rb → rodauth_mailer.rb.tt} +8 -6
  44. data/lib/generators/rodauth/templates/app/misc/{rodauth_main.rb → rodauth_main.rb.tt} +69 -10
  45. data/lib/generators/rodauth/templates/app/models/{account.rb → account.rb.tt} +2 -2
  46. data/lib/generators/rodauth/templates/app/views/rodauth/tailwind/webauthn_auth.html.erb +13 -0
  47. data/lib/generators/rodauth/templates/app/views/rodauth/tailwind/webauthn_remove.html.erb +21 -0
  48. data/lib/generators/rodauth/templates/app/views/rodauth/tailwind/webauthn_setup.html.erb +21 -0
  49. data/lib/generators/rodauth/templates/app/views/rodauth/webauthn_auth.html.erb +3 -3
  50. data/lib/generators/rodauth/templates/app/views/rodauth/webauthn_setup.html.erb +4 -4
  51. data/lib/generators/rodauth/templates/test/fixtures/{accounts.yml → accounts.yml.tt} +2 -2
  52. data/lib/rodauth/rails/app.rb +19 -0
  53. data/lib/rodauth/rails/feature/base.rb +0 -10
  54. data/lib/rodauth/rails/feature/email.rb +2 -2
  55. data/lib/rodauth/rails/feature/internal_request.rb +1 -1
  56. data/lib/rodauth/rails/version.rb +1 -1
  57. data/rodauth-rails.gemspec +1 -1
  58. metadata +16 -14
  59. data/lib/generators/rodauth/templates/config/initializers/sequel.rb +0 -4
  60. /data/lib/generators/rodauth/templates/app/controllers/{rodauth_controller.rb → rodauth_controller.rb.tt} +0 -0
  61. /data/lib/generators/rodauth/templates/app/misc/{rodauth_app.rb → rodauth_app.rb.tt} +0 -0
  62. /data/lib/generators/rodauth/templates/config/initializers/{rodauth.rb → rodauth.rb.tt} +0 -0
  63. /data/lib/generators/rodauth/templates/db/migrate/{create_rodauth.rb → create_rodauth.rb.tt} +0 -0