Go to file
John Niang 5118434db2
Refine menu item reconciler to sync permalinks of other refs (#2380)
#### What type of PR is this?

/kind improvement
/area core
/milestone 2.0

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

1. Synchronize permalink and display name of category every 1min
2. Synchronize permalink and display name of tag every 1min
3. Synchronize permalink and display name of post every 1min

Please note that we don't handle the synchronization of `Page` because we don't have the extension yet.

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

See https://github.com/halo-dev/halo/pull/2303 for more.

#### Special notes for your reviewer:

**How to test?**

1. Create a Category/Tag/Post and check the permalink
2. Create a menu and a menu item
3. Set `spec.categoryRef.name` of menu item with the extension name we just created
5. Update the menu item and check the permalink
6. Update slug name of Category/Tag/Post and check the permalink
7. Wait for 1min and check the permalink of menu item

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

```release-note
None
```
2022-09-06 02:50:11 +00:00
.github Change image name to halo-dev (#2264) 2022-07-19 23:47:36 +08:00
config/checkstyle chore: add checkstyle rule (#2091) 2022-05-17 06:46:11 +00:00
docs/developer-guide Add support for custom endpoints (#2223) 2022-07-08 04:40:13 +00:00
gradle/wrapper Create basic project structure for halo 2.0 (#1699) 2022-03-04 15:04:11 +08:00
hack chore: add cherry_pick_pull.sh for cherry-picking pull request (#1554) 2021-12-03 10:21:24 +08:00
src Refine menu item reconciler to sync permalinks of other refs (#2380) 2022-09-06 02:50:11 +00:00
.editorconfig refactor: next line config (#1844) 2022-04-14 07:49:17 +00:00
.gitattributes Refactor .gitignore 2019-04-03 11:37:59 +08:00
.gitignore feat: add theme install endpoint (#2302) 2022-08-04 09:24:16 +00:00
CHANGELOG.md release: 1.5.0-alpha.1 (#1671) 2022-02-21 23:45:20 +08:00
CODE_OF_CONDUCT.md docs: add CODE_OF_CONDUCT.md (#2150) 2022-06-12 08:10:12 +00:00
CONTRIBUTING.md chore: add cherry_pick_pull.sh for cherry-picking pull request (#1554) 2021-12-03 10:21:24 +08:00
Dockerfile Refactor CICD for Halo next (#2236) 2022-07-12 11:01:00 +08:00
LICENSE Create LICENSE 2018-03-21 21:39:46 +08:00
OWNERS feat: add OWNERS file for prow (#1840) 2022-04-13 17:06:22 +08:00
README.md docs: add demo site (#1625) 2022-01-11 16:57:21 +08:00
SECURITY.md Update SECURITY.md 2021-09-29 20:43:15 +08:00
build.gradle feat: add post module basic implementation (#2326) 2022-08-22 07:32:11 +00:00
gradle.properties Create basic project structure for halo 2.0 (#1699) 2022-03-04 15:04:11 +08:00
gradlew Create basic project structure for halo 2.0 (#1699) 2022-03-04 15:04:11 +08:00
gradlew.bat Create basic project structure for halo 2.0 (#1699) 2022-03-04 15:04:11 +08:00
settings.gradle Create basic project structure for halo 2.0 (#1699) 2022-03-04 15:04:11 +08:00

README.md

Halo logo

Halo [ˈheɪloʊ],一款现代化的开源博客/CMS系统值得一试。

GitHub release GitHub All Releases Docker pulls GitHub last commit GitHub Workflow Status
官网 文档 社区 Gitee Telegram 频道


快速开始

Fat Jar

下载最新的 Halo 运行包:

curl -L https://github.com/halo-dev/halo/releases/download/v1.4.17/halo-1.4.17.jar --output halo.jar

其他地址:https://docs.halo.run/getting-started/downloads

java -jar halo.jar

Docker

docker run -it -d --name halo -p 8090:8090 -v ~/.halo:/root/.halo --restart=always halohub/halo

详细部署文档请查阅:https://docs.halo.run/getting-started/install/linux

在线体验

生态

项目 状态 描述
halo-admin npm release Web 管理端 UI已内置在主应用
js-sdk npm release JavaScript SDK
halo-comment npm release 独立评论组件,可以非常方便的集成到主题中
halo-comment-normal npm release 另外一款评论组件
halo-mobile-app 已停止维护 移动端管理 APP
tencent-cloudbase-halo 腾讯云 CloudBase 一键部署配置
halo-theme-* GitHub 上开源的 Halo 主题集合

许可证

license

Halo 使用 GPL-v3.0 协议开源,请遵守开源协议。

贡献

参考 CONTRIBUTING

状态

Repobeats analytics