Commit Graph

553 Commits (92f4a2c4b898572e70229cd6adb392512f84e732)

Author SHA1 Message Date
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 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 5c0e97d4c4
sqlx: optimize get comments for post detail page logic
2 years ago
Michael Li ccba606b73
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li c7c68770b5
optimize get post comment logic
2 years ago
Michael Li 15516717c4
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li 2193cbffcd
add simple hots comment support for post detail page
2 years ago
Michael Li 8a736b5bd0
sqlx: optimize get hots tweets in postgres database env
2 years ago
Michael Li 283770104b
sqlx: optimize initial logic for data service
2 years ago
Michael Li f293c573c3
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li 350f1832c4
just optimize code init for jinzhu
2 years ago
Michael Li 83bdf8bdb5
sqlx: adapter to v0.5.0
2 years ago
Michael Li e3db3311b4
Merge branch 'x/gorm' into x/sqlx
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 e724028ba0
add miss data logic for get register user info
2 years ago
Michael Li 99fd2643c4
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li 5cbcfc541d
support admin user get site info
2 years ago
Michael Li 77abeb2d10
merge from x/gorm branch
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 ce568e0bcf
Merge branch 'dev' into x/sqlx
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 6bf878d073
merge from x/grom branch
2 years ago
Michael Li bf4026c5af
optimize get unread message count logic and add cache base mechanism use redis
2 years ago
Michael Li 6046fd7995
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 03d374a123
sqlx: fixed get messages error
2 years ago
Michael Li d1ad76ca6b
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li c046e32a83
ims: optimize message logic to display user's sender whisper message
2 years ago
Michael Li c616cb930b
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li 3581d9bc2f
optimize relax web api define in mirc/web/v1
2 years ago
Michael Li 33380f6395
merge from x/gorm branch
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 590cf8390c
fixed get index posts error in mysql as database
2 years ago
Michael Li 4b1913605c
fixed get tag list error with empty slice pass to in
2 years ago
Michael Li d54d6cadd8
upgrade github.com/bitbus/sqlx => v1.8.0
2 years ago
Michael Li dfdc02c33a
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li 1791314a35
add PrivateKey in Alipay config section for default internal/conf/conf.yaml
2 years ago
Michael Li 74e2e8cb89
Merge branch 'x/gorm' into x/sqlx
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 3488577c21
Merge branch 'dev' into x/tryst-gorotine-pool
2 years ago
Michael Li f46131d7fe
merge from x/gorm branch
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 2bcdb0deb1
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li 4bacfa8e5e
add LoggerOpenObserve feature
2 years ago
Michael Li ebebfb1ccd
sqlx: change sqlx as defualt db feature and fixed some error
2 years ago
Michael Li 5dc4c03a57
sqlx: fixed all create sql query error in postgres
2 years ago
Michael Li 6c594a8b24
sqlx: optimize get query for stmt
2 years ago
Michael Li 9104bf37ef
upgrade github.com/alimy/yesql => v1.9.0
2 years ago
Michael Li d4b8bed972
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li 51fd9724b9
fixed JWT valide error whent get user by id failed
2 years ago
Michael Li e9e3910fe5
sqlx: fixed create tweet error
2 years ago
Michael Li 513bdc75fa
sqlx: add pgsql special implement for tweet create
2 years ago
Michael Li efde294128
sqlx: fixed follow/unfollow topic error
2 years ago
Michael Li 3d640f0958
sqlx: make app work well but except create post/comment/reply and some other create act in postgres driver because it not support LasterInsertId
2 years ago
Michael Li b78ad4c6b1
sqlx: optimize sakila package code and upgrade github.com/alimy/yesql=>v1.8.4
2 years ago
Michael Li 27f409e3a7
sqlx: add miss logic for topics
2 years ago
Michael Li 6e712e689e
use github.com/bitbus/sqlx as sqlx package and upgrade github.com/alimy/yesql => v1.8.0
2 years ago
Michael Li 8c39062998
sqlx: follow item add created_on field
2 years ago
Michael Li df1ede47cd
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li fd5e54bd31
optimize Folloship feature allow follow/unfollow user in follow page
2 years ago
Michael Li 5ff800a904
sqlx: add following data logic implement WIP: 100%
2 years ago
Michael Li 2a717d5a9a
sqlx: add miss method for tweet data logic WIP: 95%
2 years ago