Skip to content

Commit 564b4d5

Browse files
committed
Merge remote-tracking branch 'upstream/master' into feature/replace_passlib_by_pwdlib
2 parents 730c04e + 8a584ca commit 564b4d5

File tree

13 files changed

+347
-543
lines changed

13 files changed

+347
-543
lines changed

.github/workflows/generate-client.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ jobs:
2020
with:
2121
ref: ${{ github.head_ref }}
2222
token: ${{ secrets.FULL_STACK_FASTAPI_TEMPLATE_REPO_TOKEN }}
23-
- uses: actions/setup-node@v5
23+
- uses: actions/setup-node@v6
2424
with:
2525
node-version: lts/*
2626
- uses: actions/setup-python@v6
2727
with:
2828
python-version: "3.10"
2929
- name: Install uv
30-
uses: astral-sh/setup-uv@v6
30+
uses: astral-sh/setup-uv@v7
3131
with:
3232
version: "0.4.15"
3333
enable-cache: true

.github/workflows/issue-manager.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,11 @@ jobs:
3838
},
3939
"waiting": {
4040
"delay": 2628000,
41-
"message": "As this PR has been waiting for the original user for a while but seems to be inactive, it's now going to be closed. But if there's anyone interested, feel free to create a new PR."
41+
"message": "As this PR has been waiting for the original user for a while but seems to be inactive, it's now going to be closed. But if there's anyone interested, feel free to create a new PR.",
42+
"reminder": {
43+
"before": "P3D",
44+
"message": "Heads-up: this will be closed in 3 days unless there's new activity."
45+
}
4246
},
4347
"invalid": {
4448
"delay": 0,

.github/workflows/lint-backend.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
with:
2121
python-version: "3.10"
2222
- name: Install uv
23-
uses: astral-sh/setup-uv@v6
23+
uses: astral-sh/setup-uv@v7
2424
with:
2525
version: "0.4.15"
2626
enable-cache: true

.github/workflows/playwright.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
fail-fast: false
4949
steps:
5050
- uses: actions/checkout@v5
51-
- uses: actions/setup-node@v5
51+
- uses: actions/setup-node@v6
5252
with:
5353
node-version: lts/*
5454
- uses: actions/setup-python@v6
@@ -60,7 +60,7 @@ jobs:
6060
with:
6161
limit-access-to-actor: true
6262
- name: Install uv
63-
uses: astral-sh/setup-uv@v6
63+
uses: astral-sh/setup-uv@v7
6464
with:
6565
version: "0.4.15"
6666
enable-cache: true
@@ -78,7 +78,7 @@ jobs:
7878
- run: docker compose down -v --remove-orphans
7979
- name: Upload blob report to GitHub Actions Artifacts
8080
if: ${{ !cancelled() }}
81-
uses: actions/upload-artifact@v4
81+
uses: actions/upload-artifact@v5
8282
with:
8383
name: blob-report-${{ matrix.shardIndex }}
8484
path: frontend/blob-report
@@ -94,14 +94,14 @@ jobs:
9494
runs-on: ubuntu-latest
9595
steps:
9696
- uses: actions/checkout@v5
97-
- uses: actions/setup-node@v5
97+
- uses: actions/setup-node@v6
9898
with:
9999
node-version: 20
100100
- name: Install dependencies
101101
run: npm ci
102102
working-directory: frontend
103103
- name: Download blob reports from GitHub Actions Artifacts
104-
uses: actions/download-artifact@v5
104+
uses: actions/download-artifact@v6
105105
with:
106106
path: frontend/all-blob-reports
107107
pattern: blob-report-*
@@ -110,7 +110,7 @@ jobs:
110110
run: npx playwright merge-reports --reporter html ./all-blob-reports
111111
working-directory: frontend
112112
- name: Upload HTML report
113-
uses: actions/upload-artifact@v4
113+
uses: actions/upload-artifact@v5
114114
with:
115115
name: html-report--attempt-${{ github.run_attempt }}
116116
path: frontend/playwright-report

.github/workflows/smokeshow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
with:
2020
python-version: "3.10"
2121
- run: pip install smokeshow
22-
- uses: actions/download-artifact@v5
22+
- uses: actions/download-artifact@v6
2323
with:
2424
name: coverage-html
2525
path: backend/htmlcov

.github/workflows/test-backend.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
with:
2121
python-version: "3.10"
2222
- name: Install uv
23-
uses: astral-sh/setup-uv@v6
23+
uses: astral-sh/setup-uv@v7
2424
with:
2525
version: "0.4.15"
2626
enable-cache: true
@@ -34,7 +34,7 @@ jobs:
3434
working-directory: backend
3535
- run: docker compose down -v --remove-orphans
3636
- name: Store coverage files
37-
uses: actions/upload-artifact@v4
37+
uses: actions/upload-artifact@v5
3838
with:
3939
name: coverage-html
4040
path: backend/htmlcov

backend/app/models.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ class UserBase(SQLModel):
1414

1515
# Properties to receive via API on creation
1616
class UserCreate(UserBase):
17-
password: str = Field(min_length=8, max_length=40)
17+
password: str = Field(min_length=8, max_length=128)
1818

1919

2020
class UserRegister(SQLModel):
2121
email: EmailStr = Field(max_length=255)
22-
password: str = Field(min_length=8, max_length=40)
22+
password: str = Field(min_length=8, max_length=128)
2323
full_name: str | None = Field(default=None, max_length=255)
2424

2525

2626
# Properties to receive via API on update, all are optional
2727
class UserUpdate(UserBase):
2828
email: EmailStr | None = Field(default=None, max_length=255) # type: ignore
29-
password: str | None = Field(default=None, min_length=8, max_length=40)
29+
password: str | None = Field(default=None, min_length=8, max_length=128)
3030

3131

3232
class UserUpdateMe(SQLModel):
@@ -35,8 +35,8 @@ class UserUpdateMe(SQLModel):
3535

3636

3737
class UpdatePassword(SQLModel):
38-
current_password: str = Field(min_length=8, max_length=40)
39-
new_password: str = Field(min_length=8, max_length=40)
38+
current_password: str = Field(min_length=8, max_length=128)
39+
new_password: str = Field(min_length=8, max_length=128)
4040

4141

4242
# Database model, database table inferred from class name
@@ -110,4 +110,4 @@ class TokenPayload(SQLModel):
110110

111111
class NewPassword(SQLModel):
112112
token: str
113-
new_password: str = Field(min_length=8, max_length=40)
113+
new_password: str = Field(min_length=8, max_length=128)

0 commit comments

Comments
 (0)