devise 3.0.0 → 4.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (242) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +351 -0
  3. data/MIT-LICENSE +2 -1
  4. data/README.md +422 -130
  5. data/app/controllers/devise/confirmations_controller.rb +17 -6
  6. data/app/controllers/devise/omniauth_callbacks_controller.rb +12 -6
  7. data/app/controllers/devise/passwords_controller.rb +23 -8
  8. data/app/controllers/devise/registrations_controller.rb +70 -28
  9. data/app/controllers/devise/sessions_controller.rb +49 -17
  10. data/app/controllers/devise/unlocks_controller.rb +11 -4
  11. data/app/controllers/devise_controller.rb +74 -34
  12. data/app/helpers/devise_helper.rb +23 -18
  13. data/app/mailers/devise/mailer.rb +25 -10
  14. data/app/views/devise/confirmations/new.html.erb +9 -5
  15. data/app/views/devise/mailer/confirmation_instructions.html.erb +1 -1
  16. data/app/views/devise/mailer/email_changed.html.erb +7 -0
  17. data/app/views/devise/mailer/password_change.html.erb +3 -0
  18. data/app/views/devise/mailer/reset_password_instructions.html.erb +1 -1
  19. data/app/views/devise/mailer/unlock_instructions.html.erb +1 -1
  20. data/app/views/devise/passwords/edit.html.erb +16 -7
  21. data/app/views/devise/passwords/new.html.erb +9 -5
  22. data/app/views/devise/registrations/edit.html.erb +29 -15
  23. data/app/views/devise/registrations/new.html.erb +20 -9
  24. data/app/views/devise/sessions/new.html.erb +19 -10
  25. data/app/views/devise/shared/_error_messages.html.erb +15 -0
  26. data/app/views/devise/shared/{_links.erb → _links.html.erb} +10 -10
  27. data/app/views/devise/unlocks/new.html.erb +9 -5
  28. data/config/locales/en.yml +26 -20
  29. data/lib/devise/controllers/helpers.rb +122 -125
  30. data/lib/devise/controllers/rememberable.rb +14 -14
  31. data/lib/devise/controllers/scoped_views.rb +3 -1
  32. data/lib/devise/controllers/sign_in_out.rb +121 -0
  33. data/lib/devise/controllers/store_location.rb +76 -0
  34. data/lib/devise/controllers/url_helpers.rb +10 -8
  35. data/lib/devise/delegator.rb +2 -0
  36. data/lib/devise/encryptor.rb +24 -0
  37. data/lib/devise/failure_app.rb +132 -42
  38. data/lib/devise/hooks/activatable.rb +7 -6
  39. data/lib/devise/hooks/csrf_cleaner.rb +9 -0
  40. data/lib/devise/hooks/forgetable.rb +3 -1
  41. data/lib/devise/hooks/lockable.rb +5 -3
  42. data/lib/devise/hooks/proxy.rb +23 -0
  43. data/lib/devise/hooks/rememberable.rb +7 -4
  44. data/lib/devise/hooks/timeoutable.rb +18 -8
  45. data/lib/devise/hooks/trackable.rb +3 -1
  46. data/lib/devise/mailers/helpers.rb +15 -18
  47. data/lib/devise/mapping.rb +9 -3
  48. data/lib/devise/models/authenticatable.rb +102 -80
  49. data/lib/devise/models/confirmable.rb +154 -72
  50. data/lib/devise/models/database_authenticatable.rb +125 -25
  51. data/lib/devise/models/lockable.rb +50 -29
  52. data/lib/devise/models/omniauthable.rb +3 -1
  53. data/lib/devise/models/recoverable.rb +72 -50
  54. data/lib/devise/models/registerable.rb +4 -0
  55. data/lib/devise/models/rememberable.rb +65 -32
  56. data/lib/devise/models/timeoutable.rb +4 -8
  57. data/lib/devise/models/trackable.rb +20 -4
  58. data/lib/devise/models/validatable.rb +16 -9
  59. data/lib/devise/models.rb +6 -13
  60. data/lib/devise/modules.rb +12 -11
  61. data/lib/devise/omniauth/config.rb +2 -0
  62. data/lib/devise/omniauth/url_helpers.rb +14 -5
  63. data/lib/devise/omniauth.rb +4 -5
  64. data/lib/devise/orm/active_record.rb +5 -1
  65. data/lib/devise/orm/mongoid.rb +6 -2
  66. data/lib/devise/parameter_filter.rb +4 -0
  67. data/lib/devise/parameter_sanitizer.rb +144 -34
  68. data/lib/devise/rails/deprecated_constant_accessor.rb +39 -0
  69. data/lib/devise/rails/routes.rb +191 -127
  70. data/lib/devise/rails/warden_compat.rb +2 -1
  71. data/lib/devise/rails.rb +13 -20
  72. data/lib/devise/secret_key_finder.rb +27 -0
  73. data/lib/devise/strategies/authenticatable.rb +21 -22
  74. data/lib/devise/strategies/base.rb +3 -1
  75. data/lib/devise/strategies/database_authenticatable.rb +15 -4
  76. data/lib/devise/strategies/rememberable.rb +15 -3
  77. data/lib/devise/test/controller_helpers.rb +167 -0
  78. data/lib/devise/test/integration_helpers.rb +63 -0
  79. data/lib/devise/test_helpers.rb +7 -123
  80. data/lib/devise/time_inflector.rb +4 -2
  81. data/lib/devise/token_generator.rb +32 -0
  82. data/lib/devise/version.rb +3 -1
  83. data/lib/devise.rb +124 -78
  84. data/lib/generators/active_record/devise_generator.rb +64 -15
  85. data/lib/generators/active_record/templates/migration.rb +9 -8
  86. data/lib/generators/active_record/templates/migration_existing.rb +9 -8
  87. data/lib/generators/devise/controllers_generator.rb +46 -0
  88. data/lib/generators/devise/devise_generator.rb +10 -6
  89. data/lib/generators/devise/install_generator.rb +19 -1
  90. data/lib/generators/devise/orm_helpers.rb +17 -9
  91. data/lib/generators/devise/views_generator.rb +51 -28
  92. data/lib/generators/mongoid/devise_generator.rb +24 -24
  93. data/lib/generators/templates/README +13 -12
  94. data/lib/generators/templates/controllers/README +14 -0
  95. data/lib/generators/templates/controllers/confirmations_controller.rb +30 -0
  96. data/lib/generators/templates/controllers/omniauth_callbacks_controller.rb +30 -0
  97. data/lib/generators/templates/controllers/passwords_controller.rb +34 -0
  98. data/lib/generators/templates/controllers/registrations_controller.rb +62 -0
  99. data/lib/generators/templates/controllers/sessions_controller.rb +27 -0
  100. data/lib/generators/templates/controllers/unlocks_controller.rb +30 -0
  101. data/lib/generators/templates/devise.rb +118 -53
  102. data/lib/generators/templates/markerb/confirmation_instructions.markerb +1 -1
  103. data/lib/generators/templates/markerb/email_changed.markerb +7 -0
  104. data/lib/generators/templates/markerb/password_change.markerb +3 -0
  105. data/lib/generators/templates/markerb/reset_password_instructions.markerb +1 -1
  106. data/lib/generators/templates/markerb/unlock_instructions.markerb +1 -1
  107. data/lib/generators/templates/simple_form_for/confirmations/new.html.erb +6 -2
  108. data/lib/generators/templates/simple_form_for/passwords/edit.html.erb +12 -4
  109. data/lib/generators/templates/simple_form_for/passwords/new.html.erb +5 -2
  110. data/lib/generators/templates/simple_form_for/registrations/edit.html.erb +14 -6
  111. data/lib/generators/templates/simple_form_for/registrations/new.html.erb +12 -4
  112. data/lib/generators/templates/simple_form_for/sessions/new.html.erb +11 -6
  113. data/lib/generators/templates/simple_form_for/unlocks/new.html.erb +5 -2
  114. metadata +73 -294
  115. data/.gitignore +0 -10
  116. data/.travis.yml +0 -20
  117. data/.yardopts +0 -9
  118. data/CHANGELOG.rdoc +0 -941
  119. data/CONTRIBUTING.md +0 -14
  120. data/Gemfile +0 -31
  121. data/Gemfile.lock +0 -159
  122. data/Rakefile +0 -35
  123. data/app/views/devise/_links.erb +0 -3
  124. data/devise.gemspec +0 -26
  125. data/devise.png +0 -0
  126. data/gemfiles/Gemfile.rails-3.2.x +0 -31
  127. data/gemfiles/Gemfile.rails-3.2.x.lock +0 -156
  128. data/lib/devise/models/token_authenticatable.rb +0 -89
  129. data/lib/devise/strategies/token_authenticatable.rb +0 -91
  130. data/test/controllers/custom_strategy_test.rb +0 -62
  131. data/test/controllers/helpers_test.rb +0 -253
  132. data/test/controllers/internal_helpers_test.rb +0 -120
  133. data/test/controllers/passwords_controller_test.rb +0 -32
  134. data/test/controllers/sessions_controller_test.rb +0 -99
  135. data/test/controllers/url_helpers_test.rb +0 -59
  136. data/test/delegator_test.rb +0 -19
  137. data/test/devise_test.rb +0 -83
  138. data/test/failure_app_test.rb +0 -221
  139. data/test/generators/active_record_generator_test.rb +0 -73
  140. data/test/generators/devise_generator_test.rb +0 -39
  141. data/test/generators/install_generator_test.rb +0 -13
  142. data/test/generators/mongoid_generator_test.rb +0 -23
  143. data/test/generators/views_generator_test.rb +0 -67
  144. data/test/helpers/devise_helper_test.rb +0 -51
  145. data/test/integration/authenticatable_test.rb +0 -699
  146. data/test/integration/confirmable_test.rb +0 -299
  147. data/test/integration/database_authenticatable_test.rb +0 -84
  148. data/test/integration/http_authenticatable_test.rb +0 -115
  149. data/test/integration/lockable_test.rb +0 -242
  150. data/test/integration/omniauthable_test.rb +0 -133
  151. data/test/integration/recoverable_test.rb +0 -335
  152. data/test/integration/registerable_test.rb +0 -349
  153. data/test/integration/rememberable_test.rb +0 -165
  154. data/test/integration/timeoutable_test.rb +0 -150
  155. data/test/integration/token_authenticatable_test.rb +0 -205
  156. data/test/integration/trackable_test.rb +0 -92
  157. data/test/mailers/confirmation_instructions_test.rb +0 -111
  158. data/test/mailers/reset_password_instructions_test.rb +0 -92
  159. data/test/mailers/unlock_instructions_test.rb +0 -87
  160. data/test/mapping_test.rb +0 -127
  161. data/test/models/authenticatable_test.rb +0 -13
  162. data/test/models/confirmable_test.rb +0 -452
  163. data/test/models/database_authenticatable_test.rb +0 -226
  164. data/test/models/lockable_test.rb +0 -282
  165. data/test/models/omniauthable_test.rb +0 -7
  166. data/test/models/recoverable_test.rb +0 -222
  167. data/test/models/registerable_test.rb +0 -7
  168. data/test/models/rememberable_test.rb +0 -175
  169. data/test/models/serializable_test.rb +0 -49
  170. data/test/models/timeoutable_test.rb +0 -46
  171. data/test/models/token_authenticatable_test.rb +0 -55
  172. data/test/models/trackable_test.rb +0 -13
  173. data/test/models/validatable_test.rb +0 -127
  174. data/test/models_test.rb +0 -163
  175. data/test/omniauth/config_test.rb +0 -57
  176. data/test/omniauth/url_helpers_test.rb +0 -54
  177. data/test/orm/active_record.rb +0 -10
  178. data/test/orm/mongoid.rb +0 -13
  179. data/test/parameter_sanitizer_test.rb +0 -58
  180. data/test/rails_app/Rakefile +0 -6
  181. data/test/rails_app/app/active_record/admin.rb +0 -6
  182. data/test/rails_app/app/active_record/shim.rb +0 -2
  183. data/test/rails_app/app/active_record/user.rb +0 -6
  184. data/test/rails_app/app/controllers/admins/sessions_controller.rb +0 -6
  185. data/test/rails_app/app/controllers/admins_controller.rb +0 -11
  186. data/test/rails_app/app/controllers/application_controller.rb +0 -9
  187. data/test/rails_app/app/controllers/home_controller.rb +0 -25
  188. data/test/rails_app/app/controllers/publisher/registrations_controller.rb +0 -2
  189. data/test/rails_app/app/controllers/publisher/sessions_controller.rb +0 -2
  190. data/test/rails_app/app/controllers/users/omniauth_callbacks_controller.rb +0 -14
  191. data/test/rails_app/app/controllers/users_controller.rb +0 -31
  192. data/test/rails_app/app/helpers/application_helper.rb +0 -3
  193. data/test/rails_app/app/mailers/users/mailer.rb +0 -12
  194. data/test/rails_app/app/mongoid/admin.rb +0 -29
  195. data/test/rails_app/app/mongoid/shim.rb +0 -23
  196. data/test/rails_app/app/mongoid/user.rb +0 -42
  197. data/test/rails_app/app/views/admins/index.html.erb +0 -1
  198. data/test/rails_app/app/views/admins/sessions/new.html.erb +0 -2
  199. data/test/rails_app/app/views/home/admin_dashboard.html.erb +0 -1
  200. data/test/rails_app/app/views/home/index.html.erb +0 -1
  201. data/test/rails_app/app/views/home/join.html.erb +0 -1
  202. data/test/rails_app/app/views/home/private.html.erb +0 -1
  203. data/test/rails_app/app/views/home/user_dashboard.html.erb +0 -1
  204. data/test/rails_app/app/views/layouts/application.html.erb +0 -24
  205. data/test/rails_app/app/views/users/edit_form.html.erb +0 -1
  206. data/test/rails_app/app/views/users/index.html.erb +0 -1
  207. data/test/rails_app/app/views/users/mailer/confirmation_instructions.erb +0 -1
  208. data/test/rails_app/app/views/users/sessions/new.html.erb +0 -1
  209. data/test/rails_app/bin/bundle +0 -3
  210. data/test/rails_app/bin/rails +0 -4
  211. data/test/rails_app/bin/rake +0 -4
  212. data/test/rails_app/config/application.rb +0 -40
  213. data/test/rails_app/config/boot.rb +0 -8
  214. data/test/rails_app/config/database.yml +0 -18
  215. data/test/rails_app/config/environment.rb +0 -5
  216. data/test/rails_app/config/environments/development.rb +0 -34
  217. data/test/rails_app/config/environments/production.rb +0 -84
  218. data/test/rails_app/config/environments/test.rb +0 -36
  219. data/test/rails_app/config/initializers/backtrace_silencers.rb +0 -7
  220. data/test/rails_app/config/initializers/devise.rb +0 -178
  221. data/test/rails_app/config/initializers/inflections.rb +0 -2
  222. data/test/rails_app/config/initializers/secret_token.rb +0 -8
  223. data/test/rails_app/config/initializers/session_store.rb +0 -1
  224. data/test/rails_app/config/routes.rb +0 -104
  225. data/test/rails_app/config.ru +0 -4
  226. data/test/rails_app/db/migrate/20100401102949_create_tables.rb +0 -74
  227. data/test/rails_app/db/schema.rb +0 -52
  228. data/test/rails_app/lib/shared_admin.rb +0 -14
  229. data/test/rails_app/lib/shared_user.rb +0 -25
  230. data/test/rails_app/public/404.html +0 -26
  231. data/test/rails_app/public/422.html +0 -26
  232. data/test/rails_app/public/500.html +0 -26
  233. data/test/rails_app/public/favicon.ico +0 -0
  234. data/test/routes_test.rb +0 -250
  235. data/test/support/assertions.rb +0 -40
  236. data/test/support/helpers.rb +0 -91
  237. data/test/support/integration.rb +0 -92
  238. data/test/support/locale/en.yml +0 -4
  239. data/test/support/webrat/integrations/rails.rb +0 -24
  240. data/test/test_helper.rb +0 -34
  241. data/test/test_helpers_test.rb +0 -151
  242. data/test/test_models.rb +0 -26
