Commit Graph

414 Commits (9424cbb9b7ecaf0e2aaf96adcdc884d2d64b5171)

Author SHA1 Message Date
Michael Li 6e6ab81c1c
fixed topics create/update error
2 years ago
Michael Li c3136181d9
merge from x/sqlx
2 years ago
Michael Li d32df6b11d
fixed topics sql error
2 years ago
Michael Li 75d65defda
fixed test error
2 years ago
Michael Li 5678a8761e
merge from sqlx
2 years ago
Michael Li 7908b07d88
Merge branch 'dev' into x/sqlx
2 years ago
Michael Li 8418a45312
Merge branch 'dev' into feature/deprecated-oldweb
2 years ago
Michael Li 8674217e51
fixed some error when use postgres database
2 years ago
Michael Li 646c4cdf56
remove Deprecated:OldWeb feature
2 years ago
Michael Li 460c82004b
merge from dev
2 years ago
Michael Li 81e022f626
remove pkg/crypto pkg/sign and rename pkg/util => pkg/utils
2 years ago
Michael Li 81ae8c0596
add a sample JsonType for process sql json
2 years ago
Michael Li 6afd7e6a13
Merge branch 'main' into dev
2 years ago
Michael Li 1f9bbe96e4
update README.md and add docker-compose.yaml to release zip file when publish release
2 years ago
Michael Li 96c3e45f41
merge from x/sqlx branch
2 years ago
Michael Li 2ee7711b2a
merge from dev branch
2 years ago
Michael Li ea0ff13301
upgrade github.com/go-redis/redis/v8 => github.com/redis/go-redis/v9
2 years ago
Michael Li 39b8276109
use github.com/sourcegraph/conc.WaitGroup instead sync.WaitGroup to process multiple goroutine sync
2 years ago
Michael Li 155e5e7ba0
adjust some method implement about limit/offset position change
2 years ago
Michael Li 18efe98bd0
Merge branch 'x/sqlx' into x/sqlc
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 a821f47ded
add Pyroscope support
2 years ago
Michael Li d583d1649c
sqlx: fixed select limit/offset sql clause error in MySQL/Sqlite3
2 years ago
Michael Li e72873cca7
sqlc: fixed topic query sql error:
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 b2bf5bd3af
Merge branch 'x/sqlx' into x/sqlc
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 8578cd063b
sqlc: prepare implement tweets data logic for sqlc feature
2 years ago
Michael Li 9466d12412
Merge branch 'x/sqlx' into x/sqlc
2 years ago
Michael Li 914889994f
sqlx: prepare implement tweets data logic for sqlx feature
2 years ago
Michael Li bac261acda
sqlc: fixed migration import package error
2 years ago
Michael Li 7c8849ee54
sqlc: make sqlc generate tool integrate to local build enviroment use github.com/kyleconroy/sqlc/pkg/cli
2 years ago
Michael Li 2b09bba91e
Merge branch 'x/sqlx' into x/sqlc
2 years ago
Michael Li 9ab97d7950
sqlx: optimize sql/stmt field name prefix
2 years ago
Michael Li 5b5154f20b
Merge branch 'x/sqlx' into x/sqlc
2 years ago
Michael Li 2f1d4d2f1e
sqlx: optimize sqlx help function for in cause scence
2 years ago
Michael Li 3f3cebed70
sqlc: impement topic data logic
2 years ago
Michael Li 9d6d8f14b0
sqlx: fixed topics GetTags data logic error
2 years ago
Michael Li bfef2fe7f9
sqlc: prepare implement topics data logic
2 years ago
Michael Li 7a9f62a20d
Merge branch 'x/sqlx' into x/sqlc
2 years ago
Michael Li 27455dcc19
sqlx: optimize topicServent.UpsertTags logic
2 years ago
Michael Li dff473227d
Merge branch 'x/sqlx' into x/sqlc
2 years ago
Michael Li 4698807574
sqlx: fixed transacation help function logic error
2 years ago
Michael Li 75c376b10d
sqlc: optimize transacation process logic
2 years ago
Michael Li ae81a20950
Merge branch 'x/sqlx' into x/sqlc
2 years ago
Michael Li 62f348a714
sqlx: optimize transacation process logic
2 years ago
Michael Li b7dfd7e173
sqlc: add migration support for sqlc scene
2 years ago
Michael Li 268350726c
Merge branch 'x/sqlx' into x/sqlc
2 years ago
Michael Li 7ba6dc124a
sqlx: custom set mapper func for sqlx.DB
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 959b7a6095
Merge branch 'x/sqlx' into x/sqlc
2 years ago
Michael Li 9ac483f996
Merge branch 'beta' into x/sqlx
2 years ago
Michael Li 822125e6de
fixed user phone bind error when custom configed Sms feature
2 years ago
Michael Li 651d779ece
Merge branch 'x/sqlx' into x/sqlc
2 years ago
Michael Li e6414f66ff
change func name initial=>lazyInitial in web service package
2 years ago
Michael Li 70b53ffede
optimize web service package initialize
2 years ago
Michael Li b80ae4aec8
Merge branch 'dev' into x/sqlx
2 years ago
Michael Li ca677bf7ce
add internal/timeline internal/xds module as stub help internal system for tweets message flow
2 years ago
Michael Li 728966e56e
sqlc: adjust index post service stub interface implement
2 years ago
Michael Li 31d236332f
Merge branch 'x/sqlx' into x/sqlc
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 c459ff997a
Merge pull request #198 from rocboss/feature/lightship
2 years ago
Michael Li ef7fab579b
lightship: add Lightship feature base support
2 years ago
Michael Li 8058082bb6
Merge branch 'dev' into x/sqlx
2 years ago
Michael Li 9225485317
optimize get user info logic in JWT process
2 years ago
Michael Li bd98d449bf
Merge branch 'x/sqlx' into x/sqlc
2 years ago
Michael Li ef2925389c
sqlx: add sqlxServent with help method for db transcation logic
2 years ago
Michael Li 38ffa181e1
sqlc: base pgx servant add custom context help method
2 years ago
Michael Li d666b73e83
sqlc: optimize pgx base servant logic
2 years ago
Michael Li 20eab760ea
Merge branch 'x/sqlx' into x/sqlc
2 years ago
Michael Li 6890f4f5fc
sqlx: optimize ams initial for sqlc feature
2 years ago
Michael Li 9f4ce2182c
Merge branch 'x/sqlx' into x/sqlc
2 years ago
Michael Li 59edb16621
sqlx: fixed ams inital error for sqlc feature
2 years ago
Michael Li 41f3cedc8d
sqlc: add all stub interface implement for core.DataService in sqlc feature
2 years ago
Michael Li 74ce4e5b10
merge from x/sqlx
2 years ago
Michael Li 7d2a2fd285
sqlx: optimize sql db initial
2 years ago
Michael Li 9f150c3cf0
sqlx: fixed package import error and upgrade db driver package
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 1ce877fb59
sqlx: add sqlx db initial logic
2 years ago
Michael Li c19d7107f2
Merge branch 'dev' into feature/mir
2 years ago
Michael Li 47020f2a77
fixed get wrong tags that quote num is zero error
2 years ago
Michael Li aa7a0be729
sqlx: prepare base code for sqlx logic
2 years ago
Michael Li e2e8393d20
mir: ajust info print when stop app
2 years ago
Michael Li ba27352c52
mir: optimize app start service logic to fixed mutilple service serve in sample port will occurs error when stop app
2 years ago
Michael Li 365841c535
sqlc: add stub sample sqlc code for slonik
2 years ago
Michael Li f3ed27dbef
mir:fixed VisibleTweet error in new web service
2 years ago
Michael Li 89a24960cd
mir:fixed LockTweet/StickTweet return value error
2 years ago
Michael Li 35f266e770
mir: fixed alipay client initialize error in old web service
2 years ago
Michael Li ce77357f6a
mir:fixed get suggest user/tags result error
2 years ago
Michael Li bde80d93ee
mir:fixed get comments return wrong data error
2 years ago
Michael Li b99c239ff9
mir:ajust frontend adapter new web service api
2 years ago
Michael Li 6576d74f4d
add frontend:web / frontend:embedweb / docs service
2 years ago
Michael Li 275e132927
mir: fixed http service initial error by wrong ReadTimeout/WriteTimeout setting
2 years ago
Michael Li 10e5bc470a
mir:fixed new service initial error
2 years ago
Michael Li 53383b9916
mir: add friendship api implement for new web service
2 years ago
Michael Li 6b2f320cd8
mir: add loose api implement for new web service
2 years ago
Michael Li 058a30794d
mir: add pub api implement for new web service
2 years ago
Michael Li bc4596721e
mir: add priv api implement full implement for new web service
2 years ago
Michael Li 820d54108d
mir:add priv api implement for new web service
2 years ago
Michael Li 64527ec6b2
mir:add core api implement for new web service
2 years ago
Michael Li 2d2c245ca1
mir: partial api implement for new web service
2 years ago
Michael Li dee07b6184
mir: add alipay api implement for new web service
2 years ago
Michael Li da939f7c73
mir: add partital interface implement for new web service
2 years ago
Michael Li fc4e79662d
mir: optimize api defined service names
2 years ago
Michael Li f3bb188ee4
mir: change error variable names
2 years ago
Michael Li 63bc1c57e6
add internal/servants/web servants init logic
2 years ago
Michael Li 989d79080e
add simple go-mir define file for web api
2 years ago
Michael Li 8139e4dbe2
upgrade github.com/alimy/mir/v3 => v3.0.0-alpha.8
2 years ago
Michael Li b164adec6b
optimize service initial logic
2 years ago
Michael Li f287c825a6
add grpc service template code and optimize service initial logic
2 years ago
Michael Li da633590a1
update spacex servie name info
2 years ago
Michael Li bab9fd46f2
optimize service create if needed by config.yaml feature declare
2 years ago
Michael Li bd5351206d
Merge branch 'dev' into feature/mir
2 years ago
Michael Li 76582ec451
optimize conf initial logic to add merge config.yaml support
2 years ago
Michael Li 0e7f47f7a3
optimze service interface add Version() to return version info
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 9e33e96958
upgrade github.com/alimy/mir/v3 => v3.0.0-alpha.7
2 years ago
Michael Li 2397eff99d
upgrade github.com/alimy/mir/v3 => v3.0.0-alpha.6
2 years ago
Michael Li 4d379e278a
upgrade github.com/alimy/mir/v3 => v3.0.0-alpha.5
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 0adfeee6aa
mir: update mirc/README.md
2 years ago
Michael Li 4dae86cc9c
mir: add Admin/SpaceX/Bot/LocalOSS stub service interface and simple initial logic
2 years ago
Michael Li 6650d089b8
add m/s/x RESTful API stub interface for mir
2 years ago
Michael Li 6a53632b9b
optimize main function logic and custom service create logic
2 years ago
Michael Li 3ad6f66a76
upgrade go-mir version to v3.0.0-alpha.4
2 years ago
Michael Li 3c47f48c42
optimize main initial logic for new service init
2 years ago
Michael Li 6570286a4e
add internal/service base logic
2 years ago
Michael Li 1125487bbc mir: move mirgration module to internal pkg
2 years ago
Michael Li 7636412940 mir: optimize source code layout for import go-mir
2 years ago
Michael Li df1744fc64 optimize servants code layout
2 years ago
Michael Li c3c497e7d1 Merge branch 'dev' into feature/mir-prepare
2 years ago
Michael Li fb8501c865 optimize pkg/cfg of features's Use logic code
2 years ago
Michael Li e81772005d optimize service define in pkg/service package
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 c05c14235e Merge branch 'dev' into feature/mir-prepare
2 years ago
Michael Li ebcf2be179 add CfgBe/CfgNot function to conf package
2 years ago
Michael Li 7b325e33b8 optimzie error process logic adapter mir
2 years ago
Michael Li 0eda77775f mv app's logic to service
2 years ago
Michael Li 3c14ced542 optimize base code for binding/render
2 years ago
Michael Li 8e88500d8a add app service start/stop common logic
2 years ago
Michael Li a63744479b optimize source code layout
2 years ago
Michael Li 367e0b018b optimize source code layout
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 09949295e8 frendship: fixed route register error
2 years ago
Michael Li a269ad87a7 friendship: add backend api base implement
2 years ago
Michael Li e9462c6270 add some docs
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 8a836ae56c optimize alipay initial client logic
2 years ago
Michael Li 1ab3276eee replace github.com/dgrijalva/jwt-go to github.com/golang-jwt/v4
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
yiGmMk 5f7bd108e9
fix bug,PostContent.Format
2 years ago
Michael Li bdaee860c0 just fixed S3Service off OSS initialize config error
2 years ago
Michael Li 6c3e59749a optimize create post logic
2 years ago
Michael Li 7c915fe134 optimize #176 change reload page logic just for siimple
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 f293d0ef2d change migration table name same table prefix as other table
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 0dde1c68a7 optimize privApi middleware function
2 years ago
Michael Li 6029e061dc support custom PhoneBind/Alipay feature just use config file
2 years ago
Michael Li 5a45bc4885 single intilialize DataService/TweetSearchService/ObjectStorageService
2 years ago
Michael Li 900dc1a21b support cross build binary in cgo enable or not use different sqlite3 driver for sql.DB
2 years ago
alimy 0d21272c51 optimize #155 add miss method implements for LocalOSS
2 years ago
alimy ec42da93eb fixed delete oss object not expected result
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 783eaa1543 fixed don't create tag and notify when create public/friend tweet
2 years ago
alimy 70f68a1c4e optimize BigCacheIndex logic
2 years ago
alimy cabc4e3552 fixed phone binding always error
2 years ago
alimy d5b701864b optimize #148 lazy initial gorm db in first use
2 years ago
alimy 59f5bbedae remove unused code
2 years ago
alimy 63310189f5 optimize core service implement logic
2 years ago
ROC b96e6f8895 delete useless config.
2 years ago
alimy 1d1e005159 Merge branch 'main' into pr-migrate
2 years ago
alimy 3ac2be59ab support migration feature
2 years ago
ROC 41dd0953d3 fix: alipay notify url
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 29fd5fa56c optimize #141 fixed tweet in correct visibility status after visible action
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