Merge branch 'x/gorm' into x/sqlx

r/paopao-ce-plus
Michael Li 1 year ago
commit 0d8410f0b6
No known key found for this signature in database

@ -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 - 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) - 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) - 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 ## 0.3.1
### Fixed ### Fixed

@ -129,7 +129,7 @@ PaoPao主要由以下优秀的开源项目/工具构建
# 编译时加入migration tag编译出支持migrate功能的可执行文件 # 编译时加入migration tag编译出支持migrate功能的可执行文件
make build TAGS='migration' make build TAGS='migration'
release/paopao-ce release/paopao
# 或者 带上migration tag直接运行 # 或者 带上migration tag直接运行
make run TAGS='migration' make run TAGS='migration'
@ -317,24 +317,24 @@ Default/Develop/Demo/Slim 是不同 功能集套件(Features Suite) Base/Opti
使用Feautures: 使用Feautures:
```sh ```sh
release/paopao-ce --help release/paopao serve --help
Usage of release/paopao-ce: Usage of release/paopao:
-features value -features value
use special features use special features
-no-default-features -no-default-features
whether use default features whether use default features
# 默认使用 Default 功能套件 # 默认使用 Default 功能套件
release/paopao-ce release/paopao serve
# 不包含 default 中的功能集,仅仅使用 develop 中声明的功能集 # 不包含 default 中的功能集,仅仅使用 develop 中声明的功能集
release/paopao-ce --no-default-features --features develop release/paopao serve --no-default-features --features develop
# 使用 default 中的功能集,外加 sms 功能 # 使用 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
``` ```
目前支持的功能集合: 目前支持的功能集合:

