Commit Graph

166 Commits (67530109292cf0364ff5e4654907950ff6304fa9)

Author SHA1 Message Date
Michael Li 344bb01305
merge from dev branch
2 years ago
Michael Li 92a492d90d
use github.com/rueian/rueidis as Redis client and abstract RedisCache interface
2 years ago
Michael Li c64bac867b
sqlx: add stub sql dml for all data logic service use Yesql
2 years ago
Michael Li 90752be696
upgrade github.com/alimy/yesql => v1.1.2
2 years ago
Michael Li e510a53643
use github.com/alimy/yesql@v1.1.1 to generate db struct type automatic
2 years ago
Michael Li fa6f41b1a3
upgrade github.com/alimy/yesql => v0.7.0
2 years ago
Michael Li 375c761b24
upgrade github.com/alimy/yesql => v0.3.0
2 years ago
Michael Li f890e647d3
sqlx: use github.com/alimy/yesql parse SQL files with multiple named queries and automatically prepare and scan them into structs
2 years ago
Michael Li 62666b0c49
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li 8aa9a4ef1b
optimize data service for web
2 years ago
Michael Li 4db28908cf
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li 57f6a43252
optimize dao initial logic
2 years ago
Michael Li 3b9d7cfee5
merge from x/gorm branch
2 years ago
Michael Li e25faa8a3c
just optimize data logic servant define
2 years ago
Michael Li 6e6ab81c1c
fixed topics create/update error
2 years ago
Michael Li d32df6b11d
fixed topics sql error
2 years ago
Michael Li 7908b07d88
Merge branch 'dev' into x/sqlx
2 years ago
Michael Li 8674217e51
fixed some error when use postgres database
2 years ago
Michael Li 81ae8c0596
add a sample JsonType for process sql json
2 years ago
Michael Li 0d2494168b
merge from dev branch
2 years ago
Michael Li f0c4320a45
optimize BigCacheIndex add HardMaxCacheSize to customer max cache size in runtime
2 years ago
Michael Li d583d1649c
sqlx: fixed select limit/offset sql clause error in MySQL/Sqlite3
2 years ago
Michael Li 8a78aaa554
upgrade github.com/meilisearch/meilisearch-go => v0.23.0 to user meilisearch v1.0 but have problem need fix
2 years ago
Michael Li 59a2f8a9db
sqlx: optimize variable name for table list
2 years ago
Michael Li c12ed880c1
sqlx: optimize datable table name process logic
2 years ago
Michael Li 914889994f
sqlx: prepare implement tweets data logic for sqlx feature
2 years ago
Michael Li 9ab97d7950
sqlx: optimize sql/stmt field name prefix
2 years ago
Michael Li 2f1d4d2f1e
sqlx: optimize sqlx help function for in cause scence
2 years ago
Michael Li 9d6d8f14b0
sqlx: fixed topics GetTags data logic error
2 years ago
Michael Li 27455dcc19
sqlx: optimize topicServent.UpsertTags logic
2 years ago
Michael Li 4698807574
sqlx: fixed transacation help function logic error
2 years ago
Michael Li 62f348a714
sqlx: optimize transacation process logic
2 years ago
Michael Li dd22212320
sqlx: fixed sql query typo error
2 years ago
Michael Li dda5465d60
sqlx: implements topic data logics
2 years ago
Michael Li d8b009ee3d
sqlx: adjust index post service stub interface
2 years ago
Michael Li f7d9a40184
Merge branch 'dev' into x/sqlx
2 years ago
Michael Li ef7fab579b
lightship: add Lightship feature base support
2 years ago
Michael Li ef2925389c
sqlx: add sqlxServent with help method for db transcation logic
2 years ago
Michael Li 6890f4f5fc
sqlx: optimize ams initial for sqlc feature
2 years ago
Michael Li 59edb16621
sqlx: fixed ams inital error for sqlc feature
2 years ago
Michael Li 5ce7ac54a1
Merge branch 'feature/mir' into x/sqlx
2 years ago
Michael Li 060840030e
sqlx: add all stub interface implement for core.DataService in sqlx feature
2 years ago
Michael Li c19d7107f2
Merge branch 'dev' into feature/mir
2 years ago
Michael Li aa7a0be729
sqlx: prepare base code for sqlx logic
2 years ago
Michael Li dfe59ab947
merge from dev
2 years ago
Michael Li 745f3639d5
optimize phone sms verify logic code
2 years ago
Michael Li 72136a2266
use github.com/alimy/cfg as features configure help library
2 years ago
Michael Li 9e1d09a55d
use github.com/alimy/cfg as features configure help library
2 years ago
Michael Li 7636412940 mir: optimize source code layout for import go-mir
2 years ago
Michael Li fd665abb8b merge from dev branch
2 years ago
Michael Li bace5bf750 optimize features process logic to abstract in cfg pkg
2 years ago
Michael Li 5433eb9e8f prepare use mir
2 years ago
ROC fde5173e96
Merge pull request #192 from rocboss/feature/friendship
2 years ago
Michael Li 07c39ce91b Merge branch 'dev' into jc/alimy
2 years ago
Michael Li 87d9f61792 fixed zinc search engine add documents failure
2 years ago
Michael Li 4c0cfdd2b0 optimize core search interface and upgrade support meilisearch to 0.29.0
2 years ago
Michael Li e34af9a202 freindship: add frontend implement
2 years ago
Michael Li a269ad87a7 friendship: add backend api base implement
2 years ago
Michael Li 67c669f6c4 optimize search logic for bridge use two level channel to dynamic process docs update
2 years ago
Michael Li fda737a6e5 upgrade go version to go1.18 and github.com/go-gonic/gin to v1.8.1
2 years ago
Michael Li 879e49d29a feature[oss:tempdir] fixed persist object failed error in localoss implement
2 years ago
Michael Li bdaee860c0 just fixed S3Service off OSS initialize config error
2 years ago
Michael Li 395d8865ac fixed path error when use OSS:TempDir
2 years ago
Michael Li 8c32ff95d4 optimize localossObject implement logic
2 years ago
Michael Li 668239f88c optimize object storage service implement logic
2 years ago
Michael Li 1e9dd0fe5b just optimize #168
2 years ago
Michael Li 0033a1cdbd optimize create post/comment logic that tweet type is media contents
2 years ago
Michael Li 4232099036 support Huawei Cloud OBS as OSS service
2 years ago
ROC 986e80af32 feat: tencent cos support
2 years ago
Michael Li 5a45bc4885 single intilialize DataService/TweetSearchService/ObjectStorageService
2 years ago
alimy 0d21272c51 optimize #155 add miss method implements for LocalOSS
2 years ago
alimy dd53d048f6 optimize delete media content that had upload when create tweet failed
2 years ago
alimy ffb2bac3e0 optimize tweet delete logic
2 years ago
alimy 70f68a1c4e optimize BigCacheIndex logic
2 years ago
alimy d5b701864b optimize #148 lazy initial gorm db in first use
2 years ago
alimy 63310189f5 optimize core service implement logic
2 years ago
alimy 6c407cdef6 optimize core service define
2 years ago
alimy 83371edd32 optimize post cache index service integrate logic
2 years ago
alimy 5722fbfc7b optimize #141 fixed zinc search not in expect result
2 years ago
alimy e06abfb29c fixed get index post list error when not user cache index service
2 years ago
alimy c996830e8f support search private tweet and display private tweet in index page when user login or is admin
2 years ago
alimy 6bc7f5e636 optimize ip address location logic
2 years ago
alimy 6f73103300 optimize #129 make tweet search by tag more exact when use meilisearch
2 years ago
alimy 4742138c48 optimize #129 use new goroutine handle log in mieliLogHook fire
2 years ago
alimy 4a6eb41a36 fixed zinc add documents no effects error
2 years ago
alimy bed9bee806 support meilisearch as tweet search service
2 years ago
alimy 1facc41068 optimize #118 add backend worker update documents to search engine
2 years ago
alimy 2fc1fd2f9b optimize #118 wrap async interface for update documents to search engine
2 years ago
alimy edc52e71b1 optimize search abstract service interface
2 years ago
alimy 61342c13a8 optimize json encoding module that code from gin
2 years ago
alimy 4aaa732387 add BigCacheIndex for cache index posts
2 years ago
alimy 0da2c76d0b optimize #97 user stars/collections update when post visibility changed
2 years ago
alimy ba4023d0a7 optimize visible post logic add tags/search-index process logic
2 years ago
orzi! 2a527202c0 修改已发布动态的可见度
2 years ago
alimy 6f355c10b7 support set visibility(public/private/friend) for post
2 years ago
alimy e5ac0decaf optimize #52
2 years ago
alimy 5089d99643 Merge branch 'dev'
2 years ago
alimy 43de1fdf8a abstract IndexPostsService interface for get index posts
2 years ago
alimy 7a25bae54b optimize #78 support custom configure ActionQPS to adjust internal action event send
2 years ago
alimy 77d8bdbc58 optimize #78 support disable expire cache index if needed
2 years ago