José Valim
|
732e31528e
|
More changes in update_with_password.
|
2010-02-08 23:14:03 +01:00 |
|
José Valim
|
8a15ac6e4a
|
Stub out other views for Registerable.
|
2010-02-08 19:07:24 +01:00 |
|
José Valim
|
54cd2cc0e8
|
Use _ instead of .
|
2010-02-08 17:15:12 +01:00 |
|
Carlos Antonio da Silva
|
445070f6ec
|
Use sign_up instead of registration in routes. Fix issue with users being signed in while attempting to sign up with info from already existing user. Also fix signed up flash.
|
2010-02-08 11:03:15 -02:00 |
|
Carlos Antonio da Silva
|
6b837cb285
|
Introducing Registerable module, allowing users to sign up.
|
2010-02-04 20:08:38 -02:00 |
|
José Valim
|
3781a0f47b
|
Tidy up token authentication implementation.
|
2010-02-02 13:21:00 +01:00 |
|
Jonas Grimfelt
|
4878bdb60b
|
Second version of token_authenticatable reflecting feedback: Nuked all hook-stuff. Should be easy to custom-reset authentication tokens by inheritance.
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-02-02 12:37:06 +01:00 |
|
Jonas Grimfelt
|
e1440fb430
|
Initial support for authorization using "authentication token" (a.k.a. "single access token") - new module. Corresponding changes to Devise core to hook events like "after_changed_password" (only one added now - only one that makes much sense for latest module) easily. Unit and integration tests included. NOTE: One failing test for hooking Warden::Manager.after_authentication - gets ignored for some reason.
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-02-02 12:36:44 +01:00 |
|
Carlos Antonio da Silva
|
6d80418fd1
|
Changing flash messages to new Rails defaults :notice/:alert
|
2010-01-20 17:46:14 -02:00 |
|
José Valim
|
a5b2ee5171
|
Improve documentation for after_sign_in_path_for.
|
2010-01-16 10:56:35 +01:00 |
|
José Valim
|
b581f86317
|
DRY up controllers.
|
2010-01-13 18:12:13 +01:00 |
|
Marcelo Silveira
|
d2fa737aa0
|
introducing lockable implementation
|
2010-01-01 17:57:35 -02:00 |
|
José Valim
|
415bcdc722
|
Added scoped views support. Just turn it on in your Devise.setup.
|
2009-11-21 20:07:37 -02:00 |
|
José Valim
|
d445b4beb9
|
Create after_sign_in_path_for and after_sign_out_path_for hooks and sign_in_and_redirect and sign_out_and_redirect helpers.
|
2009-11-19 11:16:31 -02:00 |
|
José Valim
|
680cb0f95f
|
Added Devise.all to freeze your app strategies and moved friendly_token to Devise module.
|
2009-11-18 09:26:47 -02:00 |
|
José Valim
|
ffbc9c604d
|
Only redirect if needed.
|
2009-11-16 14:31:09 -02:00 |
|
José Valim
|
6d09eb66cf
|
Tidying up encryptors.
|
2009-11-10 18:55:13 -02:00 |
|
José Valim
|
4debe4080b
|
Allow :path_prefix to be given to devise_for.
|
2009-11-06 14:27:27 -02:00 |
|
José Valim
|
5172d50b95
|
Ensure fail! works inside strategies, create unauthenticated and invalid messages and do not redirect on invalid authentication.
|
2009-10-29 08:29:31 -02:00 |
|
José Valim
|
dd3e534a19
|
Build resource in all views.
|
2009-10-27 21:31:12 -02:00 |
|
José Valim
|
dede8af5b0
|
Do not include Devise internal helpers in application controller.
|
2009-10-27 21:26:40 -02:00 |
|
Carlos A. da Silva
|
bbca9e830e
|
Verify confirmation time frame to let the user sign in or block it if the user is not confirmed.
|
2009-10-22 20:18:16 -02:00 |
|
Carlos A. da Silva
|
fc08a7c5ac
|
Changing resource_home_path to resource_root_path and add the same redirect to confirmation and password.
|
2009-10-19 00:38:50 -02:00 |
|
José Valim
|
9feb9455ce
|
Allow page after sign in to be configured.
|
2009-10-18 15:25:16 -02:00 |
|
José Valim
|
b0a2da72b5
|
Use sign_in and authenticate methods.
|
2009-10-18 15:01:56 -02:00 |
|
Carlos A. da Silva
|
8d85db3b57
|
Sign user in automatically after confirming or changing it's password
|
2009-10-18 10:36:20 -02:00 |
|
Carlos A. da Silva
|
75e98d3041
|
Separating perishable token into confirmation and reset_password tokens. Adding confirmation_sent_at attribute.
|
2009-10-18 09:14:52 -02:00 |
|
Carlos A. da Silva
|
b21b6291b0
|
Better documentation.
|
2009-10-17 12:10:15 -03:00 |
|
Carlos A. da Silva
|
a5cb147eb2
|
Stores the requested page before signing in and redirect the user to the stored uri after.
|
2009-10-17 11:12:50 -03:00 |
|
Carlos A. da Silva
|
0664359381
|
Updating helpers to use sign_in/sign_out instead of authenticate/logout.
|
2009-10-12 19:20:12 -03:00 |
|
José Valim
|
3c5bfc9520
|
Kick tests back to life.
|
2009-10-12 08:37:28 -03:00 |
|
José Valim
|
b012bc800b
|
Kick tests back to life.
|
2009-10-11 23:24:57 -03:00 |
|
José Valim
|
bd8f7dc631
|
Some major changes.
|
2009-10-11 22:11:58 -03:00 |
|
Carlos A. da Silva
|
f840129815
|
Creating new integration test simulating sign in and sign out with user and admin at same time.
|
2009-10-11 11:21:49 -03:00 |
|
Carlos A. da Silva
|
4e263b96c9
|
Updating sessions controller to use resource oriented style. Changing authenticate method to accept a hash of attributes.
|
2009-10-10 16:20:23 -03:00 |
|
Carlos A. da Silva
|
15c5d9e049
|
Changing authentication method to redirect inside rails and not warden strategy anymore. Updating session to authenticate the user and set it to warden.
|
2009-10-10 15:59:37 -03:00 |
|
Carlos A. da Silva
|
643a2ef271
|
Updating sessions create to handle authentication, still based on warden strategy
|
2009-10-10 14:14:09 -03:00 |
|
Carlos A. da Silva
|
aefa857ab2
|
Updating controllers to scope resource_class and changing mapping implementation to reload mapped class based on cache_classes configuration.
|
2009-10-10 11:05:56 -03:00 |
|
Carlos A. da Silva
|
2fbb56e8f7
|
Removing no_authentication in confirmations
|
2009-10-10 10:17:51 -03:00 |
|
Carlos A. da Silva
|
23bb351d0e
|
Tests with resource and resource_class
|
2009-10-10 09:32:51 -03:00 |
|
Carlos A. da Silva
|
d181975555
|
Moving resource_name and resource_class to Devise, rewriting route tests, using resource_class in controllers.
|
2009-10-10 08:37:22 -03:00 |
|
Carlos A. da Silva
|
f4de0f6c5a
|
Creating Devise.map to generate and recognize urls based on scope.
|
2009-10-09 21:11:58 -03:00 |
|
Carlos A. da Silva
|
bfd0617a0e
|
Ensure skipping authenticate! filter in passwords and confirmations controller, and adding rails_warden as dependency.
|
2009-10-09 10:37:36 -03:00 |
|
Carlos A. da Silva
|
5c210d725f
|
Some minor refactorings in mailer, confirmable and recoverable. Also some route docs inside controllers.
|
2009-10-09 07:36:13 -03:00 |
|
Carlos A. da Silva
|
42d00a8dea
|
Updating views and helpers to use i18n by default.
|
2009-10-09 07:36:13 -03:00 |
|
Carlos A. da Silva
|
fa4f9043b8
|
Adding default locale file for I18n.
|
2009-10-09 07:36:13 -03:00 |
|
Carlos A. da Silva
|
b36856a3a1
|
Creating confirmation controller and integration tests.
|
2009-10-09 07:36:12 -03:00 |
|
Carlos A. da Silva
|
97ae1795bd
|
Recoverable class method reset_password should use a bang!
|
2009-10-09 07:36:12 -03:00 |
|
Carlos A. da Silva
|
cf1ea9ab86
|
Cleaning up recoverable methods, changing to use a hash of options instead of default parameters.
|
2009-10-09 07:36:12 -03:00 |
|
Carlos A. da Silva
|
7ce49cbbe8
|
Configuring session and password controllers as engine, and getting integration tests from devise example app.
|
2009-10-09 07:36:12 -03:00 |
|