José Valim
85e9dab370
Release 2.0.0.rc2.
2012-01-24 14:29:26 +01:00
José Valim
8c9cf7d671
Add deprecations, update changelog.
2012-01-24 14:23:34 +01:00
José Valim
275c480f89
Redirect to the previous URL on timeout, closes #1596
2012-01-24 14:00:36 +01:00
José Valim
477d9fbcba
Do not fallback to string on failure app, easier for debugging, closes #1587
2012-01-24 13:46:25 +01:00
José Valim
55be93d5c4
Deprecated support for nested devise_for blocks
2012-01-24 13:40:04 +01:00
Claudio Poli
97c0339f66
Fix typos in devise.rb
2012-01-17 23:14:26 +01:00
José Valim
07cdba349d
Merge pull request #1563 from asynchrony/handle_regexp_param_filtering
...
Allow regex to avoid string conversion for parameter filtering
2012-01-16 03:20:17 -08:00
Rafael Mendonça França
edb0aac091
Whitespaces ✂️
2012-01-09 18:11:10 -03:00
Rafael Mendonça França
9549a32500
Do not use deprecated ActiveSupport::Base64. Closes #1554
2012-01-09 18:10:49 -03:00
José Valim
a949f9eca2
FailureApp shuold always consider Devise.router_name, closes #1544
2012-01-03 20:32:51 +01:00
Carlos Antonio da Silva
f4bbad6323
Merge pull request #1543 from joliss/doc
...
Improve routing API docs
2012-01-03 06:39:41 -08:00
Jo Liss
8a4d4864ea
Improve routing API docs
2012-01-03 15:33:19 +01:00
José Valim
897c1c684e
Allow router_name to be customizable via Devise.router_name, useful for engines
2012-01-02 22:43:07 +01:00
José Valim
1ebcb09fc1
Do not rely on root_path. Redirect to / if not available.
2012-01-02 22:43:07 +01:00
José Valim
dada404a6b
Support 3.2 as well.
2012-01-02 22:19:05 +01:00
José Valim
d9df632671
Get rid of InternalHelpers, refactor scoped views for more performant behavior.
2012-01-02 22:01:28 +01:00
José Valim
aa2d15aa33
Move devise/shared/_links.erb to devise/_links.erb
2012-01-02 21:26:26 +01:00
José Valim
0b55ebb150
Remove 3.0 related code.
2012-01-02 21:04:54 +01:00
José Valim
7c11564613
Remove Rails 3.0 only code.
2012-01-02 20:43:39 +01:00
José Valim
c3f864f2b6
Allow parent controller to be customizable.
2012-01-02 20:39:22 +01:00
José Valim
a29a30effc
Move InternalHelpers to parent controller.
2012-01-02 20:30:56 +01:00
José Valim
1152fda687
Only proxy to application controller if it exists.
2012-01-02 20:00:38 +01:00
José Valim
fd0e929087
Generate session routes for token authentication, but mark it as no_input.
2012-01-02 19:38:02 +01:00
José Valim
8b3e0e52f1
Generate routes again for token, closes #1526 .
2012-01-02 19:27:05 +01:00
José Valim
8ff080fb99
Improve docs for params/http authenticatable.
2012-01-02 19:24:48 +01:00
José Valim
6bca228888
Merge pull request #1527 from joliss/generator
...
Use consistent number of hash signs
2012-01-02 10:21:41 -08:00
José Valim
fd1e588645
Merge pull request #1534 from jigyasa/master
...
Fix for a bug: Incorrect message for locked account
2012-01-02 10:04:17 -08:00
Vasiliy Ermolovich
aca8d3f34c
regenerate confirmation token on reconfirmation, closes #1530
2011-12-31 14:22:58 +03:00
Jigyasa Makkar
e2030a740d
Fixed a bug in lockable wherein when a user tries to login with correct password after being locked,
...
failed attempts count gets reset. When the user tries to login with an incorrect password next,
the message shown is for invalid password instead of locked account since this check
depended mainly on failed attempts count.
2011-12-29 23:57:39 +05:30
Jo Liss
27b745d04f
Use consistent number of hash signs
2011-12-28 17:26:57 +01:00
Jared Morgan
f8ea5e0942
move include Devise::Models::Authenticatable inside devise_modules_hook! call
...
This allows alternate ORMs to run compatibility setup code before
Authenticatable is included.
The particular issue for dm-devise is that DataMapper does not have a
before_validation method, which is called when Authenticatable is included
(as of plataformatec/devise@bd27bf76 ). dm-devise adds before_validation in
it's devise_modules_hook!
2011-12-20 15:52:26 -06:00
José Valim
89db0dd44d
Do not run validatins unless on reconfirmable branch, closes #1515 .
2011-12-20 20:54:49 +01:00
José Valim
f5aab14766
Release Devise 2.0.0.rc.
2011-12-19 13:31:24 +01:00
José Valim
273c5e99c1
Add space between messages.
2011-12-19 13:30:33 +01:00
José Valim
7ba37b5dc0
Improve messages.
2011-12-19 13:21:17 +01:00
José Valim
9dbd265fdd
Update messages.
2011-12-19 12:55:41 +01:00
T1D
c9becd3ea1
Allow regular expressions to avoid string conversion for parameter
...
filtering.
2011-12-14 10:41:24 -06:00
José Valim
fd85b25d29
PathChecker should not attempt to validate invalid routes, closes #1505
2011-12-12 11:35:41 +01:00
José Valim
5eebf74f69
Fix a bug where passing :format => false to devise_for was permanent, closes #1504
2011-12-12 09:25:19 +01:00
José Valim
5a11c6597c
Usage of Devise.stateless_token= is deprecated in favor of appending :token_auth to Devise.skip_session_storage
2011-12-11 20:39:41 +01:00
José Valim
930b324c15
Usage of confirm_within was deprecated in favor allow_unconfirmed_access_for
2011-12-11 20:18:02 +01:00
José Valim
cc839caba5
Update CHANGELOG, rename method.
2011-12-10 23:28:23 +01:00
Dmitriy Kiriyenko
f41e4befde
Fix taking associated failure app from the scope in the given env.
...
There is a delegator to get failure app, introduced in 4629bee and tuned
in 24b26026 . The latter commit introduced a bit of logic, however, no
tests are included into commit. Needless to say this resulted in a
broken code.
The point is that `env["warden.options"][:scope]` returns a string.
However, `Devise.mappings` is a hash with symbol keys.
Adding tests and converting scope to symbol here.
2011-12-07 14:09:00 +02:00
Rodrigo Flores
19db459fca
typo
2011-12-06 08:35:02 -02:00
José Valim
7693173ecd
Final tidy up on removing schema helpers.
2011-12-05 12:17:02 +01:00
José Valim
a0294cbae8
Improve fields.
2011-12-05 12:02:25 +01:00
José Valim
1cf008cbe3
Remove apply schema from mongoid as well.
2011-12-05 11:48:27 +01:00
José Valim
87b84ffded
Remove schema fields from Devise.
2011-12-05 11:28:04 +01:00
José Valim
035e56215d
Enable reconfirmable by default and disable apply_schema.
2011-12-05 00:03:53 +01:00
José Valim
bd27bf7677
Deprecate and disable old behavior accumulated with time.
2011-12-04 23:58:19 +01:00