Ryan Wang
80a3fa803f
chore: bump uppy version to fix crash on chrome browser ( #3481 )
...
#### What type of PR is this?
/kind bug
#### What this PR does / why we need it:
修复在非安全情况下(非 HTTPS 环境或本地环境),在 [Chromium](https://www.chromium.org/ ) 内核的浏览器下拖拽文件上传出现浏览器崩溃的问题。
修复来源:
- https://github.com/transloadit/uppy/releases/tag/uppy%403.6.0
- https://github.com/transloadit/uppy/pull/4310
#### Which issue(s) this PR fixes:
Fixes https://github.com/halo-dev/halo/issues/3017
#### Screenshots:
before:

after:

#### Special notes for your reviewer:
测试方式:
1. 需要先执行 `make -C console install` 以更新 Console 的依赖。
2. 使用非 localhost 或者 127.0.0.1 访问 Halo 后台,本地环境可以使用 192.168.x.x 访问。
3. 在 Console 的附件管理测试拖拽文件上传,观察浏览器是否崩溃。
#### Does this PR introduce a user-facing change?
```release-note
修复非 HTTPS 环境下,在 Chromium 内核浏览器拖拽上传文件时出现浏览器崩溃的问题。
```
2023-03-08 09:30:13 +00:00
wzrove
6ace36289b
fix: the issue of blank content when opening a saved post in StackEdit editor plugin for editing ( #3468 )
...
#### What type of PR is this?
/kind bug
#### What this PR does / why we need it:
在编辑器初始化前赋值,可以保证缓存的历史数据附在StackEdit的url上。
#### Which issue(s) this PR fixes:
Fixes (https://github.com/halo-dev/halo/issues/3105 )
#### Screenshots:

#### Special notes for your reviewer:
+ 新建文章,切换为 StackEdit 编辑器
+ 输入一些内容保存/发布文章
+ 回到文章列表,重新点进刚才的文章
+ 重复步骤3,输入的内容还在
#### Does this PR introduce a user-facing change?
```release-note
修复 Console 端在使用三方编辑器插件编辑文章时可能出现无法加载内容的问题。
```
2023-03-08 02:50:11 +00:00
Ryan Wang
bc186a4225
chore: solving the issue of generating API client causing unnecessary diffs ( #3465 )
...
#### What type of PR is this?
/kind improvement
#### What this PR does / why we need it:
为 springdoc 添加 `writer-with-order-by-keys` 参数以固定 OpenAPI 中接口的参数顺序,防止重新生成 `api-client` 时因为参数顺序不同而造成不必要的 diff。
#### Special notes for your reviewer:
测试方式:
1. 反复执行 `make -C console api-client-gen`
2. 观察是否有产生 diff
#### Does this PR introduce a user-facing change?
```release-note
None
```
2023-03-07 14:14:14 +00:00
John Niang
c43a81058a
Refactor workflow for new console project ( #3445 )
...
Signed-off-by: johnniang <johnniang@fastmail.com>
2023-03-02 18:07:23 +08:00
johnniang
64919f9a1b
Move root to console
...
Signed-off-by: johnniang <johnniang@fastmail.com>
2023-03-02 15:49:22 +08:00