namxam-devise 1.1.0.win
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +455 -0
- data/Gemfile +23 -0
- data/Gemfile.lock +118 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +311 -0
- data/Rakefile +55 -0
- data/TODO +3 -0
- data/app/controllers/devise/confirmations_controller.rb +33 -0
- data/app/controllers/devise/passwords_controller.rb +41 -0
- data/app/controllers/devise/registrations_controller.rb +57 -0
- data/app/controllers/devise/sessions_controller.rb +23 -0
- data/app/controllers/devise/unlocks_controller.rb +34 -0
- data/app/helpers/devise_helper.rb +17 -0
- data/app/mailers/devise/mailer.rb +71 -0
- data/app/views/devise/confirmations/new.html.erb +12 -0
- data/app/views/devise/mailer/confirmation_instructions.html.erb +5 -0
- data/app/views/devise/mailer/reset_password_instructions.html.erb +8 -0
- data/app/views/devise/mailer/unlock_instructions.html.erb +7 -0
- data/app/views/devise/passwords/edit.html.erb +16 -0
- data/app/views/devise/passwords/new.html.erb +12 -0
- data/app/views/devise/registrations/edit.html.erb +25 -0
- data/app/views/devise/registrations/new.html.erb +18 -0
- data/app/views/devise/sessions/new.html.erb +17 -0
- data/app/views/devise/shared/_links.erb +19 -0
- data/app/views/devise/unlocks/new.html.erb +12 -0
- data/config/locales/en.yml +39 -0
- data/lib/devise.rb +290 -0
- data/lib/devise/controllers/helpers.rb +231 -0
- data/lib/devise/controllers/internal_helpers.rb +98 -0
- data/lib/devise/controllers/scoped_views.rb +35 -0
- data/lib/devise/controllers/url_helpers.rb +41 -0
- data/lib/devise/encryptors/authlogic_sha512.rb +19 -0
- data/lib/devise/encryptors/base.rb +20 -0
- data/lib/devise/encryptors/bcrypt.rb +19 -0
- data/lib/devise/encryptors/clearance_sha1.rb +17 -0
- data/lib/devise/encryptors/restful_authentication_sha1.rb +22 -0
- data/lib/devise/encryptors/sha1.rb +25 -0
- data/lib/devise/encryptors/sha512.rb +25 -0
- data/lib/devise/failure_app.rb +107 -0
- data/lib/devise/hooks/activatable.rb +11 -0
- data/lib/devise/hooks/forgetable.rb +11 -0
- data/lib/devise/hooks/rememberable.rb +35 -0
- data/lib/devise/hooks/timeoutable.rb +22 -0
- data/lib/devise/hooks/trackable.rb +9 -0
- data/lib/devise/mapping.rb +103 -0
- data/lib/devise/models.rb +80 -0
- data/lib/devise/models/authenticatable.rb +126 -0
- data/lib/devise/models/confirmable.rb +164 -0
- data/lib/devise/models/database_authenticatable.rb +110 -0
- data/lib/devise/models/lockable.rb +165 -0
- data/lib/devise/models/recoverable.rb +81 -0
- data/lib/devise/models/registerable.rb +8 -0
- data/lib/devise/models/rememberable.rb +104 -0
- data/lib/devise/models/timeoutable.rb +26 -0
- data/lib/devise/models/token_authenticatable.rb +60 -0
- data/lib/devise/models/trackable.rb +30 -0
- data/lib/devise/models/validatable.rb +53 -0
- data/lib/devise/modules.rb +23 -0
- data/lib/devise/orm/active_record.rb +36 -0
- data/lib/devise/orm/mongoid.rb +29 -0
- data/lib/devise/path_checker.rb +18 -0
- data/lib/devise/rails.rb +69 -0
- data/lib/devise/rails/routes.rb +248 -0
- data/lib/devise/rails/warden_compat.rb +39 -0
- data/lib/devise/schema.rb +97 -0
- data/lib/devise/strategies/authenticatable.rb +111 -0
- data/lib/devise/strategies/base.rb +33 -0
- data/lib/devise/strategies/database_authenticatable.rb +21 -0
- data/lib/devise/strategies/rememberable.rb +43 -0
- data/lib/devise/strategies/token_authenticatable.rb +49 -0
- data/lib/devise/test_helpers.rb +90 -0
- data/lib/devise/version.rb +3 -0
- data/lib/generators/active_record/devise_generator.rb +28 -0
- data/lib/generators/active_record/templates/migration.rb +29 -0
- data/lib/generators/devise/devise_generator.rb +17 -0
- data/lib/generators/devise/install_generator.rb +24 -0
- data/lib/generators/devise/orm_helpers.rb +23 -0
- data/lib/generators/devise/templates/README +25 -0
- data/lib/generators/devise/templates/devise.rb +139 -0
- data/lib/generators/devise/views_generator.rb +63 -0
- data/lib/generators/devise_install_generator.rb +4 -0
- data/lib/generators/devise_views_generator.rb +4 -0
- data/lib/generators/mongoid/devise_generator.rb +17 -0
- data/test/controllers/helpers_test.rb +213 -0
- data/test/controllers/internal_helpers_test.rb +51 -0
- data/test/controllers/url_helpers_test.rb +58 -0
- data/test/devise_test.rb +65 -0
- data/test/encryptors_test.rb +30 -0
- data/test/failure_app_test.rb +123 -0
- data/test/integration/authenticatable_test.rb +344 -0
- data/test/integration/confirmable_test.rb +104 -0
- data/test/integration/database_authenticatable_test.rb +38 -0
- data/test/integration/http_authenticatable_test.rb +49 -0
- data/test/integration/lockable_test.rb +109 -0
- data/test/integration/recoverable_test.rb +141 -0
- data/test/integration/registerable_test.rb +153 -0
- data/test/integration/rememberable_test.rb +91 -0
- data/test/integration/timeoutable_test.rb +80 -0
- data/test/integration/token_authenticatable_test.rb +88 -0
- data/test/integration/trackable_test.rb +64 -0
- data/test/mailers/confirmation_instructions_test.rb +80 -0
- data/test/mailers/reset_password_instructions_test.rb +68 -0
- data/test/mailers/unlock_instructions_test.rb +62 -0
- data/test/mapping_test.rb +85 -0
- data/test/models/confirmable_test.rb +221 -0
- data/test/models/database_authenticatable_test.rb +148 -0
- data/test/models/lockable_test.rb +188 -0
- data/test/models/recoverable_test.rb +138 -0
- data/test/models/rememberable_test.rb +176 -0
- data/test/models/timeoutable_test.rb +28 -0
- data/test/models/token_authenticatable_test.rb +37 -0
- data/test/models/trackable_test.rb +5 -0
- data/test/models/validatable_test.rb +99 -0
- data/test/models_test.rb +77 -0
- data/test/orm/active_record.rb +9 -0
- data/test/orm/mongoid.rb +10 -0
- data/test/rails_app/app/active_record/admin.rb +3 -0
- data/test/rails_app/app/active_record/shim.rb +2 -0
- data/test/rails_app/app/active_record/user.rb +7 -0
- data/test/rails_app/app/controllers/admins_controller.rb +6 -0
- data/test/rails_app/app/controllers/application_controller.rb +9 -0
- data/test/rails_app/app/controllers/home_controller.rb +7 -0
- data/test/rails_app/app/controllers/publisher/registrations_controller.rb +2 -0
- data/test/rails_app/app/controllers/publisher/sessions_controller.rb +2 -0
- data/test/rails_app/app/controllers/sessions_controller.rb +6 -0
- data/test/rails_app/app/controllers/users_controller.rb +18 -0
- data/test/rails_app/app/helpers/application_helper.rb +3 -0
- data/test/rails_app/app/mongoid/admin.rb +6 -0
- data/test/rails_app/app/mongoid/shim.rb +16 -0
- data/test/rails_app/app/mongoid/user.rb +10 -0
- data/test/rails_app/config/application.rb +35 -0
- data/test/rails_app/config/boot.rb +13 -0
- data/test/rails_app/config/environment.rb +5 -0
- data/test/rails_app/config/environments/development.rb +19 -0
- data/test/rails_app/config/environments/production.rb +33 -0
- data/test/rails_app/config/environments/test.rb +33 -0
- data/test/rails_app/config/initializers/backtrace_silencers.rb +7 -0
- data/test/rails_app/config/initializers/devise.rb +136 -0
- data/test/rails_app/config/initializers/inflections.rb +2 -0
- data/test/rails_app/config/initializers/secret_token.rb +2 -0
- data/test/rails_app/config/routes.rb +47 -0
- data/test/rails_app/db/migrate/20100401102949_create_tables.rb +27 -0
- data/test/rails_app/db/schema.rb +86 -0
- data/test/routes_test.rb +146 -0
- data/test/support/assertions.rb +24 -0
- data/test/support/helpers.rb +54 -0
- data/test/support/integration.rb +88 -0
- data/test/support/test_silencer.rb +5 -0
- data/test/support/webrat/integrations/rails.rb +32 -0
- data/test/test_helper.rb +21 -0
- data/test/test_helpers_test.rb +72 -0
- metadata +230 -0
data/CHANGELOG.rdoc
ADDED
@@ -0,0 +1,455 @@
|
|
1
|
+
== 1.1.0 (to be released)
|
2
|
+
|
3
|
+
* enhancements
|
4
|
+
* Rememberable module allows user to be remembered across browsers and is enabled by default (by github.com/trevorturk)
|
5
|
+
* devise_for can now be used together with scope method in routes but with a few limitations (check the documentation)
|
6
|
+
* Support :as or :devise_scope in the router to specify controller access scope
|
7
|
+
* HTTP Basic Auth can now be disabled/enabled for xhr(ajax) requests using http_authenticatable_on_xhr option. (by github.com/pellja)
|
8
|
+
|
9
|
+
* bug fix
|
10
|
+
* Fix a bug in Devise::TestHelpers where current_user was returning a Response object for non active accounts
|
11
|
+
* Devise should respect script_name and path_info contracts
|
12
|
+
* Fix a bug when accessing a path with (.:format) (by github.com/klacointe)
|
13
|
+
* Do not add unlock routes unless unlock strategy is email or both
|
14
|
+
* Email should be case insensitive
|
15
|
+
* Store classes as string in session, to avoid serialization and stale data issues
|
16
|
+
|
17
|
+
* deprecations
|
18
|
+
* use_default_scope is deprecated and has no effect. Use :as or :devise_scope in the router instead
|
19
|
+
|
20
|
+
== 1.1.rc2
|
21
|
+
|
22
|
+
* enhancements
|
23
|
+
* Allow to set cookie domain for the remember token. (by github.com/mantas)
|
24
|
+
* Added navigational formats to specify when it should return a 302 and when a 401.
|
25
|
+
* Added authenticate(scope) support in routes (by github.com/wildchild)
|
26
|
+
* Added after_update_path_for to registrations controller (by github.com/thedelchop)
|
27
|
+
* Allow the mailer object to be replaced through config.mailer = "MyOwnMailer"
|
28
|
+
|
29
|
+
* bug fix
|
30
|
+
* Fix a bug where session was timing out on sign out
|
31
|
+
|
32
|
+
* deprecations
|
33
|
+
* bcrypt is now the default encryptor
|
34
|
+
* devise.mailer.confirmations_instructions now should be devise.mailer.confirmations_instructions.subject
|
35
|
+
* devise.mailer.user.confirmations_instructions now should be devise.mailer.confirmations_instructions.user_subject
|
36
|
+
* Generators now use Rails 3 syntax (devise:install) instead of devise_install
|
37
|
+
|
38
|
+
== 1.1.rc1
|
39
|
+
|
40
|
+
* enhancements
|
41
|
+
* Rails 3 compatibility
|
42
|
+
* All controllers and views are namespaced, for example: Devise::SessionsController and "devise/sessions"
|
43
|
+
* Devise.orm is deprecated. This reduces the required API to hook your ORM with devise
|
44
|
+
* Use metal for failure app
|
45
|
+
* HTML e-mails now have proper formatting
|
46
|
+
* Allow to give :skip and :controllers in routes
|
47
|
+
* Move trackable logic to the model
|
48
|
+
* E-mails now use any template available in the filesystem. Easy to create multipart e-mails
|
49
|
+
* E-mails asks headers_for in the model to set the proper headers
|
50
|
+
* Allow to specify haml in devise_views
|
51
|
+
* Compatibility with Mongoid
|
52
|
+
* Make config.devise available on config/application.rb
|
53
|
+
* TokenAuthenticatable now works with HTTP Basic Auth
|
54
|
+
* 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
|
55
|
+
* No need to append ?unauthenticated=true in URLs anymore since Flash was moved to a middleware in Rails 3
|
56
|
+
* :activatable is included by default in your models
|
57
|
+
|
58
|
+
* bug fix
|
59
|
+
* Fix a bug with STI
|
60
|
+
|
61
|
+
* deprecations
|
62
|
+
* Rails 3 compatible only
|
63
|
+
* Removed support for MongoMapper
|
64
|
+
* Scoped views are no longer "sessions/users/new". Now use "users/sessions/new"
|
65
|
+
* Devise.orm is deprecated, just require "devise/orm/YOUR_ORM" instead
|
66
|
+
* Devise.default_url_options is deprecated, just modify ApplicationController.default_url_options
|
67
|
+
* All messages under devise.sessions, except :signed_in and :signed_out, should be moved to devise.failure
|
68
|
+
* :as and :scope in routes is deprecated. Use :path and :singular instead
|
69
|
+
|
70
|
+
== 1.0.8
|
71
|
+
|
72
|
+
* enhancements
|
73
|
+
* Support for latest MongoMapper
|
74
|
+
* Added anybody_signed_in? helper (by github.com/SSDany)
|
75
|
+
|
76
|
+
* bug fix
|
77
|
+
* confirmation_required? is properly honored on active? calls. (by github.com/paulrosania)
|
78
|
+
|
79
|
+
== 1.0.7
|
80
|
+
|
81
|
+
* bug fix
|
82
|
+
* Ensure password confirmation is always required
|
83
|
+
|
84
|
+
* deprecations
|
85
|
+
* authenticatable was deprecated and renamed to database_authenticatable
|
86
|
+
* confirmable is not included by default on generation
|
87
|
+
|
88
|
+
== 1.0.6
|
89
|
+
|
90
|
+
* bug fix
|
91
|
+
* Do not allow unlockable strategies based on time to access a controller.
|
92
|
+
* Do not send unlockable email several times.
|
93
|
+
* Allow controller to upstram custom! failures to Warden.
|
94
|
+
|
95
|
+
== 1.0.5
|
96
|
+
|
97
|
+
* bug fix
|
98
|
+
* Use prepend_before_filter in require_no_authentication.
|
99
|
+
* require_no_authentication on unlockable.
|
100
|
+
* Fix a bug when giving an association proxy to devise.
|
101
|
+
* Do not use lock! on lockable since it's part of ActiveRecord API.
|
102
|
+
|
103
|
+
== 1.0.4
|
104
|
+
|
105
|
+
* bug fix
|
106
|
+
* Fixed a bug when deleting an account with rememberable
|
107
|
+
* Fixed a bug with custom controllers
|
108
|
+
|
109
|
+
== 1.0.3
|
110
|
+
|
111
|
+
* enhancements
|
112
|
+
* HTML e-mails now have proper formatting
|
113
|
+
* Do not remove MongoMapper options in find
|
114
|
+
|
115
|
+
== 1.0.2
|
116
|
+
|
117
|
+
* enhancements
|
118
|
+
* Allows you set mailer content type (by github.com/glennr)
|
119
|
+
|
120
|
+
* bug fix
|
121
|
+
* Uses the same content type as request on http authenticatable 401 responses
|
122
|
+
|
123
|
+
== 1.0.1
|
124
|
+
|
125
|
+
* enhancements
|
126
|
+
* HttpAuthenticatable is not added by default automatically.
|
127
|
+
* Avoid mass assignment error messages with current password.
|
128
|
+
|
129
|
+
* bug fix
|
130
|
+
* Fixed encryptors autoload
|
131
|
+
|
132
|
+
== 1.0.0
|
133
|
+
|
134
|
+
* deprecation
|
135
|
+
* :old_password in update_with_password is deprecated, use :current_password instead
|
136
|
+
|
137
|
+
* enhancements
|
138
|
+
* Added Registerable
|
139
|
+
* Added Http Basic Authentication support
|
140
|
+
* Allow scoped_views to be customized per controller/mailer class
|
141
|
+
* [#99] Allow authenticatable to used in change_table statements
|
142
|
+
|
143
|
+
== 0.9.2
|
144
|
+
|
145
|
+
* bug fix
|
146
|
+
* Ensure inactive user cannot sign in
|
147
|
+
* Ensure redirect to proper url after sign up
|
148
|
+
|
149
|
+
* enhancements
|
150
|
+
* Added gemspec to repo
|
151
|
+
* Added token authenticatable (by github.com/grimen)
|
152
|
+
|
153
|
+
== 0.9.1
|
154
|
+
|
155
|
+
* bug fix
|
156
|
+
* Allow bigger salt size (by github.com/jgeiger)
|
157
|
+
* Fix relative url root
|
158
|
+
|
159
|
+
== 0.9.0
|
160
|
+
|
161
|
+
* deprecation
|
162
|
+
* devise :all is deprecated
|
163
|
+
* :success and :failure flash messages are now :notice and :alert
|
164
|
+
|
165
|
+
* enhancements
|
166
|
+
* Added devise lockable (by github.com/mhfs)
|
167
|
+
* Warden 0.9.0 compatibility
|
168
|
+
* Mongomapper 0.6.10 compatibility
|
169
|
+
* Added Devise.add_module as hooks for extensions (by github.com/grimen)
|
170
|
+
* Ruby 1.9.1 compatibility (by github.com/grimen)
|
171
|
+
|
172
|
+
* bug fix
|
173
|
+
* Accept path prefix not starting with slash
|
174
|
+
* url helpers should rely on find_scope!
|
175
|
+
|
176
|
+
== 0.8.2
|
177
|
+
|
178
|
+
* enhancements
|
179
|
+
* Allow Devise.mailer_sender to be a proc (by github.com/grimen)
|
180
|
+
|
181
|
+
* bug fix
|
182
|
+
* Fix bug with passenger, update is required to anyone deploying on passenger (by github.com/dvdpalm)
|
183
|
+
|
184
|
+
== 0.8.1
|
185
|
+
|
186
|
+
* enhancements
|
187
|
+
* Move salt to encryptors
|
188
|
+
* Devise::Lockable
|
189
|
+
* Moved view links into partial and I18n'ed them
|
190
|
+
|
191
|
+
* bug fix
|
192
|
+
* Bcrypt generator was not being loaded neither setting the proper salt
|
193
|
+
|
194
|
+
== 0.8.0
|
195
|
+
|
196
|
+
* enhancements
|
197
|
+
* Warden 0.8.0 compatibility
|
198
|
+
* Add an easy for map.connect "sign_in", :controller => "sessions", :action => "new" to work
|
199
|
+
* Added :bcrypt encryptor (by github.com/capotej)
|
200
|
+
|
201
|
+
* bug fix
|
202
|
+
* sign_in_count is also increased when user signs in via password change, confirmation, etc..
|
203
|
+
* More DataMapper compatibility (by github.com/lancecarlson)
|
204
|
+
|
205
|
+
* deprecation
|
206
|
+
* Removed DeviseMailer.sender
|
207
|
+
|
208
|
+
== 0.7.5
|
209
|
+
|
210
|
+
* enhancements
|
211
|
+
* Set a default value for mailer to avoid find_template issues
|
212
|
+
* Add models configuration to MongoMapper::EmbeddedDocument as well
|
213
|
+
|
214
|
+
== 0.7.4
|
215
|
+
|
216
|
+
* enhancements
|
217
|
+
* Extract Activatable from Confirmable
|
218
|
+
* Decouple Serializers from Devise modules
|
219
|
+
|
220
|
+
== 0.7.3
|
221
|
+
|
222
|
+
* bug fix
|
223
|
+
* Give scope to the proper model validation
|
224
|
+
|
225
|
+
* enhancements
|
226
|
+
* Mail views are scoped as well
|
227
|
+
* Added update_with_password for authenticatable
|
228
|
+
* Allow render_with_scope to accept :controller option
|
229
|
+
|
230
|
+
== 0.7.2
|
231
|
+
|
232
|
+
* deprecation
|
233
|
+
* Renamed reset_confirmation! to resend_confirmation!
|
234
|
+
* Copying locale is part of the installation process
|
235
|
+
|
236
|
+
* bug fix
|
237
|
+
* Fixed render_with_scope to work with all controllers
|
238
|
+
* Allow sign in with two different users in Devise::TestHelpers
|
239
|
+
|
240
|
+
== 0.7.1
|
241
|
+
|
242
|
+
* enhancements
|
243
|
+
* Small enhancements for other plugins compatibility (by github.com/grimen)
|
244
|
+
|
245
|
+
== 0.7.0
|
246
|
+
|
247
|
+
* deprecations
|
248
|
+
* :authenticatable is not included by default anymore
|
249
|
+
|
250
|
+
* enhancements
|
251
|
+
* Improve loading process
|
252
|
+
* Extract SessionSerializer from Authenticatable
|
253
|
+
|
254
|
+
== 0.6.3
|
255
|
+
|
256
|
+
* bug fix
|
257
|
+
* Added trackable to migrations
|
258
|
+
* Allow inflections to work
|
259
|
+
|
260
|
+
== 0.6.2
|
261
|
+
|
262
|
+
* enhancements
|
263
|
+
* More DataMapper compatibility
|
264
|
+
* Devise::Trackable - track sign in count, timestamps and ips
|
265
|
+
|
266
|
+
== 0.6.1
|
267
|
+
|
268
|
+
* enhancements
|
269
|
+
* Devise::Timeoutable - timeout sessions without activity
|
270
|
+
* DataMapper now accepts conditions
|
271
|
+
|
272
|
+
== 0.6.0
|
273
|
+
|
274
|
+
* deprecations
|
275
|
+
* :authenticatable is still included by default, but yields a deprecation warning
|
276
|
+
|
277
|
+
* enhancements
|
278
|
+
* Added DataMapper support
|
279
|
+
* Remove store_location from authenticatable strategy and add it to failure app
|
280
|
+
* Allow a strategy to be placed after authenticatable
|
281
|
+
* [#45] Do not rely attribute? methods, since they are not added on Datamapper
|
282
|
+
|
283
|
+
== 0.5.6
|
284
|
+
|
285
|
+
* enhancements
|
286
|
+
* [#42] Do not send nil to build (DataMapper compatibility)
|
287
|
+
* [#44] Allow to have scoped views
|
288
|
+
|
289
|
+
== 0.5.5
|
290
|
+
|
291
|
+
* enhancements
|
292
|
+
* Allow overwriting find for authentication method
|
293
|
+
* [#38] Remove Ruby 1.8.7 dependency
|
294
|
+
|
295
|
+
== 0.5.4
|
296
|
+
|
297
|
+
* deprecations
|
298
|
+
* Deprecate :singular in devise_for and use :scope instead
|
299
|
+
|
300
|
+
* enhancements
|
301
|
+
* [#37] Create after_sign_in_path_for and after_sign_out_path_for hooks to be
|
302
|
+
overwriten in ApplicationController
|
303
|
+
* Create sign_in_and_redirect and sign_out_and_redirect helpers
|
304
|
+
* Warden::Manager.default_scope is automatically configured to the first given scope
|
305
|
+
|
306
|
+
== 0.5.3
|
307
|
+
|
308
|
+
* bug fix
|
309
|
+
* MongoMapper now converts DateTime to Time
|
310
|
+
* Ensure all controllers are unloadable
|
311
|
+
|
312
|
+
* enhancements
|
313
|
+
* [#35] Moved friendly_token to Devise
|
314
|
+
* Added Devise.all, so you can freeze your app strategies
|
315
|
+
* Added Devise.apply_schema, so you can turn it to false in Datamapper or MongoMapper
|
316
|
+
in cases you don't want it be handlded automatically
|
317
|
+
|
318
|
+
== 0.5.2
|
319
|
+
|
320
|
+
* enhancements
|
321
|
+
* [#28] Improved sign_in and sign_out helpers to accepts resources
|
322
|
+
* [#28] Added stored_location_for as a helper
|
323
|
+
* [#20] Added test helpers
|
324
|
+
|
325
|
+
== 0.5.1
|
326
|
+
|
327
|
+
* enhancements
|
328
|
+
* Added serializers based on Warden ones
|
329
|
+
* Allow authentication keys to be set
|
330
|
+
|
331
|
+
== 0.5.0
|
332
|
+
|
333
|
+
* bug fix
|
334
|
+
* Fixed a bug where remember me module was not working properly
|
335
|
+
|
336
|
+
* enhancements
|
337
|
+
* Moved encryption strategy into the Encryptors module to allow several algorithms (by github.com/mhfs)
|
338
|
+
* Implemented encryptors for Clearance, Authlogic and Restful-Authentication (by github.com/mhfs)
|
339
|
+
* Added support for MongoMapper (by github.com/shingara)
|
340
|
+
|
341
|
+
== 0.4.3
|
342
|
+
|
343
|
+
* bug fix
|
344
|
+
* [#29] Authentication just fails if user cannot be serialized from session, without raising errors;
|
345
|
+
* Default configuration values should not overwrite user values;
|
346
|
+
|
347
|
+
== 0.4.2
|
348
|
+
|
349
|
+
* deprecations
|
350
|
+
* Renamed mail_sender to mailer_sender
|
351
|
+
|
352
|
+
* enhancements
|
353
|
+
* skip_before_filter added in Devise controllers
|
354
|
+
* Use home_or_root_path on require_no_authentication as well
|
355
|
+
* Added devise_controller?, useful to select or reject filters in ApplicationController
|
356
|
+
* Allow :path_prefix to be given to devise_for
|
357
|
+
* Allow default_url_options to be configured through devise (:path_prefix => "/:locale" is now supported)
|
358
|
+
|
359
|
+
== 0.4.1
|
360
|
+
|
361
|
+
* bug fix
|
362
|
+
* [#21] Ensure options can be set even if models were not loaded
|
363
|
+
|
364
|
+
== 0.4.0
|
365
|
+
|
366
|
+
* deprecations
|
367
|
+
* Notifier is deprecated, use DeviseMailer instead. Remember to rename
|
368
|
+
app/views/notifier to app/views/devise_mailer and I18n key from
|
369
|
+
devise.notifier to devise.mailer
|
370
|
+
* :authenticable calls are deprecated, use :authenticatable instead
|
371
|
+
|
372
|
+
* enhancements
|
373
|
+
* [#16] Allow devise to be more agnostic and do not require ActiveRecord to be loaded
|
374
|
+
* Allow Warden::Manager to be configured through Devise
|
375
|
+
* Created a generator which creates an initializer
|
376
|
+
|
377
|
+
== 0.3.0
|
378
|
+
|
379
|
+
* bug fix
|
380
|
+
* [#15] Allow yml messages to be configured by not using engine locales
|
381
|
+
|
382
|
+
* deprecations
|
383
|
+
* Renamed confirm_in to confirm_within
|
384
|
+
* [#14] Do not send confirmation messages when user changes his e-mail
|
385
|
+
* [#13] Renamed authenticable to authenticatable and added deprecation warnings
|
386
|
+
|
387
|
+
== 0.2.3
|
388
|
+
|
389
|
+
* enhancements
|
390
|
+
* Ensure fail! works inside strategies
|
391
|
+
* [#12] Make unauthenticated message (when you haven't signed in) different from invalid message
|
392
|
+
|
393
|
+
* bug fix
|
394
|
+
* Do not redirect on invalid authenticate
|
395
|
+
* Allow model configuration to be set to nil
|
396
|
+
|
397
|
+
== 0.2.2
|
398
|
+
|
399
|
+
* bug fix
|
400
|
+
* [#9] Fix a bug when using customized resources
|
401
|
+
|
402
|
+
== 0.2.1
|
403
|
+
|
404
|
+
* refactor
|
405
|
+
* Clean devise_views generator to use devise existing views
|
406
|
+
|
407
|
+
* enhancements
|
408
|
+
* [#7] Create instance variables (like @user) for each devise controller
|
409
|
+
* Use Devise::Controller::Helpers only internally
|
410
|
+
|
411
|
+
* bug fix
|
412
|
+
* [#6] Fix a bug with Mongrel and Ruby 1.8.6
|
413
|
+
|
414
|
+
== 0.2.0
|
415
|
+
|
416
|
+
* enhancements
|
417
|
+
* [#4] Allow option :null => true in authenticable migration
|
418
|
+
* [#3] Remove attr_accessible calls from devise modules
|
419
|
+
* Customizable time frame for rememberable with :remember_for config
|
420
|
+
* Customizable time frame for confirmable with :confirm_in config
|
421
|
+
* Generators for creating a resource and copy views
|
422
|
+
|
423
|
+
* optimize
|
424
|
+
* Do not load hooks or strategies if they are not used
|
425
|
+
|
426
|
+
* bug fixes
|
427
|
+
* [#2] Fixed requiring devise strategies
|
428
|
+
|
429
|
+
== 0.1.1
|
430
|
+
|
431
|
+
* bug fixes
|
432
|
+
* [#1] Fixed requiring devise mapping
|
433
|
+
|
434
|
+
== 0.1.0
|
435
|
+
|
436
|
+
* Devise::Authenticable
|
437
|
+
* Devise::Confirmable
|
438
|
+
* Devise::Recoverable
|
439
|
+
* Devise::Validatable
|
440
|
+
* Devise::Migratable
|
441
|
+
* Devise::Rememberable
|
442
|
+
|
443
|
+
* SessionsController
|
444
|
+
* PasswordsController
|
445
|
+
* ConfirmationsController
|
446
|
+
|
447
|
+
* Create an example app
|
448
|
+
* devise :all, :except => :rememberable
|
449
|
+
* Use sign_in and sign_out in SessionsController
|
450
|
+
|
451
|
+
* Mailer subjects namespaced by model
|
452
|
+
* Allow stretches and pepper per model
|
453
|
+
|
454
|
+
* Store session[:return_to] in session
|
455
|
+
* Sign user in automatically after confirming or changing it's password
|