Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.3.0 prepare release code review request #289

Merged
merged 282 commits into from
May 6, 2023
Merged

v0.3.0 prepare release code review request #289

merged 282 commits into from
May 6, 2023

Conversation

alimy
Copy link
Collaborator

@alimy alimy commented May 6, 2023

v0.3.0 prepare release code review request.

Added

  • add custom comment sort strategy support #243
  • add RedisCacheIndex feature #250
  • add Sentry feature #258
  • add simple tweet share feature(just copy tweet link to clipboard now) support #264
  • add default tweet max length configure in web/.env support. &a1160ca
    Set the value of VITE_DEFAULT_TWEET_MAX_LENGTH in file web/.env to change the tweet max default length.
  • add custom whether provide user register configure in web/.env support. #267
    Set the value of VITE_ALLOW_USER_REGISTER in file web/.env to custom whether provide user register feature.
    # file: web/.env or web/.env.local
    ...
    # 局部参数
    VITE_ALLOW_USER_REGISTER=true
    ...
    
    and disallow user register in backend(add Web:DisallowUserRegister feature in config.yaml):
    # file config.yaml
    ...
    Features:
      Default: ["Base", "Postgres", "Zinc", "LocalOSS", "LoggerZinc", "BigCacheIndex", "Friendship", "Service", "Web:DisallowUserRegister"]
    ...
  • add topic follow feature support #273
    mirgration database first(sql ddl file in scripts/migration/**/*_topic_follow.up.sql):
      CREATE TABLE `p_topic_user` (
          `id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,
          `topic_id` BIGINT UNSIGNED NOT NULL COMMENT '标签ID',
          `user_id` BIGINT UNSIGNED NOT NULL COMMENT '创建者ID',
          `alias_name` VARCHAR ( 255 ) COMMENT '别名',
          `remark` VARCHAR ( 512 ) COMMENT '备注',
          `quote_num` BIGINT UNSIGNED COMMENT '引用数',
          `is_top` TINYINT UNSIGNED NOT NULL DEFAULT '0' COMMENT '是否置顶 0 为未置顶、1 为已置顶',
          `created_on` BIGINT UNSIGNED NOT NULL DEFAULT '0' COMMENT '创建时间',
          `modified_on` BIGINT UNSIGNED NOT NULL DEFAULT '0' COMMENT '修改时间',
          `deleted_on` BIGINT UNSIGNED NOT NULL DEFAULT '0' COMMENT '删除时间',
          `is_del` TINYINT UNSIGNED NOT NULL DEFAULT '0' COMMENT '是否删除 0 为未删除、1 为已删除',
          `reserve_a` VARCHAR ( 255 ) COMMENT '保留字段a',
          `reserve_b` VARCHAR ( 255 ) COMMENT '保留字段b',
          PRIMARY KEY ( `id` ) USING BTREE,
        UNIQUE KEY `idx_topic_user_uid_tid` ( `topic_id`, `user_id` ) USING BTREE 
      ) ENGINE = INNODB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户话题';
  • add tweet comment thumbs up/down feature support #275
    mirgration database first(sql ddl file in scripts/migration/**/*_comment_thumbs.up.sql):
  • add load more comments feature support &60b217b

Fixed

  • fixed sql ddl p_contact's column is_delete define error (change to is_del) in scripts/paopao-mysql.sql &afd8fe1
  • fixed cache index not expire in delete/add tweet error #266
  • fixed tweet's owner not allow star/collection action when tweet is private error #274
  • fixed user not list owner's collectioned private tweet error #274
  • fixed comments thumbs up/down state incorrect error #283

Changed

  • use github.com/rueian/rueidis as Redis client #249
    the Old redis client configure field
    ...
    Redis:
      Host: redis:6379
      Password: 
      DB: 
    the New redis client configure field
    ...
    Redis:
      InitAddress:
      - redis:6379
      Username:
      Password:
      SelectDB:
      ConnWriteTimeout: 60   # 连接写超时时间 多少秒 默认 60秒
  • optimize web frontend dark theme &b082a8f
  • change web frontend main content layout default size to 544px &b082a8f
  • optimize web frontend in mobile environment use Drawer to display menu #265
  • optimize Dockerfile use pre-build builder/runner image to prevent network latency problem (bitbus/paopao-ce-backend-builder bitbus/paopao-ce-backend-runner) #265
  • optimize web ui in mobile environment #280
  • optimize upload zip attachment compatible with different browsers for uploading zip mimetype #286
  • adapte meilisearch to version v1.1 #288

Removed

  • remove Deprecated:OldWeb feature #256

dependabot bot and others added 30 commits March 6, 2023 11:12
Bumps [github.com/ethereum/go-ethereum](https://github.com/ethereum/go-ethereum) from 1.10.16 to 1.11.2.
- [Release notes](https://github.com/ethereum/go-ethereum/releases)
- [Commits](ethereum/go-ethereum@v1.10.16...v1.11.2)

---
updated-dependencies:
- dependency-name: github.com/ethereum/go-ethereum
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm) from 1.24.5 to 1.24.6.
- [Release notes](https://github.com/go-gorm/gorm/releases)
- [Commits](go-gorm/gorm@v1.24.5...v1.24.6)

---
updated-dependencies:
- dependency-name: gorm.io/gorm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.8.3 to 2.9.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](onsi/ginkgo@v2.8.3...v2.9.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [github.com/tencentyun/cos-go-sdk-v5](https://github.com/tencentyun/cos-go-sdk-v5) from 0.7.35 to 0.7.41.
- [Release notes](https://github.com/tencentyun/cos-go-sdk-v5/releases)
- [Changelog](https://github.com/tencentyun/cos-go-sdk-v5/blob/master/CHANGELOG.md)
- [Commits](tencentyun/cos-go-sdk-v5@v0.7.35...v0.7.41)

---
updated-dependencies:
- dependency-name: github.com/tencentyun/cos-go-sdk-v5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
….com/tencentyun/cos-go-sdk-v5-0.7.41

mod: bump github.com/tencentyun/cos-go-sdk-v5 from 0.7.35 to 0.7.41
….com/onsi/ginkgo/v2-2.9.0

mod: bump github.com/onsi/ginkgo/v2 from 2.8.3 to 2.9.0
…o/gorm-1.24.6

mod: bump gorm.io/gorm from 1.24.5 to 1.24.6
….com/ethereum/go-ethereum-1.11.2

mod: bump github.com/ethereum/go-ethereum from 1.10.16 to 1.11.2
Bumps [github.com/smartwalle/alipay/v3](https://github.com/smartwalle/alipay) from 3.1.8 to 3.2.0.
- [Release notes](https://github.com/smartwalle/alipay/releases)
- [Commits](smartwalle/alipay@v3.1.8...v3.2.0)

---
updated-dependencies:
- dependency-name: github.com/smartwalle/alipay/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.27.1 to 1.27.3.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](onsi/gomega@v1.27.1...v1.27.3)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
---
updated-dependencies:
- dependency-name: modernc.org/sqlite
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.14.1 to 1.15.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](fatih/color@v1.14.1...v1.15.0)

---
updated-dependencies:
- dependency-name: github.com/fatih/color
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [github.com/bytedance/sonic](https://github.com/bytedance/sonic) from 1.8.1 to 1.8.4.
- [Release notes](https://github.com/bytedance/sonic/releases)
- [Commits](bytedance/sonic@v1.8.1...v1.8.4)

---
updated-dependencies:
- dependency-name: github.com/bytedance/sonic
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
….com/bytedance/sonic-1.8.4

mod: bump github.com/bytedance/sonic from 1.8.1 to 1.8.4
….com/fatih/color-1.15.0

mod: bump github.com/fatih/color from 1.14.1 to 1.15.0
…c.org/sqlite-1.21.0

mod: bump modernc.org/sqlite from 1.20.4 to 1.21.0
….com/onsi/gomega-1.27.3

mod: bump github.com/onsi/gomega from 1.27.1 to 1.27.3
….com/smartwalle/alipay/v3-3.2.0

mod: bump github.com/smartwalle/alipay/v3 from 3.1.8 to 3.2.0
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.27.3 to 1.27.4.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](onsi/gomega@v1.27.3...v1.27.4)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
….com/onsi/gomega-1.27.4

mod: bump github.com/onsi/gomega from 1.27.3 to 1.27.4
dependabot bot and others added 24 commits May 1, 2023 11:06
Bumps [github.com/bytedance/sonic](https://github.com/bytedance/sonic) from 1.8.7 to 1.8.8.
- [Release notes](https://github.com/bytedance/sonic/releases)
- [Commits](bytedance/sonic@v1.8.7...v1.8.8)

---
updated-dependencies:
- dependency-name: github.com/bytedance/sonic
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [modernc.org/sqlite](https://gitlab.com/cznic/sqlite) from 1.22.0 to 1.22.1.
- [Release notes](https://gitlab.com/cznic/sqlite/tags)
- [Commits](https://gitlab.com/cznic/sqlite/compare/v1.22.0...v1.22.1)

---
updated-dependencies:
- dependency-name: modernc.org/sqlite
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
…c.org/sqlite-1.22.1

mod: bump modernc.org/sqlite from 1.22.0 to 1.22.1
….com/bytedance/sonic-1.8.8

mod: bump github.com/bytedance/sonic from 1.8.7 to 1.8.8
upgrade meilisearch to version  v1.1.1
@alimy alimy requested a review from rocboss May 6, 2023 09:24
Copy link
Owner

@rocboss rocboss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ship it!

@rocboss rocboss merged commit 021d840 into main May 6, 2023
@rocboss
Copy link
Owner

rocboss commented May 6, 2023

代码有点多,看不过来了,直接合吧~

@alimy
Copy link
Collaborator Author

alimy commented May 6, 2023

时间跨度有点长,本机上也测试了很久,应该问题不大。有问题也不要紧,改不就完了😄
那我发布一个 v0.3.0-rc.1 版本给社区的小伙伴们折腾一下~

代码有点多,看不过来了,直接合吧~

@alimy alimy deleted the t/v0.3.0 branch May 6, 2023 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants