Rafael França
0720bc72c3
Merge pull request #4731 from alexhifer/master
...
Added the ability to change the default migrations path
2017-12-21 18:33:07 -05:00
Leonardo Tegon
5f1c210511
Update CHANGELOG.md [ci skip]
2017-12-21 17:15:01 -02:00
Mike Rogers
16b3d6d67c
Adding autocomplete="email" to email fields ( #4643 )
...
As discussed in https://github.com/plataformatec/devise/issues/4635
2017-12-21 17:13:50 -02:00
Lutz Lengemann
7b3081760f
Move failed_attempts increment into its a function ( #4351 )
...
With this change one can overwrite when the incrementation is handled without duplicating the other `valid_for_authentication` logic.
2017-12-21 16:49:09 -02:00
Olivier Lacan
5a3b7a1771
Clarify how store_location_for modifies URIs ( #4391 )
...
This fairly straightforward refactor extracts the most obtuse
portions of store_location_for into the following discrete
private methods:
- extract_path_from_location
- remove_domain_from_uri
- add_fragment_back_to_path
This may seem like indirection but it was very unclear what
operation was being performed on the location sent to
store_location_for prior to this change.
I considered documenting the behavior but the code seemed
like a prime candidate for method extraction.
2017-12-21 16:15:53 -02:00
Sai Chander
db011c0192
set_flash_method! instead of set_flash_method in omniauth callbacks controller ( #4680 )
2017-12-21 15:53:14 -02:00
Pat Allan
f39c6fd927
Add the frozen_string_literal pragma comment to all Ruby files. ( #4725 )
2017-12-21 15:36:29 -02:00
Guilherme Goettems Schneider
8b9fba73fd
Allow frozen options in as_json ( #4655 )
...
The test uses `as_json` instead of `to_json` because `to_json` does `#dup` on `options` before it reaches `#serializable_hash` and the test would pass without the fix.
2017-12-21 15:23:25 -02:00
Alexey Degtyarev
12298ef968
Added the ability to change the default migrations path (introduced in Rails 5.0.3)
2017-12-21 17:12:19 +02:00
Paulo Henrique Castro
1b02534bef
change validatable docs to match generator ( #4727 )
...
lib/generators/templates/devise.rb#L160
2017-12-19 08:34:45 -02:00
Shiva Bhusal
42b68d53a7
Adds Table of content to Readme.md ( #4621 )
...
* Adds Table of content to Readme.md
* adds 's' to content
2017-12-17 14:00:32 -02:00
Mark Donald Amobi
4f2e915833
minor grammar fix in rememberable documentation ( #4550 )
2017-12-07 23:16:27 -02:00
Ahmad hamza
f8c1ee0f90
Added nested attributes example for README ( #4434 )
2017-12-07 23:13:30 -02:00
Calvin Claus
2458334de6
added note about stopping spring ( #4506 )
...
For me it was necessary to stop spring for the route helpers to be defined.
2017-12-07 22:29:41 -02:00
Leonardo Tegon
451ba5362b
Update changelog [ci skip]
2017-11-28 13:03:53 -02:00
Ashley Foster
31801fc9a0
Fix missing validations on Signup ( #4674 )
...
* Fix missing validations on Signup
This commit fixes issue
https://github.com/plataformatec/devise/issues/4673
This removes `validate: false` from saving a record when `Trackable` is
in use.
* Add test case
* Add mongoid model
2017-11-28 12:58:41 -02:00
Felipe Renan
ce0414271a
Merge pull request #4704 from plataformatec/plataformatec/issue-template
...
Add issue template
2017-11-22 20:07:44 -02:00
Rafael França
701d4929d8
Merge pull request #4375 from fbbergamo/change-status-append
...
Replace log_process_action to append_info_to_payload
2017-11-22 15:53:28 -05:00
Felipe Renan
e61f4bae40
Add issue template
...
The issue template is a guide to help the contributors report issues.
2017-11-22 18:39:01 -02:00
Rafael França
88e9a85d6a
Merge pull request #4694 from rpbaptist/devise_scope-doc
...
Provide additional info on devise_scope usage
2017-11-06 11:37:55 -05:00
Richard Baptist
d6ffa8ef22
Provide additional info on devise_scope usage
2017-11-06 17:25:29 +01:00
Rafael França
448106f458
Merge pull request #4692 from masatooba/fix-rake-to-rails
...
Change `rake secret` to `rails secret` in comments
2017-11-02 22:58:56 -04:00
Masato Oba
a88f88eb4b
Change rake secret to rails secret in comments
2017-11-02 15:38:32 +00:00
Rafael França
2b10d517f6
Merge pull request #4683 from masatooba/remove-unnecessary-method
...
Remove unnecessary hide! method definition
2017-10-31 01:51:16 -04:00
Rafael França
4db1d819b0
Merge pull request #4682 from haneru/edit-gemfile
...
Removed gem minitest
2017-10-31 01:50:37 -04:00
Rafael França
840c2e7306
Merge pull request #4686 from kyoshidajp/fix_mongoid_failed_test
...
Fix mongoid test failed problem
2017-10-31 01:44:48 -04:00
Rafael França
657507b705
Merge pull request #4687 from masatooba/fix-spec-typo
...
Fix small typo in test
2017-10-30 15:33:35 -04:00
Masato Oba
975bb8490d
Fix typo 'an user' to 'a user'
2017-10-29 12:31:06 +00:00
Masato Oba
6ceb649b10
Fix small typo in authenticatable_test.rb
2017-10-29 12:10:39 +00:00
Katsuhiko YOSHIDA
bcb67ecde8
Fix mongoid test failed problem
2017-10-28 15:56:32 +09:00
haneru
4184e23d71
bundle installed
2017-10-28 01:46:55 +09:00
masatooba
a24f98f315
Delete unnecessary hide! method
...
This method has already been added to Rails.
2017-10-28 01:26:26 +09:00
haneru
c74e2693a3
Removed gem minitest
2017-10-28 01:09:43 +09:00
Rafael França
7a7a099573
Merge pull request #4677 from bananaappletw/master
...
Remove TODO when Rails 5.0.3 is released
2017-10-23 15:07:09 -04:00
Rafael França
215d034b86
Merge pull request #4645 from swamp09/ci_against
...
CI against Ruby 2.2.8, 2.3.5, and 2.4.2
2017-10-20 13:34:04 -04:00
Vasiliy Ermolovich
3323197d68
Merge pull request #4668 from pat/mri2.5.0-fix
...
Fix syntax for MRI 2.5.0-preview1.
2017-10-14 16:25:23 +03:00
Pat Allan
1009096172
Fix syntax for MRI 2.5.0-preview1.
2017-10-13 10:38:43 +11:00
bananaappletw
197ac56520
Remove TODO when Rails 5.0.3 is released
2017-10-07 02:40:32 -07:00
swamp09
92b94bc84d
CI against Ruby 2.2.8, 2.3.5, and 2.4.2
2017-09-16 23:40:57 +09:00
Rafael França
71fc5b351a
Merge pull request #4565 from pat/frozen-string-literals
...
Ensure string literals can be frozen.
2017-06-21 14:16:43 -04:00
Pat Allan
4e9860d268
Ensure string literals can be frozen.
2017-06-21 09:22:49 +10:00
Rafael França
ad8547dede
Merge pull request #4381 from slbug/master
...
remove warnings about default value with new thor
2017-06-13 15:51:20 -04:00
Lucas Mazza
079ed3b6f8
Update Changelog [ci skip]
v4.3.0
2017-05-14 21:10:36 -03:00
Rafael Mendonça França
5e014ab607
Exclude Rails 4.1 in Ruby 2.4.1
2017-05-11 19:23:05 -07:00
Rafael Mendonça França
0f6014b84d
Make sure we are using a version of minitest that is not broken with
...
Rails.
2017-05-11 19:06:29 -07:00
Rafael Mendonça França
b5629ebf1d
Test with Rails 5.0
2017-05-11 19:00:04 -07:00
Lucas Mazza
ee01bac8b0
Update CHANGELOG.
2017-05-10 17:18:00 -03:00
Lucas Mazza
3e1c9e343c
Add Devise.activerecord51?
...
Active Record changed it's public API, so we should check against its
version instead of Rails as it is possible to use Rails 5.1 with Mongoid,
which still has the older Dirty API.
However, this patch does not fixes a scenario where an app has both
Active Record and Mongoid loaded. It should be fixed by either normalizing
the Mongoid/ActiveRecord API or replacing the conditional method
definitions with a shim layer that abstracts this away.
2017-05-10 17:09:38 -03:00
Lucas Mazza
399774af69
Prepare for 4.3.0 release.
2017-05-10 16:50:40 -03:00
Rafael França
a62faa2c82
Merge pull request #4528 from mikevic/master
...
Update copyright licence year to 2017
2017-05-05 14:10:44 -07:00