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
0af2722926
Let's depend on 3.1 forward.
2012-01-02 20:24:42 +01:00
José Valim
78efec09d5
Move notes to the top.
2012-01-02 20:24:42 +01:00
José Valim
1fdeadd113
Merge pull request #1188 from sj26/controller-inheritence
...
Make all controllers inherit from a single DeviseController
2012-01-02 11:24:33 -08:00
José Valim
a1464dbad7
Replace github.com/ by @
2012-01-02 20:16:40 +01:00
José Valim
dd2a66d00c
Update CHANGELOG.
2012-01-02 20:16:11 +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
José Valim
024d9e6df7
Merge pull request #1537 from nashby/fix-issue-1530
...
regenerate confirmation token on reconfirmation
2011-12-31 04:03:14 -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
José Valim
f712d07b23
Merge pull request #1516 from jm81/master
...
Move "include Devise::Models::Authenticatable" inside devise_modules_hook! call
2011-12-20 14:00:36 -08: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
94e5a589b6
Update README.rdoc
v2.0.0.rc
2011-12-19 13:35:54 +01:00
José Valim
2dbb23f973
Update README.rdoc
2011-12-19 13:34:31 +01:00
José Valim
b71028dc73
Add a note to the README.
2011-12-19 13:33:33 +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
059d3856cf
Update CHANGELOG.
2011-12-19 12:58:34 +01:00
José Valim
9dbd265fdd
Update messages.
2011-12-19 12:55:41 +01:00
José Valim
09ae63f822
Update CHANGELOG.rdoc
2011-12-19 12:32:32 +01:00
T1D
c9becd3ea1
Allow regular expressions to avoid string conversion for parameter
...
filtering.
2011-12-14 10:41:24 -06:00
José Valim
5a245b3d55
Merge pull request #1508 from spagalloco/patch-1
...
Fixed gemnasium link in README to link to the web page and not the image
2011-12-12 13:57:06 -08:00
Steve Agalloco
7d3b16fe73
Fixed gemnasium link in README to link to the web page and not the image
2011-12-12 15:08:13 -05: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
d952dea32b
Remove the code that was dynamically adding columns to active record
2011-12-11 20:07:50 +01:00
José Valim
9a6ac7ab69
Add confirmable to admin.
2011-12-11 20:07:50 +01:00
José Valim
df43ee640d
Add Gemfile back to repository.
2011-12-11 20:07:50 +01:00
José Valim
309b57f4ea
Merge pull request #1496 from laserlemon/patch-1
...
Add dependency status to README
2011-12-10 14:29:36 -08:00
José Valim
cc839caba5
Update CHANGELOG, rename method.
2011-12-10 23:28:23 +01:00
Steve Richert
d734648b15
Add dependency status to README
2011-12-09 15:46:52 -05:00
José Valim
006400905b
Merge pull request #1493 from nashby/fix-issue-1486
...
redirect users to sign in page after unlock, closes #1486
2011-12-08 11:13:24 -08:00
Vasiliy Ermolovich
1e1e964d25
redirect users to sign in page after unlock, closes #1486
2011-12-08 22:06:09 +03:00
José Valim
263e0b7692
Fix failing test.
2011-12-07 13:23:55 +01:00
José Valim
01d4d0131b
Merge pull request #1489 from dmitriy-kiriyenko/fix_delegator
...
Fix taking associated failure app from the scope in the given env.
2011-12-07 04:12:26 -08: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
94fca31be8
Improving the unconfirmed message
2011-12-06 09:24:06 -02:00
Rodrigo Flores
19db459fca
typo
2011-12-06 08:35:02 -02:00