Commit Graph

118 Commits (v1.18.3-0)

Author SHA1 Message Date
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) () 2 years ago
wxiaoguang dcd9fc7ee8
Refactor git command arguments and make all arguments to be safe to be used () 2 years ago
Eng Zer Jun 8b0aaa5f86
test: use `T.TempDir` to create temporary test directory () 2 years ago
wxiaoguang d6c0aa7f1c
Fix `dump-repo` git init, fix wrong error type for NullDownloader () 3 years ago
Wim cb50375e2b
Add more linters to improve code readability () 3 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues () 3 years ago
yutotnh 3708ca8e28
fix: some typos () 3 years ago
wxiaoguang 88f2e457d8
Fix data-race problems in git module (quick patch) () 3 years ago
wxiaoguang a0051634b9
Refactor git module, make Gitea use internal git config () 3 years ago
Lunny Xiao 26095115f4
Move some repository related code into sub package () 3 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context () 3 years ago
zeripath 41fcf7b7de
Prevent dangling archiver goroutine () 3 years ago
6543 ddbbe6e15c
User specific repoID or xorm builder conditions for issue search () 3 years ago
Lunny Xiao b8911fb456
Use a struct as test options () 3 years ago
wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` () 3 years ago
zeripath c88547ce71
Add Goroutine stack inspector to admin/monitor () 3 years ago
6543 3e88af898a
Make git.OpenRepository accept Context () 3 years ago
zeripath d3dbdbe6c5
Prevent intermittent failures in RepoIndexerTest (2) () 3 years ago
zeripath 793ce9dacf
Prevent intermittent failures in RepoIndexerTest () 3 years ago
zeripath f1c6cf7c51
Prevent Stats Indexer reporting error if repo dir missing () 3 years ago
silverwind 2b9df564b8
Lock gofumpt to v0.3.0 and run it () 3 years ago
6543 3043eb36bf
Delete old git.NewCommand() and use it as git.NewCommandContext() () 3 years ago
Lauris BH 8038610a42
Automatically pause queue if index service is unavailable () 3 years ago
zeripath a82fd98d53
Pause queues () 3 years ago
6543 54e9ee37a7
format with gofumpt () 3 years ago
Gusted 1d98d205f5
Enable deprecation error for v1.17.0 () 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context () 3 years ago
Lunny Xiao 25a290e320
Upgrade bleve from v2.0.6 to v2.3.0 () 3 years ago
zeripath 8354670708
Prevent hang in git cat-file if repository is not a valid repository and other fixes () 3 years ago
qwerty287 9d943bf374
Add missing `X-Total-Count` and fix some related bugs () 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo () 3 years ago
zeripath 01087e9eef
Make Requests Processes and create process hierarchy. Associate OpenRepository with context. () 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user () 3 years ago
zeripath 3c4724d70e
Add .gitattribute assisted language detection to blame, diff and render () 3 years ago
wxiaoguang 750a8465f5
A better go code formatter, and now `make fmt` can run in Windows () 3 years ago
Gusted ab1379743e
Fix nil checking on typed interface () 3 years ago
wxiaoguang df64fa4865
Decouple unit test code from business code () 3 years ago
zeripath cb9c8184c9
Make Repo Code Indexer an Unique Queue () 3 years ago
Lunny Xiao 4a57c9ea17
Fix some lints () 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login () 3 years ago
Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package () 3 years ago
wxiaoguang b231d0deab
Ignore Sync errors on pipes when doing `CheckAttributeReader.CheckPath`, fix the hang of `git cat-file` () 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db () 3 years ago
Lunny Xiao 9f31f3aa8a
Add an abstract json layout to make it's easier to change json library () 4 years ago
Lunny Xiao 43262226db
Fix data race in bleve indexer () 4 years ago
luzpaz e0296b6a6d
Fix various documentation, user-facing, and source comment typos () 4 years ago
zeripath 23358bc55d
Use git log name-status in get last commit () 4 years ago
KN4CK3R 3607f79d78
Fixed assert statements. () 4 years ago
KN4CK3R 8e262104c2
Add Image Diff for SVG files () 4 years ago
zeripath ba526ceffe
Multiple Queue improvements: LevelDB Wait on empty, shutdown empty shadow level queue, reduce goroutines etc () 4 years ago