@ -7,12 +7,17 @@
* [ ] add `Auth:MD5` feature (just for compatible) * [ ] add `Auth:MD5` feature (just for compatible)
* [ ] optimize media tweet submit logic * [ ] optimize media tweet submit logic
* [ ] optimize search logic service * [ ] 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 #### v0.4.0
* [x] add `Followship` feature. * [x] add `Followship` feature.
* [x] add extend base ORM code for implement data logic base sqlx/sqlc. * [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] user/profile page add comment/highlight/media/likes sub-page.
* [x] add tweet highlight feature to enable user set a tweet as highlight. * [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 #### v0.3.0
* [x] remove `Deprecated:OldWeb` feature * [x] remove `Deprecated:OldWeb` feature
@ -25,7 +30,6 @@
#### v0.2.0 #### v0.2.0
* [x] add `Friendship` feature * [x] add `Friendship` feature
* [x] add `Lightship` feature * [x] add `Lightship` feature
* [ ] add extend base ORM code for implement data logic base sqlx/sqlc
* [x] add `Pyroscope` feature * [x] add `Pyroscope` feature
* [x] add new `Web` service * [x] add new `Web` service
* [x] add `Frontend:Web` feature * [x] add `Frontend:Web` feature
@ -38,7 +42,6 @@
* [ ] add `SpaceX` feature * [ ] add `SpaceX` feature
* [ ] add `Bot` feature * [ ] add `Bot` feature
* [ ] add `Admin` feature * [ ] add `Admin` feature
* [ ] add `NativeOBS` feature
* [ ] add `Mobile` gRPC API service feature * [ ] add `Mobile` gRPC API service feature
* [ ] add admin web frontend * [ ] add admin web frontend
* [ ] add tweet forwarding support * [ ] add tweet forwarding support
@ -50,8 +53,6 @@
* [ ] add tweet thread like twitter support * [ ] add tweet thread like twitter support
* [ ] add short link support * [ ] add short link support
* [ ] optimize topics service * [ ] 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 roadmap
#### paopao-ce-plus/v0.5.0 #### paopao-ce-plus/v0.5.0

@ -102,7 +102,7 @@ services:
- paopao-network - paopao-network
backend: backend:
image: bitbus/paopao-ce:0.4 image: bitbus/paopao-ce:nightly
restart: always restart: always
depends_on: depends_on:
- db - db

@ -3,7 +3,7 @@
## 目前支持的功能集合 ## 目前支持的功能集合
#### 子服务 #### 子服务
* `OldWeb` 开启旧的Web服务(目前状态: 默认) * `OldWeb` 开启旧的Web服务(目前状态: 已弃,不可用)
* [ ] 提按文档 * [ ] 提按文档
* [x] 服务初始化逻辑 * [x] 服务初始化逻辑
* [x] 接口定义 * [x] 接口定义
@ -39,7 +39,7 @@
* `Frontend:Web` 开启独立前端服务(目前状态: 内测) * `Frontend:Web` 开启独立前端服务(目前状态: 内测)
* [ ] 提按文档 * [ ] 提按文档
* [x] 服务初始化逻辑 * [x] 服务初始化逻辑
* `Frontend:EmbedWeb` 开启内嵌于后端Web API服务中的前端服务(目前状态: 内测) * `Frontend:EmbedWeb` 开启内嵌于后端Web API服务中的前端服务(目前状态: 稳定|默认)
* [ ] 提按文档 * [ ] 提按文档
* [x] 服务初始化逻辑 * [x] 服务初始化逻辑
* `Deprecated:OldWeb` 开启旧的Web服务(目前状态: 已弃,不可用) * `Deprecated:OldWeb` 开启旧的Web服务(目前状态: 已弃,不可用)
@ -105,7 +105,7 @@
* [ ] 提按文档 * [ ] 提按文档
* [x] 接口定义 * [x] 接口定义
* [x] 业务逻辑实现 * [x] 业务逻辑实现
* `RedisCacheIndex` 使用Redis缓存 广场推文列表,缓存每个用户每一页,简单做到千人千面(目前状态: 内测阶段,推荐使用) * `RedisCacheIndex` 使用Redis缓存 广场推文列表,缓存每个用户每一页,简单做到千人千面(目前状态: 推荐使用)
* [ ] 提按文档 * [ ] 提按文档
* [x] 接口定义 * [x] 接口定义
* [x] 业务逻辑实现 * [x] 业务逻辑实现
@ -153,7 +153,7 @@
* [ ] [提按文档](docs/proposal/22110409-关于Followship功能项的设计.md) * [ ] [提按文档](docs/proposal/22110409-关于Followship功能项的设计.md)
* [ ] 接口定义 * [ ] 接口定义
* [ ] 业务逻辑实现 * [ ] 业务逻辑实现
* `Lightship` 开放模式,所有推文都公开可见(目前状态: 弃用Deprecated); * `Lightship` 开放模式,所有推文都公开可见(目前状态: ,不可用);
* [x] [提按文档](docs/proposal/22121409-关于Lightship功能项的设计.md) * [x] [提按文档](docs/proposal/22121409-关于Lightship功能项的设计.md)
* [x] 接口定义 * [x] 接口定义
* [x] 业务逻辑实现 * [x] 业务逻辑实现

@ -14,7 +14,8 @@
<array> <array>
<!-- assumes installed in /Users/paopao/app --> <!-- assumes installed in /Users/paopao/app -->
<!-- modify below to reflect your settings --> <!-- modify below to reflect your settings -->
<string>/Users/paopao/app/paopao-ce</string> <string>/Users/paopao/app/paopao</string>
<string>serve</string>
</array> </array>
<key>RunAtLoad</key> <key>RunAtLoad</key>
<true/> <true/>

@ -9,7 +9,7 @@ Type=simple
User=paopao User=paopao
Group=paopao Group=paopao
WorkingDirectory=/home/paopao/app WorkingDirectory=/home/paopao/app
ExecStart=/home/paopao/app/paopao-ce ExecStart=/home/paopao/app/paopao serve
Restart=always Restart=always
Environment=USER=paopao HOME=/home/paopao Environment=USER=paopao HOME=/home/paopao

Loading…
Cancel
Save