Skip to content

upstream#1

Open
simonoff wants to merge 78 commits intoamoniacou:masterfrom
lynndylanhurley:master
Open

upstream#1
simonoff wants to merge 78 commits intoamoniacou:masterfrom
lynndylanhurley:master

Conversation

@simonoff
Copy link
Member

No description provided.

muratiger and others added 30 commits May 1, 2021 21:59
* fix mongoid detecting bug

* fix bug on rails 6
On rails 6, if change password, in `before_save` callback
- `saved_change_to_attribute?(:encrypted_password)` return false
- `encrypted_password_changed?` return true
* Fix URI.unescape warning

* Fix Using the last argument as keyword parameters warning
Usage of the safe operator was introduced in ruby 2.3 and new code uses that
Removed an extra bracket `]` from "configure_permitted_parameters" method.
* Fix the doc missing configure devise

I had to add 
```ruby
# config/initializers/devise.rb
Devise.setup do |config|
  config.mailer_sender = "example@example.com"
end
``` 
In order to make my app send emails successfully

* Fix too much newline
* wrap creation and save of token in a transaction

this will reload the record and lock the row in the DB so we
only ever have one request accessing the record at one time.

this prevents multiple requests overwriting the tokens.

* extract to method and check if #with_lock is available

Co-authored-by: Pascal Betz <pascal@yova.ch>
* add previous_token and update tests

* update comment in test/controllers/demo_mang_controller_test.rb
* Sets authorization header name

* Writes and reads Authorization token

* On decoding bearer token, if it is an invalid base64, rescues to empty hash

* Added controller tests for Authorization header
* Fixed vulnerabilities

* Missing plural.
hatsu38 and others added 30 commits November 5, 2023 19:48
* refactor: 💡 safe_email -> email

NOTE: Faker::Internet.safe_email is deprecated; use email instead. It
will be removed on or after 2023-10.

* test: 💍 MiniTest->Minitest
Since factory bot doesn't
support it anymore
thoughtbot/factory_bot#1614
Updates the requirements on [sqlite3](https://github.com/sparklemotion/sqlite3-ruby) to permit the latest version.
- [Release notes](https://github.com/sparklemotion/sqlite3-ruby/releases)
- [Changelog](https://github.com/sparklemotion/sqlite3-ruby/blob/main/CHANGELOG.md)
- [Commits](sparklemotion/sqlite3-ruby@v1.4.0...v2.0.1)

---
updated-dependencies:
- dependency-name: sqlite3
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…tection (#1654)

* fix: Update method names to devise_will_save_change_to_email?

* fix: Remove email_changed? method
* Handle expired reset_password_tokens on update

* fixup! Handle expired reset_password_tokens on update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.