Commit Graph

551 Commits (x/sqlc)

Author SHA1 Message Date
Michael Li ba66ad922f
sqlc: add base sql query
2 years ago
Michael Li 067bd9104a
sqlc: add stub read all message method
2 years ago
Michael Li 731a9cbe4f
Merge branch 'x/gorm' into x/sqlc
2 years ago
Michael Li 3956735db6
add read all unread message support for message sub-system
2 years ago
Michael Li bdfab5cf62
optimize unread message logic
2 years ago
Michael Li 822cc4181a
merge from x/gorm branch
2 years ago
Michael Li a1557403fb
Merge branch 'x/gorm' into x/sqlc
2 years ago
Michael Li 427269572b
add cache support for index trends info
2 years ago
Michael Li c78936ef3f
optimize messages page and backend logic
2 years ago
Michael Li 9aec4fba38
fixed not expire messages cache after follow user
2 years ago
Michael Li 167e2e9a44
add message filter backend logic
2 years ago
Michael Li e2f34633cf
expire related comments after highlight comment
2 years ago
Michael Li f1d479bbc9
merge from x/gorm branch
2 years ago
Michael Li 05f44031d8
fixed get hots tweet comments result not correct
2 years ago
Michael Li ba879a2fec
add full support for tweet hots comment logic and add cache support for tweet comment
2 years ago
Michael Li bb669a9632
fixed get hots comments error
2 years ago
Michael Li 99a8eb73d4
optimize comment rank score compute logic and some other optimize
2 years ago
Michael Li 667e75f302
just reduce little source code
2 years ago
Michael Li 0c218fe944
add simple prometheus metrics service support
2 years ago
Michael Li 5dd7dc6cf5
add follow/unfollow support in message/post page
2 years ago
Michael Li 5889856ee6
upgrade sqlc => v1.21.0
2 years ago
Michael Li f8ccb74e7a
add cache expire to user relation cache info
2 years ago
Michael Li 13aba704e3
optimize follow/unfollow user in all needed page
2 years ago
Michael Li 2274d128b4
add follow/unfollow user support in index page
2 years ago
Michael Li 5cabf0e44a
add comment highlight support
2 years ago
Michael Li 7788083818
sqlc: add miss methoe in slonik
2 years ago
Michael Li 0eaf693ca3
Merge branch 'x/gorm' into x/sqlc
2 years ago
Michael Li c7c68770b5
optimize get post comment logic
2 years ago
Michael Li 2193cbffcd
add simple hots comment support for post detail page
2 years ago
Michael Li 14a4558bf0
Merge branch 'x/gorm' into x/sqlc
2 years ago
Michael Li 350f1832c4
just optimize code init for jinzhu
2 years ago
Michael Li 078fdd8437
merge from x/gorm branch
2 years ago
Michael Li 4b3292f9ad
change relationTyp out string describe
2 years ago
Michael Li ba40775da9
optimize index tweets from cache logic
2 years ago
Michael Li 8f32e827d6
fixed get user's coment/like tweets error by guest
2 years ago
Michael Li 35b865724c
fixed get user tweets error when use cache
2 years ago
Michael Li 4168b2ee1e
fixed not create post metric item after create tweet error
2 years ago
Michael Li 8c280e1134
add cache support for get user info
2 years ago
Michael Li 2a44f94f3e
optimize update/create/delete tweet logic
2 years ago
Michael Li 7c6cb0a463
fixed sqlite3 sql migration script error and optimize following tweets order to DESC
2 years ago
Michael Li 53a4aef5f4
make Newest/Hots/Following tweets in index page work well
2 years ago
Michael Li ef6f905da5
add index newest/hots/following tweets logic
2 years ago
Michael Li 7ba82d78bd
optimize events.Job function name
2 years ago
Michael Li 35c315a649
remove reduce debug log in onMaxOnlineJob
2 years ago
Michael Li 92c0036bc1
use a cron job to update max history online user count
2 years ago
Michael Li 99e17d26a9
add more info in get site info api
2 years ago
Michael Li ce0fba62ba
add miss method
2 years ago
Michael Li b80be1939c
Merge branch 'dev' into x/sqlc
2 years ago
Michael Li 5cbcfc541d
support admin user get site info
2 years ago
Michael Li 4bd921c3a4
Merge branch 'x/gorm' into x/sqlc
2 years ago
Michael Li 771a942b67
add base metrics component to measure some server status and add measure online user logic
2 years ago
Michael Li 059cdcddaf
update conf/config.yaml
2 years ago
Michael Li 887d09b10b
increase default min worker to 64 in EventManager
2 years ago
Michael Li c922361ccf
add simple audit hook base logic
2 years ago
Michael Li 9619319a06
Merge branch 'x/gorm' into x/sqlc
2 years ago
Michael Li 8ee4ff7e8d
optimize cache logic for get unread message count
2 years ago
Michael Li 657d99a725
remove no used code in GetUserTweets method
2 years ago
Michael Li 66d7779ce6
add cache support for GetUserTweets api
2 years ago
Michael Li 8ca3c72467
user internal json package to handle json serial in servants/base package
2 years ago
Michael Li 4172474330
add base app common cache logic for web response that will used for user/profile tweet list
2 years ago
Michael Li e953f7727a
optimize rueidis nil message process logic
2 years ago
Michael Li 8faa135eed
Merge branch 'x/gorm' into x/sqlc
2 years ago
Michael Li bf4026c5af
optimize get unread message count logic and add cache base mechanism use redis
2 years ago
Michael Li f5f315b6e0
merge from x/gorm branch
2 years ago
Michael Li 2ae7d4d02a
add JobManager component in events package
2 years ago
Michael Li 0ad77cf17b
fixed error process incorrect in events component
2 years ago
Michael Li da4f2f1810
make event manager just do initial only once
2 years ago
Michael Li 65dc7d0738
optimize get all keys logic in RedisCacheIndex feature
2 years ago
Michael Li ed909ba497
add events manager sub-system
2 years ago
Michael Li 07ff699857
Merge branch 'x/tryst-gorotine-pool' into dev
2 years ago
Michael Li dc86d2edda
sqlc: fixed miss method error
2 years ago
Michael Li 70a152c168
Merge branch 'x/gorm' into x/sqlc
2 years ago
Michael Li c046e32a83
ims: optimize message logic to display user's sender whisper message
2 years ago
Michael Li 8688023508
sqlc: add some base initial logic
2 years ago
Michael Li ac78970ce1
sqlc: add some stub sql query
2 years ago
Michael Li 44d28c807f
Merge branch 'x/gorm' into x/sqlc
2 years ago
Michael Li 3581d9bc2f
optimize relax web api define in mirc/web/v1
2 years ago
Michael Li 7f41aade14
Merge branch 'x/gorm' into x/sqlc
2 years ago
Michael Li 537f64090e
upgrade github.com/golang-jwt/jwt/v5 => v5.0.0 and optimize /v1/user/msgcount/unread api process logic
2 years ago
Michael Li 7a864fe897
Merge branch 'x/gorm' into x/sqlc
2 years ago
Michael Li 1791314a35
add PrivateKey in Alipay config section for default internal/conf/conf.yaml
2 years ago
Michael Li 096729aa68
merge from main branch
2 years ago
Michael Li a02d4d24d8
optimized minio removeobjects
2 years ago
cute-angelia 7a479e2ed4 fix minio removeobjects
2 years ago
Michael Li 7525c338e8
sqlc: fixed pacakge miss error
2 years ago
Michael Li 9424cbb9b7
Merge branch 'x/gorm' into x/sqlc
2 years ago
Michael Li 3488577c21
Merge branch 'dev' into x/tryst-gorotine-pool
2 years ago
Michael Li 866bd13ff4
use github.com/alimy/tryst/cfg instead github.com/alimy/cfg
2 years ago
Michael Li c34e53e285
use github.com/alimy/tryst/pool.GorotinePool as goroutine pool to implement AsyncClient
2 years ago
Michael Li 4bacfa8e5e
add LoggerOpenObserve feature
2 years ago
Michael Li ce08b765e9
Merge branch 'x/gorm' into x/sqlc
2 years ago
Michael Li 51fd9724b9
fixed JWT valide error whent get user by id failed
2 years ago
Michael Li ebc652ed2f
Merge branch 'x/gorm' into x/sqlc
2 years ago
Michael Li fd5e54bd31
optimize Folloship feature allow follow/unfollow user in follow page
2 years ago
Michael Li 32b094b346
optimize dao initialial for slonik
2 years ago
Michael Li 3a33796c92
Merge branch 'x/gorm' into x/sqlc
2 years ago
Michael Li d7351e7cf7
make friendship/followship feature as builtin and deprecated lightship feature
2 years ago
Michael Li 693ef1fc66
Merge branch 'x/gorm' into x/sqlc
2 years ago
Michael Li 325d271f91
optimize code initial for bigcache
2 years ago
Michael Li 7e0006f644
merge from x/gorm branch
2 years ago