devise 3.3.0 → 3.5.10
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of devise might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/.travis.yml +29 -20
- data/CHANGELOG.md +219 -102
- data/CODE_OF_CONDUCT.md +22 -0
- data/CONTRIBUTING.md +2 -0
- data/Gemfile +3 -2
- data/Gemfile.lock +101 -80
- data/MIT-LICENSE +1 -1
- data/README.md +87 -43
- data/Rakefile +2 -1
- data/app/controllers/devise/confirmations_controller.rb +5 -1
- data/app/controllers/devise/omniauth_callbacks_controller.rb +4 -0
- data/app/controllers/devise/passwords_controller.rb +14 -4
- data/app/controllers/devise/registrations_controller.rb +10 -11
- data/app/controllers/devise/sessions_controller.rb +7 -2
- data/app/controllers/devise/unlocks_controller.rb +3 -0
- data/app/controllers/devise_controller.rb +44 -21
- data/app/mailers/devise/mailer.rb +4 -0
- data/app/views/devise/confirmations/new.html.erb +7 -3
- data/app/views/devise/mailer/password_change.html.erb +3 -0
- data/app/views/devise/passwords/edit.html.erb +14 -5
- data/app/views/devise/passwords/new.html.erb +7 -3
- data/app/views/devise/registrations/edit.html.erb +19 -9
- data/app/views/devise/registrations/new.html.erb +18 -7
- data/app/views/devise/sessions/new.html.erb +15 -6
- data/app/views/devise/shared/{_links.erb → _links.html.erb} +1 -1
- data/app/views/devise/unlocks/new.html.erb +7 -3
- data/config/locales/en.yml +4 -2
- data/devise.gemspec +2 -2
- data/gemfiles/Gemfile.rails-3.2-stable.lock +54 -48
- data/gemfiles/Gemfile.rails-4.0-stable +1 -0
- data/gemfiles/Gemfile.rails-4.0-stable.lock +63 -59
- data/gemfiles/{Gemfile.rails-head → Gemfile.rails-4.1-stable} +3 -5
- data/gemfiles/Gemfile.rails-4.1-stable.lock +171 -0
- data/gemfiles/Gemfile.rails-4.2-stable +30 -0
- data/gemfiles/Gemfile.rails-4.2-stable.lock +193 -0
- data/lib/devise/controllers/helpers.rb +12 -6
- data/lib/devise/controllers/rememberable.rb +9 -2
- data/lib/devise/controllers/sign_in_out.rb +2 -8
- data/lib/devise/controllers/store_location.rb +3 -1
- data/lib/devise/controllers/url_helpers.rb +7 -9
- data/lib/devise/encryptor.rb +22 -0
- data/lib/devise/failure_app.rb +56 -14
- data/lib/devise/hooks/timeoutable.rb +5 -7
- data/lib/devise/mapping.rb +2 -1
- data/lib/devise/models/authenticatable.rb +28 -28
- data/lib/devise/models/confirmable.rb +51 -17
- data/lib/devise/models/database_authenticatable.rb +17 -11
- data/lib/devise/models/lockable.rb +7 -3
- data/lib/devise/models/recoverable.rb +23 -15
- data/lib/devise/models/rememberable.rb +56 -22
- data/lib/devise/models/timeoutable.rb +0 -6
- data/lib/devise/models/trackable.rb +1 -2
- data/lib/devise/models/validatable.rb +3 -3
- data/lib/devise/models.rb +1 -1
- data/lib/devise/rails/routes.rb +33 -27
- data/lib/devise/rails.rb +1 -1
- data/lib/devise/strategies/authenticatable.rb +8 -6
- data/lib/devise/strategies/database_authenticatable.rb +2 -1
- data/lib/devise/strategies/rememberable.rb +13 -3
- data/lib/devise/test_helpers.rb +2 -2
- data/lib/devise/version.rb +1 -1
- data/lib/devise.rb +39 -37
- data/lib/generators/active_record/devise_generator.rb +2 -1
- data/lib/generators/active_record/templates/migration.rb +1 -1
- data/lib/generators/active_record/templates/migration_existing.rb +1 -1
- data/lib/generators/devise/controllers_generator.rb +44 -0
- data/lib/generators/devise/views_generator.rb +14 -3
- data/lib/generators/templates/controllers/README +14 -0
- data/lib/generators/templates/controllers/confirmations_controller.rb +28 -0
- data/lib/generators/templates/controllers/omniauth_callbacks_controller.rb +28 -0
- data/lib/generators/templates/controllers/passwords_controller.rb +32 -0
- data/lib/generators/templates/controllers/registrations_controller.rb +60 -0
- data/lib/generators/templates/controllers/sessions_controller.rb +25 -0
- data/lib/generators/templates/controllers/unlocks_controller.rb +28 -0
- data/lib/generators/templates/devise.rb +19 -13
- data/lib/generators/templates/markerb/confirmation_instructions.markerb +1 -1
- data/lib/generators/templates/markerb/password_change.markerb +3 -0
- data/lib/generators/templates/markerb/reset_password_instructions.markerb +1 -1
- data/lib/generators/templates/markerb/unlock_instructions.markerb +1 -1
- data/lib/generators/templates/simple_form_for/passwords/edit.html.erb +1 -1
- data/lib/generators/templates/simple_form_for/registrations/new.html.erb +1 -1
- data/lib/generators/templates/simple_form_for/sessions/new.html.erb +2 -2
- data/test/controllers/custom_registrations_controller_test.rb +6 -1
- data/test/controllers/helper_methods_test.rb +21 -0
- data/test/controllers/helpers_test.rb +5 -0
- data/test/controllers/inherited_controller_i18n_messages_test.rb +51 -0
- data/test/controllers/internal_helpers_test.rb +10 -4
- data/test/controllers/load_hooks_controller_test.rb +19 -0
- data/test/controllers/passwords_controller_test.rb +1 -1
- data/test/controllers/sessions_controller_test.rb +3 -3
- data/test/controllers/url_helpers_test.rb +6 -0
- data/test/devise_test.rb +3 -3
- data/test/failure_app_test.rb +47 -0
- data/test/generators/controllers_generator_test.rb +48 -0
- data/test/generators/views_generator_test.rb +8 -1
- data/test/helpers/devise_helper_test.rb +9 -12
- data/test/integration/authenticatable_test.rb +1 -1
- data/test/integration/database_authenticatable_test.rb +11 -0
- data/test/integration/http_authenticatable_test.rb +1 -1
- data/test/integration/omniauthable_test.rb +12 -10
- data/test/integration/recoverable_test.rb +13 -0
- data/test/integration/rememberable_test.rb +50 -3
- data/test/integration/timeoutable_test.rb +13 -18
- data/test/mailers/confirmation_instructions_test.rb +1 -1
- data/test/mapping_test.rb +7 -0
- data/test/models/authenticatable_test.rb +10 -0
- data/test/models/confirmable_test.rb +99 -42
- data/test/models/database_authenticatable_test.rb +20 -0
- data/test/models/lockable_test.rb +45 -17
- data/test/models/recoverable_test.rb +62 -7
- data/test/models/rememberable_test.rb +68 -97
- data/test/models/validatable_test.rb +5 -5
- data/test/models_test.rb +15 -6
- data/test/rails_app/app/active_record/user_without_email.rb +8 -0
- data/test/rails_app/app/controllers/admins_controller.rb +0 -5
- data/test/rails_app/app/controllers/custom/registrations_controller.rb +10 -0
- data/test/rails_app/app/mailers/users/from_proc_mailer.rb +3 -0
- data/test/rails_app/app/mailers/users/mailer.rb +0 -9
- data/test/rails_app/app/mailers/users/reply_to_mailer.rb +4 -0
- data/test/rails_app/app/mongoid/user_without_email.rb +33 -0
- data/test/rails_app/config/application.rb +1 -1
- data/test/rails_app/config/environments/production.rb +6 -2
- data/test/rails_app/config/environments/test.rb +7 -2
- data/test/rails_app/config/initializers/devise.rb +12 -15
- data/test/rails_app/config/routes.rb +6 -3
- data/test/rails_app/db/migrate/20100401102949_create_tables.rb +2 -2
- data/test/rails_app/lib/shared_user.rb +1 -1
- data/test/rails_app/lib/shared_user_without_email.rb +26 -0
- data/test/rails_test.rb +9 -0
- data/test/support/helpers.rb +13 -6
- data/test/support/integration.rb +2 -2
- data/test/test_helper.rb +5 -0
- data/test/test_helpers_test.rb +22 -7
- data/test/test_models.rb +2 -2
- data/test/time_helpers.rb +137 -0
- metadata +58 -8
- data/gemfiles/Gemfile.rails-head.lock +0 -190
data/CHANGELOG.md
CHANGED
@@ -1,9 +1,126 @@
|
|
1
|
-
###
|
1
|
+
### 3.5.10 - 2016-05-15
|
2
|
+
|
3
|
+
* bug fixes
|
4
|
+
* Fix overwriting the remember_token when a valid one already exists (by @ralinchimev).
|
5
|
+
|
6
|
+
### 3.5.9 - 2016-05-02
|
7
|
+
|
8
|
+
* bug fixes
|
9
|
+
* Fix strategy checking in `Lockable#unlock_strategy_enabled?` for `:none`
|
10
|
+
and `:undefined` strategies. (by @f3ndot)
|
11
|
+
|
12
|
+
### 3.5.8 - 2016-04-25
|
13
|
+
|
14
|
+
* bug fixes
|
15
|
+
* Fix the e-mail confirmation instructions send when a user updates the email address from nil
|
16
|
+
|
17
|
+
### 3.5.7 - 2016-04-18
|
18
|
+
|
19
|
+
* bug fixes
|
20
|
+
* Fix the `extend_remember_period` configuration. When set to `false` it does
|
21
|
+
not update the cookie expiration anymore.(by @ulissesalmeida)
|
22
|
+
|
23
|
+
### 3.5.6 - 2016-01-02
|
24
|
+
|
25
|
+
* bug fixes
|
26
|
+
* Fix type coercion of the rememberable timestamp stored on cookies.
|
27
|
+
|
28
|
+
### 3.5.5 - 2016-22-01
|
29
|
+
|
30
|
+
* bug fixes
|
31
|
+
* Bring back remember_expired? implementation
|
32
|
+
* Ensure timeouts are not triggered if remember me is being used
|
33
|
+
|
34
|
+
### 3.5.4 - 2016-18-01
|
35
|
+
|
36
|
+
* bug fixes
|
37
|
+
* Store creation timestamps on remember cookies
|
38
|
+
|
39
|
+
### 3.5.3 - 2015-12-10
|
40
|
+
|
41
|
+
* bug fixes
|
42
|
+
* Fix password reset for records where `confirmation_required?` is disabled and
|
43
|
+
`confirmation_sent_at` is nil. (by @andygeers)
|
44
|
+
* Allow resources with no `email` field to be recoverable (and do not clear the
|
45
|
+
reset password token if the model was already persisted). (by @seddy, @stanhu)
|
46
|
+
|
47
|
+
* enhancements
|
48
|
+
* Upon setting `Devise.send_password_change_notification = true` a user will receive notification when their password has been changed.
|
49
|
+
|
50
|
+
### 3.5.2 - 2015-08-10
|
2
51
|
|
3
52
|
* enhancements
|
53
|
+
* Perform case insensitive basic authorization matching
|
54
|
+
|
4
55
|
* bug fixes
|
56
|
+
* Do not use digests for password confirmation token
|
57
|
+
* Fix infinite redirect in Rails 4.2 authenticated routes
|
58
|
+
* Autoload Devise::Encryptor to avoid errors on thread-safe mode
|
5
59
|
|
6
|
-
|
60
|
+
* deprecations
|
61
|
+
* `config.expire_auth_token_on_timeout` was removed
|
62
|
+
|
63
|
+
### 3.5.1 - 2015-05-24
|
64
|
+
|
65
|
+
Note: 3.5.0 has been yanked due to a regression
|
66
|
+
|
67
|
+
* security improvements
|
68
|
+
* Clean up reset password token whenever e-mail or password changes. thanks to George Deglin & Dennis Charles Hackethal for reporting this bug
|
69
|
+
* Ensure empty `authenticable_salt` cannot be used as remember token. This bug can only affect users who manually implement their own `authenticable_salt` and allow empty values as salt
|
70
|
+
|
71
|
+
* enhancements
|
72
|
+
* The hint about minimum password length required both `@validatable` and `@minimum_password_length` variables on the views, it now uses only the latter. If you have generated the views relying on the `@validatable` variable, replace it with `@minimum_password_length`.
|
73
|
+
* Added an ActiveSupport load hook for `:devise_controller`. (by @nakhli)
|
74
|
+
* Location fragments are now preserved between requests. (by @jbourassa)
|
75
|
+
* Added an `after_remembered` callback for the Rememerable module. (by @BM5k)
|
76
|
+
* `RegistrationsController#new` and `SessionsController#new` now yields the
|
77
|
+
current resource. (by @mtarnovan, @deivid-rodriguez)
|
78
|
+
* Password length validation is now limited to 72 characters for newer apps. (by @lleger)
|
79
|
+
* Controllers inheriting from any Devise core controller will now use appropriate translations. The i18n scope can be overridden in `translation_scope`.
|
80
|
+
* Allow the user to set the length of friendly token. (by @Angelmmiguel)
|
81
|
+
|
82
|
+
* bug fixes
|
83
|
+
* Use router_name from scope if one is available to support isolated engines. (by @cipater)
|
84
|
+
* Do not clean up CSRF on rememberable.
|
85
|
+
* Only use flash if it has been configured in failure app. (by @alex88)
|
86
|
+
|
87
|
+
* deprecations
|
88
|
+
* `confirm!` has been deprecated in favor of `confirm`.
|
89
|
+
* `reset_password!` has been deprecated in favor of `reset_password`.
|
90
|
+
* `Devise.bcrypt` has been deprecated in favor of `Devise::Encryptor.digest`".
|
91
|
+
|
92
|
+
### 3.4.1 - 2014-10-29
|
93
|
+
|
94
|
+
* enhancements
|
95
|
+
* Devise default views now have a similar markup to Rails scaffold views. (by @udaysinghcode, @cllns)
|
96
|
+
* Passing `now: true` to the `set_flash_message` helper now sets the message into
|
97
|
+
the `flash.now` Hash. (by @hbriggs)
|
98
|
+
* bugfixes
|
99
|
+
* Fixed an regression with translation of flash messages for when the `authentication_keys`
|
100
|
+
config is a Hash. (by @lucasmazza)
|
101
|
+
|
102
|
+
### 3.4.0 - 2014-10-03
|
103
|
+
|
104
|
+
* enhancements
|
105
|
+
* Support added for Rails 4.2. Devise now depends on the `responders` gem due
|
106
|
+
the extraction of the `respond_with` API from Rails. (by @lucasmazza)
|
107
|
+
* The Simple Form templates follow the same change from 3.3.0 by using `Log in` and adding
|
108
|
+
a hint about the minimum password length when `validatable` is enabled. (by @aried3r)
|
109
|
+
* Controller generator added as `devise:controllers SCOPE`. You can use the `-c` flag
|
110
|
+
to pick which controllers (`unlocks`, `confirmations`, etc) you want to generate. (by @Chun-Yang)
|
111
|
+
* Removed the hardcoded references for "email" in the flash messages. If you are using
|
112
|
+
different attributes as the `authentication_keys` they will be interpolated in the
|
113
|
+
messages instead. (by @timoschilling)
|
114
|
+
* bug fix
|
115
|
+
* Fixed a regression where the devise generator would fail with a `ConnectionNotEstablished`
|
116
|
+
exception when executed inside a mountable engine. (by @lucasmazza)
|
117
|
+
* Ensure to return symbols in find_scope! fixing a previous regression from 3.3.0 (by @micat)
|
118
|
+
* Ensure all causes of failed login have the same error message (by @pjungwir)
|
119
|
+
* The `last_attempt_warning` now takes effect when generating the unauthenticated
|
120
|
+
message for your users. To keep the current behavior, this flag is now `true`
|
121
|
+
by default. (by @lucasmazza)
|
122
|
+
|
123
|
+
### 3.3.0 - 2014-08-13
|
7
124
|
|
8
125
|
* enhancements
|
9
126
|
* Support multiple warden configuration blocks on devise configuration. (by @rossta)
|
@@ -27,13 +144,13 @@
|
|
27
144
|
* Ensure registration controller block yields happen on failure in addition to success (by @dpehrson)
|
28
145
|
* Only valid paths will be stored for redirections (by @parallel588)
|
29
146
|
|
30
|
-
### 3.2.4
|
147
|
+
### 3.2.4 - 2014-03-17
|
31
148
|
|
32
149
|
* enhancements
|
33
150
|
* `bcrypt` dependency updated due https://github.com/codahale/bcrypt-ruby/pull/86.
|
34
151
|
* View generator now can generate specific views with the `-v` flag, like `rails g devise:views -v sessions` (by @kayline)
|
35
152
|
|
36
|
-
### 3.2.3
|
153
|
+
### 3.2.3 - 2014-02-20
|
37
154
|
|
38
155
|
* enhancements
|
39
156
|
* Devise will use the `secret_key_base` on Rails 4+ applications as its `secret_key`.
|
@@ -42,14 +159,14 @@
|
|
42
159
|
* bug fix
|
43
160
|
* Migrations will be properly generated when using rails 4.1.0.
|
44
161
|
|
45
|
-
### 3.2.2
|
162
|
+
### 3.2.2 - 2013-11-25
|
46
163
|
|
47
164
|
* bug fix
|
48
165
|
* Ensure timeoutable works when `sign_out_all_scopes` is false (by @louman)
|
49
166
|
* Keep the query string when storing location (by @csexton)
|
50
167
|
* Require rails generator base class in devise generators
|
51
168
|
|
52
|
-
### 3.2.1
|
169
|
+
### 3.2.1 - 2013-11-13
|
53
170
|
|
54
171
|
Security announcement: http://blog.plataformatec.com.br/2013/11/e-mail-enumeration-in-devise-in-paranoid-mode
|
55
172
|
|
@@ -61,7 +178,7 @@ Security announcement: http://blog.plataformatec.com.br/2013/11/e-mail-enumerati
|
|
61
178
|
* Bring `password_digest` back to fix compatibility with `devise-encryptable`
|
62
179
|
* Avoid e-mail enumeration on sign in when in paranoid mode
|
63
180
|
|
64
|
-
### 3.2.0
|
181
|
+
### 3.2.0 - 2013-11-06
|
65
182
|
|
66
183
|
* enhancements
|
67
184
|
* Previously deprecated token authenticatable and insecure lookups have been removed
|
@@ -80,13 +197,13 @@ Security announcement: http://blog.plataformatec.com.br/2013/11/e-mail-enumerati
|
|
80
197
|
* deprecations
|
81
198
|
* `expire_session_data_after_sign_in!` has been deprecated in favor of `expire_data_after_sign_in!`
|
82
199
|
|
83
|
-
### 3.1.1
|
200
|
+
### 3.1.1 - 2013-10-01
|
84
201
|
|
85
202
|
* bug fix
|
86
203
|
* Improve default message which asked users to sign in even when they were already signed (by @gregates)
|
87
204
|
* Improve error message for when the config.secret_key is missing
|
88
205
|
|
89
|
-
### 3.1.0
|
206
|
+
### 3.1.0 - 2013-09-05
|
90
207
|
|
91
208
|
Security announcement: http://blog.plataformatec.com.br/2013/08/devise-3-1-now-with-more-secure-defaults/
|
92
209
|
|
@@ -109,12 +226,12 @@ Security announcement: http://blog.plataformatec.com.br/2013/08/devise-3-1-now-w
|
|
109
226
|
* Do not compare directly against confirmation, unlock and reset password tokens
|
110
227
|
* Skip storage for cookies on unverified requests
|
111
228
|
|
112
|
-
### 3.0.2
|
229
|
+
### 3.0.2 - 2013-08-09
|
113
230
|
|
114
231
|
* bug fix
|
115
232
|
* Skip storage for cookies on unverified requests
|
116
233
|
|
117
|
-
### 3.0.1
|
234
|
+
### 3.0.1 - 2013-08-02
|
118
235
|
|
119
236
|
Security announcement: http://blog.plataformatec.com.br/2013/08/csrf-token-fixation-attacks-in-devise/
|
120
237
|
|
@@ -125,7 +242,7 @@ Security announcement: http://blog.plataformatec.com.br/2013/08/csrf-token-fixat
|
|
125
242
|
* When using rails 3.2, the generator adds 'attr_accessible' to the model (by @jcoyne)
|
126
243
|
* Clean up CSRF token after authentication (by @homakov). Notice this change will clean up the CSRF Token after authentication (sign in, sign up, etc). So if you are using AJAX for such features, you will need to fetch a new CSRF token from the server.
|
127
244
|
|
128
|
-
### 3.0.0
|
245
|
+
### 3.0.0 - 2013-07-14
|
129
246
|
|
130
247
|
* enhancements
|
131
248
|
* Rails 4 and Strong Parameters compatibility (by @carlosantoniodasilva, @josevalim, @latortuga, @lucasmazza, @nashby, @rafaelfranca, @spastorino)
|
@@ -135,7 +252,7 @@ Security announcement: http://blog.plataformatec.com.br/2013/08/csrf-token-fixat
|
|
135
252
|
* bug fix
|
136
253
|
* Errors on unlock are now properly reflected on the first `unlock_keys`
|
137
254
|
|
138
|
-
### 2.2.4
|
255
|
+
### 2.2.4 - 2013-05-07
|
139
256
|
|
140
257
|
* enhancements
|
141
258
|
* Add `destroy_with_password` to `DatabaseAuthenticatable`. Allows destroying a record when `:current_password` matches, similarly to how `update_with_password` works. (by @michiel3)
|
@@ -154,25 +271,25 @@ Security announcement: http://blog.plataformatec.com.br/2013/08/csrf-token-fixat
|
|
154
271
|
* backwards incompatible changes
|
155
272
|
* Changes on session storage will expire all existing sessions on upgrade. For those storing the session in the DB, they can be upgraded according to this gist: https://gist.github.com/moll/6417606
|
156
273
|
|
157
|
-
### 2.2.3
|
274
|
+
### 2.2.3 - 2013-01-26
|
158
275
|
|
159
276
|
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/
|
160
277
|
|
161
278
|
* bug fix
|
162
279
|
* Require string conversion for all values
|
163
280
|
|
164
|
-
### 2.2.2
|
281
|
+
### 2.2.2 - 2013-01-15
|
165
282
|
|
166
283
|
* bug fix
|
167
284
|
* Fix bug when checking for reconfirmable in templates
|
168
285
|
|
169
|
-
### 2.2.1
|
286
|
+
### 2.2.1 - 2013-01-11
|
170
287
|
|
171
288
|
* bug fix
|
172
289
|
* Fix regression with case_insensitive_keys
|
173
290
|
* Fix regression when password is blank when it is invalid
|
174
291
|
|
175
|
-
### 2.2.0
|
292
|
+
### 2.2.0 - 2013-01-08
|
176
293
|
|
177
294
|
* backwards incompatible changes
|
178
295
|
* `headers_for` is deprecated, customize the mailer directly instead
|
@@ -203,17 +320,17 @@ Security announcement: http://blog.plataformatec.com.br/2013/01/security-announc
|
|
203
320
|
* `update_with_password` doesn't change encrypted password when it is invalid (by @nashby)
|
204
321
|
* Properly handle namespaced models on Active Record generator (by @nashby)
|
205
322
|
|
206
|
-
### 2.1.4
|
323
|
+
### 2.1.4 - 2013-08-18
|
207
324
|
|
208
325
|
* bugfix
|
209
326
|
* Do not confirm account after reset password
|
210
327
|
|
211
|
-
### 2.1.3
|
328
|
+
### 2.1.3 - 2013-01-26
|
212
329
|
|
213
330
|
* bugfix
|
214
331
|
* Require string conversion for all values
|
215
332
|
|
216
|
-
### 2.1.2
|
333
|
+
### 2.1.2 - 2012-06-19
|
217
334
|
|
218
335
|
* enhancements
|
219
336
|
* Handle backwards incompatibility between Rails 3.2.6 and Thor 0.15.x
|
@@ -221,7 +338,7 @@ Security announcement: http://blog.plataformatec.com.br/2013/01/security-announc
|
|
221
338
|
* bug fix
|
222
339
|
* Fix regression on strategy validation on previous release
|
223
340
|
|
224
|
-
### 2.1.1 (yanked)
|
341
|
+
### 2.1.1 - 2012-06-15 (yanked)
|
225
342
|
|
226
343
|
* enhancements
|
227
344
|
* `sign_out_all_scopes` now locks warden and does not allow new logins in the same action
|
@@ -238,7 +355,7 @@ Security announcement: http://blog.plataformatec.com.br/2013/01/security-announc
|
|
238
355
|
* deprecations
|
239
356
|
* Strategy#validate() no longer validates nil resources
|
240
357
|
|
241
|
-
### 2.1.0
|
358
|
+
### 2.1.0 - 2012-05-15
|
242
359
|
|
243
360
|
* enhancements
|
244
361
|
* Add `check_fields!(model_class)` method on Devise::Models to check if the model includes the fields that Devise uses
|
@@ -265,7 +382,7 @@ Security announcement: http://blog.plataformatec.com.br/2013/01/security-announc
|
|
265
382
|
* Return `head :no_content` in SessionsController now that most JS libraries handle it (by @julianvargasalvarez)
|
266
383
|
* Reverted moving devise/shared/_links.erb to devise/_links.erb
|
267
384
|
|
268
|
-
### 2.0.4
|
385
|
+
### 2.0.4 - 2012-02-17
|
269
386
|
|
270
387
|
Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.0
|
271
388
|
|
@@ -273,7 +390,7 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
273
390
|
* Fix when :host is used with devise_for (by @mreinsch)
|
274
391
|
* Fix a regression that caused Warden to be initialized too late
|
275
392
|
|
276
|
-
### 2.0.3 (yanked)
|
393
|
+
### 2.0.3 - 2012-06-16 (yanked)
|
277
394
|
|
278
395
|
* bug fix
|
279
396
|
* Ensure warning is not shown by mistake on apps with mounted engines
|
@@ -281,7 +398,7 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
281
398
|
* Ensure serializable_hash does not depend on accessible attributes
|
282
399
|
* Ensure that timeout callback does not run on sign out action
|
283
400
|
|
284
|
-
### 2.0.2
|
401
|
+
### 2.0.2 - 2012-02-14
|
285
402
|
|
286
403
|
* enhancements
|
287
404
|
* Add devise_i18n_options to customize I18n message
|
@@ -293,7 +410,7 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
293
410
|
* Show a warning in case someone gives a pluralized name to devise generator
|
294
411
|
* Fix test behavior for rspec subject requests (by @sj26)
|
295
412
|
|
296
|
-
### 2.0.1
|
413
|
+
### 2.0.1 - 2012-02-09
|
297
414
|
|
298
415
|
* enhancements
|
299
416
|
* Improved error messages on deprecation warnings
|
@@ -302,7 +419,7 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
302
419
|
* bug fix
|
303
420
|
* Removed tmp and log files from gem
|
304
421
|
|
305
|
-
### 2.0.0
|
422
|
+
### 2.0.0 - 2012-01-26
|
306
423
|
|
307
424
|
* enhancements
|
308
425
|
* Add support for e-mail reconfirmation on change (by @Mandaryn and @heimidal)
|
@@ -328,14 +445,14 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
328
445
|
* Deprecated support to devise.registrations.reasons and devise.registrations.inactive_signed_up in favor of devise.registrations.signed_up_but_*
|
329
446
|
* Protected method render_with_scope was removed.
|
330
447
|
|
331
|
-
### 1.5.3
|
448
|
+
### 1.5.3 - 2011-12-19
|
332
449
|
|
333
450
|
* bug fix
|
334
451
|
* Ensure delegator converts scope to symbol (by @dmitriy-kiriyenko)
|
335
452
|
* Ensure passing :format => false to devise_for is not permanent
|
336
453
|
* Ensure path checker does not check invalid routes
|
337
454
|
|
338
|
-
### 1.5.2
|
455
|
+
### 1.5.2 - 2011-11-30
|
339
456
|
|
340
457
|
* enhancements
|
341
458
|
* Add support for Rails 3.1 new mass assignment conventions (by @kirs)
|
@@ -344,12 +461,12 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
344
461
|
* bug fix
|
345
462
|
* OmniAuth error message now shows the proper option (:strategy_class instead of :klass)
|
346
463
|
|
347
|
-
### 1.5.1
|
464
|
+
### 1.5.1 - 2011-11-22
|
348
465
|
|
349
466
|
* bug fix
|
350
467
|
* Devise should not attempt to load OmniAuth strategies. Strategies should be loaded before hand by the developer or explicitly given to Devise.
|
351
468
|
|
352
|
-
### 1.5.0
|
469
|
+
### 1.5.0 - 2011-11-13
|
353
470
|
|
354
471
|
* enhancements
|
355
472
|
* Timeoutable also skips tracking if skip_trackable is given
|
@@ -370,12 +487,12 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
370
487
|
* redirect_location is deprecated, please use after_sign_in_path_for
|
371
488
|
* after_sign_in_path_for now redirects to session[scope_return_to] if any value is stored in it
|
372
489
|
|
373
|
-
### 1.4.9
|
490
|
+
### 1.4.9 - 2011-10-19
|
374
491
|
|
375
492
|
* bug fix
|
376
493
|
* url helpers were not being set under some circumstances
|
377
494
|
|
378
|
-
### 1.4.8
|
495
|
+
### 1.4.8 - 2011-10-09
|
379
496
|
|
380
497
|
* enhancements
|
381
498
|
* Add docs for assets pipeline and Heroku
|
@@ -383,12 +500,12 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
383
500
|
* bug fix
|
384
501
|
* confirmation_url was not being set under some circumstances
|
385
502
|
|
386
|
-
### 1.4.7
|
503
|
+
### 1.4.7 - 2011-09-21
|
387
504
|
|
388
505
|
* bug fix
|
389
506
|
* Fix backward incompatible change from 1.4.6 for those using custom controllers
|
390
507
|
|
391
|
-
### 1.4.6 (yanked)
|
508
|
+
### 1.4.6 - 2011-09-19 (yanked)
|
392
509
|
|
393
510
|
* enhancements
|
394
511
|
* Allow devise_for :skip => :all
|
@@ -396,7 +513,7 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
396
513
|
* Allow --skip-routes to devise generator
|
397
514
|
* Add allow_params_authentication! to make it explicit when params authentication is allowed in a controller
|
398
515
|
|
399
|
-
### 1.4.5
|
516
|
+
### 1.4.5 - 2011-09-07
|
400
517
|
|
401
518
|
* bug fix
|
402
519
|
* Failure app tries the root path if a session one does not exist
|
@@ -404,12 +521,12 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
404
521
|
* Reset password shows proper message if user is not active
|
405
522
|
* `clean_up_passwords` sets the accessors to nil to skip validations
|
406
523
|
|
407
|
-
### 1.4.4
|
524
|
+
### 1.4.4 - 2011-08-30
|
408
525
|
|
409
526
|
* bug fix
|
410
527
|
* Do not always skip helpers, instead provide :skip_helpers as option to trigger it manually
|
411
528
|
|
412
|
-
### 1.4.3
|
529
|
+
### 1.4.3 - 2011-08-29
|
413
530
|
|
414
531
|
* enhancements
|
415
532
|
* Improve Rails 3.1 compatibility
|
@@ -425,12 +542,12 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
425
542
|
* deprecations
|
426
543
|
* 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
|
427
544
|
|
428
|
-
### 1.4.2
|
545
|
+
### 1.4.2 - 2011-06-30
|
429
546
|
|
430
547
|
* bug fix
|
431
548
|
* Provide a more robust behavior to serializers and add :force_except option
|
432
549
|
|
433
|
-
### 1.4.1
|
550
|
+
### 1.4.1 - 2011-06-29
|
434
551
|
|
435
552
|
* enhancements
|
436
553
|
* Add :defaults and :format support on router
|
@@ -441,7 +558,7 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
441
558
|
* Ensure to_xml is properly white listened
|
442
559
|
* Ensure handle_unverified_request clean up any cached signed-in user
|
443
560
|
|
444
|
-
### 1.4.0
|
561
|
+
### 1.4.0 - 2011-06-23
|
445
562
|
|
446
563
|
* enhancements
|
447
564
|
* Added authenticated and unauthenticated to the router to route the used based on their status (by @sj26)
|
@@ -459,22 +576,22 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
459
576
|
* Devise now honors routes constraints (by @macmartine)
|
460
577
|
* Do not return the user resource when requesting instructions (by @rodrigoflores)
|
461
578
|
|
462
|
-
### 1.3.4
|
579
|
+
### 1.3.4 - 2011-04-28
|
463
580
|
|
464
581
|
* bug fix
|
465
582
|
* Do not add formats if html or "*/*"
|
466
583
|
|
467
|
-
### 1.3.3
|
584
|
+
### 1.3.3 - 2011-04-20
|
468
585
|
|
469
586
|
* bug fix
|
470
587
|
* Explicitly mark the token as expired if so
|
471
588
|
|
472
|
-
### 1.3.2
|
589
|
+
### 1.3.2 - 2011-04-20
|
473
590
|
|
474
591
|
* bug fix
|
475
592
|
* Fix another regression related to reset_password_sent_at (by @alexdreher)
|
476
593
|
|
477
|
-
### 1.3.1
|
594
|
+
### 1.3.1 - 2011-04-18
|
478
595
|
|
479
596
|
* enhancements
|
480
597
|
* Improve failure_app responses (by @indirect)
|
@@ -483,7 +600,7 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
483
600
|
* bug fix
|
484
601
|
* Fix a regression that occurred if reset_password_sent_at is not present (by @stevehodgkiss)
|
485
602
|
|
486
|
-
### 1.3.0
|
603
|
+
### 1.3.0 - 2011-04-15
|
487
604
|
|
488
605
|
* enhancements
|
489
606
|
* All controllers can now handle different mime types than html using Responders (by @sikachu)
|
@@ -503,19 +620,19 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
503
620
|
* backward incompatible changes
|
504
621
|
* 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.
|
505
622
|
|
506
|
-
### 1.2.1
|
623
|
+
### 1.2.1 - 2011-03-27
|
507
624
|
|
508
625
|
* enhancements
|
509
626
|
* Improve update path messages
|
510
627
|
|
511
|
-
### 1.2.0
|
628
|
+
### 1.2.0 - 2011-03-24
|
512
629
|
|
513
630
|
* bug fix
|
514
631
|
* Properly ignore path prefix on omniauthable
|
515
632
|
* Faster uniqueness queries
|
516
633
|
* Rename active? to active_for_authentication? to avoid conflicts
|
517
634
|
|
518
|
-
### 1.2.rc2
|
635
|
+
### 1.2.rc2 - 2011-03-10
|
519
636
|
|
520
637
|
* enhancements
|
521
638
|
* Make friendly_token 20 chars long
|
@@ -545,7 +662,7 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
545
662
|
* Removed --haml and --slim view templates
|
546
663
|
* Devise::OmniAuth helpers were deprecated and removed in favor of Omniauth.config.test_mode
|
547
664
|
|
548
|
-
### 1.2.rc
|
665
|
+
### 1.2.rc - 2010-10-25
|
549
666
|
|
550
667
|
* deprecations
|
551
668
|
* cookie_domain is deprecated in favor of cookie_options
|
@@ -583,13 +700,13 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
583
700
|
* Ensure namespaces has proper scoped views
|
584
701
|
* Ensure Devise does not set empty flash messages (by @sxross)
|
585
702
|
|
586
|
-
### 1.1.6
|
703
|
+
### 1.1.6 - 2011-02-14
|
587
704
|
|
588
705
|
* Use a more secure e-mail regexp
|
589
706
|
* Implement Rails 3.0.4 handle unverified request
|
590
707
|
* Use secure_compare to compare passwords
|
591
708
|
|
592
|
-
### 1.1.5
|
709
|
+
### 1.1.5 - 2010-11-26
|
593
710
|
|
594
711
|
* bugfix
|
595
712
|
* Ensure to convert keys on indifferent hash
|
@@ -597,12 +714,12 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
597
714
|
* defaults
|
598
715
|
* Set config.http_authenticatable to false to avoid confusion
|
599
716
|
|
600
|
-
### 1.1.4
|
717
|
+
### 1.1.4 - 2010-11-25
|
601
718
|
|
602
719
|
* bugfix
|
603
720
|
* Avoid session fixation attacks
|
604
721
|
|
605
|
-
### 1.1.3
|
722
|
+
### 1.1.3 - 2010-09-23
|
606
723
|
|
607
724
|
* bugfix
|
608
725
|
* Add reply-to to e-mail headers by default
|
@@ -613,17 +730,17 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
613
730
|
* Fix for failed first-ever logins on PostgreSQL where column default is nil (by @bensie)
|
614
731
|
* :default options is now honored in migrations
|
615
732
|
|
616
|
-
### 1.1.2
|
733
|
+
### 1.1.2 - 2010-08-25
|
617
734
|
|
618
735
|
* bugfix
|
619
736
|
* Compatibility with latest Rails routes schema
|
620
737
|
|
621
|
-
### 1.1.1
|
738
|
+
### 1.1.1 - 2010-07-26
|
622
739
|
|
623
740
|
* bugfix
|
624
741
|
* Fix a small bug where generated locale file was empty on devise:install
|
625
742
|
|
626
|
-
### 1.1.0
|
743
|
+
### 1.1.0 - 2010-07-25
|
627
744
|
|
628
745
|
* enhancements
|
629
746
|
* Rememberable module allows user to be remembered across browsers and is enabled by default (by @trevorturk)
|
@@ -643,7 +760,7 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
643
760
|
* deprecations
|
644
761
|
* use_default_scope is deprecated and has no effect. Use :as or :devise_scope in the router instead
|
645
762
|
|
646
|
-
### 1.1.rc2
|
763
|
+
### 1.1.rc2 - 2010-06-22
|
647
764
|
|
648
765
|
* enhancements
|
649
766
|
* Allow to set cookie domain for the remember token. (by @mantas)
|
@@ -661,7 +778,7 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
661
778
|
* devise.mailer.user.confirmations_instructions now should be devise.mailer.confirmations_instructions.user_subject
|
662
779
|
* Generators now use Rails 3 syntax (devise:install) instead of devise_install
|
663
780
|
|
664
|
-
### 1.1.rc1
|
781
|
+
### 1.1.rc1 - 2010-04-14
|
665
782
|
|
666
783
|
* enhancements
|
667
784
|
* Rails 3 compatibility
|
@@ -693,7 +810,7 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
693
810
|
* All messages under devise.sessions, except :signed_in and :signed_out, should be moved to devise.failure
|
694
811
|
* :as and :scope in routes is deprecated. Use :path and :singular instead
|
695
812
|
|
696
|
-
### 1.0.8
|
813
|
+
### 1.0.8 - 2010-06-22
|
697
814
|
|
698
815
|
* enhancements
|
699
816
|
* Support for latest MongoMapper
|
@@ -702,7 +819,7 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
702
819
|
* bug fix
|
703
820
|
* confirmation_required? is properly honored on active? calls. (by @paulrosania)
|
704
821
|
|
705
|
-
### 1.0.7
|
822
|
+
### 1.0.7 - 2010-05-02
|
706
823
|
|
707
824
|
* bug fix
|
708
825
|
* Ensure password confirmation is always required
|
@@ -711,14 +828,14 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
711
828
|
* authenticatable was deprecated and renamed to database_authenticatable
|
712
829
|
* confirmable is not included by default on generation
|
713
830
|
|
714
|
-
### 1.0.6
|
831
|
+
### 1.0.6 - 2010-04-02
|
715
832
|
|
716
833
|
* bug fix
|
717
834
|
* Do not allow unlockable strategies based on time to access a controller.
|
718
835
|
* Do not send unlockable email several times.
|
719
836
|
* Allow controller to upstram custom! failures to Warden.
|
720
837
|
|
721
|
-
### 1.0.5
|
838
|
+
### 1.0.5 - 2010-03-25
|
722
839
|
|
723
840
|
* bug fix
|
724
841
|
* Use prepend_before_filter in require_no_authentication.
|
@@ -726,19 +843,19 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
726
843
|
* Fix a bug when giving an association proxy to devise.
|
727
844
|
* Do not use lock! on lockable since it's part of ActiveRecord API.
|
728
845
|
|
729
|
-
### 1.0.4
|
846
|
+
### 1.0.4 - 2010-03-02
|
730
847
|
|
731
848
|
* bug fix
|
732
849
|
* Fixed a bug when deleting an account with rememberable
|
733
850
|
* Fixed a bug with custom controllers
|
734
851
|
|
735
|
-
### 1.0.3
|
852
|
+
### 1.0.3 - 2010-02-22
|
736
853
|
|
737
854
|
* enhancements
|
738
855
|
* HTML e-mails now have proper formatting
|
739
856
|
* Do not remove MongoMapper options in find
|
740
857
|
|
741
|
-
### 1.0.2
|
858
|
+
### 1.0.2 - 2010-02-17
|
742
859
|
|
743
860
|
* enhancements
|
744
861
|
* Allows you set mailer content type (by @glennr)
|
@@ -746,7 +863,7 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
746
863
|
* bug fix
|
747
864
|
* Uses the same content type as request on http authenticatable 401 responses
|
748
865
|
|
749
|
-
### 1.0.1
|
866
|
+
### 1.0.1 - 2010-02-16
|
750
867
|
|
751
868
|
* enhancements
|
752
869
|
* HttpAuthenticatable is not added by default automatically.
|
@@ -755,7 +872,7 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
755
872
|
* bug fix
|
756
873
|
* Fixed encryptors autoload
|
757
874
|
|
758
|
-
### 1.0.0
|
875
|
+
### 1.0.0 - 2010-02-08
|
759
876
|
|
760
877
|
* deprecation
|
761
878
|
* :old_password in update_with_password is deprecated, use :current_password instead
|
@@ -766,7 +883,7 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
766
883
|
* Allow scoped_views to be customized per controller/mailer class
|
767
884
|
* Allow authenticatable to used in change_table statements
|
768
885
|
|
769
|
-
### 0.9.2
|
886
|
+
### 0.9.2 - 2010-02-04
|
770
887
|
|
771
888
|
* bug fix
|
772
889
|
* Ensure inactive user cannot sign in
|
@@ -776,13 +893,13 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
776
893
|
* Added gemspec to repo
|
777
894
|
* Added token authenticatable (by @grimen)
|
778
895
|
|
779
|
-
### 0.9.1
|
896
|
+
### 0.9.1 - 2010-01-24
|
780
897
|
|
781
898
|
* bug fix
|
782
899
|
* Allow bigger salt size (by @jgeiger)
|
783
900
|
* Fix relative url root
|
784
901
|
|
785
|
-
### 0.9.0
|
902
|
+
### 0.9.0 - 2010-01-20
|
786
903
|
|
787
904
|
* deprecation
|
788
905
|
* devise :all is deprecated
|
@@ -799,7 +916,7 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
799
916
|
* Accept path prefix not starting with slash
|
800
917
|
* url helpers should rely on find_scope!
|
801
918
|
|
802
|
-
### 0.8.2
|
919
|
+
### 0.8.2 - 2010-01-12
|
803
920
|
|
804
921
|
* enhancements
|
805
922
|
* Allow Devise.mailer_sender to be a proc (by @grimen)
|
@@ -807,7 +924,7 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
807
924
|
* bug fix
|
808
925
|
* Fix bug with passenger, update is required to anyone deploying on passenger (by @dvdpalm)
|
809
926
|
|
810
|
-
### 0.8.1
|
927
|
+
### 0.8.1 - 2010-01-07
|
811
928
|
|
812
929
|
* enhancements
|
813
930
|
* Move salt to encryptors
|
@@ -817,7 +934,7 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
817
934
|
* bug fix
|
818
935
|
* Bcrypt generator was not being loaded neither setting the proper salt
|
819
936
|
|
820
|
-
### 0.8.0
|
937
|
+
### 0.8.0 - 2010-01-06
|
821
938
|
|
822
939
|
* enhancements
|
823
940
|
* Warden 0.8.0 compatibility
|
@@ -831,19 +948,19 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
831
948
|
* deprecation
|
832
949
|
* Removed DeviseMailer.sender
|
833
950
|
|
834
|
-
### 0.7.5
|
951
|
+
### 0.7.5 - 2010-01-01
|
835
952
|
|
836
953
|
* enhancements
|
837
954
|
* Set a default value for mailer to avoid find_template issues
|
838
955
|
* Add models configuration to MongoMapper::EmbeddedDocument as well
|
839
956
|
|
840
|
-
### 0.7.4
|
957
|
+
### 0.7.4 - 2009-12-21
|
841
958
|
|
842
959
|
* enhancements
|
843
960
|
* Extract Activatable from Confirmable
|
844
961
|
* Decouple Serializers from Devise modules
|
845
962
|
|
846
|
-
### 0.7.3
|
963
|
+
### 0.7.3 - 2009-12-15
|
847
964
|
|
848
965
|
* bug fix
|
849
966
|
* Give scope to the proper model validation
|
@@ -853,7 +970,7 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
853
970
|
* Added update_with_password for authenticatable
|
854
971
|
* Allow render_with_scope to accept :controller option
|
855
972
|
|
856
|
-
### 0.7.2
|
973
|
+
### 0.7.2 - 2009-12-14
|
857
974
|
|
858
975
|
* deprecation
|
859
976
|
* Renamed reset_confirmation! to resend_confirmation!
|
@@ -863,12 +980,12 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
863
980
|
* Fixed render_with_scope to work with all controllers
|
864
981
|
* Allow sign in with two different users in Devise::TestHelpers
|
865
982
|
|
866
|
-
### 0.7.1
|
983
|
+
### 0.7.1 - 2009-12-09
|
867
984
|
|
868
985
|
* enhancements
|
869
986
|
* Small enhancements for other plugins compatibility (by @grimen)
|
870
987
|
|
871
|
-
### 0.7.0
|
988
|
+
### 0.7.0 - 2009-12-08
|
872
989
|
|
873
990
|
* deprecations
|
874
991
|
* :authenticatable is not included by default anymore
|
@@ -877,25 +994,25 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
877
994
|
* Improve loading process
|
878
995
|
* Extract SessionSerializer from Authenticatable
|
879
996
|
|
880
|
-
### 0.6.3
|
997
|
+
### 0.6.3 - 2009-12-02
|
881
998
|
|
882
999
|
* bug fix
|
883
1000
|
* Added trackable to migrations
|
884
1001
|
* Allow inflections to work
|
885
1002
|
|
886
|
-
### 0.6.2
|
1003
|
+
### 0.6.2 - 2009-11-25
|
887
1004
|
|
888
1005
|
* enhancements
|
889
1006
|
* More DataMapper compatibility
|
890
1007
|
* Devise::Trackable - track sign in count, timestamps and ips
|
891
1008
|
|
892
|
-
### 0.6.1
|
1009
|
+
### 0.6.1 - 2009-11-24
|
893
1010
|
|
894
1011
|
* enhancements
|
895
1012
|
* Devise::Timeoutable - timeout sessions without activity
|
896
1013
|
* DataMapper now accepts conditions
|
897
1014
|
|
898
|
-
### 0.6.0
|
1015
|
+
### 0.6.0 - 2009-11-22
|
899
1016
|
|
900
1017
|
* deprecations
|
901
1018
|
* :authenticatable is still included by default, but yields a deprecation warning
|
@@ -906,19 +1023,19 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
906
1023
|
* Allow a strategy to be placed after authenticatable
|
907
1024
|
* Do not rely attribute? methods, since they are not added on Datamapper
|
908
1025
|
|
909
|
-
### 0.5.6
|
1026
|
+
### 0.5.6 - 2009-11-21
|
910
1027
|
|
911
1028
|
* enhancements
|
912
1029
|
* Do not send nil to build (DataMapper compatibility)
|
913
1030
|
* Allow to have scoped views
|
914
1031
|
|
915
|
-
### 0.5.5
|
1032
|
+
### 0.5.5 - 2009-11-20
|
916
1033
|
|
917
1034
|
* enhancements
|
918
1035
|
* Allow overwriting find for authentication method
|
919
1036
|
* Remove Ruby 1.8.7 dependency
|
920
1037
|
|
921
|
-
### 0.5.4
|
1038
|
+
### 0.5.4 - 2009-11-19
|
922
1039
|
|
923
1040
|
* deprecations
|
924
1041
|
* Deprecate :singular in devise_for and use :scope instead
|
@@ -929,7 +1046,7 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
929
1046
|
* Create sign_in_and_redirect and sign_out_and_redirect helpers
|
930
1047
|
* Warden::Manager.default_scope is automatically configured to the first given scope
|
931
1048
|
|
932
|
-
### 0.5.3
|
1049
|
+
### 0.5.3 - 2009-11-18
|
933
1050
|
|
934
1051
|
* bug fix
|
935
1052
|
* MongoMapper now converts DateTime to Time
|
@@ -941,20 +1058,20 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
941
1058
|
* Added Devise.apply_schema, so you can turn it to false in Datamapper or MongoMapper
|
942
1059
|
in cases you don't want it be handlded automatically
|
943
1060
|
|
944
|
-
### 0.5.2
|
1061
|
+
### 0.5.2 - 2009-11-17
|
945
1062
|
|
946
1063
|
* enhancements
|
947
1064
|
* Improved sign_in and sign_out helpers to accepts resources
|
948
1065
|
* Added stored_location_for as a helper
|
949
1066
|
* Added test helpers
|
950
1067
|
|
951
|
-
### 0.5.1
|
1068
|
+
### 0.5.1 - 2009-11-15
|
952
1069
|
|
953
1070
|
* enhancements
|
954
1071
|
* Added serializers based on Warden ones
|
955
1072
|
* Allow authentication keys to be set
|
956
1073
|
|
957
|
-
### 0.5.0
|
1074
|
+
### 0.5.0 - 2009-11-13
|
958
1075
|
|
959
1076
|
* bug fix
|
960
1077
|
* Fixed a bug where remember me module was not working properly
|
@@ -964,13 +1081,13 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
964
1081
|
* Implemented encryptors for Clearance, Authlogic and Restful-Authentication (by @mhfs)
|
965
1082
|
* Added support for MongoMapper (by @shingara)
|
966
1083
|
|
967
|
-
### 0.4.3
|
1084
|
+
### 0.4.3 - 2009-11-10
|
968
1085
|
|
969
1086
|
* bug fix
|
970
1087
|
* Authentication just fails if user cannot be serialized from session, without raising errors;
|
971
1088
|
* Default configuration values should not overwrite user values;
|
972
1089
|
|
973
|
-
### 0.4.2
|
1090
|
+
### 0.4.2 - 2009-11-06
|
974
1091
|
|
975
1092
|
* deprecations
|
976
1093
|
* Renamed mail_sender to mailer_sender
|
@@ -982,12 +1099,12 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
982
1099
|
* Allow :path_prefix to be given to devise_for
|
983
1100
|
* Allow default_url_options to be configured through devise (:path_prefix => "/:locale" is now supported)
|
984
1101
|
|
985
|
-
### 0.4.1
|
1102
|
+
### 0.4.1 - 2009-11-04
|
986
1103
|
|
987
1104
|
* bug fix
|
988
1105
|
* Ensure options can be set even if models were not loaded
|
989
1106
|
|
990
|
-
### 0.4.0
|
1107
|
+
### 0.4.0 - 2009-11-03
|
991
1108
|
|
992
1109
|
* deprecations
|
993
1110
|
* Notifier is deprecated, use DeviseMailer instead. Remember to rename
|
@@ -1000,7 +1117,7 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
1000
1117
|
* Allow Warden::Manager to be configured through Devise
|
1001
1118
|
* Created a generator which creates an initializer
|
1002
1119
|
|
1003
|
-
### 0.3.0
|
1120
|
+
### 0.3.0 - 2009-10-30
|
1004
1121
|
|
1005
1122
|
* bug fix
|
1006
1123
|
* Allow yml messages to be configured by not using engine locales
|
@@ -1010,7 +1127,7 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
1010
1127
|
* Do not send confirmation messages when user changes their e-mail
|
1011
1128
|
* Renamed authenticable to authenticatable and added deprecation warnings
|
1012
1129
|
|
1013
|
-
### 0.2.3
|
1130
|
+
### 0.2.3 - 2009-10-29
|
1014
1131
|
|
1015
1132
|
* enhancements
|
1016
1133
|
* Ensure fail! works inside strategies
|
@@ -1020,12 +1137,12 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
1020
1137
|
* Do not redirect on invalid authenticate
|
1021
1138
|
* Allow model configuration to be set to nil
|
1022
1139
|
|
1023
|
-
### 0.2.2
|
1140
|
+
### 0.2.2 - 2009-10-28
|
1024
1141
|
|
1025
1142
|
* bug fix
|
1026
1143
|
* Fix a bug when using customized resources
|
1027
1144
|
|
1028
|
-
### 0.2.1
|
1145
|
+
### 0.2.1 - 2009-10-27
|
1029
1146
|
|
1030
1147
|
* refactor
|
1031
1148
|
* Clean devise_views generator to use devise existing views
|
@@ -1037,7 +1154,7 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
1037
1154
|
* bug fix
|
1038
1155
|
* Fix a bug with Mongrel and Ruby 1.8.6
|
1039
1156
|
|
1040
|
-
### 0.2.0
|
1157
|
+
### 0.2.0 - 2009-10-24
|
1041
1158
|
|
1042
1159
|
* enhancements
|
1043
1160
|
* Allow option :null => true in authenticable migration
|
@@ -1052,12 +1169,12 @@ Notes: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.
|
|
1052
1169
|
* bug fixes
|
1053
1170
|
* Fixed requiring devise strategies
|
1054
1171
|
|
1055
|
-
### 0.1.1
|
1172
|
+
### 0.1.1 - 2009-10-21
|
1056
1173
|
|
1057
1174
|
* bug fixes
|
1058
1175
|
* Fixed requiring devise mapping
|
1059
1176
|
|
1060
|
-
### 0.1.0
|
1177
|
+
### 0.1.0 - 2009-10-21
|
1061
1178
|
|
1062
1179
|
* Devise::Authenticable
|
1063
1180
|
* Devise::Confirmable
|