Commit Graph

31 Commits (ca8f1f138bd45fdae4bd6cf2554dca6c4ea4ed9d)

Author SHA1 Message Date
Ryan Wang ca8f1f138b
feat: add cleanup tags support (#587)
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 1.6.x

<!--
添加其中一个类别:
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:

支持清理没有被文章使用的标签

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

Fixes halo-dev/halo#2203

<!--
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:

<!--
如果此 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)
-->


<img width="1330" alt="image" src="https://user-images.githubusercontent.com/21301288/179342105-11916eff-5908-4737-81dc-034244528554.png">

<img width="1331" alt="image" src="https://user-images.githubusercontent.com/21301288/179342113-1368128d-af84-4c95-af34-1da32c8ad52d.png">


#### Special notes for your reviewer:

/ping @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
支持清理没有被文章使用的标签
```
2022-07-18 14:48:08 +00:00
Ryan Wang 02cbf3987c
chore: bump editor version to 3.0.5 (#584)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-07-06 13:22:13 +00:00
Ryan Wang b85a89bb41
refactor: attachment list layout (#580)
* refactor: attachment list layout

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

* chore: revert pnpm-locl.yaml

Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-06-16 07:04:13 +00:00
Ryan Wang e97323386f
chore: bump @halo-dev/editor to resolve duplicate rendering issue (#562)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-05-08 15:38:13 +00:00
dragon 32ca887df4
feat: generate gzip products at build time (#547)
* feat: generate gzip products at build time

Signed-off-by: hongjunlong <2211898719@qq.com>

* chore: update pnpm-lock.yaml

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

Co-authored-by: Ryan Wang <i@ryanc.cc>
2022-04-11 14:49:42 +00:00
Ryan Wang cd5016d12f
refactor: theme color change (#543)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-08 06:55:59 +00:00
Ryan Wang 8ac33f8865
chore: bump @halo-dev/editor to resolve navigation issue (#535)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-03 06:11:41 +00:00
Ryan Wang 570b9d8c19
chore: bump @halo-dev/editor to resolve Chinese IME suggestion list obscures inputted text (#529)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-30 03:58:30 +00:00
Ryan Wang 462b2edb05
release: 1.5.0 (#518)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-22 20:12:39 +08:00
Ryan Wang 88de2115b3
chore: bump dependencies (#513) 2022-03-19 22:29:52 +08:00
Ryan Wang 7926362c92
chore: bump @halo-dev/editor to 3.0.0-alpha.3 (#507)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-14 17:45:55 +08:00
Ryan Wang b50e1abe98
refactor: journal editing using the markdown editor (#506)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-13 10:46:50 +08:00
Ryan Wang 545252f11e
fix: the problem of incorrect hint of opening developer option (#492)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-08 13:57:36 +08:00
Ryan Wang ea955d49dd
refactor: photo management (#468)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-26 21:13:56 +08:00
Ryan Wang 9eb52e835b
Fix the problem of abnormal ui when the editor is switched to full screen (#465)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-26 11:08:33 +08:00
Ryan Wang 120a2a201f
chore: bump dependencies (#453)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-22 14:23:57 +08:00
Ryan Wang 30f09aca8f
refactor: post rendered content changed to be provided by editor (#449)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-21 22:55:15 +08:00
Ryan Wang 4884e11c88
chore: bump @halo-dev/editor to 3.0.0-alpha.1 (#451)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-21 22:36:34 +08:00
Ryan Wang e8275370c4
chore: use @halo-dev/editor instead of halo-editor (#447)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-21 15:58:05 +08:00
Ryan Wang 460f770564
refactor: post editing (#439)
* refactor: post editing

Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-20 22:38:25 +08:00
Ryan Wang 4c7e799a01
Support to sort post category (#442)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-20 14:47:58 +08:00
Ryan Wang 70c95b3974
refactor: the way to select images for post editing (#421)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-01-25 17:18:19 +08:00
Ryan Wang 7a8f97c701
chore: upgrade tailwindcss to 3.0 (#418) 2022-01-21 20:19:52 +08:00
Ryan Wang 01a9e45e1a
chore: upgrade vue cli to 5.0 (#417)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-01-21 16:50:23 +08:00
Ryan Wang e1ccf5b219
chore: remove crypto-js dependency (#412) 2022-01-19 08:48:48 +08:00
Ryan Wang 13ee41c710
fix: upgrade marked to fix security issues (#408)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-01-16 20:33:33 +08:00
Ryan Wang d3070ac257
refactor: theme setting page (#380)
* refactor: theme setting page

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

* feat: add theme descriptions

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

* refactor: local upgrade component

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

* refactor: theme descriptions

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

* chore: bump admin-api deps
2022-01-14 15:37:31 +08:00
Ryan Wang 48d145f053
refactor: use js-sdk/admin-api (#378)
* 1.3.0-beta.2

* fix: token expire.

* pref: #291

* refactor: use js-sdk/admin-api

* chore: remove unnecessary files

* chore: remove unnecessary files

* chore: remove unnecessary files

* chore: remove unnecessary files

* refactor: developer/Environment.vue

* chore: remove unnecessary files

* refactor: login auth

* refactor: login auth

* refactor: remove api url setting

* refactor: custom sheet list

* style: reformat code

* refactor: logout

* refactor: remove setTimeout when fetch api

* fix: auto login error

* fix: post update error

* fix: backup

* fix: turn on developer mode error

* fix: mfa setting error

* chore: remove unnecessary files

* feat: add interceptors

* refactor: api client

* refactor: api client

* chore(deps): upgrade admin-api

* refactor: 重构认证

* fix: 修复认证请求头参数

* refactor: login

* feat: add error handle

* refactor: api client

* refactor: refresh token

* refactor: attachment upload

* refactor: upload component

* refactor: upload

* fix: tag save

* fix: github api request

* fix: installation page

* feat: add version field for html

* fix: option.list to option.listAsMapView

* fix: directory base path of static storage

* chore: upgrade halo sdk version

Co-authored-by: guqing <1484563614@qq.com>
2021-11-26 23:05:00 +08:00
Ryan Wang 2939cbbfbd
refactor: attachment detail (#375)
* refactor: attachment detail modal

* refactor: attachment media type judgment

* refactor: pagination

* refactor: delete AttachmentDetailDrawer.vue

* refactor: remove unnecessary code

* perf: previous and next button state
2021-11-16 22:22:41 +08:00
Ryan Wang b59dd62157
fix: parent category cannot be selected in post settings #365 (#367) 2021-10-29 22:35:56 +08:00
Ryan Wang 3b300799fe
chore: use pnpm package manager (#361)
* chore: use pnpm package manager.

* chore: remove node 10.x in github actions check job.

* doc: update README.md
2021-09-26 22:56:55 +08:00