Commit Graph

123 Commits (3c658dff233e791856496761325f5ebf787d7521)

Author SHA1 Message Date
Lunny Xiao 4ca1d7547a
Move some helper files out of models (#19355) 3 years ago
6543 8d34c2fab9
fix #19545 (#19563) 3 years ago
Lunny Xiao b8911fb456
Use a struct as test options (#19393) 3 years ago
Peter Gardfjäll 58c9d12933
A pull-mirror repo should be marked as such on creation (#19295) 3 years ago
wxiaoguang 65f17bfc31
Refactor legacy `unknwon/com` package, improve golangci lint (#19284) 3 years ago
wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 3 years ago
Peter Gardfjäll e28cc79c92
Improve sync performance for pull-mirrors (#19125) 3 years ago
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 3 years ago
zeripath 889a8c268c
Use full output of git show-ref --tags to get tags for PushUpdateAddTag (#19235) 3 years ago
Lunny Xiao 76aa33d884
Move init repository related functions to modules (#19159) 3 years ago
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 3 years ago
Abheek Dhawan f316582458
Set the default branch for repositories generated from templates (#19136) 3 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 3 years ago
zeripath 2d21d2af9e
Make migrations SKIP_TLS_VERIFY apply to git too (#19132) 3 years ago
zeripath 75eb6cc9c1
Improve SyncMirrors logging (#19045) 3 years ago
6543 3043eb36bf
Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 3 years ago
Gusted d3b31cc1ee
Add `GetUserTeams` (#18499) 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
6543 ff00b8688b
Fix NPE on try to get tag reference via API (#18245) 3 years ago
Lunny Xiao 8760af752a
Team permission allow different unit has different permission (#17811) 3 years ago
silverwind cc129d2ca2
Make AvatarRenderedSizeFactor configurable and set it to 3 (#17951) 3 years ago
Lunny Xiao 5723240490
Some repository refactors (#17950) 3 years ago
Lunny Xiao 3ca5dc7e32
Move keys to models/asymkey (#17917) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
Lunny Xiao 1fee11d69a
Move accessmode into models/perm (#17828) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Gusted 4e7ca946da
Use `*PushUpdateOptions` as receiver (#17724) 3 years ago
Lunny Xiao c97d66d23c
Move repofiles from modules/repofiles to services/repository/files (#17774) 3 years ago
wxiaoguang 013fb73068
Use `hostmatcher` to replace `matchlist`, improve security (#17605) 3 years ago
Lunny Xiao 7a03473159
Use a standalone struct name for Organization (#17632) 3 years ago
KN4CK3R f34151bdb2
Move user/org deletion to services (#17673) 3 years ago
Lunny Xiao 3c3855a05c
Move user functions into user.go (#17659) 3 years ago
Lunny Xiao 5233051e64
Move some functions into services/repository (#17677) 3 years ago
wxiaoguang 750a8465f5
A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
zeripath bbffcc3aec
Multiple Escaping Improvements (#17551) 3 years ago
Lunny Xiao 7e1ae38097
Move migrations into services and base into modules/migration (#17663) 3 years ago
Lunny Xiao 48ccd325a1
Move some functions into services/repository (#17660) 3 years ago
wxiaoguang 81926d61db
Decouple unit test, remove intermediate `unittestbridge` package (#17662) 3 years ago
Gusted 253d9e4158
Remove unnecassary calls to `filepath.Join` (#17608) 3 years ago
wxiaoguang df64fa4865
Decouple unit test code from business code (#17623) 3 years ago
Lunny Xiao 33fca2b537
Move webhook into models/webhook/ (#17579) 3 years ago
wxiaoguang 83df0caf15
Sync gitea app path for git hooks and authorized keys when starting (#17335) 3 years ago
zeripath 5a8dd96b33
Ensure that git daemon export ok is created for mirrors (#17243) 3 years ago
wxiaoguang f0ba87fda8
Avatar refactor, move avatar code from `models` to `models.avatars`, remove duplicated code (#17123) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 3 years ago
zeripath 9302eba971
DBContext is just a Context (#17100) 3 years ago
Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package (#17109) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
zeripath 0a542dd59f
Decrement Fork Num when converting from Fork (#17035) 3 years ago