Commit Graph

313 Commits (x/sqlx)

Author SHA1 Message Date
Michael Li 8a736b5bd0
sqlx: optimize get hots tweets in postgres database env
3 years ago
Michael Li 283770104b
sqlx: optimize initial logic for data service
3 years ago
Michael Li f293c573c3
Merge branch 'x/gorm' into x/sqlx
3 years ago
Michael Li 350f1832c4
just optimize code init for jinzhu
3 years ago
Michael Li 83bdf8bdb5
sqlx: adapter to v0.5.0
3 years ago
Michael Li e3db3311b4
Merge branch 'x/gorm' into x/sqlx
3 years ago
Michael Li 4168b2ee1e
fixed not create post metric item after create tweet error
3 years ago
Michael Li 8c280e1134
add cache support for get user info
3 years ago
Michael Li 2a44f94f3e
optimize update/create/delete tweet logic
3 years ago
Michael Li 7c6cb0a463
fixed sqlite3 sql migration script error and optimize following tweets order to DESC
3 years ago
Michael Li 53a4aef5f4
make Newest/Hots/Following tweets in index page work well
3 years ago
Michael Li ef6f905da5
add index newest/hots/following tweets logic
3 years ago
Michael Li 99e17d26a9
add more info in get site info api
3 years ago
Michael Li e724028ba0
add miss data logic for get register user info
3 years ago
Michael Li 99fd2643c4
Merge branch 'x/gorm' into x/sqlx
3 years ago
Michael Li 5cbcfc541d
support admin user get site info
3 years ago
Michael Li 77abeb2d10
merge from x/gorm branch
3 years ago
Michael Li 771a942b67
add base metrics component to measure some server status and add measure online user logic
3 years ago
Michael Li ce568e0bcf
Merge branch 'dev' into x/sqlx
3 years ago
Michael Li 8ee4ff7e8d
optimize cache logic for get unread message count
3 years ago
Michael Li 66d7779ce6
add cache support for GetUserTweets api
3 years ago
Michael Li 4172474330
add base app common cache logic for web response that will used for user/profile tweet list
3 years ago
Michael Li 6bf878d073
merge from x/grom branch
3 years ago
Michael Li bf4026c5af
optimize get unread message count logic and add cache base mechanism use redis
3 years ago
Michael Li 6046fd7995
merge from x/gorm branch
3 years ago
Michael Li 65dc7d0738
optimize get all keys logic in RedisCacheIndex feature
3 years ago
Michael Li 03d374a123
sqlx: fixed get messages error
3 years ago
Michael Li d1ad76ca6b
Merge branch 'x/gorm' into x/sqlx
3 years ago
Michael Li c046e32a83
ims: optimize message logic to display user's sender whisper message
3 years ago
Michael Li 590cf8390c
fixed get index posts error in mysql as database
3 years ago
Michael Li 4b1913605c
fixed get tag list error with empty slice pass to in
3 years ago
Michael Li d54d6cadd8
upgrade github.com/bitbus/sqlx => v1.8.0
3 years ago
Michael Li 74e2e8cb89
Merge branch 'x/gorm' into x/sqlx
3 years ago
Michael Li 096729aa68
merge from main branch
3 years ago
Michael Li a02d4d24d8
optimized minio removeobjects
3 years ago
cute-angelia 7a479e2ed4 fix minio removeobjects
3 years ago
Michael Li f46131d7fe
merge from x/gorm branch
3 years ago
Michael Li 866bd13ff4
use github.com/alimy/tryst/cfg instead github.com/alimy/cfg
3 years ago
Michael Li 2bcdb0deb1
Merge branch 'x/gorm' into x/sqlx
3 years ago
Michael Li 4bacfa8e5e
add LoggerOpenObserve feature
3 years ago
Michael Li ebebfb1ccd
sqlx: change sqlx as defualt db feature and fixed some error
3 years ago
Michael Li 5dc4c03a57
sqlx: fixed all create sql query error in postgres
3 years ago
Michael Li 6c594a8b24
sqlx: optimize get query for stmt
3 years ago
Michael Li 9104bf37ef
upgrade github.com/alimy/yesql => v1.9.0
3 years ago
Michael Li e9e3910fe5
sqlx: fixed create tweet error
3 years ago
Michael Li 513bdc75fa
sqlx: add pgsql special implement for tweet create
3 years ago
Michael Li efde294128
sqlx: fixed follow/unfollow topic error
3 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
3 years ago
Michael Li b78ad4c6b1
sqlx: optimize sakila package code and upgrade github.com/alimy/yesql=>v1.8.4
3 years ago
Michael Li 27f409e3a7
sqlx: add miss logic for topics
3 years ago
Michael Li 6e712e689e
use github.com/bitbus/sqlx as sqlx package and upgrade github.com/alimy/yesql => v1.8.0
3 years ago
Michael Li 8c39062998
sqlx: follow item add created_on field
3 years ago
Michael Li df1ede47cd
Merge branch 'x/gorm' into x/sqlx
3 years ago
Michael Li fd5e54bd31
optimize Folloship feature allow follow/unfollow user in follow page
3 years ago
Michael Li 5ff800a904
sqlx: add following data logic implement WIP: 100%
3 years ago
Michael Li 2a717d5a9a
sqlx: add miss method for tweet data logic WIP: 95%
3 years ago
Michael Li 45d0318c4d
sqlx: add timeline logic implement WIP: 90%
3 years ago
Michael Li 5cb550f186
Merge branch 'x/gorm' into x/sqlx
3 years ago
Michael Li d7351e7cf7
make friendship/followship feature as builtin and deprecated lightship feature
3 years ago
Michael Li 66b8a69ddf
Merge branch 'x/gorm' into x/sqlx
3 years ago
Michael Li 325d271f91
optimize code initial for bigcache
3 years ago
Michael Li 56b8463707
sqlx: add miss method for following
3 years ago
Michael Li 4f1b995412
Merge branch 'x/gorm' into x/sqlx
3 years ago
Michael Li 199f77e70c
add followship feature's backend logic implement
3 years ago
Michael Li d5557d4a87
add miss method for web servent implement in sqlx model
3 years ago
Michael Li 5602228a12
Merge branch 'x/gorm' into x/sqlx
3 years ago
Michael Li 1a41075679
fixed get user comment tweets return incorrect data error
3 years ago
Michael Li 8d6312d4a5
fixed get user comment/media tweets total count error
3 years ago
Michael Li f656b027a3
add visit user commment/media tweets support
3 years ago
Michael Li 06f55083bd
sqlx: fixed error for tweet logic implement
3 years ago
Michael Li cb97144ffd
Merge branch 'x/gorm' into x/sqlx
3 years ago
Michael Li 2a7103abf0
add get highlight user tweets support
3 years ago
Michael Li 2bc16b232d
add get user star tweets logic for guest visitor
3 years ago
Michael Li 2dd64d0a9d
add tweet highlight logic implement
3 years ago
Michael Li 2f9077c941
sqlx: tweet logic is implemented complete. WIP %85
3 years ago
Michael Li 8eb294154a
optimize core service define
3 years ago
Michael Li 1e9f65626a
sqlx: tweet_help/tweet_manage logic is implemented complete. WIP %75
3 years ago
Michael Li 8bf268af0a
sqlx: fixed wallet logic for HandlePostAttachmentBought error
3 years ago
Michael Li 1a3edd3f8f
sqlx: just format yesql.sql
3 years ago
Michael Li fc8a33a14d
sqlx: wallet logic is implemented complete. WIP %55
3 years ago
Michael Li 250fd0af15
sqlx: user logic is implemented complete. WIP %45
3 years ago
Michael Li 5957eeacc3
sqlx: security logic is implemented complete. WIP %40
3 years ago
Michael Li a9743e25bd
sqlx: messages logic is implemented complete. WIP %35
3 years ago
Michael Li 7665c1fd0c
sqlx: yesql gen script add go:build generate tag
3 years ago
Michael Li 7daa78cb12
sqlx: contact logic is implemented complete. WIP %30
3 years ago
Michael Li 0bb4810690
sqlx: comment logic is implemented complete. WIP %25
3 years ago
Michael Li 86ebc3b8e6
upgrade github.com/alimy/yesql => v1.5.0
3 years ago
Michael Li a68d3816ed
sqlx: implement some logic WIP %20
3 years ago
Michael Li 1ac3815bb8
Merge branch 'x/gorm' into x/sqlx
3 years ago
Michael Li 940d0032e4
add miss change
3 years ago
Michael Li 79d9794462
merge from dev branch
3 years ago
Michael Li 05bad5997f
upgrade github.com/alimy/cfg => v0.4.0
3 years ago
Michael Li fec8330fb8
sqlx: add some logic implement 8%
3 years ago
Michael Li 7b16fbe542
sqlx: add some logic implement 6%
3 years ago
Michael Li fc3659b4a2
sqlx: use yesql => v1.3.0
3 years ago
Michael Li 2d0477cf65
sqlx: add some logic implement 5%
3 years ago
Michael Li b30bccbfae
merge from x/gorm branch
3 years ago
Michael Li 6753010929
ajust internal/core interface related model type to split package
3 years ago
Michael Li 69fa44dd21
Merge branch 'x/gorm' into x/sqlx
3 years ago
Michael Li 275027fc5b
Merge branch 'dev' into x/gorm
3 years ago