rodauth 2.0.0 → 2.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +58 -0
  3. data/README.rdoc +14 -0
  4. data/doc/base.rdoc +2 -0
  5. data/doc/guides/admin_activation.rdoc +46 -0
  6. data/doc/guides/already_authenticated.rdoc +10 -0
  7. data/doc/guides/alternative_login.rdoc +46 -0
  8. data/doc/guides/create_account_programmatically.rdoc +38 -0
  9. data/doc/guides/delay_password.rdoc +25 -0
  10. data/doc/guides/email_only.rdoc +16 -0
  11. data/doc/guides/i18n.rdoc +26 -0
  12. data/doc/{internals.rdoc → guides/internals.rdoc} +0 -0
  13. data/doc/guides/links.rdoc +12 -0
  14. data/doc/guides/login_return.rdoc +37 -0
  15. data/doc/guides/password_column.rdoc +25 -0
  16. data/doc/guides/password_confirmation.rdoc +37 -0
  17. data/doc/guides/password_requirements.rdoc +30 -0
  18. data/doc/guides/paths.rdoc +36 -0
  19. data/doc/guides/query_params.rdoc +9 -0
  20. data/doc/guides/redirects.rdoc +17 -0
  21. data/doc/guides/registration_field.rdoc +68 -0
  22. data/doc/guides/require_mfa.rdoc +30 -0
  23. data/doc/guides/reset_password_autologin.rdoc +21 -0
  24. data/doc/guides/status_column.rdoc +28 -0
  25. data/doc/guides/totp_or_recovery.rdoc +16 -0
  26. data/doc/jwt_refresh.rdoc +11 -0
  27. data/doc/login.rdoc +8 -0
  28. data/doc/login_password_requirements_base.rdoc +3 -0
  29. data/doc/otp.rdoc +1 -0
  30. data/doc/password_pepper.rdoc +44 -0
  31. data/doc/release_notes/2.1.0.txt +31 -0
  32. data/doc/release_notes/2.2.0.txt +39 -0
  33. data/doc/release_notes/2.3.0.txt +37 -0
  34. data/doc/release_notes/2.4.0.txt +22 -0
  35. data/doc/release_notes/2.5.0.txt +20 -0
  36. data/doc/verify_login_change.rdoc +1 -0
  37. data/lib/rodauth.rb +5 -5
  38. data/lib/rodauth/features/active_sessions.rb +5 -7
  39. data/lib/rodauth/features/audit_logging.rb +2 -0
  40. data/lib/rodauth/features/base.rb +21 -2
  41. data/lib/rodauth/features/change_password.rb +1 -1
  42. data/lib/rodauth/features/close_account.rb +8 -6
  43. data/lib/rodauth/features/create_account.rb +1 -0
  44. data/lib/rodauth/features/disallow_password_reuse.rb +4 -2
  45. data/lib/rodauth/features/email_auth.rb +2 -2
  46. data/lib/rodauth/features/http_basic_auth.rb +15 -2
  47. data/lib/rodauth/features/jwt.rb +12 -8
  48. data/lib/rodauth/features/jwt_cors.rb +15 -15
  49. data/lib/rodauth/features/jwt_refresh.rb +39 -10
  50. data/lib/rodauth/features/login.rb +23 -12
  51. data/lib/rodauth/features/login_password_requirements_base.rb +9 -4
  52. data/lib/rodauth/features/otp.rb +5 -1
  53. data/lib/rodauth/features/password_complexity.rb +4 -2
  54. data/lib/rodauth/features/password_pepper.rb +45 -0
  55. data/lib/rodauth/features/remember.rb +2 -0
  56. data/lib/rodauth/features/session_expiration.rb +1 -6
  57. data/lib/rodauth/features/single_session.rb +1 -1
  58. data/lib/rodauth/features/sms_codes.rb +0 -1
  59. data/lib/rodauth/features/two_factor_base.rb +4 -4
  60. data/lib/rodauth/features/verify_account.rb +5 -0
  61. data/lib/rodauth/features/verify_account_grace_period.rb +3 -5
  62. data/lib/rodauth/features/verify_login_change.rb +2 -1
  63. data/lib/rodauth/features/webauthn.rb +1 -3
  64. data/lib/rodauth/features/webauthn_login.rb +1 -1
  65. data/lib/rodauth/migrations.rb +16 -5
  66. data/lib/rodauth/version.rb +1 -1
  67. data/templates/password-field.str +1 -1
  68. metadata +37 -5
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rodauth
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Evans
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-06 00:00:00.000000000 Z
11
+ date: 2020-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sequel
@@ -247,7 +247,6 @@ extra_rdoc_files:
247
247
  - doc/http_basic_auth.rdoc
248
248
  - doc/create_account.rdoc
