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 66 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
63cc1be
Add new param FAQ (#1481)
muratiger May 2, 2021
7d21928
fix mongoid detecting bug (#1478)
qiuyin May 12, 2021
b1ceb54
check password changed only when using password authentication (#1486)
qiuyin May 24, 2021
ea2b04f
Fix unescape and keyword parameters warning (#1490)
muratiger Jun 15, 2021
4c5245b
Bump version to 1.2.0 (#1492)
MaicolBen Jul 19, 2021
8b94e43
Increase required ruby version to 2.3 (#1495)
mcelicalderon Aug 11, 2021
0ff372e
Update faq.md (#1493)
SUMAR7 Aug 11, 2021
7806104
Turn email validation process into class method (#1494)
muratiger Aug 11, 2021
2fed895
Fix callback if migrations fails (#1502)
thooams Nov 6, 2021
82f2596
Fix the doc missing configure devise mail sender (#1504)
robertthach68 Nov 6, 2021
6d7780e
wrap creation and save of token in a transaction (#1498)
pascalbetz Nov 6, 2021
5b1a5e1
Support Rails 7.0 (#1517)
enomotodev Dec 29, 2021
0bc575a
Migrate to GitHub Actions
enomotodev Dec 30, 2021
fc9ba01
Merge pull request #1519 from enomotodev/migrate-github-actions
lynndylanhurley Jan 2, 2022
079d569
add `previous_token` (#1520)
sudhanshug16 Jan 4, 2022
23d6b81
[bugfix] omniauth: handle POST action redirects (#1509)
lynndylanhurley Jan 22, 2022
798255e
Make paranoid option return success status code and message regardles…
Mar 16, 2022
8f44a8c
Added 'Authorization' header with bearer token (#1534)
rhiroshi Jun 24, 2022
1a0483f
feat(ja.yml): Translate the unlocks, confirmations message into Japan…
hatsu38 Aug 2, 2022
fe94d42
Update ja.yml (#1550)
RaziAhmad123 Aug 19, 2022
42c9e8e
Set cookie token immediately in reset password and OmniAuth success f…
theblang Aug 22, 2022
027022c
fix(ja.yml): "" -> " in sended_paranoid (#1547)
hatsu38 Aug 22, 2022
702eab7
Add custom uid reference (#1554)
florindiconescu Sep 10, 2022
ec68e47
Update changelog (#1555)
MaicolBen Sep 10, 2022
017fe04
Update initializer template (#1564)
djpremier Nov 16, 2022
17619af
Allow omniauth redirect post method (#1563)
florindiconescu Nov 16, 2022
9d08961
Fix: permit parameters (#1568)
remy727 Dec 27, 2022
041002a
Avoid raising a RoutingError when confirming a user twice (#1557)
micred Dec 27, 2022
2264071
Revert "Fix: permit parameters (#1568)" (#1571)
MaicolBen Dec 27, 2022
30b6d30
Fixed vulnerabilities (#1569)
ryanfox1985 Dec 27, 2022
72d563a
Add support for ruby 3 & fix test suite (#1582)
MaicolBen Apr 7, 2023
716b63a
chore: add vanilla-token-auth to client list (#1578)
theblang Apr 7, 2023
2f664ef
Method sign_in with wrong parameters (#1586)
lazaronixon Apr 7, 2023
7cd39f5
update/Ruby 3.x and Rails 7.0 (#1584)
jotolo Apr 14, 2023
a30603f
brakeman vulnaribility UnsafeReflection. (#1587)
ryanfox1985 Apr 14, 2023
066ad21
update/test configuration Rails7 and mongoid7 (#1588)
jotolo Apr 14, 2023
d03606c
Remove sprockets (#1589)
MaicolBen Apr 15, 2023
644ce24
Create dependabot.yml
lynndylanhurley Apr 24, 2023
5c06a65
Setting up dependabot configuration file (#1590)
jotolo Apr 24, 2023
4d52a74
Remove bearer token if cookie_enabled is true (#1567)
rhiroshi Apr 25, 2023
d73856d
Update faker requirement from ~> 2.16 to ~> 3.2 (#1593)
dependabot[bot] Apr 25, 2023
6fa4dee
Update mongoid-locker requirement from ~> 1.0 to ~> 2.0 (#1592)
dependabot[bot] Apr 25, 2023
e394c12
🐛 Not update cookies when is a batch request (#1577)
djpremier Jun 2, 2023
f2a8520
add redirect_to options for rails7 allow_other_host (#1599)
ihatov08 Jun 2, 2023
207a246
Don't leak information about the existence of accounts in SessionsCon…
moritzhoeppner Jun 6, 2023
c15c5f0
Drop support for ruby 2.4 (#1601)
MaicolBen Jun 11, 2023
eeed642
Bump to 1.2.2 (#1602)
MaicolBen Jun 12, 2023
d9a91bc
Support for writing style deprecated in 7.1 and removed in 7.2 (#1606)
hatsu38 Nov 2, 2023
03b9f7a
Faker safe_email -> email (#1607)
hatsu38 Nov 5, 2023
dd27c7f
Fix registration spec failure (#1613)
MaicolBen Nov 6, 2023
d4deea1
Add redirect_options for redirect_url of the confirmation success fai…
kaekasui Nov 10, 2023
6b0659f
Fix Rails version comparison (#1614)
santib Nov 13, 2023
76b95ad
Drop support for ruby 2.5-6 (#1624)
MaicolBen May 14, 2024
e9ff5e6
Update sqlite3 requirement from ~> 1.4 to ~> 2.0 (#1620)
dependabot[bot] May 14, 2024
f47ba93
Bump 1.2.3 (#1623)
MaicolBen May 14, 2024
1d1f689
Revert "Update sqlite3 requirement from ~> 1.4 to ~> 2.0 (#1620)" (#1…
MaicolBen May 15, 2024
95b7b91
Add Persian locale (#1627)
abehnamfard May 23, 2024
fe8dd55
Delete dead links in the documentation (#1353)
K-Sato1995 Jun 4, 2024
21929ef
Support rails 7.2 (#1632)
MaicolBen Jul 5, 2024
812711e
Remove broken demos (#1633)
MaicolBen Jul 13, 2024
49d8a84
fix: point to the correct documentation page (#1634)
nickskalkin Oct 21, 2024
146773a
Bump version to 1.2.4 (#1638)
MaicolBen Oct 21, 2024
b7fcfdf
Support rails 8 (#1639)
MaicolBen Oct 22, 2024
398df4c
Bump version to 1.2.5 (#1645)
MaicolBen Jan 6, 2025
9690370
Setup missing sqlite (#1646)
MaicolBen Jan 6, 2025
aedef3c
fix: Prevent lock with unsaved changes (#1640)
btagliani Jan 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "bundler"
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 5
target-branch: "master"
141 changes: 141 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
name: Test

on:
push:
pull_request:

jobs:
test:
strategy:
fail-fast: false
matrix:
ruby:
- 2.7
- '3.0'
- 3.1
- 3.2
gemfile:
- gemfiles/rails_4_2.gemfile
- gemfiles/rails_5_0.gemfile
- gemfiles/rails_5_1.gemfile
- gemfiles/rails_5_2.gemfile
- gemfiles/rails_6_0.gemfile
- gemfiles/rails_7_0.gemfile
db:
- sqlite
- mysql
- postgresql
devise-token-auth-orm:
- active_record
include:
- ruby: 2.7
gemfile: gemfiles/rails_6_0_mongoid_7.gemfile
devise-token-auth-orm: mongoid
- ruby: 2.7
gemfile: gemfiles/rails_7_0_mongoid_7.gemfile
devise-token-auth-orm: mongoid
- ruby: 2.7
gemfile: gemfiles/rails_7_0.gemfile
- ruby: '3.0'
gemfile: gemfiles/rails_7_0.gemfile
- ruby: '3.0'
gemfile: gemfiles/rails_7_0_mongoid_7.gemfile
devise-token-auth-orm: mongoid
- ruby: 3.1
gemfile: gemfiles/rails_7_0.gemfile
- ruby: 3.1
gemfile: gemfiles/rails_7_0_mongoid_7.gemfile
devise-token-auth-orm: mongoid
- ruby: 3.2
gemfile: gemfiles/rails_7_0.gemfile
- ruby: 3.2
gemfile: gemfiles/rails_7_0_mongoid_7.gemfile
devise-token-auth-orm: mongoid
exclude:
- ruby: 2.7
gemfile: gemfiles/rails_4_2.gemfile
- ruby: 2.7
gemfile: gemfiles/rails_5_0.gemfile
- ruby: 2.7
gemfile: gemfiles/rails_5_1.gemfile
- ruby: 2.7
gemfile: gemfiles/rails_5_2.gemfile
- ruby: '3.0'
gemfile: gemfiles/rails_4_2.gemfile
- ruby: '3.0'
gemfile: gemfiles/rails_5_0.gemfile
- ruby: '3.0'
gemfile: gemfiles/rails_5_1.gemfile
- ruby: '3.0'
gemfile: gemfiles/rails_5_2.gemfile
- ruby: '3.0'
gemfile: gemfiles/rails_6_0.gemfile
- ruby: 3.1
gemfile: gemfiles/rails_4_2.gemfile
- ruby: 3.1
gemfile: gemfiles/rails_5_0.gemfile
- ruby: 3.1
gemfile: gemfiles/rails_5_1.gemfile
- ruby: 3.1
gemfile: gemfiles/rails_5_2.gemfile
- ruby: 3.1
gemfile: gemfiles/rails_6_0.gemfile
- ruby: 3.2
gemfile: gemfiles/rails_4_2.gemfile
- ruby: 3.2
gemfile: gemfiles/rails_5_0.gemfile
- ruby: 3.2
gemfile: gemfiles/rails_5_1.gemfile
- ruby: 3.2
gemfile: gemfiles/rails_5_2.gemfile
- ruby: 3.2
gemfile: gemfiles/rails_6_0.gemfile

services:
mysql:
image: mysql:8
env:
MYSQL_ALLOW_EMPTY_PASSWORD: yes
ports:
- 3306:3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
postgresql:
image: postgres:14
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
ports:
- 5432:5432
options: --health-cmd=pg_isready --health-interval=10s --health-timeout=5s --health-retries=3

runs-on: ubuntu-latest
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
steps:
- uses: actions/checkout@v3
- name: Setup Bundler 1.x for Rails 4.x
if: ${{ matrix.gemfile == 'gemfiles/rails_4_2.gemfile' || matrix.gemfile == 'gemfiles/rails_4_2_mongoid_5.gemfile' }}
run: echo "BUNDLER_VERSION=1.17.3" >> $GITHUB_ENV
- name: Setup SQLite
run: sudo apt-get install libsqlite3-dev
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
bundler: ${{ env.BUNDLER_VERSION || 'latest' }}
- uses: supercharge/[email protected]
if: ${{ matrix.devise-token-auth-orm == 'mongoid' }}
- name: Setup Database
run: |
bundle exec rake db:create
bundle exec rake --trace db:migrate
env:
RAILS_ENV: test
DB: ${{ matrix.db }}
DEVISE_TOKEN_AUTH_ORM: ${{ matrix.devise-token-auth-orm }}
if: ${{ matrix.devise-token-auth-orm == 'active_record' }}
- run: bundle exec rake
env:
RAILS_ENV: test
DB: ${{ matrix.db }}
DEVISE_TOKEN_AUTH_ORM: ${{ matrix.devise-token-auth-orm }}
99 changes: 0 additions & 99 deletions .travis.yml

This file was deleted.

4 changes: 3 additions & 1 deletion Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ end
{ name: '5-2', ruby: '2.5.5', rails: '5.2', mongoid: '6.4' },
{ name: '5-2', ruby: '2.5.5', rails: '5.2', mongoid: '7.0' },
{ name: '5-2', ruby: '2.6.2', rails: '5.2', mongoid: '7.0' },
{ name: '6-0', ruby: '2.7.0', rails: '6.0', mongoid: '7.0' }
{ name: '6-0', ruby: '2.7.0', rails: '6.0', mongoid: '7.0' },
{ name: '6-0', ruby: '3.1.2', rails: '6.0', mongoid: '7.0' },
{ name: '7-0', ruby: '3.1.2', rails: '7.0', mongoid: '7.0' }
].each do |set|
appraise "rails-#{set[:name]}-mongoid-#{set[:mongoid][0]}" do
gem 'rails', "~> #{set[:rails]}"
Expand Down
Loading