Commit Graph

36 Commits (50133b02bd381b7ee4da1ec4b7b637d5b7552678)

Author SHA1 Message Date
wxiaoguang 4e33481357
Make label templates have consistent behavior and priority (#23749) 2 years ago
Lauris BH 58b4143803
Add loading yaml label template files (#22976) 2 years ago
yp05327 bd66fa586a
Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 2 years ago
KN4CK3R df789d962b
Add Cargo package registry (#21888) 2 years ago
techknowlogick 2741546bed
Repositories: by default disable all units except code and pulls on forks (#22541) 2 years ago
Lunny Xiao a3ab82e592
Fix error when calculate the repository size (#22392) 2 years ago
Lunny Xiao 68704532c2
Rename almost all Ctx functions (#22071) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
Lunny Xiao 34283a74e8
Allow detect whether it's in a database transaction for a context.Context (#21756) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
wxiaoguang 395f65c65a
Remove unnecessary length check for repo's Description & Website (#21194) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
Lunny Xiao 0649c54275
Adjust transaction handling via db.Context (#20031) 2 years ago
Lunny Xiao 110fc57cbc
Move some code into models/git (#19879) 2 years ago
Lunny Xiao 26095115f4
Move some repository related code into sub package (#19711) 2 years ago
Peter Gardfjäll 58c9d12933
A pull-mirror repo should be marked as such on creation (#19295) 3 years ago
wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 3 years ago
Lunny Xiao 76aa33d884
Move init repository related functions to modules (#19159) 3 years ago
6543 3043eb36bf
Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 3 years ago
Lunny Xiao 5723240490
Some repository refactors (#17950) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
zeripath 5a8dd96b33
Ensure that git daemon export ok is created for mirrors (#17243) 3 years ago
zeripath 9302eba971
DBContext is just a Context (#17100) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
6543 2686e6bbbe
Check if label template exist first (#14384) 4 years ago
zeripath 742e21aeba
Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 4 years ago
赵智超 3c360801b3
Add IsTemplate option in create repo ui and api (#12942) 4 years ago
zeripath 7a7f56044a
Adopt repositories (#12920) 4 years ago
zeripath 4979f15c3f
Add configurable Trust Models (#11712) 4 years ago
6543 ad2bf376df
RepoInit Respect AlternateDefaultBranch (#12746) 4 years ago
zeripath 74bd9691c6
Re-attempt to delete temporary upload if the file is locked by another process (#12447) 4 years ago
zeripath 3547e84a05
When initialising repositories ensure that the user doing the creation is the initializer (#11601) 5 years ago
mrsdizzie 8d99ee2773
Add Organization Wide Labels (#10814) 5 years ago
6543 e273817154
[API] Fix inconsistent label color format (#10129) 5 years ago
Lunny Xiao b465d0d787
Move create/fork repository from models to modules/repository (#9489) 5 years ago