rodauth-rails 0.18.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +34 -0
  3. data/README.md +219 -553
  4. data/lib/generators/rodauth/install_generator.rb +32 -35
  5. data/lib/generators/rodauth/migration_generator.rb +9 -2
  6. data/lib/generators/rodauth/templates/INSTRUCTIONS +40 -0
  7. data/lib/generators/rodauth/templates/app/mailers/rodauth_mailer.rb +36 -19
  8. data/lib/generators/rodauth/templates/app/misc/rodauth_app.rb +38 -0
  9. data/lib/generators/rodauth/templates/app/{lib/rodauth_app.rb → misc/rodauth_main.rb} +9 -52
  10. data/lib/generators/rodauth/templates/app/views/rodauth/_email_auth_request_form.html.erb +1 -1
  11. data/lib/generators/rodauth/templates/app/views/rodauth/change_login.html.erb +1 -1
  12. data/lib/generators/rodauth/templates/app/views/rodauth/change_password.html.erb +1 -1
  13. data/lib/generators/rodauth/templates/app/views/rodauth/close_account.html.erb +1 -1
  14. data/lib/generators/rodauth/templates/app/views/rodauth/confirm_password.html.erb +1 -1
  15. data/lib/generators/rodauth/templates/app/views/rodauth/create_account.html.erb +1 -1
  16. data/lib/generators/rodauth/templates/app/views/rodauth/email_auth.html.erb +1 -1
  17. data/lib/generators/rodauth/templates/app/views/rodauth/logout.html.erb +1 -1
  18. data/lib/generators/rodauth/templates/app/views/rodauth/otp_auth.html.erb +1 -1
  19. data/lib/generators/rodauth/templates/app/views/rodauth/otp_disable.html.erb +1 -1
  20. data/lib/generators/rodauth/templates/app/views/rodauth/otp_setup.html.erb +1 -1
  21. data/lib/generators/rodauth/templates/app/views/rodauth/recovery_auth.html.erb +1 -1
  22. data/lib/generators/rodauth/templates/app/views/rodauth/remember.html.erb +1 -1
  23. data/lib/generators/rodauth/templates/app/views/rodauth/reset_password.html.erb +1 -1
  24. data/lib/generators/rodauth/templates/app/views/rodauth/reset_password_request.html.erb +1 -1
  25. data/lib/generators/rodauth/templates/app/views/rodauth/sms_auth.html.erb +1 -1
  26. data/lib/generators/rodauth/templates/app/views/rodauth/sms_confirm.html.erb +1 -1
  27. data/lib/generators/rodauth/templates/app/views/rodauth/sms_disable.html.erb +1 -1
  28. data/lib/generators/rodauth/templates/app/views/rodauth/sms_request.html.erb +1 -1
  29. data/lib/generators/rodauth/templates/app/views/rodauth/sms_setup.html.erb +1 -1
  30. data/lib/generators/rodauth/templates/app/views/rodauth/two_factor_disable.html.erb +1 -1
  31. data/lib/generators/rodauth/templates/app/views/rodauth/unlock_account.html.erb +1 -1
  32. data/lib/generators/rodauth/templates/app/views/rodauth/unlock_account_request.html.erb +1 -1
  33. data/lib/generators/rodauth/templates/app/views/rodauth/verify_account.html.erb +1 -1
  34. data/lib/generators/rodauth/templates/app/views/rodauth/verify_account_resend.html.erb +1 -1
  35. data/lib/generators/rodauth/templates/app/views/rodauth/verify_login_change.html.erb +1 -1
  36. data/lib/generators/rodauth/templates/app/views/rodauth/webauthn_auth.html.erb +1 -1
  37. data/lib/generators/rodauth/templates/app/views/rodauth/webauthn_remove.html.erb +1 -1
  38. data/lib/generators/rodauth/templates/app/views/rodauth/webauthn_setup.html.erb +1 -1
  39. data/lib/rodauth/rails/app.rb +1 -4
  40. data/lib/rodauth/rails/auth.rb +1 -16
  41. data/lib/rodauth/rails/controller_methods.rb +1 -1
  42. data/lib/rodauth/rails/feature/internal_request.rb +10 -4
  43. data/lib/rodauth/rails/feature/render.rb +8 -0
  44. data/lib/rodauth/rails/tasks.rake +2 -2
  45. data/lib/rodauth/rails/version.rb +1 -1
  46. data/lib/rodauth/rails.rb +9 -20
  47. data/rodauth-rails.gemspec +1 -1
  48. metadata +7 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8eb9b3bee5cf4cd6741d7b05fa1d6869526a583ff3d9712b8a4adcb522c5a8d5
