Commit Graph

298 Commits (73676ee815f3bbc8c22b6241625c70bd22c512d1)

Author SHA1 Message Date
Ryan Wang b9a8f5055c refactor: method parameters of api client (halo-dev/console#605)
<!--  Thanks for sending a pull request!  Here are some tips for you:
1. 如果这是你的第一次,请阅读我们的贡献指南:<https://github.com/halo-dev/halo/blob/master/CONTRIBUTING.md>。
1. If this is your first time, please read our contributor guidelines: <https://github.com/halo-dev/halo/blob/master/CONTRIBUTING.md>.
2. 请根据你解决问题的类型为 Pull Request 添加合适的标签。
2. Please label this pull request according to what type of issue you are addressing, especially if this is a release targeted pull request.
3. 请确保你已经添加并运行了适当的测试。
3. Ensure you have added or ran the appropriate tests for your PR.
-->

#### What type of PR is this?

/kind improvement
/milestone 2.0

<!--
添加其中一个类别:
Add one of the following kinds:

/kind bug
/kind cleanup
/kind documentation
/kind feature
/kind optimization

适当添加其中一个或多个类别(可选):
Optionally add one or more of the following kinds if applicable:

/kind api-change
/kind deprecation
/kind failing-test
/kind flake
/kind regression
-->

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

修改 api-client 的请求参数结构,改为所有参数由一个对象包裹,而不是将各个参数作为方法的参数,防止因为后端参数结构发生改变,或者生成 api-client 时参数顺序发生改变导致请求异常。如:

```diff
await apiClient.extension.storage.group.updatestorageHaloRunV1alpha1Group(
-        formState.value.metadata.name,
-        formState.value
+        {
+          name: formState.value.metadata.name,
+          group: formState.value,
+        }
      );
```

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

<!--
PR 合并时自动关闭 issue。
Automatically closes linked issue when PR is merged.

用法:`Fixes #<issue 号>`,或者 `Fixes (粘贴 issue 完整链接)`
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->
None

#### Screenshots:

<!--
如果此 PR 有 UI 的改动,最好截图说明这个 PR 的改动。
If there are UI changes to this PR, it is best to take a screenshot to illustrate the changes to this PR.

eg.

Before:

![screenshot-before](https://user-images.githubusercontent.com/screenshot.png)

After:

![screenshot-after](https://user-images.githubusercontent.com/screenshot.png)
-->

None

#### Special notes for your reviewer:

/cc @halo-dev/sig-halo-admin 

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

<!--
如果当前 Pull Request 的修改不会造成用户侧的任何变更,在 `release-note` 代码块儿中填写 `NONE`。
否则请填写用户侧能够理解的 Release Note。如果当前 Pull Request 包含破坏性更新(Break Change),
Release Note 需要以 `action required` 开头。
If no, just write "NONE" in the release-note block below.
If yes, a release note is required:
Enter your extended release note in the block below. If the PR requires additional action from users switching to the new release, include the string "action required".
-->

```release-note
None
```
2022-09-06 02:26:11 +00:00
Ryan Wang 3af96040e6 feat: add attachment management support (halo-dev/console#600)
<!--  Thanks for sending a pull request!  Here are some tips for you:
1. 如果这是你的第一次,请阅读我们的贡献指南:<https://github.com/halo-dev/halo/blob/master/CONTRIBUTING.md>。
1. If this is your first time, please read our contributor guidelines: <https://github.com/halo-dev/halo/blob/master/CONTRIBUTING.md>.
2. 请根据你解决问题的类型为 Pull Request 添加合适的标签。
2. Please label this pull request according to what type of issue you are addressing, especially if this is a release targeted pull request.
3. 请确保你已经添加并运行了适当的测试。
3. Ensure you have added or ran the appropriate tests for your PR.
-->

#### What type of PR is this?

/kind feature
/milestone 2.0

<!--
添加其中一个类别:
Add one of the following kinds:

/kind bug
/kind cleanup
/kind documentation
/kind feature
/kind optimization

适当添加其中一个或多个类别(可选):
Optionally add one or more of the following kinds if applicable:

/kind api-change
/kind deprecation
/kind failing-test
/kind flake
/kind regression
-->

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

增加附件管理的功能,适配 https://github.com/halo-dev/halo/pull/2354

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

Fixes https://github.com/halo-dev/halo/issues/2330

<!--
PR 合并时自动关闭 issue。
Automatically closes linked issue when PR is merged.

用法:`Fixes #<issue 号>`,或者 `Fixes (粘贴 issue 完整链接)`
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->

#### Screenshots:

None

<!--
如果此 PR 有 UI 的改动,最好截图说明这个 PR 的改动。
If there are UI changes to this PR, it is best to take a screenshot to illustrate the changes to this PR.

eg.

Before:

![screenshot-before](https://user-images.githubusercontent.com/screenshot.png)

After:

![screenshot-after](https://user-images.githubusercontent.com/screenshot.png)
-->

#### Special notes for your reviewer:

todo list:

- [x] 根据分组筛选附件列表。
- [x] 非图片文件支持显示占位图。
- [x] 完善选择附件组件。
- [ ] ~~附件引用关系查询。~~

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

<!--
如果当前 Pull Request 的修改不会造成用户侧的任何变更,在 `release-note` 代码块儿中填写 `NONE`。
否则请填写用户侧能够理解的 Release Note。如果当前 Pull Request 包含破坏性更新(Break Change),
Release Note 需要以 `action required` 开头。
If no, just write "NONE" in the release-note block below.
If yes, a release note is required:
Enter your extended release note in the block below. If the PR requires additional action from users switching to the new release, include the string "action required".
-->

```release-note
None
```
2022-09-04 17:06:11 +00:00
Ryan Wang 525b440b8a refactor: post editor creation
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-08-24 15:29:21 +08:00
Ryan Wang d05bc77d43 perf: set post editor auto-height style
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-08-24 11:26:32 +08:00
Ryan Wang ee10f49678 feat: post basic management capability (halo-dev/console#599)
<!--  Thanks for sending a pull request!  Here are some tips for you:
1. 如果这是你的第一次,请阅读我们的贡献指南:<https://github.com/halo-dev/halo/blob/master/CONTRIBUTING.md>。
1. If this is your first time, please read our contributor guidelines: <https://github.com/halo-dev/halo/blob/master/CONTRIBUTING.md>.
2. 请根据你解决问题的类型为 Pull Request 添加合适的标签。
2. Please label this pull request according to what type of issue you are addressing, especially if this is a release targeted pull request.
3. 请确保你已经添加并运行了适当的测试。
3. Ensure you have added or ran the appropriate tests for your PR.
-->

#### What type of PR is this?

/kind feature
/milestone 2.0

<!--
添加其中一个类别:
Add one of the following kinds:

/kind bug
/kind cleanup
/kind documentation
/kind feature
/kind optimization

适当添加其中一个或多个类别(可选):
Optionally add one or more of the following kinds if applicable:

/kind api-change
/kind deprecation
/kind failing-test
/kind flake
/kind regression
-->

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

文章管理相关模块。适配 https://github.com/halo-dev/halo/pull/2326

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

<!--
PR 合并时自动关闭 issue。
Automatically closes linked issue when PR is merged.

用法:`Fixes #<issue 号>`,或者 `Fixes (粘贴 issue 完整链接)`
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->
Fixes https://github.com/halo-dev/halo/issues/2322

#### Screenshots:

// pending

<!--
如果此 PR 有 UI 的改动,最好截图说明这个 PR 的改动。
If there are UI changes to this PR, it is best to take a screenshot to illustrate the changes to this PR.

eg.

Before:

![screenshot-before](https://user-images.githubusercontent.com/screenshot.png)

After:

![screenshot-after](https://user-images.githubusercontent.com/screenshot.png)
-->

#### Special notes for your reviewer:

// pending

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

<!--
如果当前 Pull Request 的修改不会造成用户侧的任何变更,在 `release-note` 代码块儿中填写 `NONE`。
否则请填写用户侧能够理解的 Release Note。如果当前 Pull Request 包含破坏性更新(Break Change),
Release Note 需要以 `action required` 开头。
If no, just write "NONE" in the release-note block below.
If yes, a release note is required:
Enter your extended release note in the block below. If the PR requires additional action from users switching to the new release, include the string "action required".
-->

```release-note
None
```
2022-08-23 04:08:10 +00:00
Ryan Wang 587372844d chore: bump dependencies
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-08-23 11:10:29 +08:00
Ryan Wang e7d81d4ec8 chore: bump @halo-dev/richtext-editor version
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-08-15 15:11:05 +08:00
Ryan Wang f661a6767e chore: bump @halo-dev/richtext-editor version
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-08-13 11:37:07 +08:00
Ryan Wang 9fef47f291 feat: menus management (halo-dev/console#595)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-08-12 16:20:21 +08:00
Ryan Wang c456dda92f feat: add theme uninstall support (halo-dev/console#596)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-08-12 10:51:22 +08:00
Ryan Wang 524639b260 chore: add @halo-dev/richtext-editor
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-08-11 18:57:34 +08:00
Ryan Wang ee4ae8e307 feat: add theme install support (halo-dev/console#594)
Signed-off-by: Ryan Wang <i@ryanc.cc>

<!--  Thanks for sending a pull request!  Here are some tips for you:
1. 如果这是你的第一次,请阅读我们的贡献指南:<https://github.com/halo-dev/halo/blob/master/CONTRIBUTING.md>。
1. If this is your first time, please read our contributor guidelines: <https://github.com/halo-dev/halo/blob/master/CONTRIBUTING.md>.
2. 请根据你解决问题的类型为 Pull Request 添加合适的标签。
2. Please label this pull request according to what type of issue you are addressing, especially if this is a release targeted pull request.
3. 请确保你已经添加并运行了适当的测试。
3. Ensure you have added or ran the appropriate tests for your PR.
-->

#### What type of PR is this?

/kind feature
/milestone 2.0

<!--
添加其中一个类别:
Add one of the following kinds:

/kind bug
/kind cleanup
/kind documentation
/kind feature
/kind optimization

适当添加其中一个或多个类别(可选):
Optionally add one or more of the following kinds if applicable:

/kind api-change
/kind deprecation
/kind failing-test
/kind flake
/kind regression
-->

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

新增主题上传支持,适配 https://github.com/halo-dev/halo/pull/2302

/hold until https://github.com/halo-dev/halo/pull/2302 merge

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

<!--
PR 合并时自动关闭 issue。
Automatically closes linked issue when PR is merged.

用法:`Fixes #<issue 号>`,或者 `Fixes (粘贴 issue 完整链接)`
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->
Fixes halo-dev/halo#2291

#### Screenshots:

<img width="1920" alt="image" src="https://user-images.githubusercontent.com/21301288/182769346-4445639c-dd82-496c-9a1b-e241098fb272.png">


<!--
如果此 PR 有 UI 的改动,最好截图说明这个 PR 的改动。
If there are UI changes to this PR, it is best to take a screenshot to illustrate the changes to this PR.

eg.

Before:

![screenshot-before](https://user-images.githubusercontent.com/screenshot.png)

After:

![screenshot-after](https://user-images.githubusercontent.com/screenshot.png)
-->

#### Special notes for your reviewer:

/cc @halo-dev/sig-halo-admin 

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

<!--
如果当前 Pull Request 的修改不会造成用户侧的任何变更,在 `release-note` 代码块儿中填写 `NONE`。
否则请填写用户侧能够理解的 Release Note。如果当前 Pull Request 包含破坏性更新(Break Change),
Release Note 需要以 `action required` 开头。
If no, just write "NONE" in the release-note block below.
If yes, a release note is required:
Enter your extended release note in the block below. If the PR requires additional action from users switching to the new release, include the string "action required".
-->

```release-note
None
```
2022-08-08 10:30:17 +00:00
Ryan Wang cbcb2c8027 chore: bump vite version to 3.0
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-08-07 23:54:54 +08:00
Ryan Wang c55449c858 feat: add theme settings support (halo-dev/console#593)
Signed-off-by: Ryan Wang <i@ryanc.cc>

<!--  Thanks for sending a pull request!  Here are some tips for you:
1. 如果这是你的第一次,请阅读我们的贡献指南:<https://github.com/halo-dev/halo/blob/master/CONTRIBUTING.md>。
1. If this is your first time, please read our contributor guidelines: <https://github.com/halo-dev/halo/blob/master/CONTRIBUTING.md>.
2. 请根据你解决问题的类型为 Pull Request 添加合适的标签。
2. Please label this pull request according to what type of issue you are addressing, especially if this is a release targeted pull request.
3. 请确保你已经添加并运行了适当的测试。
3. Ensure you have added or ran the appropriate tests for your PR.
-->

#### What type of PR is this?

/kind feature
/milestone 2.0

<!--
添加其中一个类别:
Add one of the following kinds:

/kind bug
/kind cleanup
/kind documentation
/kind feature
/kind optimization

适当添加其中一个或多个类别(可选):
Optionally add one or more of the following kinds if applicable:

/kind api-change
/kind deprecation
/kind failing-test
/kind flake
/kind regression
-->

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

为主题添加设置表单支持,适配 https://github.com/halo-dev/halo/pull/2299

/hold until https://github.com/halo-dev/halo/pull/2299 merge

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

Fixes https://github.com/halo-dev/halo/issues/2298

<!--
PR 合并时自动关闭 issue。
Automatically closes linked issue when PR is merged.

用法:`Fixes #<issue 号>`,或者 `Fixes (粘贴 issue 完整链接)`
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->
#### Screenshots:

|<img width="1564" alt="image" src="https://user-images.githubusercontent.com/21301288/182583412-f14a890e-25ee-418c-b921-0924f94c0d1b.png">|<img width="1564" alt="image" src="https://user-images.githubusercontent.com/21301288/182583525-26fe165c-2dd0-4068-9d52-659dc626367a.png">|
| ---- | ---- |

<!--
如果此 PR 有 UI 的改动,最好截图说明这个 PR 的改动。
If there are UI changes to this PR, it is best to take a screenshot to illustrate the changes to this PR.

eg.

Before:

![screenshot-before](https://user-images.githubusercontent.com/screenshot.png)

After:

![screenshot-after](https://user-images.githubusercontent.com/screenshot.png)
-->

#### Special notes for your reviewer:

测试方式:

1. Halo 后端需要 checkout 到 https://github.com/halo-dev/halo/pull/2299 分支。
2. 将被测主题放置在 `~/halo-next/themes`,可以使用 https://github.com/ruibaby/theme-astro-starter
3. 使用主题内的 `theme.yaml` 和 `settings.yaml` 创建 `Theme` 和 `Setting` 的资源。
4. admin 需要 checkout 到当前 PR 的分支,启动开发服务之后在主题列表即可启用该主题。
5. 测试保存和更新主题配置。

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

<!--
如果当前 Pull Request 的修改不会造成用户侧的任何变更,在 `release-note` 代码块儿中填写 `NONE`。
否则请填写用户侧能够理解的 Release Note。如果当前 Pull Request 包含破坏性更新(Break Change),
Release Note 需要以 `action required` 开头。
If no, just write "NONE" in the release-note block below.
If yes, a release note is required:
Enter your extended release note in the block below. If the PR requires additional action from users switching to the new release, include the string "action required".
-->

```release-note
None
```
2022-08-04 01:44:13 +00:00
Ryan Wang a580d89e39 feat: add support for theme management (halo-dev/console#592)
Signed-off-by: Ryan Wang <i@ryanc.cc>

<!--  Thanks for sending a pull request!  Here are some tips for you:
1. 如果这是你的第一次,请阅读我们的贡献指南:<https://github.com/halo-dev/halo/blob/master/CONTRIBUTING.md>。
1. If this is your first time, please read our contributor guidelines: <https://github.com/halo-dev/halo/blob/master/CONTRIBUTING.md>.
2. 请根据你解决问题的类型为 Pull Request 添加合适的标签。
2. Please label this pull request according to what type of issue you are addressing, especially if this is a release targeted pull request.
3. 请确保你已经添加并运行了适当的测试。
3. Ensure you have added or ran the appropriate tests for your PR.
-->

#### What type of PR is this?

/kind feature
/milestone 2.0

<!--
添加其中一个类别:
Add one of the following kinds:

/kind bug
/kind cleanup
/kind documentation
/kind feature
/kind optimization

适当添加其中一个或多个类别(可选):
Optionally add one or more of the following kinds if applicable:

/kind api-change
/kind deprecation
/kind failing-test
/kind flake
/kind regression
-->

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

添加基础的主题管理支持,适配 https://github.com/halo-dev/halo/pull/2280

/hold until https://github.com/halo-dev/halo/pull/2280 merge

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

<!--
PR 合并时自动关闭 issue。
Automatically closes linked issue when PR is merged.

用法:`Fixes #<issue 号>`,或者 `Fixes (粘贴 issue 完整链接)`
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->
None

#### Screenshots:

|<img width="1564" alt="image" src="https://user-images.githubusercontent.com/21301288/182314023-546d5fe1-03bb-4c7e-af36-6730ab051931.png">|<img width="1564" alt="image" src="https://user-images.githubusercontent.com/21301288/182314339-6c13b60a-cddc-449d-a06f-faaa53f76335.png">|
| ---- | ---- |
|<img width="1564" alt="image" src="https://user-images.githubusercontent.com/21301288/182314487-4c551208-938c-4582-bce6-7f589f278e8f.png">|      |



<!--
如果此 PR 有 UI 的改动,最好截图说明这个 PR 的改动。
If there are UI changes to this PR, it is best to take a screenshot to illustrate the changes to this PR.

eg.

Before:

![screenshot-before](https://user-images.githubusercontent.com/screenshot.png)

After:

![screenshot-after](https://user-images.githubusercontent.com/screenshot.png)
-->

#### Special notes for your reviewer:

None

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

<!--
如果当前 Pull Request 的修改不会造成用户侧的任何变更,在 `release-note` 代码块儿中填写 `NONE`。
否则请填写用户侧能够理解的 Release Note。如果当前 Pull Request 包含破坏性更新(Break Change),
Release Note 需要以 `action required` 开头。
If no, just write "NONE" in the release-note block below.
If yes, a release note is required:
Enter your extended release note in the block below. If the PR requires additional action from users switching to the new release, include the string "action required".
-->

```release-note
None
```
2022-08-03 03:30:13 +00:00
Ryan Wang 2f05f79aee refactor: vitest config
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-08-01 17:41:39 +08:00
Ryan Wang ee3b6605fa chore: bump dependencies
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-30 11:41:40 +08:00
Ryan Wang 325525c07c feat: api supports field filtering (halo-dev/console#591)
Signed-off-by: Ryan Wang <i@ryanc.cc>

<!--  Thanks for sending a pull request!  Here are some tips for you:
1. 如果这是你的第一次,请阅读我们的贡献指南:<https://github.com/halo-dev/halo/blob/master/CONTRIBUTING.md>。
1. If this is your first time, please read our contributor guidelines: <https://github.com/halo-dev/halo/blob/master/CONTRIBUTING.md>.
2. 请根据你解决问题的类型为 Pull Request 添加合适的标签。
2. Please label this pull request according to what type of issue you are addressing, especially if this is a release targeted pull request.
3. 请确保你已经添加并运行了适当的测试。
3. Ensure you have added or ran the appropriate tests for your PR.
-->

#### What type of PR is this?

/kind feature
/milestone 2.0

<!--
添加其中一个类别:
Add one of the following kinds:

/kind bug
/kind cleanup
/kind documentation
/kind feature
/kind optimization

适当添加其中一个或多个类别(可选):
Optionally add one or more of the following kinds if applicable:

/kind api-change
/kind deprecation
/kind failing-test
/kind flake
/kind regression
-->

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

适配 https://github.com/halo-dev/halo/pull/2279

接口支持通过参数筛选数据。

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

<!--
PR 合并时自动关闭 issue。
Automatically closes linked issue when PR is merged.

用法:`Fixes #<issue 号>`,或者 `Fixes (粘贴 issue 完整链接)`
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->
None

#### Screenshots:

<!--
如果此 PR 有 UI 的改动,最好截图说明这个 PR 的改动。
If there are UI changes to this PR, it is best to take a screenshot to illustrate the changes to this PR.

eg.

Before:

![screenshot-before](https://user-images.githubusercontent.com/screenshot.png)

After:

![screenshot-after](https://user-images.githubusercontent.com/screenshot.png)
-->

None

#### Special notes for your reviewer:

/hold until https://github.com/halo-dev/halo/pull/2279 merge

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

<!--
如果当前 Pull Request 的修改不会造成用户侧的任何变更,在 `release-note` 代码块儿中填写 `NONE`。
否则请填写用户侧能够理解的 Release Note。如果当前 Pull Request 包含破坏性更新(Break Change),
Release Note 需要以 `action required` 开头。
If no, just write "NONE" in the release-note block below.
If yes, a release note is required:
Enter your extended release note in the block below. If the PR requires additional action from users switching to the new release, include the string "action required".
-->

```release-note
None
```
2022-07-29 09:58:14 +00:00
Ryan Wang 3bdbebfc46 feat: add plugin loading status panel
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-25 21:14:56 +08:00
Ryan Wang a9e4b6018d chore: bump dependencies
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-25 16:26:26 +08:00
Ryan Wang d0746def44 chore: bump @halo-dev/api-client version
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-25 13:55:27 +08:00
Ryan Wang 88b64c985c feat: add base url config support
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-25 11:23:46 +08:00
Ryan Wang 51c87c1519 feat: user editing support using yaml
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-22 17:04:30 +08:00
Ryan Wang 8cd7091d04 fix: package import name of lodash.isequal
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-19 15:41:39 +08:00
Ryan Wang 3744d2b731 chore: fix @halo-dev/api-client dependency location
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-19 15:08:20 +08:00
Ryan Wang c15330f1e8 chore: bump dependencies
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-18 12:35:34 +08:00
Ryan Wang d5c1e3e428 feat: support permission judgment of interface elements and routes 2022-07-15 16:26:27 +08:00
Ryan Wang 16cf4d70a1 refactor: response structure of Extension list API
see halo-dev/halo#2244
2022-07-14 16:48:54 +08:00
Ryan Wang 03bb8d6bc6 refactor: admin ui theme system
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-14 11:38:13 +08:00
Ryan Wang 728dab4b74 refactor: api client
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-13 15:36:21 +08:00
Ryan Wang 4bd201d399 chore: bump dependencies
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-13 10:11:43 +08:00
Ryan Wang c9e3536040 perf: open confirm dialog when changing plugin status
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-11 16:07:21 +08:00
Ryan Wang 2ec35c36b1 chore: add changeset
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-08 14:52:52 +08:00
Ryan Wang 84a25046d4 feat: add formkit auto animate plugin
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-07 20:34:55 +08:00
Ryan Wang 12ca1b0595 feat: config formkit styles
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-07 16:50:50 +08:00
Ryan Wang 6e3de9ea11 refactor: use formkit
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-06 14:31:42 +08:00
Ryan Wang 6eff21edbd feat: refine the configuration of unplugin-icons
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-03 16:50:25 +08:00
Ryan Wang 9765dd5529 feat: add user login support
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-02 14:01:40 +08:00
Ryan Wang e5ef896d51 feat: user creation support
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-06-27 16:16:49 +08:00
Ryan Wang 71bda8e956 feat: admin shared package support api client
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-06-27 15:31:16 +08:00
Ryan Wang 1aa7a61c55 chore: bump dependencies
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-06-23 11:51:03 +08:00
Ryan Wang 6cf17b2381 feat: plugin management (halo-dev/console#583)
* chore: remove unnecessary files

Signed-off-by: Ryan Wang <i@ryanc.cc>

* feat: plugin management

Signed-off-by: Ryan Wang <i@ryanc.cc>

* feat: refine plugin detail page

Signed-off-by: Ryan Wang <i@ryanc.cc>

* feat: refine plugin detail page

Signed-off-by: Ryan Wang <i@ryanc.cc>

* fix: theme plugin router link

Signed-off-by: Ryan Wang <i@ryanc.cc>

* Update src/modules/system/plugins/PluginList.vue

Co-authored-by: John Niang <johnniang@fastmail.com>

* feat: plugin detail page support start/stop plugin

Signed-off-by: Ryan Wang <i@ryanc.cc>

Co-authored-by: John Niang <johnniang@fastmail.com>
2022-06-23 03:28:23 +00:00
Ryan Wang ebfbb639a8 chore: global loading of base dependencies 2022-06-20 15:08:17 +08:00
Ryan Wang eabfadfa86 feat: add animation for user profile route 2022-06-19 23:39:45 +08:00
Ryan Wang e3cfe9f427 refactor: load admin core as modules (halo-dev/console#582)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-06-17 06:12:15 +00:00
Ryan Wang 3f7958158f feat: create admin-shared package (halo-dev/console#581)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-06-16 10:42:13 +00:00
Ryan Wang 25543cf84e chore: bump dependencies
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-06-16 15:02:32 +08:00
Ryan Wang 6614d924f2 chore: set vite chunkSizeWarningLimit option
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-06-16 11:21:02 +08:00
Ryan Wang 8783c5b1f1 chore: use pnpm's workspace feature to manage base components (halo-dev/console#579) 2022-06-14 15:56:55 +08:00
Ryan Wang 89892a9d79 perf: improve forms ui
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-05-31 16:19:04 +08:00
Ryan Wang e2c811fc4e chore: add tailwindcss prettier plugin and reformat code
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-05-29 23:55:06 +08:00
Ryan Wang 5fcba1d66c perf: improve dashboard page ui
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-05-27 17:28:25 +08:00
Ryan Wang ad17e01225 feat: add filters dropdown ui
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-05-26 17:37:08 +08:00
Ryan Wang 98ce295f2b chore: bump dependencies
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-05-23 15:17:59 +08:00
Ryan Wang f9853411ae feat: add post editor page
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-05-23 15:16:23 +08:00
Ryan Wang 95c624554c feat: add post settings modal
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-05-17 16:45:30 +08:00
Ryan Wang 90755adaef chore: add vite-plugin-dts to generate components typings"
see https://github.com/qmhc/vite-plugin-dts

Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-05-12 20:57:03 +08:00
Ryan Wang d575f8c9ec feat: add pwa support 2022-05-11 19:22:10 +08:00
Ryan Wang b6e10ad776 feat: add attachment list component
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-05-11 17:20:10 +08:00
Ryan Wang 95f9abb551 chore: remove the --fix parameter from the lint script
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-05-11 15:49:52 +08:00
Ryan Wang 5d847532ef chore: bump histoire version
see https://github.com/histoire-dev/histoire/releases/tag/v0.4.5
2022-05-10 14:31:13 +08:00
Ryan Wang c7a30b90e3 chore: bump dependencies
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-05-08 23:31:30 +08:00
Ryan Wang e99ec64919 feat: add mobile bottom menu bar
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-05-07 17:35:10 +08:00
Ryan Wang 09ecea0b44 chore: bump dependencies
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-05-04 21:06:44 +08:00
Ryan Wang ba3018355e chore: bump dependencies
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-29 15:16:18 +08:00
Ryan Wang 6a6aa8c250 feat: add card component
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-28 15:35:16 +08:00
Ryan Wang c3c16dd77d chore: bump dependencies
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-27 15:33:01 +08:00
Ryan Wang 2b35d67c4e feat: add tooltip component
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-27 15:28:13 +08:00
Ryan Wang 4ca8071c8e chore: add gzip compression vite plugin
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-24 15:14:03 +08:00
Ryan Wang 05df5f626b chore: bump dependencies
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-24 14:19:42 +08:00
Ryan Wang 2e627c21ee refactor: use histoire instead of view components page
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-22 16:05:30 +08:00
Ryan Wang 345c0bc3cb feat: button component support loading state
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-20 17:58:50 +08:00
Ryan Wang a3462c756c chore: bump dependencies
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-20 14:41:07 +08:00
Ryan Wang 0f2d7b496c chore: unit test support tsx component
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-18 14:46:03 +08:00
Ryan Wang ae84c759e4 chore: bump dependencies
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-15 11:04:03 +08:00
Ryan Wang 22fd24c06d feat: add RoutesMenu component
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-12 18:06:13 +08:00
Ryan Wang 1484d083b2 feat: add menu component (halo-dev/console#534) 2022-04-12 14:23:14 +08:00
Ryan Wang e9decaf38c feat: add button component (halo-dev/console#515)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-21 14:17:22 +08:00
Ryan Wang c9b0f77831 feat: add theme palette config (halo-dev/console#511)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-18 13:12:26 +08:00
Ryan Wang 022f232702 chore: add histoire support (halo-dev/console#510)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-16 21:26:21 +08:00
Ryan Wang e9ad94843a chore: configure tailwind css (halo-dev/console#504)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-11 11:51:40 +08:00
Ryan Wang ec07aa57a0 chore: add pre commit hook (halo-dev/console#479)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-04 14:57:42 +08:00
Ryan Wang ab6c2cdee6 chore: next major version base project (halo-dev/console#478)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-03 18:26:15 +08:00
Ryan Wang 35075ddd5b chore: clean code for next major version
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-03 11:44:12 +08:00
Ryan Wang b6b1165a4a refactor: photo management (halo-dev/console#468)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-26 21:13:56 +08:00
Ryan Wang 3d963c8a2a Fix the problem of abnormal ui when the editor is switched to full screen (halo-dev/console#465)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-26 11:08:33 +08:00
Ryan Wang bb0a457dfd chore: disable modern build (halo-dev/console#454)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-22 16:33:59 +08:00
Ryan Wang c25bb0a3cf chore: remove build for jsdelivr env (halo-dev/console#455)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-22 16:16:52 +08:00
Ryan Wang 1a6fc58380 chore: bump dependencies (halo-dev/console#453)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-22 14:23:57 +08:00
Ryan Wang f86fe682a0 release: 1.5.0-alpha.1 (halo-dev/console#452) 2022-02-21 23:19:30 +08:00
Ryan Wang bfc0c61c96 refactor: post rendered content changed to be provided by editor (halo-dev/console#449)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-21 22:55:15 +08:00
Ryan Wang 6483d42306 chore: bump @halo-dev/editor to 3.0.0-alpha.1 (halo-dev/console#451)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-21 22:36:34 +08:00
Ryan Wang 033e6221f3 chore: use @halo-dev/editor instead of halo-editor (halo-dev/console#447)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-21 15:58:05 +08:00
Ryan Wang 6ed208ecec refactor: post editing (halo-dev/console#439)
* refactor: post editing

Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-20 22:38:25 +08:00
Ryan Wang 8504a9bd8d Support to sort post category (halo-dev/console#442)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-20 14:47:58 +08:00
Ryan Wang c43e7bc4fd refactor: the way to select images for post editing (halo-dev/console#421)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-01-25 17:18:19 +08:00
Ryan Wang 144183bf72 chore: upgrade tailwindcss to 3.0 (halo-dev/console#418) 2022-01-21 20:19:52 +08:00
Ryan Wang 48275f5e8b chore: upgrade vue cli to 5.0 (halo-dev/console#417)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-01-21 16:50:23 +08:00
Ryan Wang 903a076bb6 chore: remove crypto-js dependency (halo-dev/console#412) 2022-01-19 08:48:48 +08:00
Ryan Wang c04b734129 fix: upgrade marked to fix security issues (halo-dev/console#408)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-01-16 20:33:33 +08:00