|
|
@ -30,7 +30,7 @@ All notable changes to paopao-ce are documented in this file.
|
|
|
|
# 模块开启
|
|
|
|
# 模块开启
|
|
|
|
VITE_ENABLE_FRIENDS_BAR=true
|
|
|
|
VITE_ENABLE_FRIENDS_BAR=true
|
|
|
|
```
|
|
|
|
```
|
|
|
|
- add Newest/Hots/Following tweets support in friend bar feature.
|
|
|
|
- add Newest/Hots/Following tweets support in friend bar feature.
|
|
|
|
mirgration database first(sql ddl file in `scripts/migration/**/*_home_timeline.up.sql`):
|
|
|
|
mirgration database first(sql ddl file in `scripts/migration/**/*_home_timeline.up.sql`):
|
|
|
|
```sql
|
|
|
|
```sql
|
|
|
|
CREATE TABLE `p_post_metric` (
|
|
|
|
CREATE TABLE `p_post_metric` (
|
|
|
@ -69,15 +69,15 @@ All notable changes to paopao-ce are documented in this file.
|
|
|
|
)
|
|
|
|
)
|
|
|
|
WHERE a.ID = b.ID;
|
|
|
|
WHERE a.ID = b.ID;
|
|
|
|
```
|
|
|
|
```
|
|
|
|
- add cache support for index/home etc. page.
|
|
|
|
- add cache support for index/home etc. page.
|
|
|
|
- add hots comments support for post detail page.
|
|
|
|
- add hots comments support for post detail page.
|
|
|
|
- add highlight comments support for post detail page.
|
|
|
|
- add highlight comments support for post detail page.
|
|
|
|
mirgration database first(sql ddl file in `scripts/migration/**/*_comment_esence.up.sql`):
|
|
|
|
mirgration database first(sql ddl file in `scripts/migration/**/*_comment_esence.up.sql`):
|
|
|
|
```sql
|
|
|
|
```sql
|
|
|
|
ALTER TABLE `p_comment` ADD COLUMN `is_essence` tinyint unsigned NOT NULL DEFAULT 0 COMMENT '是否精选';
|
|
|
|
ALTER TABLE `p_comment` ADD COLUMN `is_essence` tinyint unsigned NOT NULL DEFAULT 0 COMMENT '是否精选';
|
|
|
|
```
|
|
|
|
```
|
|
|
|
- add follow/unfollow user support in index/home/collecion/message/post page.
|
|
|
|
- add follow/unfollow user support in index/home/collecion/message/post page.
|
|
|
|
- add simple prometheus metrics support.
|
|
|
|
- add simple prometheus metrics support.
|
|
|
|
add `Metrics` to `conf.yaml` 's `Features` section to enable this feature like below:
|
|
|
|
add `Metrics` to `conf.yaml` 's `Features` section to enable this feature like below:
|
|
|
|
```yaml
|
|
|
|
```yaml
|
|
|
|
# file config.yaml
|
|
|
|
# file config.yaml
|
|
|
@ -94,7 +94,8 @@ All notable changes to paopao-ce are documented in this file.
|
|
|
|
ReadTimeout: 60
|
|
|
|
ReadTimeout: 60
|
|
|
|
WriteTimeout: 60
|
|
|
|
WriteTimeout: 60
|
|
|
|
...
|
|
|
|
...
|
|
|
|
- add full support for tweet hots comment logic and add cache support for tweet comments.
|
|
|
|
```
|
|
|
|
|
|
|
|
- add full support for tweet hots comment logic and add cache support for tweet comments.
|
|
|
|
mirgration database first(sql ddl file in `scripts/migration/**/*_rank_metrics.up.sql`):
|
|
|
|
mirgration database first(sql ddl file in `scripts/migration/**/*_rank_metrics.up.sql`):
|
|
|
|
```sql
|
|
|
|
```sql
|
|
|
|
ALTER TABLE `p_comment` ADD COLUMN `reply_count` int unsigned NOT NULL DEFAULT 0 COMMENT '回复数';
|
|
|
|
ALTER TABLE `p_comment` ADD COLUMN `reply_count` int unsigned NOT NULL DEFAULT 0 COMMENT '回复数';
|
|
|
|