[go: up one dir, main page]

Skip to content

Tags: biliww/halo

Tags

v2.18.0

Toggle v2.18.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: add file size and type restriction for local file uploads (halo…

…-dev#6390)

#### What type of PR is this?
/kind feature
/area core

#### What this PR does / why we need it:
本次 PR 为本地附件存储策略增加了对上传单文件大小和文件类型限制的功能,具体包括:

1. 单文件大小限制:
实现了对单个文件上传大小的验证功能,确保上传文件不超过设定的最大值。
2. 文件类型限制:
添加了文件类型限制功能,使用 Apache Tika 读取上传文件的 magic numbers 得到文件 mime type 并根据用户配置来决定是否允许上传

参考链接:
- [List of file signatures](https://en.wikipedia.org/wiki/List_of_file_signatures)
- [File Magic Numbers: The Easy way to Identify File Extensions](https://library.mosse-institute.com/articles/2022/04/file-magic-numbers-the-easy-way-to-identify-file-extensions/file-magic-numbers-the-easy-way-to-identify-file-extensions.html)

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

#### Does this PR introduce a user-facing change?
```release-note
为本地附件存储策略增加了对上传单文件大小和文件类型限制的功能
```

v2.18.0-rc.1

Toggle v2.18.0-rc.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: remove unused code in system-setting.yaml (halo-dev#6411)

#### What type of PR is this?

/kind cleanup
/area core

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

移除在 halo-dev#6403 中误推送的代码。

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


```release-note
None
```

v2.17.2

Toggle v2.17.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[release-2.17] Fix the problem where automatic login using remember-m…

…e token could fail (halo-dev#6330)

Signed-off-by: JohnNiang <johnniang@foxmail.com>
Co-authored-by: JohnNiang <johnniang@foxmail.com>

v2.17.1

Toggle v2.17.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[release-2.17] fix: bubble menu not appearing when crossing lines in …

…editor (halo-dev#6283)

This is an automated cherry-pick of halo-dev#6268

/assign ruibaby

```release-note
修复默认编辑器中跨行选择节点时冒泡菜单无法出现的问题
```

v2.17.0

Toggle v2.17.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: tag and category add save and continue button (halo-dev#6223)

#### What type of PR is this?

/kind feature

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

文章分类和标签 Modal 添加 ”保存并继续添加” 按钮,便于连续添加。

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

Fixes halo-dev#6127

#### Special notes for your reviewer:

![image](https://github.com/halo-dev/halo/assets/111493458/4debe13e-4002-48a8-827b-58cb74b4b074)


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

```release-note
文章分类和标签页添加 "保存并继续添加" 按钮。
```

v2.17.0-rc.1

Toggle v2.17.0-rc.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: handle plugin entry file loading when cache temp directory is cl…

…eared (halo-dev#6238)

#### What type of PR is this?
/kind bug
/area plugin
/milestone 2.17.x

#### What this PR does / why we need it:
修复当插件入口文件的缓存目录被系统清理后会导致一直无法加载的问题

原问题复现步骤:
1. 登录后刷新页面,此时缓存目录被创建
2. 删除缓存目录后就会提示文件不存在然后导致插件入口文件一致无法加载直到重启 Halo

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

#### Does this PR introduce a user-facing change?
```release-note
修复当插件入口文件的缓存目录被系统清理后会导致一直无法加载的问题
```

v2.17.0-beta.1

Toggle v2.17.0-beta.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix the problem of fetching old value from plugin setting fetcher (ha…

…lo-dev#6216)

#### What type of PR is this?

/kind bug
/area core
/area plugin
/milestone 2.17.x

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

This PR  makes sure the method `cache#put` is called before the event is published to avoid the event listener to fetch the old value from the cache.

The problem was introduced by <halo-dev#6141>.

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

Fixes halo-dev#6213 

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

```release-note
修复在插件配置变更监听器中始终获取到旧数据的问题
```

v2.17.0-alpha.2

Toggle v2.17.0-alpha.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
refactor: optimize the extension watch parameters to always be of rea…

…l type (halo-dev#6180)

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

#### What this PR does / why we need it:
优化触发 Extension Watch 方法(onAdd/onUpdate/onDelete)时的参数始终为真实类型避免使用时进行类型转换

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

v2.17.0-alpha.1

Toggle v2.17.0-alpha.1'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 autowire settingFetcher bean in …

…plugin (halo-dev#6156)

#### What type of PR is this?

/kind bug
/area core
/area plugin

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

The problem was introduced by PR <halo-dev#6141>. That PR wrongly registered `settingFetcher` singleton bean.

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

<img width="1920" alt="image" src="https://github.com/halo-dev/halo/assets/16865714/ecc67064-3506-49b8-8114-a145da549126">

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

```release-note
None
```

v2.16.3

Toggle v2.16.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[release-2.16] Fix the problem that bundle files are not changed in d…

…evelopment mode (halo-dev#6077)

This is an automated cherry-pick of halo-dev#6073

/assign guqing

```release-note
None
```