Commit Graph

553 Commits (a4e54de856b3ae20d12a52c75bb8331537f78471)

Author SHA1 Message Date
Michael Li 09c8654d19
fixed cache index expire in delete/add tweet error
2 years ago
Michael Li a951023f91
Merge branch 'x/sqlc' into r/paopao-ce-xtra
2 years ago
Michael Li e539da6e3d
sqlc: update schema for sqlc
2 years ago
Michael Li 5613006639
Merge branch 'x/sqlx' into r/paopao-ce-xtra
2 years ago
Michael Li f68537d76a
Merge branch 'x/gorm' into x/sqlc
2 years ago
Michael Li 595170c2ca
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li 58a92ecfb0
merge from dev branch
2 years ago
Michael Li a79171e731
add simple tweet share support
2 years ago
Michael Li a101bcabc5
gorm: optimize core interface define
2 years ago
Michael Li c31d738eac
sqlx: adapte new core servant interface (5%)
2 years ago
Michael Li a285ce7116
gorm: optimize core interface define
2 years ago
Michael Li 791aee3958
Merge branch 'x/gorm' into x/sqlc
2 years ago
Michael Li 7c34211c6f
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li 368eadf9e6
Merge branch 'dev' into x/gorm
2 years ago
Michael Li a80739239f
sqlx: optimize table prefix for query logic
2 years ago
Michael Li 874ae9a4ca
just optimize typo in internal/conf package
2 years ago
Michael Li 0eb32aebc5
Merge branch 'x/sqlx' into r/paopao-ce-xtra
2 years ago
Michael Li c1554098a2
Merge branch 'x/gorm' into x/sqlc
2 years ago
Michael Li 430df7a15f
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li 8ea9f3a77e
databaseConf add missing TableNames(...) method
2 years ago
Michael Li 6e24ee1c26
fixed conf typo
2 years ago
Michael Li 58759d421c
Merge branch 'x/gorm' into x/sqlc
2 years ago
Michael Li 773e23a207
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li 916f219f47
merge from dev branch
2 years ago
Michael Li 3147e25189
optimize configure process logic
2 years ago
Michael Li c60627227d
Merge branch 'x/gorm' into r/paopao-ce-xtra
2 years ago
Michael Li 88be8fc558
Merge branch 'x/gorm' into x/sqlc
2 years ago
Michael Li aa266ac2e9
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li 773d4d89fe
merge from dev branch
2 years ago
Michael Li 78282539f3
optimize config process logic
2 years ago
Michael Li 87bed1bf24
merge from x/gorm branch
2 years ago
Michael Li c22f5aaba5
merge from x/gorm
2 years ago
Michael Li e3a560f9f1
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li 38470260ca
merge from dev branch
2 years ago
Michael Li 005cbd3f4f
add Sentry feature support
2 years ago
Michael Li 27902be03f
use github.com/cockroachdb/errors as std errors package instead
2 years ago
Michael Li 131bb673c5
merge from x/gorm
2 years ago
Michael Li e4ebf98751
merge from x/gorm branch
2 years ago
Michael Li bd941e3ff4
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li f141bb44ab
update default configure for WebServer in internal/conf/config.yaml
2 years ago
Michael Li 92081016d2
update default configure for WebServer in internal/conf/config.yaml
2 years ago
Michael Li 96a9d9bc22
merge from x/sqlc
2 years ago
Michael Li d81b05b46d
sqlc: fixed CacheIndexService initial logic
2 years ago
Michael Li efc0eaf9af
Merge branch 'x/gorm' into x/sqlc
2 years ago
Michael Li 85b0c4ac56
sqlx: fixed CacheIndexService initial logic
2 years ago
Michael Li 1226a1a60d
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li 68db974776
merge from feature/deprecated_oldweb branch
2 years ago
Michael Li c7b20c3f34
merge from dev branch
2 years ago
Michael Li 5cb30bb949
add RedisCacheIndex feature to support use Redis as Timeline Index cache
2 years ago
Michael Li d23d40fa9d
update CHANGELOG.md
2 years ago
Michael Li c59d843925
merge from x/gorm branch
2 years ago
Michael Li 70944b8b8e
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li 344bb01305
merge from dev branch
2 years ago
Michael Li 0552008b5b
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 a5eb148ee9
just rename internal/dao/slonik/ce => internal/dao/slonik/sqlc
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 ac75db0241
merge from x/gorm branch
2 years ago
Michael Li c5866c0f74
merge from x/gorm branch
2 years ago
Michael Li d6575e0d45
merge from feature/deprecated-oldweb
2 years ago
Michael Li 95f993bfbd
merge from dev branch
2 years ago
Michael Li 8bb15ff207
add custom comment sort strategy support
2 years ago
Michael Li 9a81eef797
sqlc: just fixed error in dao/slonik package
2 years ago
Michael Li 95b871c039
Merge branch 'x/gorm' into x/sqlc
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 a480c6c5d8
merge from x/gorm branch
2 years ago
Michael Li bc7d17a219
add miss sqlx relate file for sqlx mode
2 years ago
Michael Li b927856a16
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li 980c87ff8a
remove sqlx relate file in gorm mode
2 years ago
Michael Li 6f5d5a906b
Merge branch 'x/gorm' into x/sqlc
2 years ago
Michael Li eba4785ea6
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li 5c298770b2
Merge branch 'feature/deprecated-oldweb' into x/gorm
2 years ago
Michael Li 4d699706f2
merge from dev branch
2 years ago
Michael Li 20187c095f
optimize slonik data simple logic
2 years ago
Michael Li b88f7e209b
Merge branch 'x/gorm' into x/sqlc
2 years ago
Michael Li 4db28908cf
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li 6bc22bf956
merge feature/deprecated-oldweb
2 years ago
Michael Li 57f6a43252
optimize dao initial logic
2 years ago
Michael Li b34a45531d
Merge branch 'x/gorm' into x/sqlc
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 cd03184f0d
add initial pwa support for web
2 years ago
Michael Li d75dedd378
Merge branch 'x/sqlx' into x/sqlc
2 years ago
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