devise-edge 1.2.rc

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