Tags: rookiefly/halo
Tags
Fix the problem that bundle files can be generated arbitrarily (halo-… …dev#6028) #### What type of PR is this? /kind bug /area core /area plugin /milestone 2.16.0 #### What this PR does / why we need it: Before the PR, any user can generate bundle files by providing random query param `v` while requesting bundle files. This PR refactors the whole bundle file generation method. 1. Do nothing if users provide arbitrary bundle file version 2. Better lock for writing bundle files if not exist #### Special notes for your reviewer: 1. Request `http://localhost:8090/apis/api.console.halo.run/v1alpha1/plugins/-/bundle.js?v=xyz` 2. Check if the file `xyz.js` in folder `$TMPDIR/halo-plugin-bundle**` #### Does this PR introduce a user-facing change? ```release-note None ```
chore: remove unnecessary env (halo-dev#6022) #### What type of PR is this? /area ui /kind cleanup /milestone 2.16.x #### What this PR does / why we need it: 移除 UI 项目中不必要的环境变量配置。 1. VITE_API_URL:当前 Console 不会考虑独立部署,并且在开发环境是后端 Proxy 的 Console 请求,所以此变量没有任何意义。 2. VITE_BASE_URL:无意义,当前不考虑修改。 #### Does this PR introduce a user-facing change? ```release-note None ```
refactor: typing component template refs for VModal (halo-dev#5994) #### What type of PR is this? /area ui /kind improvement /milestone 2.16.x #### What this PR does / why we need it: 为 VModal 组件的引用添加类型。 See https://vuejs.org/guide/typescript/composition-api.html#typing-component-template-refs #### Does this PR introduce a user-facing change? ```release-note None ```
[release-2.15] Fix the problem of not being able to initialize preset… … plugins (halo-dev#5883) This is an automated cherry-pick of halo-dev#5874 /assign JohnNiang ```release-note 解决初始化时无法正常启用插件的问题 ```
[release-2.15] Fix the problem that some plugins could not be used af… …ter upgrading dependent plugin (halo-dev#5865) This is an automated cherry-pick of halo-dev#5855 /assign ruibaby ```release-note 修复因升级应用市场插件导致部分插件意外停止的问题 ```
fix: show plugin error message (halo-dev#5838) #### What type of PR is this? /area ui /kind bug /milestone 2.15.0 #### What this PR does / why we need it: 修复插件异常启动时,指示器显示不正确的问题。 Fixes halo-dev#5520 #### Does this PR introduce a user-facing change? ```release-note None ```
fix: excel tables copied into editor become images (halo-dev#5793) #### What type of PR is this? /kind bug /area ui /area editor #### What this PR does / why we need it: 在进行图片上传的前置处理中,将剪切板属性中的 `text/plain` 类型与 `text/html` 类型进行过滤,用于解决将 Excel 表格粘贴至默认编辑器时,会导致其变为了图片而不是表格。 #### How to test it? 从 Excel 中复制一个表格,在默认编辑器中使用粘贴,查看其是否成功粘贴为表格而不是图片。 #### Which issue(s) this PR fixes: Fixes halo-dev#5761 #### Does this PR introduce a user-facing change? ```release-note 解决 Excel 表格粘贴至默认编辑器后会变为图片的问题。 ```
[release-2.14] fix: layout height triggers page background color not … …fully filling scroll area (halo-dev#5775) Co-authored-by: aero <44799877+AeroWang@users.noreply.github.com>
refactor: hide the custom annotations form by defaults (halo-dev#5595) #### What type of PR is this? /area ui /kind improvement /milestone 2.14.x #### What this PR does / why we need it: 默认隐藏自定义元数据表单,通常这不会让用户自行修改,默认显示反而会给使用者造成心智负担。 <img width="807" alt="image" src="https://github.com/halo-dev/halo/assets/21301288/f80813e2-00c8-483e-bb16-fe4671c5450e"> #### Which issue(s) this PR fixes: Fixes halo-dev#5439 #### Does this PR introduce a user-facing change? ```release-note 默认隐藏文章设置等界面的自定义元数据表单。 ```
refactor: reduce the number of failures due to conflict post update (h… …alo-dev#5604) #### What type of PR is this? /kind improvement /area core /milestone 2.14.x #### What this PR does / why we need it: 减少文章更新因版本号冲突而失败的次数 #### Which issue(s) this PR fixes: Fixes halo-dev#5579 #### Does this PR introduce a user-facing change? ```release-note None ```