Commit Graph

426 Commits (b4eede1b01fd15b10b35678658a055b253468a9f)

Author SHA1 Message Date
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
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
alimy 72604a2b99 update README.md add meilisearch ui managing describe
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 6f27d95856 make the feature of LoggerMeili work well
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
ROC 071dfe5746
Merge pull request #97 from rocboss/feature/post-visibility
2 years ago
alimy be03c59338 optimize version info out logic
2 years ago
alimy cddde2d117 merge from main
2 years ago
alimy ed32dc614c fixed create not expected empty string tag when create post
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 e6cbb15735 diable create tags and new private message to other when post is private visibility
2 years ago
alimy f84cd49a18 optimize #97 view tag info of (friend/private) in post item
2 years ago
alimy 6f355c10b7 support set visibility(public/private/friend) for post
2 years ago
alimy 0224a8a4dc support visite api docs in embed docs
2 years ago
alimy e5ac0decaf optimize #52
2 years ago
alimy 5089d99643 Merge branch 'dev'
2 years ago
alimy 4988ae5872 support PostgreSQL as database
2 years ago
alimy 6739f8871a support sqlite3 as database
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
alimy 64d3af2bc4 fixed cache index calculate offset/limit error
2 years ago
ROC c1ed0dfb4a feat: add user ban for admin
2 years ago
alimy f24252d6ab optimize #78 change CacheIndex configure in conf.yaml to SimpleCacheIndex
2 years ago
alimy 3c3071791e optimize #78 add abstract cache index servie
2 years ago
alimy c215566ede optimize features process logic
2 years ago
alimy 962855eb11 optimize #78 debug info ajust
2 years ago
alimy 88e1b6f417 optimize #78 prevent many update pos in least time to expire index post cache
2 years ago
alimy abfee0621f optimize add cache first number page of post in custom configure
2 years ago
alimy 5261741755 optimize server logger logic
2 years ago
alimy 376679a975 optmize configure logic and clear conf logic code
2 years ago
alimy 46d5ef1791 support local file as object storage
2 years ago
alimy bbedb3a488 fixed change avatar failure error
2 years ago
alimy 70c52c1e9c fixed post picture comment failure error
2 years ago
alimy fe0412252b optimize #73 update docker compose support minio deploy
2 years ago
alimy ab9d77690a add MinIO/S3 object storage support
2 years ago
ROC 3939e27ae7 fix: embed captcha font file
2 years ago
alimy 89dd735e61 support composite feature that server supported just by configure file
2 years ago
alimy 03563cf0e1 add miss fixed of #58
2 years ago
alimy ddf9a4fbfa fixed issues #58 that upload attachment failure
2 years ago
ROC adee4f8381
Merge pull request #52 from injet-zhou/dev
2 years ago
alimy 4b4b352698 optimize: abstract backend process logic to service interface
2 years ago
injet-zhou c826520e89 fix: white space trim
2 years ago
alimy f9c407d8d1 move all api to v1 group and suport embed web ui to server
2 years ago
alimy 7221c6c3aa optimize code in internal/service pacakge
2 years ago
alimy e82fa0db2f add runtime feature adjust config for enable/disable some feature such phone verify in local develop enviroment
2 years ago
1005281342 36bff95834 fix: 修复预处理器atUserID属性赋值
2 years ago
1005281342 cadde4ae89
Merge branch 'rocboss:main' into main
2 years ago
1005281342 c0ce03af10 refactor: 降低圈复杂度
2 years ago
ROC ca27747231
Merge pull request #35 from 1005281342/main
2 years ago
1005281342 42203f1cdb fix: warning: "Breif" is a misspelling of "Brief"
2 years ago
CXM da3e7a29d4 fix: asset
2 years ago
ROC 0587c3d6df feat: stick post for admin
2 years ago
ROC f87f99ea5e feat: add user whisper
2 years ago
ROC 8fde76d8ec change project structure
2 years ago