Commit Graph

138 Commits (43c9a84ae56d33048cb66497d79ca0bed739d115)

Author SHA1 Message Date
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
zeripath 41fcf7b7de
Prevent dangling archiver goroutine (#19516) 3 years ago
6543 ddbbe6e15c
User specific repoID or xorm builder conditions for issue search (#19475) 3 years ago
Lunny Xiao b8911fb456
Use a struct as test options (#19393) 3 years ago
wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 3 years ago
zeripath c88547ce71
Add Goroutine stack inspector to admin/monitor (#19207) 3 years ago
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 3 years ago
zeripath d3dbdbe6c5
Prevent intermittent failures in RepoIndexerTest (2) (#19229) 3 years ago
zeripath 793ce9dacf
Prevent intermittent failures in RepoIndexerTest (#19225) 3 years ago
zeripath f1c6cf7c51
Prevent Stats Indexer reporting error if repo dir missing (#18870) 3 years ago
silverwind 2b9df564b8
Lock gofumpt to v0.3.0 and run it (#18866) 3 years ago
6543 3043eb36bf
Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 3 years ago
Lauris BH 8038610a42
Automatically pause queue if index service is unavailable (#15066) 3 years ago
zeripath a82fd98d53
Pause queues (#15928) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
Gusted 1d98d205f5
Enable deprecation error for v1.17.0 (#18341) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
Lunny Xiao 25a290e320
Upgrade bleve from v2.0.6 to v2.3.0 (#18132) 3 years ago
zeripath 8354670708
Prevent hang in git cat-file if repository is not a valid repository and other fixes (#17991) 3 years ago
qwerty287 9d943bf374
Add missing `X-Total-Count` and fix some related bugs (#17968) 3 years ago