data/CHANGELOG.rdoc DELETED
@@ -1,941 +0,0 @@
1
- == 3.0.0
2
-
3
- * enhancements
4
- * Rails 4 and Strong Parameters compatibility (by @carlosantoniodasilva, @josevalim, @latortuga, @lucasmazza, @nashby, @rafaelfranca, @spastorino)
5
- * Drop support for Rails < 3.2 and Ruby < 1.9.3
6
- * Enable to skip sending reconfirmation email when reconfirmable is on and skip_confirmation_notification! is invoked (by @tkhr)
7
-
8
- * bug fix
9
- * Errors on unlock are now properly reflected on the first `unlock_keys`
10
-
11
- == 2.2.4
12
-
13
- * enhancements
14
- * Add `destroy_with_password` to `DatabaseAuthenticatable`. Allows destroying a record when `:current_password` matches, similarly to how `update_with_password` works. (by @michiel3)
15
- * Allow to override path after password resetting (by @worker8)
16
- * Add `#skip_confirmation_notification!` method to `Confirmable`. Allows skipping confirmation email without auto-confirming. (by @gregates)
17
- * allow_unconfirmed_access_for config from `:confirmable` module can be set to `nil` that means unconfirmed access for unlimited time. (by @nashby)
18
- * Support Rails' token strategy on authentication (by @robhurring)
19
- * Support explicitly setting the http authentication key via `config.http_authentication_key` (by @neo)
20
-
21
- * bug fix
22
- * Do not redirect when accessing devise API via JSON. (by @sebastianwr)
23
- * Generating scoped devise views now uses the correct scoped shared links partial instead of the default devise one (by @nashby)
24
- * Fix inheriting mailer templates from `Devise::Mailer`
25
- * Fix a bug when procs are used as default mailer in Devise (by @tomasv)
26
-
27
- == 2.2.3
28
-
29
- Security announcement: http://blog.plataformatec.com.br/2013/01/security-announcement-devise-v2-2-3-v2-1-3-v2-0-5-and-v1-5-3-released/
30
-
31
- * bug fix
32
- * Require string conversion for all values
33
-
34
- == 2.2.2
35
-
36
- * bug fix
37
- * Fix bug when checking for reconfirmable in templates
38
-
39
- == 2.2.1
40
-
41
- * bug fix
42
- * Fix regression with case_insensitive_keys
43
- * Fix regression when password is blank when it is invalid
44
-
45
- == 2.2.0
46
-
47
- * backwards incompatible changes
48
- * `headers_for` is deprecated, customize the mailer directly instead
49
- * All mailer methods now expect a second argument with delivery options
50
- * Default minimum password length is now 8 (by @carlosgaldino)
51
- * Support alternate sign in error message when email record does not exist (this adds a new I18n key to the locale file) (by @gabetax)
52
- * DeviseController responds only to HTML requests by default (call `DeviseController.respond_to` or `ApplicationController.respond_to` to add new formats)
53
- * Support Mongoid 3 onwards (by @durran)
54
-
55
- * enhancements
56
- * Fix unlockable which could leak account existence on paranoid mode (by @latortuga)
57
- * Confirmable now has a confirm_within option to set a period while the confirmation token is still valid (by @promisedlandt)
58
- * Flash messages in controller now respects `resource_name` (by @latortuga)
59
- * Separate `sign_in` and `sign_up` on RegistrationsController (by @rubynortheast)
60
- * Add autofocus to default views (by @Radagaisus)
61
- * Unlock user on password reset (by @marcinb)
62
- * Allow validation callbacks to apply to virtual attributes (by @latortuga)
63
-
64
- * bug fix
65
- * unconfirmed_email now uses the proper e-mail on salutation
66
- * Fix default email_regexp config to not allow spaces (by @kukula)
67
- * Fix a regression introduced on warden 1.2.1 (by @ejfinneran)
68
- * Properly camelize omniauth strategies (by @saizai)
69
- * Do not set flash messages for non navigational requests on session sign out (by @mathieul)
70
- * Set the proper fields as required on the lockable module (by @nickhoffman)
71
- * Respects Devise mailer default's reply_to (by @mrchrisadams)
72
- * Properly assign resource on `sign_in` related action (by @adammcnamara)
73
- * `update_with_password` doesn't change encrypted password when it is invalid (by @nashby)
74
- * Properly handle namespaced models on Active Record generator (by @nashby)
75
-
76
- == 2.1.2
77
-
78
- * enhancements
79
- * Handle backwards incompatibility between Rails 3.2.6 and Thor 0.15.x
80
-
81
- * bug fix
82
- * Fix regression on strategy validation on previous release
83
-
84
- == 2.1.1 (yanked)
85
-
86
- * enhancements
87
- * `sign_out_all_scopes` now locks warden and does not allow new logins in the same action
88
- * `Devise.omniauth_path_prefix` is available to configure omniauth path prefix
89
- * Redirect to sign in page when trying to access password#edit without a token (by @gbataille)
90
- * Allow a lambda in authenticate(d) routes helpers to further select the scope
91
- * Removed warnings on Rails 3.2.6 (by @nashby)
92
-
93
- * bug fix
94
- * `update_with_password` now relies on assign_attributes and forwards the :as option (by @wtn)
95
- * Do not trigger timeout on sign in related actions
96
- * Timeout does not explode when reset_authentication_token! is accidentally defined by Active Model (by @remomueller)
97
-
98
- * deprecations
99
- * Strategy#validate() no longer validates nil resources
100
-
101
- == 2.1.0
102
-
103
- * enhancements
104
- * Add `check_fields!(model_class)` method on Devise::Models to check if the model includes the fields that Devise uses
105
- * Add `skip_reconfirmation!` to skip reconfirmation
106
- * Devise model generator now works with engines
107
- * Devise encryptable was moved to its new gem (http://github.com/plataformatec/devise-encryptable)
108
-
109
- * deprecations
110
- * Deprecations warnings added on Devise 2.0 are now removed with their features
111
- * All devise modules should now have a `required_fields(klass)` module method to help gathering missing attributes
112
- * `use_salt_as_remember_token` and `apply_schema` does not have any effect since 2.0 and are now deprecated
113
- * `valid_for_authentication?` must now return a boolean
114
-
115
- * bug fix
116
- * Ensure after sign in hook is not called without a resource
117
- * Fix a term: now on Omniauth related flash messages, we say that we're authenticating from an omniauth provider instead of authorizing
118
- * Fixed redirect when authenticated mounted apps (by @hakanensari)
119
- * Ensure the failure app still respects config.relative_url_root
120
- * `/users/sign_in` doesn't choke on protected attributes used to select sign in scope (by @Paymium)
121
- * `failed_attempts` is set to zero after any sign in (including via reset password) (by @rodrigoflores)
122
- * Added token expiration on timeout (by @antiarchitect)
123
- * Do not accidentally mark `_prefixes` as private
124
- * Better support for custom strategies on test helpers (by @mattconnolly)
125
- * Return `head :no_content` in SessionsController now that most JS libraries handle it (by @julianvargasalvarez)
126
- * Reverted moving devise/shared/_links.erb to devise/_links.erb
127
-
128
- == 2.0.4
129
-
130
- Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.0
131
-
132
- * bug fix
133
- * Fix when :host is used with devise_for (by @mreinsch)
134
- * Fix a regression that caused Warden to be initialized too late
135
-
136
- == 2.0.3 (yanked)
137
-
138
- * bug fix
139
- * Ensure warning is not shown by mistake on apps with mounted engines
140
- * Fixes related to remember_token and rememberable_options
141
- * Ensure serializable_hash does not depend on accessible attributes
142
- * Ensure that timeout callback does not run on sign out action
143
-
144
- == 2.0.2
145
-
146
- * enhancements
147
- * Add devise_i18n_options to customize I18n message
148
-
149
- * bug fix
150
- * Ensure Devise.available_router_name defaults to :main_app
151
- * Set autocomplete to off for password on edit forms
152
- * Better error messages in case a trackable model can't be saved
153
- * Show a warning in case someone gives a pluralized name to devise generator
154
- * Fix test behavior for rspec subject requests (by @sj26)
155
-
156
- == 2.0.1
157
-
158
- * enhancements
159
- * Improved error messages on deprecation warnings
160
- * Hide Devise's internal generators from `rails g` command
161
-
162
- * bug fix
163
- * Removed tmp and log files from gem
164
-
165
- == 2.0.0
166
-
167
- * enhancements
168
- * Add support for e-mail reconfirmation on change (by @Mandaryn and @heimidal)
169
- * Redirect users to sign in page after unlock (by @nashby)
170
- * Redirect to the previous URL on timeout
171
- * Inherit from the same Devise parent controller (by @sj26)
172
- * Allow parent_controller to be customizable via Devise.parent_controller, useful for engines
173
- * Allow router_name to be customizable via Devise.router_name, useful for engines
174
- * Allow alternate ORMs to run compatibility setup code before Authenticatable is included (by @jm81)
175
-
176
- * deprecation
177
- * Devise now only supports Rails 3.1 forward
178
- * Devise.confirm_within was deprecated in favor Devise.allow_unconfirmed_access_for
179
- * Devise.stateless_token= is deprecated in favor of appending :token_auth to Devise.skip_session_storage
180
- * Usage of Devise.apply_schema is deprecated
181
- * Usage of Devise migration helpers are deprecated
182
- * Usage of Devise.remember_across_browsers was deprecated
183
- * Usage of rememberable with remember_token was removed
184
- * Usage of recoverable without reset_password_sent_at was removed
185
- * Usage of Devise.case_insensitive_keys equals to false was removed
186
- * Move devise/shared/_links.erb to devise/_links.erb
187
- * Deprecated support of nested devise_for blocks
188
- * Deprecated support to devise.registrations.reasons and devise.registrations.inactive_signed_up in favor of devise.registrations.signed_up_but_*
189
- * Protected method render_with_scope was removed.
190
-
191
- == 1.5.3
192
-
193
- * bug fix
194
- * Ensure delegator converts scope to symbol (by @dmitriy-kiriyenko)
195
- * Ensure passing :format => false to devise_for is not permanent
196
- * Ensure path checker does not check invalid routes
197
-
198
- == 1.5.2
199
-
200
- * enhancements
201
- * Add support for Rails 3.1 new mass assignment conventions (by @kirs)
202
- * Add timeout_in method to Timeoutable, it can be overridden in a model (by @lest)
203
-
204
- * bug fix
205
- * OmniAuth error message now shows the proper option (:strategy_class instead of :klass)
206
-
207
- == 1.5.1
208
-
209
- * bug fix
210
- * Devise should not attempt to load OmniAuth strategies. Strategies should be loaded before hand by the developer or explicitly given to Devise.
211
-
212
- == 1.5.0
213
-
214
- * enhancements
215
- * Timeoutable also skips tracking if skip_trackable is given
216
- * devise_for now accepts :failure_app as an option
217
- * Models can select the proper mailer via devise_mailer method (by @locomotivecms)
218
- * Migration generator now uses the change method (by @nashby)
219
- * Support to markerb templates on the mailer generator (by @sbounmy)
220
- * Support for Omniauth 1.0 (older versions are no longer supported) (by @TamiasSibiricus)
221
-
222
- * bug fix
223
- * Allow idempotent API requests
224
- * Fix bug where logs did not show 401 as status code
225
- * Change paranoid settings to behave as success instead of as failure
226
- * Fix bug where activation messages were shown first than the credentials error message
227
- * Instance variables are expired after sign out
228
-
229
- * deprecation
230
- * redirect_location is deprecated, please use after_sign_in_path_for
231
- * after_sign_in_path_for now redirects to session[scope_return_to] if any value is stored in it
232
-
233
- == 1.4.9
234
-
235
- * bug fix
236
- * url helpers were not being set under some circumstances
237
-
238
- == 1.4.8
239
-
240
- * enhancements
241
- * Add docs for assets pipeline and Heroku
242
-
243
- * bug fix
244
- * confirmation_url was not being set under some circumstances
245
-
246
- == 1.4.7
247
-
248
- * bug fix
249
- * Fix backward incompatible change from 1.4.6 for those using custom controllers
250
-
251
- == 1.4.6 (yanked)
252
-
253
- * enhancements
254
- * Allow devise_for :skip => :all
255
- * Allow options to be passed to authenticate_user!
256
- * Allow --skip-routes to devise generator
257
- * Add allow_params_authentication! to make it explicit when params authentication is allowed in a controller
258
-
259
- == 1.4.5
260
-
261
- * bug fix
262
- * Failure app tries the root path if a session one does not exist
263
- * No need to finalize Devise helpers all the time (by @bradleypriest)
264
- * Reset password shows proper message if user is not active
265
- * `clean_up_passwords` sets the accessors to nil to skip validations
266
-
267
- == 1.4.4
268
-
269
- * bug fix
270
- * Do not always skip helpers, instead provide :skip_helpers as option to trigger it manually
271
-
272
- == 1.4.3
273
-
274
- * enhancements
275
- * Improve Rails 3.1 compatibility
276
- * Use serialize_into_session and serialize_from_session in Warden serialize to improve extensibility
277
-
278
- * bug fix
279
- * Generator properly generates a change_table migration if a model already exists
280
- * Properly deprecate setup_mail
281
- * Fix encoding issues with email regexp
282
- * Only generate helpers for the used mappings
283
- * Wrap :action constraints in the proper hash
284
-
285
- * deprecations
286
- * Loosened the used email regexp to simply assert the existent of "@". If someone relies on a more strict regexp, they may use https://github.com/SixArm/sixarm_ruby_email_address_validation
287
-
288
- == 1.4.2
289
-
290
- * bug fix
291
- * Provide a more robust behavior to serializers and add :force_except option
292
-
293
- == 1.4.1
294
-
295
- * enhancements
296
- * Add :defaults and :format support on router
297
- * Add simple form generators
298
- * Better localization for devise_error_messages! (by @zedtux)
299
-
300
- * bug fix
301
- * Ensure to_xml is properly white listened
302
- * Ensure handle_unverified_request clean up any cached signed-in user
303
-
304
- == 1.4.0
305
-
306
- * enhancements
307
- * Added authenticated and unauthenticated to the router to route the used based on his status (by @sj26)
308
- * Improve e-mail regexp (by @rodrigoflores)
309
- * Add strip_whitespace_keys and default to e-mail (by @swrobel)
310
- * Do not run format and uniqueness validations on e-mail if it hasn't changed (by @Thibaut)
311
- * Added update_without_password to update models but not allowing the password to change (by @fschwahn)
312
- * Added config.paranoid, check the generator for more information (by @rodrigoflores)
313
-
314
- * bug fix
315
- * password_required? should not affect length validation
316
- * User cannot access sign up and similar pages if he is already signed in through a cookie or token
317
- * Do not convert booleans to strings on finders (by @xavier)
318
- * Run validations even if current_password fails (by @crx)
319
- * Devise now honors routes constraints (by @macmartine)
320
- * Do not return the user resource when requesting instructions (by @rodrigoflores)
321
-
322
- == 1.3.4
323
-
324
- * bug fix
325
- * Do not add formats if html or "*/*"
326
-
327
- == 1.3.3
328
-
329
- * bug fix
330
- * Explicitly mark the token as expired if so
331
-
332
- == 1.3.2
333
-
334
- * bug fix
335
- * Fix another regression related to reset_password_sent_at (by @alexdreher)
336
-
337
- == 1.3.1
338
-
339
- * enhancements
340
- * Improve failure_app responses (by @indirect)
341
- * sessions/new and registrations/new also respond to xml and json now
342
-
343
- * bug fix
344
- * Fix a regression that occurred if reset_password_sent_at is not present (by @stevehodgkiss)
345
-
346
- == 1.3.0
347
-
348
- * enhancements
349
- * All controllers can now handle different mime types than html using Responders (by @sikachu)
350
- * Added reset_password_within as configuration option to send the token for recovery (by @jdguyot)
351
- * Bump password length to 128 characters (by @k33l0r)
352
- * Add :only as option to devise_for (by @timoschilling)
353
- * Allow to override path after sending password instructions (by @irohiroki)
354
- * require_no_authentication has its own flash message (by @jackdempsey)
355
-
356
- * bug fix
357
- * Fix a bug where configuration options were being included too late
358
- * Ensure Devise::TestHelpers can be used to tests Devise internal controllers (by @jwilger)
359
- * valid_password? should not choke on empty passwords (by @mikel)
360
- * Calling devise more than once does not include previously added modules anymore
361
- * downcase_keys before validation
362
-
363
- * backward incompatible changes
364
- * authentication_keys are no longer considered when creating the e-mail validations, the previous behavior was buggy. You must double check if you were relying on such behavior.
365
-
366
- == 1.2.1
367
-
368
- * enhancements
369
- * Improve update path messages
370
-
371
- == 1.2.0
372
-
373
- * bug fix
374
- * Properly ignore path prefix on omniauthable
375
- * Faster uniqueness queries
376
- * Rename active? to active_for_authentication? to avoid conflicts
377
-
378
- == 1.2.rc2
379
-
380
- * enhancements
381
- * Make friendly_token 20 chars long
382
- * Use secure_compare
383
-
384
- * bug fix
385
- * Fix an issue causing infinite redirects in production
386
- * rails g destroy works properly with devise generators (by @andmej)
387
- * before_failure callbacks should work on test helpers (by @twinge)
388
- * rememberable cookie now is httponly by default (by @JamesFerguson)
389
- * Add missing confirmation_keys (by @JohnPlummer)
390
- * Ensure after_* hooks are called on RegistrationsController
391
- * When using database_authenticatable Devise will now only create an email field when appropriate (if using default authentication_keys or custom authentication_keys with email included)
392
- * Ensure stateless token does not trigger timeout (by @pixelauthority)
393
- * Implement handle_unverified_request for Rails 3.0.4 compatibility and improve FailureApp reliance on symbols
394
- * Consider namespaces while generating routes
395
- * Custom failure apps no longer ignored in test mode (by @jaghion)
396
- * Do not depend on ActiveModel::Dirty
397
- * Manual sign_in now triggers remember token
398
- * Be sure to halt strategies on failures
399
- * Consider SCRIPT_NAME on Omniauth paths
400
- * Reset failed attempts when lock is expired
401
- * Ensure there is no Mongoid injection
402
-
403
- * deprecations
404
- * Deprecated anybody_signed_in? in favor of signed_in? (by @gavinhughes)
405
- * Removed --haml and --slim view templates
406
- * Devise::OmniAuth helpers were deprecated and removed in favor of Omniauth.config.test_mode
407
-
408
- == 1.2.rc
409
-
410
- * deprecations
411
- * cookie_domain is deprecated in favor of cookie_options
412
- * after_update_path_for can no longer be defined in ApplicationController
413
-
414
- * enhancements
415
- * Added OmniAuth support
416
- * Added ORM adapter to abstract ORM iteraction
417
- * sign_out_via is available in the router to configure the method used for sign out (by @martinrehfeld)
418
- * Improved Ajax requests handling in failure app (by @spastorino)
419
- * Added request_keys to easily use request specific values (like subdomain) in authentication
420
- * Increased the size of friendly_token to 60 characters (reduces the chances of a successful brute attack)
421
- * Ensure the friendly token does not include "_" or "-" since some e-mails may not autolink it properly (by @rymai)
422
- * Extracted encryptors into :encryptable for better bcrypt support
423
- * :rememberable is now able to use salt as token if no remember_token is provided
424
- * Store the salt in session and expire the session if the user changes his password
425
- * Allow :stateless_token to be set to true avoiding users to be stored in session through token authentication
426
- * cookie_options uses session_options values by default
427
- * Sign up now check if the user is active or not and redirect him accordingly setting the inactive_signed_up message
428
- * Use ActiveModel#to_key instead of #id
429
- * sign_out_all_scopes now destroys the whole session
430
- * Added case_insensitive_keys that automatically downcases the given keys, by default downcases only e-mail (by @adahl)
431
-
432
- * default behavior changes
433
- * sign_out_all_scopes defaults to true as security measure
434
- * http authenticatable is disabled by default
435
- * Devise does not intercept 401 returned from applications
436
-
437
- * bugfix
438
- * after_sign_in_path_for always receives a resource
439
- * Do not execute Warden::Callbacks on Devise::TestHelpers (by @sgronblo)
440
- * Allow password recovery and account unlocking to change used keys (by @RStankov)
441
- * FailureApp now properly handles nil request.format
442
- * Fix a bug causing FailureApp to return with HTTP Auth Headers for IE7
443
- * Ensure namespaces has proper scoped views
444
- * Ensure Devise does not set empty flash messages (by @sxross)
445
-
446
- == 1.1.6
447
-
448
- * Use a more secure e-mail regexp
449
- * Implement Rails 3.0.4 handle unverified request
450
- * Use secure_compare to compare passwords
451
-
452
- == 1.1.5
453
-
454
- * bugfix
455
- * Ensure to convert keys on indifferent hash
456
-
457
- * defaults
458
- * Set config.http_authenticatable to false to avoid confusion
459
-
460
- == 1.1.4
461
-
462
- * bugfix
463
- * Avoid session fixation attacks
464
-
465
- == 1.1.3
466
-
467
- * bugfix
468
- * Add reply-to to e-mail headers by default
469
- * Updated the views generator to respect the rails :template_engine option (by @fredwu)
470
- * Check the type of HTTP Authentication before using Basic headers
471
- * Avoid invalid_salt errors by checking salt presence (by @thibaudgg)
472
- * Forget user deletes the right cookie before logout, not remembering the user anymore (by @emtrane)
473
- * Fix for failed first-ever logins on PostgreSQL where column default is nil (by @bensie)
474
- * :default options is now honored in migrations
475
-
476
- == 1.1.2
477
-
478
- * bugfix
479
- * Compatibility with latest Rails routes schema
480
-
481
- == 1.1.1
482
-
483
- * bugfix
484
- * Fix a small bug where generated locale file was empty on devise:install
485
-
486
- == 1.1.0
487
-
488
- * enhancements
489
- * Rememberable module allows user to be remembered across browsers and is enabled by default (by @trevorturk)
490
- * Rememberable module allows you to activate the period the remember me token is extended (by @trevorturk)
491
- * devise_for can now be used together with scope method in routes but with a few limitations (check the documentation)
492
- * Support `as` or `devise_scope` in the router to specify controller access scope
493
- * HTTP Basic Auth can now be disabled/enabled for xhr(ajax) requests using http_authenticatable_on_xhr option (by @pellja)
494
-
495
- * bug fix
496
- * Fix a bug in Devise::TestHelpers where current_user was returning a Response object for non active accounts
497
- * Devise should respect script_name and path_info contracts
498
- * Fix a bug when accessing a path with (.:format) (by @klacointe)
499
- * Do not add unlock routes unless unlock strategy is email or both
500
- * Email should be case insensitive
501
- * Store classes as string in session, to avoid serialization and stale data issues
502
-
503
- * deprecations
504
- * use_default_scope is deprecated and has no effect. Use :as or :devise_scope in the router instead
505
-
506
- == 1.1.rc2
507
-
508
- * enhancements
509
- * Allow to set cookie domain for the remember token. (by @mantas)
510
- * Added navigational formats to specify when it should return a 302 and when a 401.
511
- * Added authenticate(scope) support in routes (by @wildchild)
512
- * Added after_update_path_for to registrations controller (by @thedelchop)
513
- * Allow the mailer object to be replaced through config.mailer = "MyOwnMailer"
514
-
515
- * bug fix
516
- * Fix a bug where session was timing out on sign out
517
-
518
- * deprecations
519
- * bcrypt is now the default encryptor
520
- * devise.mailer.confirmations_instructions now should be devise.mailer.confirmations_instructions.subject
521
- * devise.mailer.user.confirmations_instructions now should be devise.mailer.confirmations_instructions.user_subject
522
- * Generators now use Rails 3 syntax (devise:install) instead of devise_install
523
-
524
- == 1.1.rc1
525
-
526
- * enhancements
527
- * Rails 3 compatibility
528
- * All controllers and views are namespaced, for example: Devise::SessionsController and "devise/sessions"
529
- * Devise.orm is deprecated. This reduces the required API to hook your ORM with devise
530
- * Use metal for failure app
531
- * HTML e-mails now have proper formatting
532
- * Allow to give :skip and :controllers in routes
533
- * Move trackable logic to the model
534
- * E-mails now use any template available in the filesystem. Easy to create multipart e-mails
535
- * E-mails asks headers_for in the model to set the proper headers
536
- * Allow to specify haml in devise_views
537
- * Compatibility with Mongoid
538
- * Make config.devise available on config/application.rb
539
- * TokenAuthenticatable now works with HTTP Basic Auth
540
- * Allow :unlock_strategy to be :none and add :lock_strategy which can be :failed_attempts or none. Setting those values to :none means that you want to handle lock and unlocking by yourself
541
- * No need to append ?unauthenticated=true in URLs anymore since Flash was moved to a middleware in Rails 3
542
- * :activatable is included by default in your models
543
-
544
- * bug fix
545
- * Fix a bug with STI
546
-
547
- * deprecations
548
- * Rails 3 compatible only
549
- * Removed support for MongoMapper
550
- * Scoped views are no longer "sessions/users/new". Now use "users/sessions/new"
551
- * Devise.orm is deprecated, just require "devise/orm/YOUR_ORM" instead
552
- * Devise.default_url_options is deprecated, just modify ApplicationController.default_url_options
553
- * All messages under devise.sessions, except :signed_in and :signed_out, should be moved to devise.failure
554
- * :as and :scope in routes is deprecated. Use :path and :singular instead
555
-
556
- == 1.0.8
557
-
558
- * enhancements
559
- * Support for latest MongoMapper
560
- * Added anybody_signed_in? helper (by @SSDany)
561
-
562
- * bug fix
563
- * confirmation_required? is properly honored on active? calls. (by @paulrosania)
564
-
565
- == 1.0.7
566
-
567
- * bug fix
568
- * Ensure password confirmation is always required
569
-
570
- * deprecations
571
- * authenticatable was deprecated and renamed to database_authenticatable
572
- * confirmable is not included by default on generation
573
-
574
- == 1.0.6
575
-
576
- * bug fix
577
- * Do not allow unlockable strategies based on time to access a controller.
578
- * Do not send unlockable email several times.
579
- * Allow controller to upstram custom! failures to Warden.
580
-
581
- == 1.0.5
582
-
583
- * bug fix
584
- * Use prepend_before_filter in require_no_authentication.
585
- * require_no_authentication on unlockable.
586
- * Fix a bug when giving an association proxy to devise.
587
- * Do not use lock! on lockable since it's part of ActiveRecord API.
588
-
589
- == 1.0.4
590
-
591
- * bug fix
592
- * Fixed a bug when deleting an account with rememberable
593
- * Fixed a bug with custom controllers
594
-
595
- == 1.0.3
596
-
597
- * enhancements
598
- * HTML e-mails now have proper formatting
599
- * Do not remove MongoMapper options in find
600
-
601
- == 1.0.2
602
-
603
- * enhancements
604
- * Allows you set mailer content type (by @glennr)
605
-
606
- * bug fix
607
- * Uses the same content type as request on http authenticatable 401 responses
608
-
609
- == 1.0.1
610
-
611
- * enhancements
612
- * HttpAuthenticatable is not added by default automatically.
613
- * Avoid mass assignment error messages with current password.
614
-
615
- * bug fix
616
- * Fixed encryptors autoload
617
-
618
- == 1.0.0
619
-
620
- * deprecation
621
- * :old_password in update_with_password is deprecated, use :current_password instead
622
-
623
- * enhancements
624
- * Added Registerable
625
- * Added Http Basic Authentication support
626
- * Allow scoped_views to be customized per controller/mailer class
627
- * [#99] Allow authenticatable to used in change_table statements
628
-
629
- == 0.9.2
630
-
631
- * bug fix
632
- * Ensure inactive user cannot sign in
633
- * Ensure redirect to proper url after sign up
634
-
635
- * enhancements
636
- * Added gemspec to repo
637
- * Added token authenticatable (by @grimen)
638
-
639
- == 0.9.1
640
-
641
- * bug fix
642
- * Allow bigger salt size (by @jgeiger)
643
- * Fix relative url root
644
-
645
- == 0.9.0
646
-
647
- * deprecation
648
- * devise :all is deprecated
649
- * :success and :failure flash messages are now :notice and :alert
650
-
651
- * enhancements
652
- * Added devise lockable (by @mhfs)
653
- * Warden 0.9.0 compatibility
654
- * Mongomapper 0.6.10 compatibility
655
- * Added Devise.add_module as hooks for extensions (by @grimen)
656
- * Ruby 1.9.1 compatibility (by @grimen)
657
-
658
- * bug fix
659
- * Accept path prefix not starting with slash
660
- * url helpers should rely on find_scope!
661
-
662
- == 0.8.2
663
-
664
- * enhancements
665
- * Allow Devise.mailer_sender to be a proc (by @grimen)
666
-
667
- * bug fix
668
- * Fix bug with passenger, update is required to anyone deploying on passenger (by @dvdpalm)
669
-
670
- == 0.8.1
671
-
672
- * enhancements
673
- * Move salt to encryptors
674
- * Devise::Lockable
675
- * Moved view links into partial and I18n'ed them
676
-
677
- * bug fix
678
- * Bcrypt generator was not being loaded neither setting the proper salt
679
-
680
- == 0.8.0
681
-
682
- * enhancements
683
- * Warden 0.8.0 compatibility
684
- * Add an easy for map.connect "sign_in", :controller => "sessions", :action => "new" to work
685
- * Added :bcrypt encryptor (by @capotej)
686
-
687
- * bug fix
688
- * sign_in_count is also increased when user signs in via password change, confirmation, etc..
689
- * More DataMapper compatibility (by @lancecarlson)
690
-
691
- * deprecation
692
- * Removed DeviseMailer.sender
693
-
694
- == 0.7.5
695
-
696
- * enhancements
697
- * Set a default value for mailer to avoid find_template issues
698
- * Add models configuration to MongoMapper::EmbeddedDocument as well
699
-
700
- == 0.7.4
701
-
702
- * enhancements
703
- * Extract Activatable from Confirmable
704
- * Decouple Serializers from Devise modules
705
-
706
- == 0.7.3
707
-
708
- * bug fix
709
- * Give scope to the proper model validation
710
-
711
- * enhancements
712
- * Mail views are scoped as well
713
- * Added update_with_password for authenticatable
714
- * Allow render_with_scope to accept :controller option
715
-
716
- == 0.7.2
717
-
718
- * deprecation
719
- * Renamed reset_confirmation! to resend_confirmation!
720
- * Copying locale is part of the installation process
721
-
722
- * bug fix
723
- * Fixed render_with_scope to work with all controllers
724
- * Allow sign in with two different users in Devise::TestHelpers
725
-
726
- == 0.7.1
727
-
728
- * enhancements
729
- * Small enhancements for other plugins compatibility (by @grimen)
730
-
731
- == 0.7.0
732
-
733
- * deprecations
734
- * :authenticatable is not included by default anymore
735
-
736
- * enhancements
737
- * Improve loading process
738
- * Extract SessionSerializer from Authenticatable
739
-
740
- == 0.6.3
741
-
742
- * bug fix
743
- * Added trackable to migrations
744
- * Allow inflections to work
745
-
746
- == 0.6.2
747
-
748
- * enhancements
749
- * More DataMapper compatibility
750
- * Devise::Trackable - track sign in count, timestamps and ips
751
-
752
- == 0.6.1
753
-
754
- * enhancements
755
- * Devise::Timeoutable - timeout sessions without activity
756
- * DataMapper now accepts conditions
757
-
758
- == 0.6.0
759
-
760
- * deprecations
761
- * :authenticatable is still included by default, but yields a deprecation warning
762
-
763
- * enhancements
764
- * Added DataMapper support
765
- * Remove store_location from authenticatable strategy and add it to failure app
766
- * Allow a strategy to be placed after authenticatable
767
- * [#45] Do not rely attribute? methods, since they are not added on Datamapper
768
-
769
- == 0.5.6
770
-
771
- * enhancements
772
- * [#42] Do not send nil to build (DataMapper compatibility)
773
- * [#44] Allow to have scoped views
774
-
775
- == 0.5.5
776
-
777
- * enhancements
778
- * Allow overwriting find for authentication method
779
- * [#38] Remove Ruby 1.8.7 dependency
780
-
781
- == 0.5.4
782
-
783
- * deprecations
784
- * Deprecate :singular in devise_for and use :scope instead
785
-
786
- * enhancements
787
- * [#37] Create after_sign_in_path_for and after_sign_out_path_for hooks to be
788
- overwriten in ApplicationController
789
- * Create sign_in_and_redirect and sign_out_and_redirect helpers
790
- * Warden::Manager.default_scope is automatically configured to the first given scope
791
-
792
- == 0.5.3
793
-
794
- * bug fix
795
- * MongoMapper now converts DateTime to Time
796
- * Ensure all controllers are unloadable
797
-
798
- * enhancements
799
- * [#35] Moved friendly_token to Devise
800
- * Added Devise.all, so you can freeze your app strategies
801
- * Added Devise.apply_schema, so you can turn it to false in Datamapper or MongoMapper
802
- in cases you don't want it be handlded automatically
803
-
804
- == 0.5.2
805
-
806
- * enhancements
807
- * [#28] Improved sign_in and sign_out helpers to accepts resources
808
- * [#28] Added stored_location_for as a helper
809
- * [#20] Added test helpers
810
-
811
- == 0.5.1
812
-
813
- * enhancements
814
- * Added serializers based on Warden ones
815
- * Allow authentication keys to be set
816
-
817
- == 0.5.0
818
-
819
- * bug fix
820
- * Fixed a bug where remember me module was not working properly
821
-
822
- * enhancements
823
- * Moved encryption strategy into the Encryptors module to allow several algorithms (by @mhfs)
824
- * Implemented encryptors for Clearance, Authlogic and Restful-Authentication (by @mhfs)
825
- * Added support for MongoMapper (by @shingara)
826
-
827
- == 0.4.3
828
-
829
- * bug fix
830
- * [#29] Authentication just fails if user cannot be serialized from session, without raising errors;
831
- * Default configuration values should not overwrite user values;
832
-
833
- == 0.4.2
834
-
835
- * deprecations
836
- * Renamed mail_sender to mailer_sender
837
-
838
- * enhancements
839
- * skip_before_filter added in Devise controllers
840
- * Use home_or_root_path on require_no_authentication as well
841
- * Added devise_controller?, useful to select or reject filters in ApplicationController
842
- * Allow :path_prefix to be given to devise_for
843
- * Allow default_url_options to be configured through devise (:path_prefix => "/:locale" is now supported)
844
-
845
- == 0.4.1
846
-
847
- * bug fix
848
- * [#21] Ensure options can be set even if models were not loaded
849
-
850
- == 0.4.0
851
-
852
- * deprecations
853
- * Notifier is deprecated, use DeviseMailer instead. Remember to rename
854
- app/views/notifier to app/views/devise_mailer and I18n key from
855
- devise.notifier to devise.mailer
856
- * :authenticable calls are deprecated, use :authenticatable instead
857
-
858
- * enhancements
859
- * [#16] Allow devise to be more agnostic and do not require ActiveRecord to be loaded
860
- * Allow Warden::Manager to be configured through Devise
861
- * Created a generator which creates an initializer
862
-
863
- == 0.3.0
864
-
865
- * bug fix
866
- * [#15] Allow yml messages to be configured by not using engine locales
867
-
868
- * deprecations
869
- * Renamed confirm_in to confirm_within
870
- * [#14] Do not send confirmation messages when user changes his e-mail
871
- * [#13] Renamed authenticable to authenticatable and added deprecation warnings
872
-
873
- == 0.2.3
874
-
875
- * enhancements
876
- * Ensure fail! works inside strategies
877
- * [#12] Make unauthenticated message (when you haven't signed in) different from invalid message
878
-
879
- * bug fix
880
- * Do not redirect on invalid authenticate
881
- * Allow model configuration to be set to nil
882
-
883
- == 0.2.2
884
-
885
- * bug fix
886
- * [#9] Fix a bug when using customized resources
887
-
888
- == 0.2.1
889
-
890
- * refactor
891
- * Clean devise_views generator to use devise existing views
892
-
893
- * enhancements
894
- * [#7] Create instance variables (like @user) for each devise controller
895
- * Use Devise::Controller::Helpers only internally
896
-
897
- * bug fix
898
- * [#6] Fix a bug with Mongrel and Ruby 1.8.6
899
-
900
- == 0.2.0
901
-
902
- * enhancements
903
- * [#4] Allow option :null => true in authenticable migration
904
- * [#3] Remove attr_accessible calls from devise modules
905
- * Customizable time frame for rememberable with :remember_for config
906
- * Customizable time frame for confirmable with :confirm_in config
907
- * Generators for creating a resource and copy views
908
-
909
- * optimize
910
- * Do not load hooks or strategies if they are not used
911
-
912
- * bug fixes
913
- * [#2] Fixed requiring devise strategies
914
-
915
- == 0.1.1
916
-
917
- * bug fixes
918
- * [#1] Fixed requiring devise mapping
919
-
920
- == 0.1.0
921
-
922
- * Devise::Authenticable
923
- * Devise::Confirmable
924
- * Devise::Recoverable
925
- * Devise::Validatable
926
- * Devise::Migratable
927
- * Devise::Rememberable
928
-
929
- * SessionsController
930
- * PasswordsController
931
- * ConfirmationsController
932
-
933
- * Create an example app
934
- * devise :all, :except => :rememberable
935
- * Use sign_in and sign_out in SessionsController
936
-
937
- * Mailer subjects namespaced by model
938
- * Allow stretches and pepper per model
939
-
940
- * Store session[:return_to] in session
941
- * Sign user in automatically after confirming or changing it's password