21 Commits (main)

Author SHA1 Message Date
Lunny Xiao 29057ea55f
Fix bug when viewing the commit diff page with non-ANSI files (#36149) 5 days ago
Lunny Xiao 64960a18f9
Move commit related functions to gitrepo package (#35600) 2 weeks ago
Lunny Xiao 69f5ee970c
Move some functions to gitrepo package (#35543) 2 months ago
Lunny Xiao 9332ff291b
Move git command to git/gitcmd (#35483) 3 months ago
luzpaz 688abac5ca
Fix various typos in codebase (#35480) 3 months ago
Lunny Xiao c1b9ecca34
Decouple Batch from git.Repository to simplify usage without requiring the creation of a Repository struct. (#34001) 9 months ago
wxiaoguang a0e0a30d23
Make SearchMode have default value and add comments (#33863) 9 months ago
wxiaoguang 403775e74e
Improve issue & code search (#33860) 9 months ago
TheFox0x7 ae3a18e01a
Remove context from git struct (#33793) 10 months ago
Darren Hoo 950abfe8ee
enable literal string for code search (#33590) 10 months ago
Bruno Sofiato f64fbd9b74
Updated tokenizer to better matching when search for code snippets (#32261) 1 year ago
Bruno Sofiato 900ac62251
Allow code search by filename (#32210) 1 year ago
Bruno Sofiato d266d190bd
Fixed race condition when deleting documents by repoId in ElasticSearch (#32185) 1 year ago
Bruno Sofiato 99d0510cb6
Change the code search to sort results by relevance (#32134) 1 year ago
Lunny Xiao c03baab678
Refactor the usage of batch catfile (#31754) 1 year ago
6543 1262ff6734
Refactor code_indexer to use an SearchOptions struct for PerformSearch (#29724) 2 years ago
6543 7fdc048153
Patch in exact search for meilisearch (#29671) 2 years ago
dark-angel 5c0fc90872
fix: Elasticsearch: Request Entity Too Large #28117 (#29062) 2 years ago
silverwind 60e4a98ab0
Preserve BOM in web editor (#28935) 2 years ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 2 years ago
Jason Song 375fd15fbf
Refactor indexer (#25174) 3 years ago
wxiaoguang 4647660776
Rewrite logger system (#24726) 3 years ago
wxiaoguang 6f9c278559
Rewrite queue (#24505) 3 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 3 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 3 years ago
wxiaoguang dcd9fc7ee8
Refactor git command arguments and make all arguments to be safe to be used (#21535) 3 years ago
wxiaoguang d6c0aa7f1c
Fix `dump-repo` git init, fix wrong error type for NullDownloader (#20182) 4 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 4 years ago
wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 4 years ago
6543 3043eb36bf
Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 4 years ago
Lauris BH 8038610a42
Automatically pause queue if index service is unavailable (#15066) 4 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 4 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 4 years ago
zeripath 8354670708
Prevent hang in git cat-file if repository is not a valid repository and other fixes (#17991) 4 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 4 years ago
zeripath 01087e9eef
Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 4 years ago
Gusted ab1379743e
Fix nil checking on typed interface (#17598) 4 years ago
Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package (#17109) 4 years ago
Lunny Xiao 9f31f3aa8a
Add an abstract json layout to make it's easier to change json library (#16528) 4 years ago
luzpaz e0296b6a6d
Fix various documentation, user-facing, and source comment typos (#16367) 5 years ago
zeripath 23358bc55d
Use git log name-status in get last commit (#16059) 5 years ago
KN4CK3R 8e262104c2
Add Image Diff for SVG files (#14867) 5 years ago
zeripath 270aab429e
On open repository open common cat file batch and batch-check (#15667) 5 years ago
zeripath ff460ca74d
Speed up `enry.IsVendor` (#15213) 5 years ago
zeripath 523efa433b
Move Bleve and Elastic code indexers to use a common cat-file --batch (#14781) 5 years ago
zeripath f0e15250b9
Migrate to use jsoniter instead of encoding/json (#14841) 5 years ago
zeripath ae7e6cd474
Reduce calls to git cat-file -s (#14682) 5 years ago
Jui-Nan Lin c10503afec
[Feature] add precise search type for Elastic Search (#12869) 5 years ago
zeripath 47dd1cb7ae
Refactor Logger (#13294) 5 years ago
Lunny Xiao 8ce10fb6e1
Fix bug on elastic search (#12811) 5 years ago