Commit Graph

313 Commits (x/sqlx)

Author SHA1 Message Date
Michael Li 6e712e689e
use github.com/bitbus/sqlx as sqlx package and upgrade github.com/alimy/yesql => v1.8.0
2 years ago
Michael Li 8c39062998
sqlx: follow item add created_on field
2 years ago
Michael Li df1ede47cd
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li fd5e54bd31
optimize Folloship feature allow follow/unfollow user in follow page
2 years ago
Michael Li 5ff800a904
sqlx: add following data logic implement WIP: 100%
2 years ago
Michael Li 2a717d5a9a
sqlx: add miss method for tweet data logic WIP: 95%
2 years ago
Michael Li 45d0318c4d
sqlx: add timeline logic implement WIP: 90%
2 years ago
Michael Li 5cb550f186
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li d7351e7cf7
make friendship/followship feature as builtin and deprecated lightship feature
2 years ago
Michael Li 66b8a69ddf
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li 325d271f91
optimize code initial for bigcache
2 years ago
Michael Li 56b8463707
sqlx: add miss method for following
2 years ago
Michael Li 4f1b995412
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li 199f77e70c
add followship feature's backend logic implement
2 years ago
Michael Li d5557d4a87
add miss method for web servent implement in sqlx model
2 years ago
Michael Li 5602228a12
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li 1a41075679
fixed get user comment tweets return incorrect data error
2 years ago
Michael Li 8d6312d4a5
fixed get user comment/media tweets total count error
2 years ago
Michael Li f656b027a3
add visit user commment/media tweets support
2 years ago
Michael Li 06f55083bd
sqlx: fixed error for tweet logic implement
2 years ago
Michael Li cb97144ffd
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li 2a7103abf0
add get highlight user tweets support
2 years ago
Michael Li 2bc16b232d
add get user star tweets logic for guest visitor
2 years ago
Michael Li 2dd64d0a9d
add tweet highlight logic implement
2 years ago
Michael Li 2f9077c941
sqlx: tweet logic is implemented complete. WIP %85
2 years ago
Michael Li 8eb294154a
optimize core service define
2 years ago
Michael Li 1e9f65626a
sqlx: tweet_help/tweet_manage logic is implemented complete. WIP %75
2 years ago
Michael Li 8bf268af0a
sqlx: fixed wallet logic for HandlePostAttachmentBought error
2 years ago
Michael Li 1a3edd3f8f
sqlx: just format yesql.sql
2 years ago
Michael Li fc8a33a14d
sqlx: wallet logic is implemented complete. WIP %55
2 years ago
Michael Li 250fd0af15
sqlx: user logic is implemented complete. WIP %45
2 years ago
Michael Li 5957eeacc3
sqlx: security logic is implemented complete. WIP %40
2 years ago
Michael Li a9743e25bd
sqlx: messages logic is implemented complete. WIP %35
2 years ago
Michael Li 7665c1fd0c
sqlx: yesql gen script add go:build generate tag
2 years ago
Michael Li 7daa78cb12
sqlx: contact logic is implemented complete. WIP %30
2 years ago
Michael Li 0bb4810690
sqlx: comment logic is implemented complete. WIP %25
2 years ago
Michael Li 86ebc3b8e6
upgrade github.com/alimy/yesql => v1.5.0
2 years ago
Michael Li a68d3816ed
sqlx: implement some logic WIP %20
2 years ago
Michael Li 1ac3815bb8
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li 940d0032e4
add miss change
2 years ago
Michael Li 79d9794462
merge from dev branch
2 years ago
Michael Li 05bad5997f
upgrade github.com/alimy/cfg => v0.4.0
2 years ago
Michael Li fec8330fb8
sqlx: add some logic implement 8%
2 years ago
Michael Li 7b16fbe542
sqlx: add some logic implement 6%
2 years ago
Michael Li fc3659b4a2
sqlx: use yesql => v1.3.0
2 years ago
Michael Li 2d0477cf65
sqlx: add some logic implement 5%
2 years ago
Michael Li b30bccbfae
merge from x/gorm branch
2 years ago
Michael Li 6753010929
ajust internal/core interface related model type to split package
2 years ago
Michael Li 69fa44dd21
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li 275027fc5b
Merge branch 'dev' into x/gorm
2 years ago
Michael Li f1be85a555
change github.com/rueian/rueidis => github.com/redis/rueidis and update version to v1.0.2
2 years ago
Michael Li 960e1ed0dc
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li 425aa325ed
Merge branch 'dev' into x/gorm
2 years ago
Michael Li 595ac792b8
upgrade meilisearch version => v1.1.1
2 years ago
Michael Li d34068a8c3
merge from dev branch
2 years ago
Michael Li c43a8d71ac
sqlx: fixed miss method error
2 years ago
Michael Li e4ca915ebd
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li c7e67b878c
merge from dev
2 years ago
Michael Li 6588203b27
fixed comments thumbs up/down state incorrect error
2 years ago
Michael Li b2973cf633
sqlx: fixed miss method error
2 years ago
Michael Li 5dadc46f01
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li 8e3cf38ae4
merge from dev branch
2 years ago
Michael Li 5b093bac06
update time when change thumbs state
2 years ago
Michael Li 9f6cc58463
fixed update comment thumbs up state error
2 years ago
Michael Li d402d8d726
add comment upvote feature support (100%)
2 years ago
Michael Li 47a85fac51
add comment upvote feature support (80%)
2 years ago
Michael Li eb4550aa1c
Merge branch 'x/gorm' into x/sqlx
2 years ago
Michael Li b63626531c
merge from dev branch
2 years ago
Michael Li 6d957d2fb4
fixed private tweet's star/colloect no permission error when it is owner's
2 years ago
Michael Li a4e24c61c1
sqlx: fixed miss method error
2 years ago
Michael Li 39a53b97ca
Merge branch 'x/gorm' into x/sqlx
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 14e9512516
Merge branch 'dev' into x/sqlx
2 years ago
Michael Li 09c8654d19
fixed cache index expire in delete/add tweet error
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 c31d738eac
sqlx: adapte new core servant interface (5%)
2 years ago
Michael Li a80739239f
sqlx: optimize table prefix for query logic
3 years ago
Michael Li aa266ac2e9
Merge branch 'x/gorm' into x/sqlx
3 years ago
Michael Li 773d4d89fe
merge from dev branch
3 years ago
Michael Li 78282539f3
optimize config process logic
3 years ago
Michael Li e3a560f9f1
Merge branch 'x/gorm' into x/sqlx
3 years ago
Michael Li 38470260ca
merge from dev branch
3 years ago
Michael Li 27902be03f
use github.com/cockroachdb/errors as std errors package instead
3 years ago
Michael Li 85b0c4ac56
sqlx: fixed CacheIndexService initial logic
3 years ago
Michael Li 1226a1a60d
Merge branch 'x/gorm' into x/sqlx
3 years ago
Michael Li 68db974776
merge from feature/deprecated_oldweb branch
3 years ago
Michael Li 5cb30bb949
add RedisCacheIndex feature to support use Redis as Timeline Index cache
3 years ago
Michael Li d23d40fa9d
update CHANGELOG.md
3 years ago
Michael Li 70944b8b8e
Merge branch 'x/gorm' into x/sqlx
3 years ago
Michael Li 344bb01305
merge from dev branch
3 years ago
Michael Li 92a492d90d
use github.com/rueian/rueidis as Redis client and abstract RedisCache interface
3 years ago
Michael Li c64bac867b
sqlx: add stub sql dml for all data logic service use Yesql
3 years ago
Michael Li 90752be696
upgrade github.com/alimy/yesql => v1.1.2
3 years ago
Michael Li e510a53643
use github.com/alimy/yesql@v1.1.1 to generate db struct type automatic
3 years ago
Michael Li fa6f41b1a3
upgrade github.com/alimy/yesql => v0.7.0
3 years ago
Michael Li 375c761b24
upgrade github.com/alimy/yesql => v0.3.0
3 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
3 years ago
Michael Li 62666b0c49
Merge branch 'x/gorm' into x/sqlx
3 years ago
Michael Li 8aa9a4ef1b
optimize data service for web
3 years ago
Michael Li 4db28908cf
Merge branch 'x/gorm' into x/sqlx
3 years ago
Michael Li 57f6a43252
optimize dao initial logic
3 years ago
Michael Li 3b9d7cfee5
merge from x/gorm branch
3 years ago
Michael Li e25faa8a3c
just optimize data logic servant define
3 years ago
Michael Li 6e6ab81c1c
fixed topics create/update error
3 years ago
Michael Li d32df6b11d
fixed topics sql error
3 years ago
Michael Li 7908b07d88
Merge branch 'dev' into x/sqlx
3 years ago
Michael Li 8674217e51
fixed some error when use postgres database
3 years ago
Michael Li 81ae8c0596
add a sample JsonType for process sql json
3 years ago
Michael Li 0d2494168b
merge from dev branch
3 years ago
Michael Li f0c4320a45
optimize BigCacheIndex add HardMaxCacheSize to customer max cache size in runtime
3 years ago
Michael Li d583d1649c
sqlx: fixed select limit/offset sql clause error in MySQL/Sqlite3
3 years ago
Michael Li 8a78aaa554
upgrade github.com/meilisearch/meilisearch-go => v0.23.0 to user meilisearch v1.0 but have problem need fix
3 years ago
Michael Li 59a2f8a9db
sqlx: optimize variable name for table list
3 years ago
Michael Li c12ed880c1
sqlx: optimize datable table name process logic
3 years ago
Michael Li 914889994f
sqlx: prepare implement tweets data logic for sqlx feature
3 years ago
Michael Li 9ab97d7950
sqlx: optimize sql/stmt field name prefix
3 years ago
Michael Li 2f1d4d2f1e
sqlx: optimize sqlx help function for in cause scence
3 years ago
Michael Li 9d6d8f14b0
sqlx: fixed topics GetTags data logic error
3 years ago
Michael Li 27455dcc19
sqlx: optimize topicServent.UpsertTags logic
3 years ago
Michael Li 4698807574
sqlx: fixed transacation help function logic error
3 years ago
Michael Li 62f348a714
sqlx: optimize transacation process logic
3 years ago
Michael Li dd22212320
sqlx: fixed sql query typo error
3 years ago
Michael Li dda5465d60
sqlx: implements topic data logics
3 years ago
Michael Li d8b009ee3d
sqlx: adjust index post service stub interface
3 years ago
Michael Li f7d9a40184
Merge branch 'dev' into x/sqlx
3 years ago
Michael Li ef7fab579b
lightship: add Lightship feature base support
3 years ago
Michael Li ef2925389c
sqlx: add sqlxServent with help method for db transcation logic
3 years ago
Michael Li 6890f4f5fc
sqlx: optimize ams initial for sqlc feature
3 years ago
Michael Li 59edb16621
sqlx: fixed ams inital error for sqlc feature
3 years ago
Michael Li 5ce7ac54a1
Merge branch 'feature/mir' into x/sqlx
3 years ago
Michael Li 060840030e
sqlx: add all stub interface implement for core.DataService in sqlx feature
3 years ago
Michael Li c19d7107f2
Merge branch 'dev' into feature/mir
3 years ago
Michael Li aa7a0be729
sqlx: prepare base code for sqlx logic
3 years ago
Michael Li dfe59ab947
merge from dev
3 years ago
Michael Li 745f3639d5
optimize phone sms verify logic code
3 years ago
Michael Li 72136a2266
use github.com/alimy/cfg as features configure help library
3 years ago
Michael Li 9e1d09a55d
use github.com/alimy/cfg as features configure help library
3 years ago
Michael Li 7636412940 mir: optimize source code layout for import go-mir
3 years ago
Michael Li fd665abb8b merge from dev branch
3 years ago
Michael Li bace5bf750 optimize features process logic to abstract in cfg pkg
3 years ago
Michael Li 5433eb9e8f prepare use mir
3 years ago
ROC fde5173e96
Merge pull request #192 from rocboss/feature/friendship
3 years ago