Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upstream #1

Open
wants to merge 65 commits into
base: master
Choose a base branch
from
Open

upstream #1

wants to merge 65 commits into from

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 = "[email protected]"
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 <[email protected]>
* 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.
jotolo and others added 30 commits April 14, 2023 10:21
* Updating test configuration to run with rails7 and mongoid7

* Skipping active_record configuration for mongoid in test environment

* Updating README status build badge
* 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

* Removes bearer token if cookie_enabled is true

* Style
Updates the requirements on [faker](https://github.com/faker-ruby/faker) to permit the latest version.
- [Release notes](https://github.com/faker-ruby/faker/releases)
- [Changelog](https://github.com/faker-ruby/faker/blob/main/CHANGELOG.md)
- [Commits](faker-ruby/faker@v2.16.0...v3.2.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Updates the requirements on [mongoid-locker](https://github.com/mongoid/mongoid-locker) to permit the latest version.
- [Release notes](https://github.com/mongoid/mongoid-locker/releases)
- [Changelog](https://github.com/mongoid/mongoid-locker/blob/master/CHANGELOG.md)
- [Commits](mongoid/mongoid-locker@v1.0.0...v2.0.2)

---
updated-dependencies:
- dependency-name: mongoid-locker
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* 🐛 Not update cookies when is a batch request

* ✅ Fix confirmations controller test
…troller (#1600)

* Don't leak information about the existence of accounts in DeivseTokenAuth::SessionsController

* Refactor SessionsController
* Support for writing style deprecated in 7.1 and removed in 7.2

* test: 💍 MiniTest->Minitest

* 7.1 -> 7.2
* 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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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.