José Valim
dbe116c255
Add more info to README.
2010-04-06 13:43:38 +02:00
José Valim
9d1a52978c
Only triggers http in failure app if devise.authentication_method is :http.
2010-04-06 13:40:39 +02:00
José Valim
0d3c6b9d99
Small changes to token_authenticatable.
2010-04-06 13:26:56 +02:00
Andre Medeiros
71f74a10f7
Solved deprecation warnings
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-04-06 12:06:42 +02:00
José Valim
0bd75469ba
Update README.
2010-04-05 12:21:02 +02:00
José Valim
1591294b7a
Compatibility with Rails beta 3.
2010-04-05 11:46:26 +02:00
José Valim
f9cbd3c457
Add 1.0.6 entries to master changelog
2010-04-03 13:27:17 +02:00
José Valim
66ca9f5ce0
Update README to point to the RC0 gem.
2010-04-03 13:22:14 +02:00
José Valim
d3c31ef16d
Releasing 1.1.rc0 which is compatible with Rails 3.0.0.beta2. There is just one known bug with this new Rails version, which means we are close to a final Devise 'Rock Your Socks Off 1.1' version.
v1.1.rc0
2010-04-03 13:20:00 +02:00
José Valim
b974b7bc78
Move failure messages from devise.sessions to devise.failure.
2010-04-03 13:11:45 +02:00
José Valim
23e608e27b
No need to append ?unauthenticated=true in URLs anymore since Flash was moved to a middleware in Rails 3.
2010-04-03 11:43:31 +02:00
José Valim
0f7b311171
Add lockable to migration.
2010-04-02 20:36:27 +02:00
postmodern
27c4280eca
Expend the length of the encrypted_password field to 128 to allow storing BCrypt or SHA512 passwords.
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-04-02 20:31:33 +02:00
José Valim
1ba525a0e9
Tidying up some lose ends and adding more docs.
2010-04-01 22:11:59 +02:00
José Valim
d8b6ba9022
Bump warden to 0.10.3
2010-04-01 19:24:22 +02:00
José Valim
f5d01c217d
TokenAuthenticatable now works with HTTP Basic Auth by default (take a look at Highrise API for a good example). This basically allows you to pass the authentication token as HTTP Basic Auth username.
2010-04-01 19:09:33 +02:00
José Valim
2b5a068246
Move part of the logic in SessionsController#create to the FailureApp. Whenever Warden is invoked with a :recall, the failure app will recall the chosen controller and the action given to recall.
2010-04-01 17:30:55 +02:00
José Valim
13b8ddf54c
Ensure customs pass through sessions_controller.
2010-04-01 14:00:21 +02:00
José Valim
16666b7587
Get rid of flash hook and clean up passwords after registration.
2010-04-01 13:23:49 +02:00
José Valim
dac7887d7c
Allow the dummy application in test/rails_app to boot.
2010-04-01 12:49:11 +02:00
Fred Wu
42d06a241b
Added support for HAML 3+.
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-04-01 00:14:16 +02:00
José Valim
3d1a04fd83
Fix warden configuration.
2010-03-31 22:04:48 +02:00
José Valim
1d65a76cf3
Move remember_me hook inside strategies.
2010-03-31 21:43:19 +02:00
José Valim
015c74e734
Use message verifier in cookies. Previous implementation allowed brute force attacks by cookies. Even though it is impossible for the brute force attack to succeed, the current implementation blocks the attacker even before hitting the database.
2010-03-31 13:31:45 +02:00
José Valim
6cc32db2dd
Add lock_strategy.
2010-03-31 11:54:11 +02:00
José Valim
597a930c74
We do not use t() helpers in views, so there is no reason why this particular one should use them.
2010-03-30 20:06:56 +02:00
José Valim
d7f614b726
Make config.devise available on config/application.rb
2010-03-30 11:08:16 +02:00
José Valim
e04c5ba977
More work with unlock_strategy equals to none.
2010-03-30 01:58:06 +02:00
José Valim
4fc41dd68a
Regenerate gemspec.
2010-03-30 01:50:54 +02:00
José Valim
22e1fa0cb9
Small cleanup.
2010-03-30 00:29:57 +02:00
Josh Kalderimis
a6a018253e
minor change to content type checking to make it more flexible when utf8 is returned
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-03-30 00:23:46 +02:00
José Valim
81926c2cd2
Allow :unlock_strategy to be :none.
2010-03-30 00:07:11 +02:00
José Valim
7d14f0bbb9
Allow several authentications to share a common path.
2010-03-29 23:44:47 +02:00
José Valim
e038d82410
Merge branch 'master' of github.com:plataformatec/devise
2010-03-29 21:02:56 +02:00
José Valim
65b8908960
Create authenticatable base model and strategy.
2010-03-29 20:52:48 +02:00
José Valim
1c5d4771ff
Initial work on making the authentication stack more flexible.
2010-03-29 16:13:19 +02:00
José Valim
604b7ef61c
Move http authenticatable response to failure app.
2010-03-29 15:16:14 +02:00
José Valim
0d704c02ca
Fix link on README.
2010-03-29 00:53:51 -07:00
Jacques Crocker
1c39590e20
Devise / DataMapper updates
...
allows devise to work with the upcoming dm-validation changes
2010-03-28 20:53:22 -07:00
Jacques Crocker
6d31e368bf
Use persisted? instead of new_record?
...
In order to be more ActiveModel compliant, lets use persisted? whereever we can. Particularly for datamapper, new_record? causes api warnings. Better to stick to the ActiveModel api I think.
2010-03-28 20:53:13 -07:00
José Valim
63deb0e80a
Update CHANGELOG.
2010-03-28 23:15:45 +02:00
José Valim
2a082f3e4c
Fix some unlockable bugs.
2010-03-28 23:09:28 +02:00
Josh Kalderimis
97b7ba8659
added imapable to the README
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-03-28 22:02:38 +02:00
José Valim
bc00a13a3a
Update gemspec.
2010-03-28 15:24:21 +02:00
José Valim
033db1ca7c
Do not depend on silence_missing_strategies! anymore. This speeds up strategies matching because we don't need to check if the model duck types to the strategy and it doesn't trigger uneeded strategies.
2010-03-28 14:55:05 +02:00
José Valim
066c6e8771
Do not force halt on authenticatable. This allows other strategies (like devise_imapable or even devise_facebook_connectable) to hook into sessions controller as well.
...
Those strategies should follow the same convention, allowing them to be cascated.
2010-03-28 12:52:12 +02:00
José Valim
96c8238b02
Remove duplicated method.
2010-03-28 07:24:56 +02:00
José Valim
4b7a9204b8
More configuration to validatable.
2010-03-28 07:19:23 +02:00
José Valim
ea71be8d2a
More compatibility with Rails master.
2010-03-28 07:15:52 +02:00
Jacques Crocker
6bcf18b04f
Mongoid support cleanup
...
moving test specific == override part of the test models and not part of the Compatibility module included in all Mongoid docs. Made sure that nothing in devise itself uses this == between 2 different models, its purely for assert_equal
2010-03-27 16:16:36 -07:00