Commit Graph

157 Commits (76a85a4ce90fead1eb2b743a42b41617b4592889)

Author SHA1 Message Date
Nanguan Lin dc04044716
Replace assert.Fail with assert.FailNow (#27578) 1 year ago
JakobDev ebe803e514
Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
Lunny Xiao 673cf6af76
make writing main test easier (#27270) 1 year ago
Nanguan Lin 2f8e1604f8
Fix review request number and add more tests (#27104) 1 year ago
JakobDev f91dbbba98
Next round of `db.DefaultContext` refactor (#27089) 1 year ago
Nanguan Lin 7cdbe65a2c
Add tests for db indexer in indexer_test.go (#27087) 1 year ago
Nanguan Lin 0de09d3afc
Remove the useless function `GetUserIssueStats` and move relevant tests to `indexer_test.go` (#27067) 1 year ago
Nanguan Lin cda97a7253
Update status and code index after changing the default branch (#27018) 1 year ago
wxiaoguang 4807f7be22
Clarify the git command Stdin hanging problem (#26967) 1 year ago
Lunny Xiao 4f32abaf94
move repository deletion to service layer (#26948) 1 year ago
CaiCandong a78c2eae24
Replace `util.SliceXxx` with `slices.Xxx` (#26958) 1 year ago
wxiaoguang fc039167d2
Use Go 1.21 and update dependencies (#26878) 1 year ago
Jason Song 5db21ce7e1
Fix counting and filtering on the dashboard page for issues (#26657) 1 year ago
Jason Song 47fddaadc8
Support rebuilding issue indexer manually (#26546) 1 year ago
Jason Song 3b129aaa80
Explain SearchOptions and fix ToSearchOptions (#26542) 1 year ago
CaiCandong 0e74fc4a84
Fix project filter bugs (#26490) 1 year ago
Jason Song 1e76a824bc
Refactor and enhance issue indexer to support both searching, filtering and paging (#26012) 1 year ago
techknowlogick cb01b8691d
Add open/closed field support for issue index (#25708) 1 year ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 1 year ago
Jason Song 9958642502
Fix issues indexer document mapping (#25619) 1 year ago
Jason Song 3c7f5ed7b5
Fix `Init` of db indexer (#25470) 1 year ago
Jason Song 375fd15fbf
Refactor indexer (#25174) 1 year ago
wxiaoguang 18f26cfbf7
Improve queue and logger context (#24924) 2 years ago
techknowlogick 033d92997f
Allow skipping forks and mirrors from being indexed (#23187) 2 years ago
wxiaoguang 4647660776
Rewrite logger system (#24726) 2 years ago
Lunny Xiao 38cf43d060
Some refactors for issues stats (#24793) 2 years ago
Lunny Xiao c355728a6f
Remove unnecessary code (#24610) 2 years ago
wxiaoguang 6f9c278559
Rewrite queue (#24505) 2 years ago
Lunny Xiao 5cf7da63ee
Refactor config provider (#24245) 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
Brecht Van Lommel b667634b32
Fix meilisearch not working when searching across multiple repositories (#24109) 2 years ago
techknowlogick 92c160d8e7
Add meilisearch support (#23136) 2 years ago
Lunny Xiao c53ad052d8
Refactor the setting to make unit test easier (#22405) 2 years ago
sillyguodong 34399cfd7a
Make issue and code search support camel case (#22829) 2 years ago
Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter (#21878) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
silverwind eec1c71880
Show syntax lexer name in file view/blame (#21814) 2 years ago
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
wxiaoguang dcd9fc7ee8
Refactor git command arguments and make all arguments to be safe to be used (#21535) 2 years ago
Eng Zer Jun 8b0aaa5f86
test: use `T.TempDir` to create temporary test directory (#21043) 2 years ago
wxiaoguang d6c0aa7f1c
Fix `dump-repo` git init, fix wrong error type for NullDownloader (#20182) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 2 years ago
yutotnh 3708ca8e28
fix: some typos (#19956) 2 years ago
wxiaoguang 88f2e457d8
Fix data-race problems in git module (quick patch) (#19934) 2 years ago
wxiaoguang a0051634b9
Refactor git module, make Gitea use internal git config (#19732) 2 years ago
Lunny Xiao 26095115f4
Move some repository related code into sub package (#19711) 3 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago