Commit Graph

492 Commits (a485895c64238db370f8acb31c594e191b0d7a6a)

Author SHA1 Message Date
Michael Li 74e7484ce1
Merge branch 'r/paopao-ce-pro' into r/paopao-ce-xtra
1 year ago
Michael Li ac78970ce1
sqlc: add some stub sql query
1 year ago
Michael Li 5ec836dcf5
Merge branch 'r/paopao-ce-plus' into r/paopao-ce-xtra
1 year ago
Michael Li 590cf8390c
fixed get index posts error in mysql as database
1 year ago
Michael Li 4b1913605c
fixed get tag list error with empty slice pass to in
1 year ago
Michael Li a4e54de856
Merge branch 'r/paopao-ce-plus' into r/paopao-ce-xtra
1 year ago
Michael Li d54d6cadd8
upgrade github.com/bitbus/sqlx => v1.8.0
1 year ago
Michael Li dfdd8049b8
Merge branch 'r/paopao-ce' into r/paopao-ce-xtra
1 year ago
Michael Li 7a864fe897
Merge branch 'x/gorm' into x/sqlc
1 year ago
Michael Li 74e2e8cb89
Merge branch 'x/gorm' into x/sqlx
1 year ago
Michael Li 096729aa68
merge from main branch
1 year ago
Michael Li a02d4d24d8
optimized minio removeobjects
1 year ago
cute-angelia 7a479e2ed4 fix minio removeobjects
1 year ago
Michael Li a8e73e4d11
Merge branch 'r/paopao-ce-pro' into r/paopao-ce-xtra
1 year ago
Michael Li 7525c338e8
sqlc: fixed pacakge miss error
1 year ago
Michael Li 9424cbb9b7
Merge branch 'x/gorm' into x/sqlc
1 year ago
Michael Li 46d97e3dbf
Merge branch 'r/paopao-ce-plus' into r/paopao-ce-xtra
1 year ago
Michael Li f46131d7fe
merge from x/gorm branch
1 year ago
Michael Li 866bd13ff4
use github.com/alimy/tryst/cfg instead github.com/alimy/cfg
1 year ago
Michael Li b2f6b199f1
Merge branch 'r/paopao-ce-plus' into r/paopao-ce-xtra
1 year ago
Michael Li 2bcdb0deb1
Merge branch 'x/gorm' into x/sqlx
1 year ago
Michael Li 4bacfa8e5e
add LoggerOpenObserve feature
1 year ago
Michael Li 90e712d07a
Merge branch 'r/paopao-ce-plus' into r/paopao-ce-xtra
1 year ago
Michael Li ebebfb1ccd
sqlx: change sqlx as defualt db feature and fixed some error
1 year ago
Michael Li 5dc4c03a57
sqlx: fixed all create sql query error in postgres
1 year ago
Michael Li 6c594a8b24
sqlx: optimize get query for stmt
1 year ago
Michael Li 14b42254f3
Merge branch 'r/paopao-ce-plus' into r/paopao-ce-xtra
1 year ago
Michael Li 9104bf37ef
upgrade github.com/alimy/yesql => v1.9.0
1 year ago
Michael Li 71c7f2ee2a
Merge branch 'r/paopao-ce-plus' into r/paopao-ce-xtra
1 year ago
Michael Li e9e3910fe5
sqlx: fixed create tweet error
1 year ago
Michael Li 513bdc75fa
sqlx: add pgsql special implement for tweet create
1 year ago
Michael Li 6e4e03cf78
Merge branch 'r/paopao-ce-plus' into r/paopao-ce-xtra
1 year ago
Michael Li efde294128
sqlx: fixed follow/unfollow topic error
1 year ago
Michael Li b93457c924
merge from r/paopao-ce-plust branch
1 year ago
Michael Li 3d640f0958
sqlx: make app work well but except create post/comment/reply and some other create act in postgres driver because it not support LasterInsertId
1 year ago
Michael Li 7b15f1b568
Merge branch 'r/paopao-ce-plus' into r/paopao-ce-xtra
1 year ago
Michael Li b78ad4c6b1
sqlx: optimize sakila package code and upgrade github.com/alimy/yesql=>v1.8.4
1 year ago
Michael Li 46e9ef6029
merge from r/paopao-ce-plus branch
1 year ago
Michael Li 27f409e3a7
sqlx: add miss logic for topics
1 year ago
Michael Li 6e712e689e
use github.com/bitbus/sqlx as sqlx package and upgrade github.com/alimy/yesql => v1.8.0
1 year ago
Michael Li ee6c17591c
Merge branch 'r/paopao-ce-plus' into r/paopao-ce-xtra
1 year ago
Michael Li 8c39062998
sqlx: follow item add created_on field
1 year ago
Michael Li df1ede47cd
Merge branch 'x/gorm' into x/sqlx
1 year ago
Michael Li ebc652ed2f
Merge branch 'x/gorm' into x/sqlc
1 year ago
Michael Li fd5e54bd31
optimize Folloship feature allow follow/unfollow user in follow page
1 year ago
Michael Li 7d461f88e4
Merge branch 'r/paopao-ce-pro' into r/paopao-ce-xtra
1 year ago
Michael Li 7a067b2bfd
Merge branch 'r/paopao-ce-plus' into r/paopao-ce-xtra
1 year ago
Michael Li 32b094b346
optimize dao initialial for slonik
1 year ago
Michael Li 3a33796c92
Merge branch 'x/gorm' into x/sqlc
1 year ago
Michael Li 5ff800a904
sqlx: add following data logic implement WIP: 100%
1 year ago
Michael Li 2a717d5a9a
sqlx: add miss method for tweet data logic WIP: 95%
1 year ago
Michael Li 45d0318c4d
sqlx: add timeline logic implement WIP: 90%
1 year ago
Michael Li 5cb550f186
Merge branch 'x/gorm' into x/sqlx
1 year ago
Michael Li d7351e7cf7
make friendship/followship feature as builtin and deprecated lightship feature
1 year ago
Michael Li 66b8a69ddf
Merge branch 'x/gorm' into x/sqlx
1 year ago
Michael Li 693ef1fc66
Merge branch 'x/gorm' into x/sqlc
1 year ago
Michael Li 325d271f91
optimize code initial for bigcache
1 year ago
Michael Li dae0a1253f
Merge branch 'r/paopao-ce-pro' into r/paopao-ce-xtra
1 year ago
Michael Li 874c6434f6
merge from r/paopao-ce-plus branch
1 year ago
Michael Li 56b8463707
sqlx: add miss method for following
1 year ago
Michael Li 4f1b995412
Merge branch 'x/gorm' into x/sqlx
1 year ago
Michael Li 7e0006f644
merge from x/gorm branch
1 year ago
Michael Li 199f77e70c
add followship feature's backend logic implement
1 year ago
Michael Li 47c458f22b
Merge branch 'r/paopao-ce-pro' into r/paopao-ce-xtra
1 year ago
Michael Li 5a8647bb7f
Merge branch 'r/paopao-ce-plus' into r/paopao-ce-xtra
1 year ago
Michael Li ed5b56c45e
fixed miss method error
1 year ago
Michael Li 91576019da
Merge branch 'x/gorm' into x/sqlc
1 year ago
Michael Li d5557d4a87
add miss method for web servent implement in sqlx model
1 year ago
Michael Li 5602228a12
Merge branch 'x/gorm' into x/sqlx
1 year ago
Michael Li 1a41075679
fixed get user comment tweets return incorrect data error
1 year ago
Michael Li 8d6312d4a5
fixed get user comment/media tweets total count error
1 year ago
Michael Li f656b027a3
add visit user commment/media tweets support
1 year ago
Michael Li 06f55083bd
sqlx: fixed error for tweet logic implement
1 year ago
Michael Li cb97144ffd
Merge branch 'x/gorm' into x/sqlx
1 year ago
Michael Li 2a7103abf0
add get highlight user tweets support
1 year ago
Michael Li 2bc16b232d
add get user star tweets logic for guest visitor
1 year ago
Michael Li 2dd64d0a9d
add tweet highlight logic implement
1 year ago
Michael Li ee2375d628
merge from r/paopao-ce-plus branch
1 year ago
Michael Li 2f9077c941
sqlx: tweet logic is implemented complete. WIP %85
1 year ago
Michael Li 2bfb7341d8
merge from x/sqlc branch
1 year ago
Michael Li 3998e22ed1
merge from x/sqlx branch
1 year ago
Michael Li eaefbfabd1
merge from x/gorm branch
1 year ago
Michael Li 90d0845a75
fixed some error to adapt new core service interface and upgrade github.com/sqlc-dev/sqlc => v1.20.0
1 year ago
Michael Li 4daded66a4
Merge branch 'x/gorm' into x/sqlc
1 year ago
Michael Li 8eb294154a
optimize core service define
1 year ago
Michael Li 1e9f65626a
sqlx: tweet_help/tweet_manage logic is implemented complete. WIP %75
1 year ago
Michael Li 8bf268af0a
sqlx: fixed wallet logic for HandlePostAttachmentBought error
1 year ago
Michael Li 1a3edd3f8f
sqlx: just format yesql.sql
1 year ago
Michael Li fc8a33a14d
sqlx: wallet logic is implemented complete. WIP %55
1 year ago
Michael Li 250fd0af15
sqlx: user logic is implemented complete. WIP %45
1 year ago
Michael Li 5957eeacc3
sqlx: security logic is implemented complete. WIP %40
1 year ago
Michael Li a9743e25bd
sqlx: messages logic is implemented complete. WIP %35
1 year ago
Michael Li 7665c1fd0c
sqlx: yesql gen script add go:build generate tag
1 year ago
Michael Li 7daa78cb12
sqlx: contact logic is implemented complete. WIP %30
1 year ago
Michael Li 0bb4810690
sqlx: comment logic is implemented complete. WIP %25
1 year ago
Michael Li 86ebc3b8e6
upgrade github.com/alimy/yesql => v1.5.0
1 year ago
Michael Li a68d3816ed
sqlx: implement some logic WIP %20
1 year ago
Michael Li 3e59934f8c
sqlc: add fake set_modified_on function for pgsql as trigger to update modified_on timestamp automitic
1 year ago
Michael Li ac78f0f1c1
merge from x/gorm branch
1 year ago
Michael Li 1ac3815bb8
Merge branch 'x/gorm' into x/sqlx
1 year ago
Michael Li 940d0032e4
add miss change
1 year ago
Michael Li 79d9794462
merge from dev branch
1 year ago
Michael Li 05bad5997f
upgrade github.com/alimy/cfg => v0.4.0
1 year ago
Michael Li fec8330fb8
sqlx: add some logic implement 8%
1 year ago
Michael Li 7b16fbe542
sqlx: add some logic implement 6%
1 year ago
Michael Li fc3659b4a2
sqlx: use yesql => v1.3.0
1 year ago
Michael Li 2d0477cf65
sqlx: add some logic implement 5%
1 year ago
Michael Li b30bccbfae
merge from x/gorm branch
1 year ago
Michael Li 1d963f3d7f
sqlc: upgrade github.com/kyleconroy/sqlc => v1.18.0
1 year ago
Michael Li 6753010929
ajust internal/core interface related model type to split package
1 year ago
Michael Li c8df807b86
merge from x/gorm branch
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 947c436683
Merge branch 'x/sqlx' into r/paopao-ce-xtra
2 years ago
Michael Li 184c3cfd73
Merge branch 'x/sqlc' into r/paopao-ce-xtra
2 years ago
Michael Li 39ba7513df
merge from x/gorm branch
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 e6ef5e1fcd
sqlc: fixed miss method error
2 years ago
Michael Li 3a18b81ecc
Merge branch 'x/gorm' into x/sqlc
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 51523de698
Merge branch 'x/sqlc' into r/paopao-ce-xtra
2 years ago
Michael Li fddbb97eca
Merge branch 'x/sqlx' into r/paopao-ce-xtra
2 years ago
Michael Li 358bcec401
merge from x/gorm
2 years ago
Michael Li f5d18df25d
Merge branch 'x/gorm' into x/sqlc
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 b225f6dc7b
Merge branch 'x/gorm' into x/sqlc
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 84e9221492
Merge branch 'x/sqlc' into r/paopao-ce-xtra
2 years ago
Michael Li 1c620bd839
Merge branch 'x/sqlx' into r/paopao-ce-xtra
2 years ago
Michael Li a4e24c61c1
sqlx: fixed miss method error
2 years ago
Michael Li f2e811bf2b
sqlc: fixed miss method error
2 years ago
Michael Li cc3810083c
Merge branch 'x/gorm' into x/sqlc
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 ba40f2f299
Merge branch 'x/sqlx' into r/paopao-ce-xtra
2 years ago
Michael Li daf2f90ec0
Merge branch 'x/gorm' into x/sqlc
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 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 c31d738eac
sqlx: adapte new core servant interface (5%)
2 years ago
Michael Li a80739239f
sqlx: optimize table prefix for query 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 27902be03f
use github.com/cockroachdb/errors as std errors package instead
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 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 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 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