Commit Graph

88 Commits (caceb43313a586842e208249b2c67f90d4bf7139)

Author SHA1 Message Date
Lunny Xiao dd30d9d5c0
Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) 12 months ago
Lunny Xiao df1e7d0067
Use db.Find instead of writing methods for every object (#28084) 12 months ago
6543 b2f828db5e
refactor: make db iterate context aware (#27710) 1 year ago
Lunny Xiao 673cf6af76
make writing main test easier (#27270) 1 year ago
Lunny Xiao 0b10df67ce
Improve DeleteByID (#26904) 1 year ago
KN4CK3R ecd51f710b
Fix NuGet search endpoints (#25613) 1 year ago
delvh e10ba5e5e0
Rename `Sync2` -> `Sync` (#26479) 1 year ago
Jason Song 1e76a824bc
Refactor and enhance issue indexer to support both searching, filtering and paging (#26012) 1 year ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 1 year ago
a1012112796 4aba8a6a5f
Split lfs size from repository size (#22900) 1 year ago
Lunny Xiao 71446eee99
Fix wrong warn messages in migration steps (#25475) 1 year ago
Lunny Xiao cc3910d8c3
Fix index generation parallelly failure (#25235) 1 year ago
Lunny Xiao 315124b469
Fix parallelly generating index failure with Mysql (#24567) 1 year ago
wxiaoguang 520eb57d76
Use a separate admin page to show global stats, remove `actions` stat (#25062) 1 year ago
wxiaoguang 4647660776
Rewrite logger system (#24726) 2 years ago
Lunny Xiao 3f0651d4d6
Improve milestone filter on issues page (#22423) 2 years ago
KN4CK3R f1173d6879
Use more specific test methods (#24265) 2 years ago
wxiaoguang e422342eeb
Allow adding new files to an empty repo (#24164) 2 years ago
oliverpool bb2783860b
fix calReleaseNumCommitsBehind (#24148) 2 years ago
Lunny Xiao cda84bec87
Support converting varchar to nvarchar for mssql database (#24105) 2 years ago
Nick 52e24167e5
Test renderReadmeFile (#23185) 2 years ago
Jason Song c84238800b
Refactor `setting.Database.UseXXX` to methods (#23354) 2 years ago
Lunny Xiao a8c4f8cebc
Fix db.Find bug (#23115) 2 years ago
KN4CK3R 0ae1ed749d
Remove all package data after tests (#22984) 2 years ago
Kyle D 2b3f12f6fd
Use beforeCommit instead of baseCommit (#22949) 2 years ago
Lunny Xiao f2772b5920
Move delete user to service (#22478) 2 years ago
zeripath 2152c4e98f
Fix .golangci.yml (#22868) 2 years ago
Lunny Xiao 8574a6433f
Show all projects, not just repo projects and open/closed projects (#22640) 2 years ago
techknowlogick cfb1cb1168
update to build with go1.20 (#22732) 2 years ago
Lunny Xiao db2286bbb6
some refactor about code comments (#20821) 2 years ago
Jason Song a35714372d
Fix halfCommitter and WithTx (#22366) 2 years ago
Jason Song 6135359a04
Always reuse transaction (#22362) 2 years ago
Jason Song e5deeda0aa
Support estimated count with multiple schemas (#22276) 2 years ago
Jason Song 71ca3067bc
Check primary keys for all tables and drop ForeignReference (#21721) 2 years ago
Nick a2779def36 Test views of LFS files (#22196) 2 years ago
Lunny Xiao 36a2d2f919
Add a simple test for external renderer (#20033) 2 years ago
KN4CK3R 0e2d04601a
Update xorm (#22094) 2 years ago
silverwind 0585ac3ac6
Update go dev dependencies (#22064) 2 years ago
Lunny Xiao f7ade6de7c
Fix generate index failure possibility on postgres (#21998) 2 years ago
Lunny Xiao b2c4870481
Fix parallel creating commit status bug with tests (#21911) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 2 years ago
Lunny Xiao 34283a74e8
Allow detect whether it's in a database transaction for a context.Context (#21756) 2 years ago
Lunny Xiao 9a70a12a34
Merge db.Iterate and IterateObjects (#21641) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
zeripath 716fcfcf72
Make every not exist error unwrappable to a fs.ErrNotExist (#20891) 2 years ago
wxiaoguang 6f48a36227
Refactor GetNextResourceIndex to make it work properly with transaction (#21469) 2 years ago
Eng Zer Jun 8b0aaa5f86
test: use `T.TempDir` to create temporary test directory (#21043) 2 years ago
Lunny Xiao 1f146090ec
Add migrate repo archiver and packages storage support on command line (#20757) 2 years ago
Tyrone Yeh 8e3da0e27f
Modify milestone search keywords to be case insensitive again (#20513) 2 years ago