Commit Graph

424 Commits (0718980a74a5bee70491493f711107f1d62137a7)

Author SHA1 Message Date
Michael Li 6d957d2fb4
fixed private tweet's star/colloect no permission error when it is owner's
2 years ago
Michael Li e715b0aecb
merge from dev branch
2 years ago
Michael Li 96ac9d7fcd
fixed follow topics number more by give number error
2 years ago
Michael Li a70a987290
optimize topics ui and logic (100%)
2 years ago
Michael Li 7e85a9a5a1
optimize topics ui and logic (70%)
2 years ago
Michael Li 49a624b2c0
optimize topics ui and logic (65%)
2 years ago
Michael Li e58e069755
optimize topic ui and logic (60%)
2 years ago
Michael Li d395dca7a4
Merge branch 'dev' into x/gorm
2 years ago
Michael Li f8d1356ef3
add disallow user register feature support
2 years ago
Michael Li 09c8654d19
fixed cache index expire in delete/add tweet error
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 368eadf9e6
Merge branch 'dev' into x/gorm
2 years ago
Michael Li 874ae9a4ca
just optimize typo in internal/conf package
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 916f219f47
merge from dev branch
2 years ago
Michael Li 3147e25189
optimize configure process logic
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 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 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 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 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 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 8aa9a4ef1b
optimize data service for web
2 years ago
Michael Li 980c87ff8a
remove sqlx relate file in gorm mode
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 6bc22bf956
merge feature/deprecated-oldweb
2 years ago
Michael Li 57f6a43252
optimize dao initial logic
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 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 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 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 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 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 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 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 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 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 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 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 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
3 years ago
alimy 59f5bbedae remove unused code
3 years ago
alimy 63310189f5 optimize core service implement logic
3 years ago