Skip to content

Tags: scto/halo

Tags

v2.20.10

Toggle v2.20.10's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: add packageManager for corepack (halo-dev#7081)

#### What type of PR is this?

/area ui
/kind improvement

#### What this PR does / why we need it:

为 UI 项目添加 packageManager 字段,以支持 [corepack](https://nodejs.org/api/corepack.html)。

#### Which issue(s) this PR fixes:

Fixes halo-dev#6635

#### Special notes for your reviewer:

#### Does this PR introduce a user-facing change?

```release-note
为 UI 项目添加 packageManager 字段,以支持 [corepack](https://nodejs.org/api/corepack.html)。
```

v2.20.9

Toggle v2.20.9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: bump preset plugins version (halo-dev#7024)

Signed-off-by: Ryan Wang <[email protected]>

v2.20.8

Toggle v2.20.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
refactor: hide essential notifications to prevent accidental disabling (

halo-dev#6972)

#### What type of PR is this?
/kind improvement
/area core
/milestone 2.20.x

#### What this PR does / why we need it:
隐藏关键通知项设置以避免用户意外禁用而无法收到通知

#### Which issue(s) this PR fixes:
Fixes halo-dev#6967

#### Does this PR introduce a user-facing change?
```release-note
隐藏关键通知项设置以避免用户意外禁用而无法收到通知

```

v2.20.7

Toggle v2.20.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: leading zeroes incorrect for index key comparator (halo-dev#6934)

#### What type of PR is this?
/kind bug
/area core
/milestone 2.20.x

#### What this PR does / why we need it:
修复索引比较会因为全是 0 的字符串与其他字符串可能相等的问题

原因是遇到了全是 0 的字符串会因为跳过前导 0 的逻辑导致全部忽略了

#### Does this PR introduce a user-facing change?
```release-note
None
```

v2.20.6

Toggle v2.20.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: path match rules for grouped OpenAPI (halo-dev#6898)

#### What type of PR is this?
/kind improvement
/area core
/milestone 2.20.x

#### What this PR does / why we need it:
修正 OpenAPI 的分组匹配规则 之前有很多 PublicAPIs 没有出现在对应的组

#### Does this PR introduce a user-facing change?
```release-note
None
```

v2.20.5

Toggle v2.20.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: modify name column charset to make it case-sensitive for MySQL (h…

…alo-dev#6897)

#### What type of PR is this?
/kind improvement
/area core
/milestone 2.20.x

#### What this PR does / why we need it:
将 MySQL 的表创建脚本 name 列字符集改为 utf8mb4_bin 以使其对大小写敏感

Fixes halo-dev#4372

**how to test it?**
使用 docker 运行 MySQL
```shell
# mariadb 同样将镜像改为 mariadb 后执行相同步骤
docker run --name mysql-test -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=halo -p 3306:3306 --rm -d mysql:latest
```
然后执行表创建脚本并手动执行以下两条 SQL 能成功插入
```sql
insert into extensions(name,data,version) values('a', 'a', 0)
insert into extensions(name,data,version) values('A', 'A', 0)
```

#### Does this PR introduce a user-facing change?
```release-note
修改 MySQL 表创建脚本 name 列的字符集使其大小写敏感以解决可能会遇到切换数据库时因为数据冲突而无法导入备份的问题(这只对此版本及之后的新用户有效)
```

v2.20.4

Toggle v2.20.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: prevent initialization failure when theme directory already exis…

…ts (halo-dev#6889)

#### What type of PR is this?
/kind bug
/area core
/milestone 2.20.x

#### What this PR does / why we need it:
修复从旧版本升级到 2.20 会因为默认主题目录已经存在而无法初始化的问题

#### Which issue(s) this PR fixes:
Fixes halo-dev#6887

#### Does this PR introduce a user-facing change?
```release-note
修复从旧版本升级到 2.20 会因为默认主题目录已经存在而无法初始化的问题
```

v2.20.3

Toggle v2.20.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix the problem of not being able to create PAT for OAuth2 user (halo…

…-dev#6870)

#### What type of PR is this?

/kind bug
/area core
/milestone 2.20.x

#### What this PR does / why we need it:

This PR refactors check of whether the current user is a real user to fix the problem of not being able to create PAT for OAuth2 user.

#### Does this PR introduce a user-facing change?

```release-note
修复通过 OAuth2 登录之后无法正常创建和恢复个人令牌的问题
```

v2.20.2

Toggle v2.20.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: preventing access to login page after Halo setup (halo-dev#6865)

#### What type of PR is this?
/kind bug
/area core
/milestone 2.20.x

#### What this PR does / why we need it:
修复初始化 Halo 之后无法进入登录页面的问题

此问题原因是更改了 AuthProvider 的逻辑,当系统启动之后缺少默认的登录方式导致登录页面无法正确渲染
此 PR 将确保默认的登录方式始终存在来解决此问题

how to test it?
重新初始化 Halo 之后能正确渲染登录页面并登录即为符合预期

#### Does this PR introduce a user-facing change?
```release-note
修复初始化 Halo 之后无法进入登录页面的问题
```

v2.20.1

Toggle v2.20.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix the problem of redirecting to previous URI with fragment after au…

…thenticated (halo-dev#6862)

#### What type of PR is this?

/kind bug
/area core
/milestone 2.20.x

#### What this PR does / why we need it:

This PR ignores URI fragment while removing redirect URI. Before that, users may be redirected to previous redirect URI that contains fragment.

#### Does this PR introduce a user-facing change?

```release-note
修复二次登录后重定向跳转至旧地址的问题
```