249
249
  - doc/email_base.rdoc
250
- - doc/internals.rdoc
251
250
  - doc/disallow_common_passwords.rdoc
252
251
  - doc/disallow_password_reuse.rdoc
253
252
  - doc/password_complexity.rdoc
@@ -278,6 +277,7 @@ extra_rdoc_files:
278
277
  - doc/webauthn_verify_account.rdoc
279
278
  - doc/active_sessions.rdoc
280
279
  - doc/audit_logging.rdoc
280
+ - doc/password_pepper.rdoc
281
281
  - doc/release_notes/1.17.0.txt
282
282
  - doc/release_notes/1.0.0.txt
283
283
  - doc/release_notes/1.1.0.txt
@@ -303,6 +303,11 @@ extra_rdoc_files:
303
303
  - doc/release_notes/1.22.0.txt
304
304
  - doc/release_notes/1.23.0.txt
305
305
  - doc/release_notes/2.0.0.txt
306
+ - doc/release_notes/2.1.0.txt
307
+ - doc/release_notes/2.2.0.txt
308
+ - doc/release_notes/2.3.0.txt
309
+ - doc/release_notes/2.4.0.txt
310
+ - doc/release_notes/2.5.0.txt
306
311
  files:
307
312
  - CHANGELOG
308
313
  - MIT-LICENSE
@@ -322,8 +327,28 @@ files:
322
327
  - doc/disallow_password_reuse.rdoc
323
328
  - doc/email_auth.rdoc
324
329
  - doc/email_base.rdoc
330
+ - doc/guides/admin_activation.rdoc
331
+ - doc/guides/already_authenticated.rdoc
332
+ - doc/guides/alternative_login.rdoc
333
+ - doc/guides/create_account_programmatically.rdoc
334
+ - doc/guides/delay_password.rdoc
335
+ - doc/guides/email_only.rdoc
336
+ - doc/guides/i18n.rdoc
337
+ - doc/guides/internals.rdoc
338
+ - doc/guides/links.rdoc
339
+ - doc/guides/login_return.rdoc
340
+ - doc/guides/password_column.rdoc
341
+ - doc/guides/password_confirmation.rdoc
342
+ - doc/guides/password_requirements.rdoc
343
+ - doc/guides/paths.rdoc
344
+ - doc/guides/query_params.rdoc
345
+ - doc/guides/redirects.rdoc
346
+ - doc/guides/registration_field.rdoc
347
+ - doc/guides/require_mfa.rdoc
348
+ - doc/guides/reset_password_autologin.rdoc
349
+ - doc/guides/status_column.rdoc
350
+ - doc/guides/totp_or_recovery.rdoc
325
351
  - doc/http_basic_auth.rdoc
326
- - doc/internals.rdoc
327
352
  - doc/jwt.rdoc
328
353
  - doc/jwt_cors.rdoc
329
354
  - doc/jwt_refresh.rdoc
@@ -335,6 +360,7 @@ files:
335
360
  - doc/password_complexity.rdoc
336
361
  - doc/password_expiration.rdoc
337
362
  - doc/password_grace_period.rdoc
363
+ - doc/password_pepper.rdoc
338
364
  - doc/recovery_codes.rdoc
339
365
  - doc/release_notes/1.0.0.txt
340
366
  - doc/release_notes/1.1.0.txt
@@ -361,6 +387,11 @@ files:
361
387
  - doc/release_notes/1.8.0.txt
362
388
  - doc/release_notes/1.9.0.txt
363
389
  - doc/release_notes/2.0.0.txt
390
+ - doc/release_notes/2.1.0.txt
391
+ - doc/release_notes/2.2.0.txt
392
+ - doc/release_notes/2.3.0.txt
393
+ - doc/release_notes/2.4.0.txt
394
+ - doc/release_notes/2.5.0.txt
364
395
  - doc/remember.rdoc
365
396
  - doc/reset_password.rdoc
366
397
  - doc/session_expiration.rdoc
@@ -404,6 +435,7 @@ files:
404
435
  - lib/rodauth/features/password_complexity.rb
405
436
  - lib/rodauth/features/password_expiration.rb
406
437
  - lib/rodauth/features/password_grace_period.rb
438
+ - lib/rodauth/features/password_pepper.rb
407
439
  - lib/rodauth/features/recovery_codes.rb
408
440
  - lib/rodauth/features/remember.rb
409
441
  - lib/rodauth/features/reset_password.rb
@@ -503,7 +535,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
503
535
  - !ruby/object:Gem::Version
504
536
  version: '0'
505
537
  requirements: []
506
- rubygems_version: 3.1.2
538
+ rubygems_version: 3.1.4
507
539
  signing_key:
508
540
  specification_version: 4
509
541
  summary: Authentication and Account Management Framework for Rack Applications