Commit Graph

183 Commits (a7399e8988b5785a9e1a7d87004beaad013fd179)

Author SHA1 Message Date
Killer_Queen 6f9fe25a3e
feat: links and link groups support drag and drop sorting (#574)
refactor LinkList.vue, use Vue.Draggable to sort links and teams via dragging

<!--  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
<!--
添加其中一个类别:
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:
使用Vue.Draggable重构了友链功能。现在可以通过可视化拖拽对友链或整个分组进行排序。支持友链移入/移出分组。
#### 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 # 1905

#### 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)
-->
演示视频:
<video src="https://user-images.githubusercontent.com/65994555/169685416-e4b86306-bd96-4e5a-bbde-d40f6383d9ca.mp4"></video>

#### Special notes for your reviewer:

#### 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-08-05 13:16:14 +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
John Niang ed0f4e58ae
Bump version to 1.6.0-SNAPSHOT (#567)
Recently, we have decided to maintain 1.5.x release for a long time, we created a new branch called "release-1.5".
Now, our master/main branch is for preparing for next release "1.6.x".
I change the version to 1.6.0-SNAPSHOT to stand for feature development for 1.6.x.
2022-05-09 07:26: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 4de9e320da
release: 1.5.2 (#544)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-04-10 16:23:40 +08: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 e7ef55ff61
release: 1.5.1 (#531)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-30 17:45:02 +08: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 6758dd04fe
release: 1.5.0-beta.1 (#509)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-14 21:23:30 +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 a64176b64d
release: 1.5.0-alpha.3 (#497)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-09 20:42:24 +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 6f2a1244f1
release: 1.5.0-alpha.2 (#481)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-03-04 20:30:57 +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 e2bf2756f6
chore: disable modern build (#454)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-22 16:33:59 +08:00
Ryan Wang 7c91a08f83
chore: remove build for jsdelivr env (#455)
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-02-22 16:16:52 +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 a784090df3
release: 1.5.0-alpha.1 (#452) 2022-02-21 23:19:30 +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 596beb09c4
release: 1.4.15 (#392) 2021-12-06 16:10:38 +08:00
Ryan Wang 1476443872
release: 1.4.14 (#391) 2021-12-05 19:04:02 +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 ee614c188c release: 1.4.13 2021-10-24 14:47:13 +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
Ryan Wang 6c9ff82cc9 release: 1.4.12 2021-09-16 20:22:07 +08:00
Ryan Wang 5c28c9b7ea
refactor: upgrade codemirror version. (#354)
* refactor: upgrade codemirror version.

* refactor: StaticStorage component.

* refactor: upgrade codemirror version.

* chore: add editorconfig file.

* chore: update editorconfig.
2021-09-15 21:44:00 +08:00
dependabot[bot] 8213ffffad
chore(deps): bump axios from 0.21.1 to 0.21.2 (#353)
Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.21.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.21.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-15 20:51:37 +08:00
Ryan Wang 66955f94d8
refactor: cleanup code. (#351)
* refactor: cleanup code.

* refactor: cleanup code.

* refactor: cleanup code.

* fix: post list render error.
2021-09-14 20:45:30 +08:00
Ryan Wang 80735f7d68 release: 1.4.11 2021-07-24 12:20:03 +08:00
ryanwang dcf6525b72 release: 1.4.10 2021-07-20 14:01:58 +08:00
Ryan Wang 310c32dd78 release: 1.4.9 2021-07-18 23:45:24 +08:00