Commit Graph

94 Commits (0606284fcfce8c98fe6f42c47c0ddf42e90ffdd1)

Author SHA1 Message Date
wxiaoguang ca5c895efb
Render embedded code preview by permlink in markdown (#30234) 8 months ago
wxiaoguang 4734d43e14
Support repo code search without setting up an indexer (#29998) 8 months ago
6543 b9c57fb78e
Determine fuzziness of bleve indexer by keyword length (#29706) 8 months ago
6543 1262ff6734
Refactor code_indexer to use an SearchOptions struct for PerformSearch (#29724) 8 months ago
Lunny Xiao 3c6fc25a77
Use repo object format name instead of detecting from git repository (#29702) 9 months ago
6543 7fdc048153
Patch in exact search for meilisearch (#29671) 9 months ago
yp05327 a2b0fb1a64
Fix wrong line number in code search result (#29260) 9 months ago
dark-angel 5c0fc90872
fix: Elasticsearch: Request Entity Too Large #28117 (#29062) 10 months ago
silverwind 60e4a98ab0
Preserve BOM in web editor (#28935) 10 months ago
wxiaoguang 20929edc99
Add option to disable ambiguous unicode characters detection (#28454) 11 months ago
Adam Majer cbf923e87b
Abstract hash function usage (#28138) 12 months ago
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 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 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
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
wxiaoguang 6f9c278559
Rewrite queue (#24505) 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
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
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 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
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
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
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