Michael Crismali
f37b10ef87
Switched all instances of 'not blank?' to 'present?'
2014-04-17 20:34:28 -05:00
Rafael Mendonça França
081ea9e0ba
Add CHANGELOG entry for #2978 [ci skip]
2014-04-15 18:47:16 -03:00
Rafael Mendonça França
f60892be23
Merge pull request #2978 from rossta/support_for_multiple_warden_config_blocks
...
Support multiple warden configuration blocks
2014-04-15 18:46:28 -03:00
Ross Kaffenberger
5f32cd25fd
support multiple warden configuration blocks
...
Changes the behavior of `Devise.warden` such that calling it multiple
times with different blocks will result in a call to each block on
`Devise.configure_warden!` rather than "last block wins". This is
especially used for plugins that wish to extend warden functionality
without clobbering base app configuration or vice versa.
2014-04-15 17:20:21 -04:00
Lucas Mazza
38e868dc79
Update Travis encrypted keys
2014-04-09 19:24:25 -03:00
Lucas Mazza
67613117aa
Merge pull request #2955 from lucasmazza/lm-cached-bundle
...
Cache bundle results on Travis to S3
2014-04-09 19:21:29 -03:00
José Valim
61c497d173
Merge pull request #2968 from plataformatec/sign_out_not_logged_in_user
...
Check if there is a logged user before logout.
2014-04-09 18:17:06 +02:00
Lauro Caetano
571dead19b
Check if there is a signed in user before sign out.
...
Only execute the `SessionsController#destroy` if there is a signed in
user, otherwise it will raise
`ActionController::InvalidAuthenticityToken`.
Fixes #2934 .
2014-04-09 10:25:44 -03:00
Lucas Mazza
b0b18fb805
Merge pull request #2965 from sadjow/use-port-option-on-default-url-options
...
Use port option in default url options for ActionMailer
2014-04-04 21:14:04 -03:00
Lucas Mazza
5c57d88505
Cache bundle results on Travis to S3
2014-04-04 20:22:39 -03:00
Sadjow Leão
a2bd5631da
Use port option in default url options for ActionMailer
2014-04-04 19:01:12 -03:00
José Valim
6466d5c517
Merge pull request #2964 from plataformatec/invalidate_all_sessions_on_logout
...
Add configuration to invalidate all the remember me tokens when the user signs out.
2014-04-04 21:28:22 +02:00
Lauro Caetano
f7fdde1ab0
Add the invalidate_all_sessions_on_logout configuration to invalidate
...
all the remember me tokens when the user signs out.
2014-04-04 16:17:26 -03:00
José Valim
947169e4f5
Merge pull request #2960 from kgiszczak/redirect-url-tweaks
...
Use full urls instead of just paths when redirecting in failure app.
2014-04-04 17:41:41 +02:00
Kamil Giszczak
9cada8d2d4
Use scope instead of constraints to define routes.
...
It works the same with rails 3 and rails 4.
2014-04-04 16:07:37 +02:00
José Valim
314f731a66
Update CHANGELOG
2014-04-04 09:50:13 +02:00
José Valim
b786c384d5
Remove need for raw session inspect
2014-04-03 21:00:12 +02:00
Lucas Mazza
6027787930
Merge pull request #2954 from plataformatec/lm-last-request-at-json-serialization
...
Serialize the `last_request_at` entry as an Integer
2014-04-02 22:58:14 -03:00
Kamil Giszczak
a38f2f96b5
Use _url routes instead of _path
2014-04-02 15:42:41 +02:00
José Valim
d019e1ed1a
Merge pull request #2958 from karlentwistle/master
...
Find a resource based off its encrypted reset_password_token
2014-03-31 19:16:20 +02:00
Karl Entwistle
58b311a93f
Use the ORM Adapter API
2014-03-31 15:24:55 +01:00
Karl Entwistle
de57ef83fb
Find a resource based off its encrypted reset_password_token
2014-03-31 14:58:52 +01:00
Lucas Mazza
145ce9e1de
Merge pull request #2956 from Yasserius/patch-1
...
before_filter turned into before_action
2014-03-29 16:01:54 -03:00
Yasserius
7adf95b945
before_filter turned into before_action
2014-03-30 00:52:00 +06:00
Lucas Mazza
71d8dd37bb
Update mongoid dependency.
2014-03-28 23:11:53 -03:00
Lucas Mazza
da0c27393f
Serialize the last_request_at entry as an Integer
...
Pushing the `Time` object inside the session has inconsistencies
across different serializers and we should use a more primitive type
so we don't need any specific parsing logic for the JSON serializer.
2014-03-28 22:51:56 -03:00
Lucas Mazza
f19e82021f
Add some spaces around the curly brackets.
2014-03-28 20:53:50 -03:00
Lucas Mazza
3d0559bc4d
Merge pull request #2953 from jbnunn/README_ConfiguredParams
...
Fixed documentation for configured_permitted_parameters
2014-03-28 20:51:36 -03:00
J. Nunn
739c187e81
Fixed documentation for configured_permitted_parameters
2014-03-28 17:21:50 -05:00
Vasiliy Ermolovich
937ed6291c
Merge pull request #2946 from naveda89/patch-1
...
Fixed path syntax error on README.md
2014-03-25 16:46:06 +02:00
Alvaro Naveda
aa456c9d07
Fixed path syntax error on README.md
...
Minor fix on the configuring controllers section.
2014-03-25 15:43:46 +01:00
José Valim
5b49bd3450
Improve docs for update_with_password
...
Closes #2942
2014-03-24 21:49:48 +01:00
José Valim
da34c54093
Merge pull request #2937 from dpehrson/registrations-controller-failure-yield
...
Ensure registration controller block yields happen on failure in addition to success
2014-03-24 18:58:29 +09:00
Daniel Pehrson
90e55409e1
Upgrade stray legacy hash syntax to 1.9 syntax.
2014-03-21 15:24:25 -04:00
Daniel Pehrson
ce3ead6b5f
Ensure registration controller block yields happen on failure in addition to success and closes #2936 .
...
Now with 100% more unit tests.
2014-03-21 10:29:14 -04:00
Lucas Mazza
d439bc409c
Fix typo on CHANGELOG
2014-03-17 12:11:01 -03:00
Lucas Mazza
8d7a72326a
Add a note about #2906 to the CHANGELOG.
2014-03-17 12:10:44 -03:00
Lucas Mazza
59cd0cc240
Merge pull request #2906 from p-originate/master
...
Grammar/content fixes for email confirmation language
2014-03-17 12:08:07 -03:00
Lucas Mazza
1eab594895
SessionsController#destroy no longer yields the resource object.
...
If you need access to the current resource when overring the action
use the scope helper (like `current_user`) before calling `super`.
Closes #2926 .
2014-03-17 11:52:20 -03:00
Lucas Mazza
755219ccfc
Release v3.2.4
v3.2.4
2014-03-17 11:16:38 -03:00
Lucas Mazza
9044631f4c
Merge pull request #2933 from weimeng/update-changel
...
Update CHANGELOG.md with missing 2.1.x minor versions
2014-03-17 10:59:33 -03:00
Wei-Meng Lee
a05d001c41
Update CHANGELOG.md with missing 2.1.x minor versions
...
Changelog for missing entries taken from https://github.com/plataformatec/devise/blob/v2.1.4/CHANGELOG.rdoc
2014-03-17 15:18:44 +08:00
Lucas Mazza
a8e1d42097
Bump mocha.
2014-03-12 14:40:11 -03:00
Lucas Mazza
0df786c849
Add README docs and a CHANGELOG entry for #2916
2014-03-09 20:54:41 -03:00
Lucas Mazza
ccfe389be1
Merge pull request #2916 from kayline/master
...
Add ability to generate only specified view directories
2014-03-09 20:49:27 -03:00
Molly Trombley-McCann and Shatarupa Nandi
a79e0f6bca
Rename variable to views, change flag to -v
2014-03-06 13:41:11 -08:00
Molly Trombley-McCann
3640abc933
add description to view generator flag
2014-03-04 15:08:46 -08:00
Molly Trombley-McCann
09ebe833b3
Add a flag to views generator allowing user to specify which view directories to generate
2014-03-04 15:05:16 -08:00
Molly Trombley-McCann
4a0bc7692a
Add a flag to views generator allowing user to specify which view directories to generate
2014-03-04 14:47:19 -08:00
Greg Cobb and Molly Trombley-McCann
0d06ed6c79
WIP
2014-03-03 09:30:00 -08:00