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

sync source code #563

Merged
merged 322 commits into from
Aug 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
322 commits
Select commit Hold shift + click to select a range
e109f0b
Merge pull request #432 from rocboss/dependabot/go_modules/dev/github…
alimy Nov 14, 2023
5e60254
mod: bump github.com/redis/rueidis from 1.0.21 to 1.0.22
dependabot[bot] Nov 20, 2023
704abf0
Merge pull request #436 from rocboss/dependabot/go_modules/dev/github…
alimy Nov 24, 2023
6e44f23
just upgrade web frontend build dependents
alimy Nov 21, 2023
fa824b4
mod: bump github.com/minio/minio-go/v7 from 7.0.63 to 7.0.64
dependabot[bot] Nov 27, 2023
c0812b8
mod: bump gorm.io/plugin/dbresolver from 1.4.7 to 1.5.0
dependabot[bot] Nov 27, 2023
2cbaafd
mod: bump github.com/gin-contrib/cors from 1.4.0 to 1.5.0
dependabot[bot] Nov 27, 2023
e32d4d4
Merge pull request #439 from rocboss/dependabot/go_modules/dev/github…
alimy Nov 29, 2023
5e5d6d0
Merge pull request #438 from rocboss/dependabot/go_modules/dev/gorm.i…
alimy Nov 29, 2023
1753785
Merge pull request #437 from rocboss/dependabot/go_modules/dev/github…
alimy Nov 29, 2023
f01331f
mod: bump github.com/onsi/ginkgo/v2 from 2.13.1 to 2.13.2
dependabot[bot] Dec 4, 2023
54543d1
mod: bump github.com/golang-jwt/jwt/v5 from 5.1.0 to 5.2.0
dependabot[bot] Dec 4, 2023
ca39226
Merge pull request #442 from rocboss/dependabot/go_modules/dev/github…
alimy Dec 11, 2023
4b331e8
Merge pull request #441 from rocboss/dependabot/go_modules/dev/github…
alimy Dec 11, 2023
56ca8ce
mod: bump github.com/minio/minio-go/v7 from 7.0.64 to 7.0.65
dependabot[bot] Dec 11, 2023
62a7e8b
Merge pull request #440 from rocboss/dependabot/go_modules/dev/github…
alimy Dec 11, 2023
473dbd6
mod: bump github.com/smartwalle/alipay/v3 from 3.2.19 to 3.2.20
dependabot[bot] Dec 11, 2023
fefcfa6
mod: bump github.com/spf13/viper from 1.17.0 to 1.18.1
dependabot[bot] Dec 11, 2023
dd41bc8
mod: bump github.com/redis/rueidis from 1.0.22 to 1.0.23
dependabot[bot] Dec 11, 2023
6a1afaf
Merge pull request #445 from rocboss/dependabot/go_modules/dev/github…
alimy Dec 12, 2023
94050cc
Merge pull request #444 from rocboss/dependabot/go_modules/dev/github…
alimy Dec 12, 2023
3f8d0a1
Merge pull request #443 from rocboss/dependabot/go_modules/dev/github…
alimy Dec 12, 2023
5248a61
mod: bump github.com/minio/minio-go/v7 from 7.0.65 to 7.0.66
dependabot[bot] Dec 18, 2023
d9ecf69
mod: bump github.com/redis/rueidis from 1.0.23 to 1.0.25
dependabot[bot] Dec 18, 2023
b95c071
mod: bump google.golang.org/grpc from 1.59.0 to 1.60.0
dependabot[bot] Dec 18, 2023
c9ee46e
mod: bump modernc.org/sqlite from 1.27.0 to 1.28.0
dependabot[bot] Dec 18, 2023
511c41c
Merge pull request #449 from rocboss/dependabot/go_modules/dev/modern…
alimy Dec 19, 2023
c8c8097
Merge pull request #447 from rocboss/dependabot/go_modules/dev/github…
alimy Dec 19, 2023
2a32986
Merge pull request #446 from rocboss/dependabot/go_modules/dev/github…
alimy Dec 19, 2023
0de6c16
Merge pull request #448 from rocboss/dependabot/go_modules/dev/google…
alimy Dec 19, 2023
d1d6514
update .gitattributes
alimy Dec 21, 2023
220d1f8
prepare a all in one docker image build configure
alimy Dec 23, 2023
96ba45c
optimize config.yaml for docker enviroment of all in one
alimy Dec 23, 2023
6e32e18
optimize configure for docker all in one environment
alimy Dec 23, 2023
9a2ccc4
add migration feature default for docker all in one environment
alimy Dec 23, 2023
be1ce98
update .gitattributes
alimy Dec 21, 2023
31ef659
Merge branch 'dev' into x/docker
alimy Dec 23, 2023
b373a2d
upgrade github.com/alimy/mir/v4 => v4.1.0-alpha.3
alimy Dec 23, 2023
a3df6fd
optimize docker-compose.yaml
alimy Dec 23, 2023
37f298d
mod: bump github.com/spf13/viper from 1.18.1 to 1.18.2
dependabot[bot] Dec 25, 2023
b109729
mod: bump github.com/RoaringBitmap/roaring from 1.6.0 to 1.7.0
dependabot[bot] Dec 25, 2023
70e2ebb
mod: bump google.golang.org/grpc from 1.60.0 to 1.60.1
dependabot[bot] Dec 25, 2023
b5c2b71
Merge pull request #454 from rocboss/dependabot/go_modules/dev/google…
alimy Dec 26, 2023
2500033
Merge pull request #453 from rocboss/dependabot/go_modules/dev/github…
alimy Dec 26, 2023
1a85f48
Merge pull request #450 from rocboss/dependabot/go_modules/dev/github…
alimy Dec 26, 2023
74f887b
mod: bump google.golang.org/protobuf from 1.31.0 to 1.32.0
dependabot[bot] Dec 26, 2023
db9db27
Merge pull request #451 from rocboss/dependabot/go_modules/dev/google…
alimy Dec 26, 2023
0b2474b
mod: bump github.com/golang-migrate/migrate/v4 from 4.15.2 to 4.17.0
dependabot[bot] Dec 26, 2023
c784d32
Merge pull request #452 from rocboss/dependabot/go_modules/dev/github…
alimy Dec 26, 2023
6368518
upgrade github.com/alimy/mir => v4.1.0-beta.1
alimy Dec 26, 2023
35c2c14
Merge branch 'dev' into x/docker
alimy Dec 26, 2023
e8b65ed
add all-in-one docker image build scripts
alimy Dec 26, 2023
22c54ff
update README.md
alimy Dec 26, 2023
fd2a254
frontend: add tweets filter support use tag for home page and make it…
alimy Dec 28, 2023
38db8eb
change github.com/bufbuid/connect-go => connectrpc.com/connect
alimy Dec 28, 2023
a09233d
frontend/web: optimize home page
alimy Dec 29, 2023
198cf5d
fixed update tweet's comment essence status error
alimy Dec 29, 2023
6c51c79
upgrade github.com/alimy/mir/v4 => v4.1.0
alimy Dec 30, 2023
8967359
feat: add pin topic support
alimy Dec 30, 2023
55a3f2f
add missing web/dist files
alimy Dec 30, 2023
f1d2dc1
mod: bump github.com/prometheus/client_golang from 1.17.0 to 1.18.0
dependabot[bot] Jan 1, 2024
7701cd4
mod: bump github.com/go-resty/resty/v2 from 2.10.0 to 2.11.0
dependabot[bot] Jan 1, 2024
bf0fbf4
mod: bump github.com/aliyun/aliyun-oss-go-sdk
dependabot[bot] Jan 1, 2024
5f17cfa
mod: bump github.com/redis/rueidis from 1.0.25 to 1.0.26
dependabot[bot] Jan 1, 2024
d893012
Merge pull request #455 from rocboss/dependabot/go_modules/dev/github…
alimy Jan 2, 2024
d42ec9b
Merge pull request #458 from rocboss/dependabot/go_modules/dev/github…
alimy Jan 2, 2024
fda297b
Merge pull request #457 from rocboss/dependabot/go_modules/dev/github…
alimy Jan 2, 2024
f65a869
Merge pull request #456 from rocboss/dependabot/go_modules/dev/github…
alimy Jan 2, 2024
0d37a5f
frontend/web: upgrade vue => v3.4.3
alimy Jan 1, 2024
ec931c6
optimize upload attachment logic
alimy Jan 2, 2024
e40a2fd
optimize Dockerfile logic
alimy Jan 8, 2024
7cfe329
back to use alpine3.18 as base image to build scripts/docker/* images…
alimy Jan 14, 2024
b138d32
mod: bump github.com/onsi/ginkgo/v2 from 2.13.2 to 2.14.0
dependabot[bot] Jan 15, 2024
570c19e
mod: bump github.com/redis/rueidis from 1.0.26 to 1.0.27
dependabot[bot] Jan 15, 2024
980d88d
mod: bump github.com/huaweicloud/huaweicloud-sdk-go-obs
dependabot[bot] Jan 15, 2024
297122d
mod: bump github.com/getsentry/sentry-go from 0.25.0 to 0.26.0
dependabot[bot] Jan 15, 2024
408095f
Merge pull request #462 from rocboss/dependabot/go_modules/dev/github…
alimy Jan 17, 2024
650fac6
Merge pull request #461 from rocboss/dependabot/go_modules/dev/github…
alimy Jan 17, 2024
7387e88
Merge pull request #460 from rocboss/dependabot/go_modules/dev/github…
alimy Jan 17, 2024
0cd3aa3
Merge pull request #459 from rocboss/dependabot/go_modules/dev/github…
alimy Jan 17, 2024
e937eb5
docker-compose.yaml: update meili image version => v1.6
alimy Jan 17, 2024
2c11957
support upload webp format image as picture when send tweet
alimy Jan 20, 2024
ad255ff
mod: bump github.com/onsi/gomega from 1.30.0 to 1.31.1
dependabot[bot] Jan 22, 2024
a0be8fb
mod: bump github.com/meilisearch/meilisearch-go from 0.26.0 to 0.26.1
dependabot[bot] Jan 22, 2024
1159ba1
Merge pull request #465 from rocboss/dependabot/go_modules/dev/github…
alimy Jan 28, 2024
1dc84a1
Merge pull request #464 from rocboss/dependabot/go_modules/dev/github…
alimy Jan 28, 2024
f4ff151
mod: bump gorm.io/gorm from 1.25.5 to 1.25.6
dependabot[bot] Jan 29, 2024
1bc7c63
mod: bump github.com/RoaringBitmap/roaring from 1.7.0 to 1.8.0
dependabot[bot] Jan 29, 2024
487fb58
mod: bump github.com/tencentyun/cos-go-sdk-v5 from 0.7.45 to 0.7.46
dependabot[bot] Jan 29, 2024
1f4a771
mod: bump google.golang.org/grpc from 1.60.1 to 1.61.0
dependabot[bot] Jan 29, 2024
8364ee5
Merge pull request #468 from rocboss/dependabot/go_modules/dev/github…
alimy Jan 29, 2024
07d28fe
Merge pull request #470 from rocboss/dependabot/go_modules/dev/google…
alimy Jan 29, 2024
22a1c92
Merge pull request #469 from rocboss/dependabot/go_modules/dev/github…
alimy Jan 29, 2024
87efc21
Merge pull request #467 from rocboss/dependabot/go_modules/dev/gorm.i…
alimy Jan 29, 2024
af74e4e
optimize: use io.NopCloser instead types.PureReader in internal/serva…
alimy Feb 2, 2024
8dc447d
add password generator in pkg/types
alimy Feb 2, 2024
859da55
pkg/types: add Compare function to password provider
alimy Feb 2, 2024
f576afb
fixed pkg/app/jwt.go get issuer incorrect logic
alimy Feb 3, 2024
3a4dc70
mod: bump github.com/redis/rueidis from 1.0.27 to 1.0.28
dependabot[bot] Feb 5, 2024
fb66127
mod: bump github.com/RoaringBitmap/roaring from 1.8.0 to 1.9.0
dependabot[bot] Feb 5, 2024
af1cac2
mod: bump google.golang.org/grpc from 1.60.1 to 1.61.0
dependabot[bot] Feb 5, 2024
62731b8
Merge pull request #475 from rocboss/dependabot/go_modules/dev/google…
alimy Feb 6, 2024
62ee6c0
Merge pull request #472 from rocboss/dependabot/go_modules/dev/github…
alimy Feb 6, 2024
fcc28a9
Merge pull request #471 from rocboss/dependabot/go_modules/dev/github…
alimy Feb 6, 2024
0718980
upgrade github.com/pyroscope-io/client => github.com/grafana/pyroscope
alimy Feb 7, 2024
9d4ee0e
update github action ci configure
alimy Feb 7, 2024
ee40280
optimize gorm initial logic in conf
alimy Feb 7, 2024
01cbb28
mod: bump golang.org/x/crypto from 0.18.0 to 0.19.0
dependabot[bot] Feb 12, 2024
22e283b
mod: bump gorm.io/driver/postgres from 1.5.4 to 1.5.6
dependabot[bot] Feb 12, 2024
80a14b2
Merge pull request #480 from rocboss/dependabot/go_modules/dev/gorm.i…
alimy Feb 19, 2024
36bc7ba
Merge pull request #477 from rocboss/dependabot/go_modules/dev/golang…
alimy Feb 19, 2024
3b5ea01
mod: bump gorm.io/gorm from 1.25.6 to 1.25.7
dependabot[bot] Feb 19, 2024
206021c
mod: bump gorm.io/driver/mysql from 1.5.2 to 1.5.4
dependabot[bot] Feb 19, 2024
6ea9c60
Merge pull request #479 from rocboss/dependabot/go_modules/dev/gorm.i…
alimy Feb 19, 2024
1b0d87b
Merge pull request #478 from rocboss/dependabot/go_modules/dev/gorm.i…
alimy Feb 19, 2024
75ec47c
mod: bump gorm.io/driver/sqlite from 1.5.4 to 1.5.5
dependabot[bot] Feb 19, 2024
4414724
Merge pull request #476 from rocboss/dependabot/go_modules/dev/gorm.i…
alimy Feb 19, 2024
44ed40e
mod: bump modernc.org/sqlite from 1.28.0 to 1.29.2
dependabot[bot] Feb 26, 2024
3676242
mod: bump github.com/redis/rueidis from 1.0.28 to 1.0.31
dependabot[bot] Feb 26, 2024
0c0ac06
mod: bump github.com/bytedance/sonic from 1.10.2 to 1.11.1
dependabot[bot] Feb 26, 2024
5dcb405
Merge pull request #482 from rocboss/dependabot/go_modules/dev/modern…
alimy Feb 26, 2024
171f78d
Merge pull request #486 from rocboss/dependabot/go_modules/dev/github…
alimy Feb 26, 2024
719199f
Merge pull request #485 from rocboss/dependabot/go_modules/dev/github…
alimy Feb 26, 2024
f70dc25
mod: bump google.golang.org/grpc from 1.61.0 to 1.62.0
dependabot[bot] Feb 26, 2024
fbea2b6
mod: bump connectrpc.com/connect from 1.14.0 to 1.15.0
dependabot[bot] Feb 26, 2024
9e994dc
Merge pull request #483 from rocboss/dependabot/go_modules/dev/google…
alimy Feb 26, 2024
05e2bf1
Merge pull request #484 from rocboss/dependabot/go_modules/dev/connec…
alimy Feb 26, 2024
1d52b2c
Merge branch 'main' into dev
alimy Mar 1, 2024
df61cf2
update web/dist
alimy Mar 1, 2024
688de9e
mod: bump github.com/bytedance/sonic from 1.11.1 to 1.11.2
dependabot[bot] Mar 4, 2024
df90123
mod: bump gorm.io/plugin/dbresolver from 1.5.0 to 1.5.1
dependabot[bot] Mar 4, 2024
34c436e
mod: bump github.com/getsentry/sentry-go from 0.26.0 to 0.27.0
dependabot[bot] Mar 4, 2024
ac5cb5f
mod: bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0
dependabot[bot] Mar 4, 2024
b19ee27
Merge pull request #490 from rocboss/dependabot/go_modules/dev/github…
alimy Mar 9, 2024
3f79589
Merge pull request #489 from rocboss/dependabot/go_modules/dev/github…
alimy Mar 9, 2024
60ba8b5
Merge pull request #488 from rocboss/dependabot/go_modules/dev/gorm.i…
alimy Mar 9, 2024
4f2bd2e
Merge pull request #487 from rocboss/dependabot/go_modules/dev/github…
alimy Mar 9, 2024
891b1e0
mod: bump github.com/gin-contrib/cors from 1.5.0 to 1.7.0
dependabot[bot] Mar 11, 2024
aaa109f
mod: bump google.golang.org/protobuf from 1.32.0 to 1.33.0
dependabot[bot] Mar 11, 2024
f5cf64c
mod: bump github.com/onsi/ginkgo/v2 from 2.15.0 to 2.16.0
dependabot[bot] Mar 11, 2024
0f5a2b5
Merge pull request #496 from rocboss/dependabot/go_modules/dev/github…
alimy Mar 14, 2024
11de6f5
Merge pull request #494 from rocboss/dependabot/go_modules/dev/google…
alimy Mar 14, 2024
59ea597
Merge pull request #493 from rocboss/dependabot/go_modules/dev/github…
alimy Mar 14, 2024
77de9ae
mod: bump github.com/meilisearch/meilisearch-go from 0.26.1 to 0.26.2
dependabot[bot] Mar 14, 2024
d000432
Merge pull request #495 from rocboss/dependabot/go_modules/dev/github…
alimy Mar 14, 2024
b08e09d
mod: bump github.com/redis/rueidis from 1.0.31 to 1.0.32
dependabot[bot] Mar 18, 2024
8d6a54b
mod: bump gorm.io/driver/postgres from 1.5.6 to 1.5.7
dependabot[bot] Mar 18, 2024
7f822aa
mod: bump github.com/bytedance/sonic from 1.11.2 to 1.11.3
dependabot[bot] Mar 18, 2024
521f7df
mod: bump modernc.org/sqlite from 1.29.2 to 1.29.5
dependabot[bot] Mar 18, 2024
30f3a78
Merge pull request #502 from rocboss/dependabot/go_modules/dev/modern…
alimy Mar 20, 2024
e307841
Merge pull request #501 from rocboss/dependabot/go_modules/dev/github…
alimy Mar 20, 2024
ebe0239
Merge pull request #500 from rocboss/dependabot/go_modules/dev/gorm.i…
alimy Mar 20, 2024
cb3c1d8
Merge pull request #499 from rocboss/dependabot/go_modules/dev/github…
alimy Mar 20, 2024
7eaf53e
upgrade github.com/alimy/mir/v4 => v4.2.0-alpha.5 and update Dockerfi…
alimy Mar 20, 2024
6957038
update Dockerfile
alimy Mar 21, 2024
b7d8243
Merge branch 'main' into dev
alimy Mar 21, 2024
b4eede1
mod: bump connectrpc.com/connect from 1.15.0 to 1.16.0
dependabot[bot] Mar 25, 2024
dca07c4
mod: bump github.com/onsi/ginkgo/v2 from 2.16.0 to 2.17.1
dependabot[bot] Mar 25, 2024
89f836e
mod: bump github.com/gin-contrib/cors from 1.7.0 to 1.7.1
dependabot[bot] Mar 25, 2024
871ab2f
mod: bump github.com/go-resty/resty/v2 from 2.11.0 to 2.12.0
dependabot[bot] Mar 25, 2024
f236e37
mod: bump gorm.io/gorm from 1.25.7 to 1.25.8
dependabot[bot] Mar 25, 2024
6acce09
Merge pull request #507 from rocboss/dependabot/go_modules/dev/gorm.i…
alimy Mar 30, 2024
956e4ab
Merge pull request #505 from rocboss/dependabot/go_modules/dev/github…
alimy Mar 30, 2024
535d37f
Merge pull request #504 from rocboss/dependabot/go_modules/dev/github…
alimy Mar 30, 2024
e099319
Merge pull request #503 from rocboss/dependabot/go_modules/dev/connec…
alimy Mar 30, 2024
a413b8a
Merge pull request #506 from rocboss/dependabot/go_modules/dev/github…
alimy Mar 30, 2024
833ec33
update docker-compose.yaml upgrade meili => v1.7
alimy Mar 30, 2024
50f9143
mod: bump github.com/redis/rueidis from 1.0.32 to 1.0.33
dependabot[bot] Apr 1, 2024
480c8b8
mod: bump gorm.io/gorm from 1.25.8 to 1.25.9
dependabot[bot] Apr 1, 2024
c90b662
mod: bump github.com/golang-jwt/jwt/v5 from 5.2.0 to 5.2.1
dependabot[bot] Apr 1, 2024
a9b4fd7
mod: bump github.com/onsi/gomega from 1.31.1 to 1.32.0
dependabot[bot] Apr 1, 2024
355794f
mod: bump github.com/RoaringBitmap/roaring from 1.9.0 to 1.9.1
dependabot[bot] Apr 1, 2024
b1fc9bd
Merge pull request #508 from rocboss/dependabot/go_modules/dev/github…
alimy Apr 1, 2024
0d21af2
Merge pull request #512 from rocboss/dependabot/go_modules/dev/github…
alimy Apr 1, 2024
047c11c
Merge pull request #510 from rocboss/dependabot/go_modules/dev/github…
alimy Apr 1, 2024
1731cf9
Merge pull request #509 from rocboss/dependabot/go_modules/dev/gorm.i…
alimy Apr 1, 2024
ca1f88b
Merge pull request #511 from rocboss/dependabot/go_modules/dev/github…
alimy Apr 1, 2024
ce1a04b
mod: bump github.com/tencentyun/cos-go-sdk-v5 from 0.7.46 to 0.7.47
dependabot[bot] Apr 8, 2024
fe0686a
mod: bump gorm.io/driver/mysql from 1.5.4 to 1.5.6
dependabot[bot] Apr 8, 2024
ed7d880
mod: bump golang.org/x/crypto from 0.21.0 to 0.22.0
dependabot[bot] Apr 8, 2024
ab79c75
Merge pull request #516 from rocboss/dependabot/go_modules/dev/golang…
alimy Apr 13, 2024
788debf
Merge pull request #514 from rocboss/dependabot/go_modules/dev/gorm.i…
alimy Apr 13, 2024
2c51da6
Merge pull request #513 from rocboss/dependabot/go_modules/dev/github…
alimy Apr 13, 2024
00f8a69
mod: bump github.com/gofrs/uuid/v5 from 5.0.0 to 5.1.0
dependabot[bot] Apr 15, 2024
049646d
mod: bump modernc.org/sqlite from 1.29.5 to 1.29.6
dependabot[bot] Apr 15, 2024
79202ee
mod: bump google.golang.org/grpc from 1.62.0 to 1.63.2
dependabot[bot] Apr 15, 2024
ec92b63
mod: bump github.com/RoaringBitmap/roaring from 1.9.1 to 1.9.3
dependabot[bot] Apr 22, 2024
f88e12d
mod: bump github.com/bytedance/sonic from 1.11.3 to 1.11.6
dependabot[bot] Apr 29, 2024
6a26201
Merge pull request #524 from rocboss/dependabot/go_modules/dev/github…
alimy May 5, 2024
0a3c4cf
Merge pull request #522 from rocboss/dependabot/go_modules/dev/github…
alimy May 5, 2024
4504980
Merge pull request #521 from rocboss/dependabot/go_modules/dev/google…
alimy May 5, 2024
25c8171
Merge pull request #519 from rocboss/dependabot/go_modules/dev/modern…
alimy May 5, 2024
91483ab
Merge pull request #518 from rocboss/dependabot/go_modules/dev/github…
alimy May 5, 2024
5627481
mod: bump github.com/gin-contrib/cors from 1.7.1 to 1.7.2
dependabot[bot] May 6, 2024
0797daf
mod: bump connectrpc.com/connect from 1.16.0 to 1.16.1
dependabot[bot] May 6, 2024
00bf731
mod: bump github.com/redis/rueidis from 1.0.33 to 1.0.36
dependabot[bot] May 6, 2024
f6674f4
mod: bump github.com/onsi/ginkgo/v2 from 2.17.1 to 2.17.2
dependabot[bot] May 6, 2024
d7bb542
Merge pull request #527 from rocboss/dependabot/go_modules/dev/github…
alimy May 10, 2024
5ec1cba
Merge pull request #525 from rocboss/dependabot/go_modules/dev/github…
alimy May 10, 2024
fed42db
Merge pull request #529 from rocboss/dependabot/go_modules/dev/github…
alimy May 10, 2024
516d5c8
Merge pull request #526 from rocboss/dependabot/go_modules/dev/connec…
alimy May 10, 2024
4b1b309
mod: bump github.com/onsi/ginkgo/v2 from 2.17.2 to 2.17.3
dependabot[bot] May 10, 2024
4bb2410
mod: bump github.com/golang-migrate/migrate/v4 from 4.17.0 to 4.17.1
dependabot[bot] May 10, 2024
bc5ccce
Merge pull request #528 from rocboss/dependabot/go_modules/dev/github…
alimy May 10, 2024
4a2702d
Merge pull request #530 from rocboss/dependabot/go_modules/dev/github…
alimy May 10, 2024
4f200eb
mod: bump gorm.io/gorm from 1.25.9 to 1.25.10
dependabot[bot] May 13, 2024
6070b07
mod: bump github.com/gofrs/uuid/v5 from 5.1.0 to 5.2.0
dependabot[bot] May 13, 2024
689c1e6
mod: bump google.golang.org/protobuf from 1.34.0 to 1.34.1
dependabot[bot] May 13, 2024
5e10490
mod: bump github.com/onsi/gomega from 1.33.0 to 1.33.1
dependabot[bot] May 13, 2024
bddcedc
mod: bump github.com/huaweicloud/huaweicloud-sdk-go-obs
dependabot[bot] May 13, 2024
240251e
Merge pull request #535 from rocboss/dependabot/go_modules/dev/github…
rocboss May 16, 2024
a6d0d46
Merge pull request #534 from rocboss/dependabot/go_modules/dev/github…
rocboss May 16, 2024
60caf57
Merge pull request #533 from rocboss/dependabot/go_modules/dev/google…
rocboss May 16, 2024
4b519cf
Merge pull request #532 from rocboss/dependabot/go_modules/dev/github…
rocboss May 16, 2024
dffc74c
Merge pull request #531 from rocboss/dependabot/go_modules/dev/gorm.i…
rocboss May 16, 2024
de40493
mod: bump github.com/meilisearch/meilisearch-go from 0.26.2 to 0.26.3
dependabot[bot] May 20, 2024
550f2e5
mod: bump github.com/prometheus/client_golang from 1.19.0 to 1.19.1
dependabot[bot] May 20, 2024
6c54876
mod: bump github.com/gin-gonic/gin from 1.9.1 to 1.10.0
dependabot[bot] May 20, 2024
52e12ea
Merge pull request #538 from rocboss/dependabot/go_modules/dev/github…
alimy May 20, 2024
a83ab45
Merge pull request #537 from rocboss/dependabot/go_modules/dev/github…
alimy May 20, 2024
bdab033
Merge pull request #536 from rocboss/dependabot/go_modules/dev/github…
alimy May 20, 2024
4d1d445
mod: bump github.com/redis/rueidis from 1.0.36 to 1.0.37
dependabot[bot] May 20, 2024
bab5e6a
Merge pull request #539 from rocboss/dependabot/go_modules/dev/github…
alimy May 20, 2024
f2a5db5
mod: bump github.com/bytedance/sonic from 1.11.6 to 1.11.7
dependabot[bot] May 27, 2024
31770e2
mod: bump github.com/fatih/color from 1.16.0 to 1.17.0
dependabot[bot] May 27, 2024
4b1cc2b
mod: bump google.golang.org/grpc from 1.63.2 to 1.64.0
dependabot[bot] May 27, 2024
d559f65
mod: bump github.com/goccy/go-json from 0.10.2 to 0.10.3
dependabot[bot] May 27, 2024
2063595
Merge pull request #545 from rocboss/dependabot/go_modules/dev/github…
alimy Jun 1, 2024
a9d2808
Merge pull request #543 from rocboss/dependabot/go_modules/dev/google…
alimy Jun 1, 2024
fb9fe9b
Merge pull request #542 from rocboss/dependabot/go_modules/dev/github…
alimy Jun 1, 2024
9c65dc0
Merge pull request #541 from rocboss/dependabot/go_modules/dev/github…
alimy Jun 1, 2024
608c919
mod: bump github.com/cockroachdb/errors from 1.11.1 to 1.11.3
dependabot[bot] Jun 3, 2024
6a6fc93
mod: bump github.com/onsi/ginkgo/v2 from 2.17.3 to 2.19.0
dependabot[bot] Jun 3, 2024
49d3998
mod: bump connectrpc.com/connect from 1.16.1 to 1.16.2
dependabot[bot] Jun 3, 2024
d4996ad
mod: bump github.com/getsentry/sentry-go from 0.27.0 to 0.28.1
dependabot[bot] Jun 17, 2024
1eded5a
mod: bump github.com/tencentyun/cos-go-sdk-v5 from 0.7.47 to 0.7.52
dependabot[bot] Jul 1, 2024
8489787
Merge pull request #555 from rocboss/dependabot/go_modules/dev/github…
alimy Jul 7, 2024
9505a04
Merge pull request #553 from rocboss/dependabot/go_modules/dev/github…
alimy Jul 7, 2024
9e49a03
Merge pull request #549 from rocboss/dependabot/go_modules/dev/connec…
alimy Jul 7, 2024
89294de
Merge pull request #547 from rocboss/dependabot/go_modules/dev/github…
alimy Jul 7, 2024
53bc04d
Merge pull request #546 from rocboss/dependabot/go_modules/dev/github…
alimy Jul 7, 2024
ecf655d
mod: bump gorm.io/driver/sqlite from 1.5.5 to 1.5.6
dependabot[bot] Jul 8, 2024
cfaf6c7
mod: bump github.com/spf13/cobra from 1.8.0 to 1.8.1
dependabot[bot] Jul 8, 2024
5768c10
mod: bump github.com/huaweicloud/huaweicloud-sdk-go-obs
dependabot[bot] Jul 8, 2024
9b251e8
mod: bump github.com/meilisearch/meilisearch-go from 0.26.3 to 0.27.2
dependabot[bot] Aug 5, 2024
0838568
Merge pull request #562 from rocboss/dependabot/go_modules/dev/github…
alimy Aug 23, 2024
9268d74
Merge pull request #559 from rocboss/dependabot/go_modules/dev/github…
alimy Aug 23, 2024
e782c2a
Merge pull request #558 from rocboss/dependabot/go_modules/dev/github…
alimy Aug 23, 2024
f6dd7e7
Merge pull request #556 from rocboss/dependabot/go_modules/dev/gorm.i…
alimy Aug 23, 2024
2f8e6f0
upgrade github.com/alimy/tryst => v0.21.0
alimy Aug 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.ts linguist-language=go
*.js linguist-language=go
*.css linguist-language=go
*.vue linguist-language=go
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
name: Test
strategy:
matrix:
go-version: [ 1.20.x, 1.21.x ]
go-version: [ 1.21.x, 1.22.x ]
platform: [ ubuntu-latest, macos-latest ]
runs-on: ${{ matrix.platform }}
steps:
Expand All @@ -66,7 +66,7 @@ jobs:
name: TestOnWindows
strategy:
matrix:
go-version: [ 1.20.x, 1.21.x ]
go-version: [ 1.21.x, 1.22.x ]
platform: [ windows-latest ]
runs-on: ${{ matrix.platform }}
steps:
Expand Down
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

All notable changes to paopao-ce are documented in this file.
## 0.6.0+dev ([`dev`](https://github.com/rocboss/paopao-ce/tree/dev))
TODO;
### Added
- add all-in-one docker image build scripts.
- frontend: add tweets filter support use tag for home page and make it as default behavior.
- add pin topic support.
- support upload webp format image as picture when send tweet.

## 0.5.2
### Change
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# syntax=docker/dockerfile:experimental
# syntax=docker/dockerfile:1

# build frontend
FROM node:19-alpine as frontend
Expand All @@ -22,9 +22,9 @@ ARG USE_DIST=no
WORKDIR /paopao-ce
COPY . .
COPY --from=frontend /web/dist ./web/dist
ENV GOPROXY=https://goproxy.cn
RUN [ $EMBED_UI != yes ] || make build TAGS='go_json'
RUN [ $EMBED_UI = yes ] || make build TAGS='slim embed go_json'
ENV GOPROXY=https://goproxy.cn,direct
RUN --mount=type=cache,target=$GOPATH/go/pkg,id=paopao-ce-gopkg [ $EMBED_UI != yes ] || make buildx TAGS='go_json'
RUN --mount=type=cache,target=$GOPATH/go/pkg,id=paopao-ce-gopkg [ $EMBED_UI = yes ] || make buildx TAGS='slim embed go_json'

FROM bitbus/paopao-ce-backend-runner:latest
ARG API_HOST
Expand Down
37 changes: 37 additions & 0 deletions Dockerfile.allinone
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# syntax=docker/dockerfile:1

# build frontend
FROM node:19-alpine as frontend
ARG API_HOST
ARG USE_API_HOST=yes
ARG EMBED_UI=yes
ARG USE_DIST=no
WORKDIR /web
COPY web/ ./
RUN [ $EMBED_UI != yes ] || [ $USE_API_HOST != yes ] || echo "VITE_HOST='$API_HOST'">.env.local
RUN [ $EMBED_UI != yes ] || [ $USE_DIST != no ] || (yarn && yarn build)
RUN [ $EMBED_UI = yes ] || mkdir dist || echo ""

# build backend
FROM bitbus/paopao-ce-backend-builder:latest AS backend
ARG API_HOST
ARG USE_API_HOST=yes
ARG EMBED_UI=yes
ARG USE_DIST=no

WORKDIR /paopao-ce
COPY . .
COPY --from=frontend /web/dist ./web/dist
ENV GOPROXY=https://goproxy.cn,direct
RUN --mount=type=cache,target=$GOPATH/go/pkg,id=paopao-ce-gopkg [ $EMBED_UI != yes ] || make buildx TAGS='go_json migration'
RUN --mount=type=cache,target=$GOPATH/go/pkg,id=paopao-ce-gopkg [ $EMBED_UI = yes ] || make buildx TAGS='slim embed go_json migration'

FROM bitbus/paopao-ce-allinone-runner:latest
ARG API_HOST
ARG USE_API_HOST=yes
ARG EMBED_UI=yes
ARG USE_DIST=no
ENV TZ=Asia/Shanghai

WORKDIR /app
COPY --from=backend /paopao-ce/release/paopao .
12 changes: 8 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ LDFLAGS = -X "${MOD_NAME}/pkg/version.version=${BUILD_VERSION}" \
all: fmt build

build:
@echo Build paopao-ce
@go build -pgo=auto -trimpath -tags '$(TAGS)' -ldflags '$(LDFLAGS)' -o $(RELEASE_ROOT)/$(TARGET)

buildx:
@go mod download
@echo Build paopao-ce
@go build -pgo=auto -trimpath -tags '$(TAGS)' -ldflags '$(LDFLAGS)' -o $(RELEASE_ROOT)/$(TARGET)
Expand Down Expand Up @@ -115,10 +119,10 @@ pre-commit: fmt

.PHONY: install-protobuf-plugins
install-protobuf-plugins:
@go install github.com/bufbuild/buf/cmd/buf@v1.25.0
@go install github.com/bufbuild/buf/cmd/protoc-gen-buf-breaking@v1.25.0
@go install github.com/bufbuild/buf/cmd/protoc-gen-buf-lint@v1.25.0
@go install github.com/bufbuild/connect-go/cmd/protoc-gen-connect-go@latest
@go install github.com/bufbuild/buf/cmd/buf@v1.28.1
@go install github.com/bufbuild/buf/cmd/protoc-gen-buf-breaking@v1.28.1
@go install github.com/bufbuild/buf/cmd/protoc-gen-buf-lint@v1.28.1
@go install connectrpc.com/connect/cmd/protoc-gen-connect-go@latest
@go install github.com/fullstorydev/grpcurl/cmd/grpcurl@latest
@go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
@go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
Expand Down
23 changes: 19 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ PaoPao主要由以下优秀的开源项目/工具构建
* [Mir](https://github.com/alimy/mir 'go-mir')
* [Buf](https://github.com/bufbuild/buf 'buf')
* [gRPC](https://github.com/grpc/grpc-go 'grpc-go')
* [Zinc](https://zinclabs.io/ 'zinc')
* [Meilisearch](https://www.meilisearch.com/ 'meilisearch')

#### 前端:
* [Naive UI](https://www.naiveui.com/)
Expand All @@ -69,9 +69,7 @@ PaoPao主要由以下优秀的开源项目/工具构建
* Node.js (14+)
* MySQL (5.7+)
* Redis
* Zinc

> Zinc是一款轻量级全文搜索引擎,可以查阅 <https://zincsearch.com/> 安装
* Meilisearch

以上环境版本为PaoPao官方的开发版本,仅供参考,其他版本的环境未进行充分测试

Expand Down Expand Up @@ -221,6 +219,23 @@ PaoPao主要由以下优秀的开源项目/工具构建
docker run -d -p 8010:80 your/paopao-ce:web
```

* All-In-One:
```sh
# 构建Image
docker buildx build --build-arg USE_DIST="yes" -t your/paopao-ce:all-in-one-latest -f Dockerfile.allinone .

# 运行
docker run --name paopao-ce-allinone -d -p 8000:8008 -p 7700:7700 -v ./data/custom:/app/custom -v ./data/meili_data:/app/meili_data your/paopao-ce:all-in-one-latest

# 或者使用官方Image运行
docker run --name paopao-ce-allinone -d -p 8000:8008 -p 7700:7700 -v ./data/custom:/app/custom -v ./data/meili_data:/app/meili_data bitbus/paopao-ce:all-in-one-latest

# 或者使用官方Image运行 + 自定义config.yaml
docker run --name paopao-ce-allinone -d -p 8000:8008 -p 7700:7700 -v ./config.yaml:/app/config.yaml -v ./data/custom:/app/custom -v ./data/meili_data:/app/meili_data bitbus/paopao-ce:all-in-one-latest
```
> 注意在`config.yaml` 中`Meili.ApiKey`的值必须与容器中meili启动时设定的`MEILI_MASTER_KEY`环境变量值相同,默认为`paopao-meilisearch`. 可以在docker启动容器时通过`-e MEILI_MASTER_KEY=<custom-key>`设置该值。


### 方式三. 使用 docker-compose 运行
```sh
git clone https://github.com/rocboss/paopao-ce.git
Expand Down
2 changes: 1 addition & 1 deletion auto/api/m/v1/user.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion auto/api/r/v1/user.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion auto/api/s/v1/user.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion auto/api/v1/admin.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion auto/api/v1/alipay_priv.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion auto/api/v1/alipay_pub.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion auto/api/v1/core.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion auto/api/v1/followship.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions auto/api/v1/friendship.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion auto/api/v1/loose.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 20 additions & 1 deletion auto/api/v1/priv.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion auto/api/v1/pub.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion auto/api/v1/relax.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion auto/api/v1/site.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion auto/api/v1/trends.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion auto/api/x/v1/user.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading