aihs_devise 1.2.rc

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