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