From ecb7e3ec0eb5f21f17aadef5e940e6347807b79c Mon Sep 17 00:00:00 2001 From: Michael Li Date: Wed, 23 Aug 2023 08:16:35 +0800 Subject: [PATCH] update some documents for prepare release --- CHANGELOG.md | 5 +++++ README.md | 14 +++++++------- ROADMAP.md | 9 +++++---- features-status.md | 8 ++++---- scripts/launchd/info.paopao.web.plist | 3 ++- scripts/systemd/paopao.service | 2 +- 6 files changed, 24 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b72c6218..8b2dd68f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,6 +35,11 @@ All notable changes to paopao-ce are documented in this file. - frontend: optimize user profile page route path to domain/#/u/?s=username. [&c857142](https://github.com/rocboss/paopao-ce/commit/c857142565f0c28294344c7abc5c2df4e363b04c - change the `Friendship` feature and `Followship` feature as builtin feature. [#362](https://github.com/rocboss/paopao-ce/pull/362) - deprecated/remove `Lightship` feature. [#362](https://github.com/rocboss/paopao-ce/pull/362) + - optimize Followship feature allow follow/unfollow user in follow page. [&fd5e54b](https://github.com/rocboss/paopao-ce/commit/fd5e54bd31108bb5a879d8b7afe0d2cbd56b3395) +- use Meilisearch as default search in docker-compose.yaml. + +### Fixed +- fixed JWT valide error whent get user by id failed.[&51fd972](https://github.com/rocboss/paopao-ce/commit/51fd9724b96bbc8cc64405b36a5fd7ae69b7a52c) ## 0.3.1 ### Fixed diff --git a/README.md b/README.md index 3d7c1b2c..7241c9fd 100644 --- a/README.md +++ b/README.md @@ -129,7 +129,7 @@ PaoPao主要由以下优秀的开源项目/工具构建 # 编译时加入migration tag编译出支持migrate功能的可执行文件 make build TAGS='migration' - release/paopao-ce + release/paopao # 或者 带上migration tag直接运行 make run TAGS='migration' @@ -317,24 +317,24 @@ Default/Develop/Demo/Slim 是不同 功能集套件(Features Suite), Base/Opti 使用Feautures: ```sh -release/paopao-ce --help -Usage of release/paopao-ce: +release/paopao serve --help +Usage of release/paopao: -features value use special features -no-default-features whether use default features # 默认使用 Default 功能套件 -release/paopao-ce +release/paopao serve # 不包含 default 中的功能集,仅仅使用 develop 中声明的功能集 -release/paopao-ce --no-default-features --features develop +release/paopao serve --no-default-features --features develop # 使用 default 中的功能集,外加 sms 功能 -release/paopao-ce --features sms +release/paopao serve --features sms # 手动指定需要开启的功能集 -release/paopao-ce --no-default-features --features sqlite3,localoss,loggerfile,redis +release/paopao serve --no-default-features --features sqlite3,localoss,loggerfile,redis ``` 目前支持的功能集合: diff --git a/ROADMAP.md b/ROADMAP.md index 71e73ca9..564278ed 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -7,12 +7,17 @@ * [ ] add `Auth:MD5` feature (just for compatible) * [ ] optimize media tweet submit logic * [ ] optimize search logic service +* [ ] optimize backend data logic service(optimize database CRUD operate) +* [ ] optimize current message push logic service use `ims` module +* [ ] add `NativeOBS` feature #### v0.4.0 * [x] add `Followship` feature. * [x] add extend base ORM code for implement data logic base sqlx/sqlc. * [x] user/profile page add comment/highlight/media/likes sub-page. * [x] add tweet highlight feature to enable user set a tweet as highlight. +* [x] new execute file base sub-command style. +* [x] add extend base ORM code for implement data logic base sqlx/sqlc #### v0.3.0 * [x] remove `Deprecated:OldWeb` feature @@ -25,7 +30,6 @@ #### v0.2.0 * [x] add `Friendship` feature * [x] add `Lightship` feature -* [ ] add extend base ORM code for implement data logic base sqlx/sqlc * [x] add `Pyroscope` feature * [x] add new `Web` service * [x] add `Frontend:Web` feature @@ -38,7 +42,6 @@ * [ ] add `SpaceX` feature * [ ] add `Bot` feature * [ ] add `Admin` feature -* [ ] add `NativeOBS` feature * [ ] add `Mobile` gRPC API service feature * [ ] add admin web frontend * [ ] add tweet forwarding support @@ -50,8 +53,6 @@ * [ ] add tweet thread like twitter support * [ ] add short link support * [ ] optimize topics service -* [ ] optimize current message push logic service use `ims` module -* [ ] optimize backend data logic service(optimize database CRUD operate) ## paopao-ce-plus roadmap #### paopao-ce-plus/v0.5.0 diff --git a/features-status.md b/features-status.md index be734b22..e630c77d 100644 --- a/features-status.md +++ b/features-status.md @@ -3,7 +3,7 @@ ## 目前支持的功能集合 #### 子服务 -* `OldWeb` 开启旧的Web服务(目前状态: 默认) +* `OldWeb` 开启旧的Web服务(目前状态: 已弃,不可用) * [ ] 提按文档 * [x] 服务初始化逻辑 * [x] 接口定义 @@ -39,7 +39,7 @@ * `Frontend:Web` 开启独立前端服务(目前状态: 内测) * [ ] 提按文档 * [x] 服务初始化逻辑 -* `Frontend:EmbedWeb` 开启内嵌于后端Web API服务中的前端服务(目前状态: 内测) +* `Frontend:EmbedWeb` 开启内嵌于后端Web API服务中的前端服务(目前状态: 稳定|默认) * [ ] 提按文档 * [x] 服务初始化逻辑 * `Deprecated:OldWeb` 开启旧的Web服务(目前状态: 已弃,不可用) @@ -105,7 +105,7 @@ * [ ] 提按文档 * [x] 接口定义 * [x] 业务逻辑实现 -* `RedisCacheIndex` 使用Redis缓存 广场推文列表,缓存每个用户每一页,简单做到千人千面(目前状态: 内测阶段,推荐使用); +* `RedisCacheIndex` 使用Redis缓存 广场推文列表,缓存每个用户每一页,简单做到千人千面(目前状态: 推荐使用); * [ ] 提按文档 * [x] 接口定义 * [x] 业务逻辑实现 @@ -153,7 +153,7 @@ * [ ] [提按文档](docs/proposal/22110409-关于Followship功能项的设计.md) * [ ] 接口定义 * [ ] 业务逻辑实现 -* `Lightship` 开放模式,所有推文都公开可见(目前状态: 弃用Deprecated); +* `Lightship` 开放模式,所有推文都公开可见(目前状态: 已弃,不可用); * [x] [提按文档](docs/proposal/22121409-关于Lightship功能项的设计.md) * [x] 接口定义 * [x] 业务逻辑实现 diff --git a/scripts/launchd/info.paopao.web.plist b/scripts/launchd/info.paopao.web.plist index d4a2fc87..5644080b 100644 --- a/scripts/launchd/info.paopao.web.plist +++ b/scripts/launchd/info.paopao.web.plist @@ -14,7 +14,8 @@ - /Users/paopao/app/paopao-ce + /Users/paopao/app/paopao + serve RunAtLoad diff --git a/scripts/systemd/paopao.service b/scripts/systemd/paopao.service index 00dff061..6aba82ff 100644 --- a/scripts/systemd/paopao.service +++ b/scripts/systemd/paopao.service @@ -9,7 +9,7 @@ Type=simple User=paopao Group=paopao WorkingDirectory=/home/paopao/app -ExecStart=/home/paopao/app/paopao-ce +ExecStart=/home/paopao/app/paopao serve Restart=always Environment=USER=paopao HOME=/home/paopao