4
- data.tar.gz: 37cba7e8de2b0c2aa07763ca4da38989692e3cd467a314440f22706380e9e2fe
3
+ metadata.gz: 34d196440d63f28b871b42b21686018546c3e98df2239f69611847a0b3a2546a
4
+ data.tar.gz: d73de73af3c8985be686bf512c7b15bdf9bf27ecda1bfe30ad8d8a21964f0de0
5
5
  SHA512:
6
- metadata.gz: 8c027c266b03b2be2a68d19e847e31ce04d608e1befbf9785b38ffd94326962db2b01bf72b715311f9a690022fe62232c92a355094d451383330413096c57be5
7
- data.tar.gz: bc2d33f6d773cc7884c5b655ef93630a6e1f1ec56fe9ce6f75aa8127120005496eecc976aa8f1689cc4ade3e784070b5ce5de1308eda674e8487e9eac5a5599e
6
+ metadata.gz: acddd3554346ce6f7048ac56a59e0f0439312668fbf8e94450fd23d4d2464ad82655e221e6e15cd5755ef9207c49fe56c6fb67d95bbb764989ec39c6ff4df46a
7
+ data.tar.gz: a2be70d18c1ac8f1d6fca8eaef39a54c88a468dc96140eff05b5bb6bf9c901b93de64fd71c9dc27ef302edf643d024e34141b9258b3879a75e0aa96af28b7a27
data/CHANGELOG.md CHANGED
@@ -1,3 +1,37 @@
1
+ ## 1.0.0 (2021-12-25)
2
+
3
+ * Set Rodauth's email subject in the generated mailer (@janko)
4
+
5
+ * Raise error when outside of a request and `config.action_mailer.default_url_options` is unset (@janko)
6
+
7
+ * Avoid method re-definition warnings with named auth classes caused by `post_configure` being called twice (@janko)
8
+
9
+ * Don't modify `config.action_mailer.default_url_options` when `:protocol` is missing (@janko)
10
+
11
+ * Move `Rodauth::Rails.url_options` into `Rodauth::Auth#rails_url_options` (@janko)
12
+
13
+ * Generate named auth classes in `rodauth:install` generator (@janko)
14
+
15
+ * Generate `rodauth_app.rb` in `app/misc` directory (@janko)
16
+
17
+ * Add `--name` option to `rodauth:migration` generator (@janko)
18
+
19
+ * Disable Turbo in all built-in and generated views (@janko)
20
+
21
+ * Modify generated mailer integration to generate URLs according to `default_url_options` (@janko)
22
+
23
+ * Skip Active Record files in `rodauth:install` if `ActiveRecord::Railtie` is not defined (@janko)
24
+
25
+ * Stop loading `pass` plugin in `Rodauth::Rails::App` (@janko)
26
+
27
+ * Remove deprecated `:query` and `:form` options in `Rodauth::Rails.rodauth` (@janko)
28
+
29
+ * Require internal_request feature to be enabled in `Rodauth::Rails.rodauth` (@janko)
30
+
31
+ ## 0.18.1 (2021-12-16)
32
+
33
+ * Loosen Rails gem dependency to allow Rails 7.x (Intrepidd)
34
+
1
35
  ## 0.18.0 (2021-11-05)
2
36
 
3
37
  * Disable Turbo on the generated login form (@janko)