Commit Graph

194 Commits (7dde3e64894edf9949f5199c0d1084bb3015cac9)

Author SHA1 Message Date
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
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
zeripath 01087e9eef
Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
zeripath 3c4724d70e
Add .gitattribute assisted language detection to blame, diff and render (#17590) 3 years ago
wxiaoguang 750a8465f5
A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
Gusted ab1379743e
Fix nil checking on typed interface (#17598) 3 years ago
wxiaoguang df64fa4865
Decouple unit test code from business code (#17623) 3 years ago
zeripath cb9c8184c9
Make Repo Code Indexer an Unique Queue (#17515) 3 years ago
Lunny Xiao 4a57c9ea17
Fix some lints (#17337) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 3 years ago
Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package (#17109) 3 years ago
wxiaoguang b231d0deab
Ignore Sync errors on pipes when doing `CheckAttributeReader.CheckPath`, fix the hang of `git cat-file` (#17096) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
Lunny Xiao 9f31f3aa8a
Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
Lunny Xiao 43262226db
Fix data race in bleve indexer (#16474) 3 years ago
luzpaz e0296b6a6d
Fix various documentation, user-facing, and source comment typos (#16367) 3 years ago
zeripath 23358bc55d
Use git log name-status in get last commit (#16059) 3 years ago
KN4CK3R 3607f79d78
Fixed assert statements. (#16089) 4 years ago
KN4CK3R 8e262104c2
Add Image Diff for SVG files (#14867) 4 years ago
zeripath ba526ceffe
Multiple Queue improvements: LevelDB Wait on empty, shutdown empty shadow level queue, reduce goroutines etc (#15693) 4 years ago
zeripath 270aab429e
On open repository open common cat file batch and batch-check (#15667) 4 years ago
zeripath d6a33cef23
If the default branch is not present do not report error on stats indexing (follow-up of #15546) (#15583) 4 years ago
zeripath f719ffc783
If the default branch is not present do not report error on stats indexing (#15546) 4 years ago
zeripath ff460ca74d
Speed up `enry.IsVendor` (#15213) 4 years ago
zeripath 523efa433b
Move Bleve and Elastic code indexers to use a common cat-file --batch (#14781) 4 years ago
zeripath f0e15250b9
Migrate to use jsoniter instead of encoding/json (#14841) 4 years ago
zeripath ae7e6cd474
Reduce calls to git cat-file -s (#14682) 4 years ago
Jui-Nan Lin c10503afec
[Feature] add precise search type for Elastic Search (#12869) 4 years ago
Lauris BH f5abe2f563
Upgrade blevesearch dependency to v2.0.1 (#14346) 4 years ago
Lauris BH 0a3c3357f3
Sort issue search results by revelance (#14353) 4 years ago
zeripath 511f6138d4
Use native git variants by default with go-git variants as build tag (#13673) 4 years ago
zeripath 47dd1cb7ae
Refactor Logger (#13294) 4 years ago
Jui-Nan Lin 6c4e9623cc
fix: use Base36 for all code indexers (#12830) 4 years ago
Lunny Xiao 8ce10fb6e1
Fix bug on elastic search (#12811) 4 years ago
Lunny Xiao 91e7ad569a
Add queue for code indexer (#10332) 4 years ago
Lunny Xiao 9bc69ff26e
Support elastic search for code search (#10273) 4 years ago
Wim e14f6088f8
Remove hardcoded ES indexername (#12521) 4 years ago
zeripath 74bd9691c6
Re-attempt to delete temporary upload if the file is locked by another process (#12447) 4 years ago
zeripath bac65f1b82
Fix incorrect error logging in Stats indexer and OAuth2 (#12387) 4 years ago
mrsdizzie af7ffaa279
Server-side syntax highlighting for all code (#12047) 4 years ago
Cirno the Strongest 9d652002c6
Fix language stat calculation (#11692) 5 years ago
Lauris BH ea4c139cd2
Change language statistics to save size instead of percentage (#11681) 5 years ago
zeripath b51fd30522
Log the indexer path on failure (#11172) 5 years ago
Lauris BH 4dc62dadce
Migrate to go-enry new version (#10906) 5 years ago