62 Commits (cb72c901b3250fa47c4b403182a3762685d57a02)

Author SHA1 Message Date
silverwind 1f35435b81
Run `gopls modernize` on codebase (#34751) 6 months ago
Thomas E Lackey fa49cd719f
feat: Add sorting by exclusive labels (issue priority) (#33206) 8 months ago
Lunny Xiao a100ac3306
Rework create/fork/adopt/generate repository to make sure resources will be cleanup once failed (#31035) 9 months ago
Lunny Xiao a9e8ac0fe0
Don't create duplicated functions for code repositories and wiki repositories (#33924) 9 months ago
Lunny Xiao 7fd44a85ca
Move hooks function to gitrepo and reduce expose repopath (#33890) 9 months ago
Lunny Xiao 9c673d066c
Add abstraction layer to check if the repository exists on disk (#33874) 9 months ago
wxiaoguang a0853e2278
Fix unittest and repo create bug (#33061) 12 months ago
Lunny Xiao b5188cd55c
Move generate from module to service (#29465) 2 years ago
Lunny Xiao 408a484224
Adjust object format interface (#28469) 2 years ago
Adam Majer cbf923e87b
Abstract hash function usage (#28138) 2 years ago
Lunny Xiao b9df9fa2e2
Move createrepository from module to service layer (#26927) 2 years ago
Lunny Xiao 6e19484f4d
Sync branches into databases (#22743) 3 years ago
Jason Song ea1afb945d
Replace placeholders in licenses (#24354) 3 years ago
wxiaoguang 50a72e7a83
Use a general approach to access custom/static/builtin assets (#24022) 3 years ago
wxiaoguang 4e33481357
Make label templates have consistent behavior and priority (#23749) 3 years ago
Jason Song 090e753923
Reduce duplicate and useless code in options (#23369) 3 years ago
Lauris BH 58b4143803
Add loading yaml label template files (#22976) 3 years ago
wxiaoguang dc9cebdf45
Use `--message=%s` for git commit message (#23028) 3 years ago
wxiaoguang 6bc3079c00
Refactor git command package to improve security and maintainability (#22678) 3 years ago
Jason Song 477a1cc40e
Improve utils of slices (#22379) 3 years ago
Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter (#21878) 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
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 3 years ago
wxiaoguang 157b405753
Remove legacy git code (ver < 2.0), fine tune markup tests (#19930) 4 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 4 years ago
wxiaoguang a0051634b9
Refactor git module, make Gitea use internal git config (#19732) 4 years ago
Lunny Xiao 26095115f4
Move some repository related code into sub package (#19711) 4 years ago
Lunny Xiao 4ca1d7547a
Move some helper files out of models (#19355) 4 years ago
wxiaoguang 65f17bfc31
Refactor legacy `unknwon/com` package, improve golangci lint (#19284) 4 years ago
wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 4 years ago
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 4 years ago
Lunny Xiao 76aa33d884
Move init repository related functions to modules (#19159) 4 years ago
6543 3043eb36bf
Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 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
Lunny Xiao 5723240490
Some repository refactors (#17950) 4 years ago
Lunny Xiao 3ca5dc7e32
Move keys to models/asymkey (#17917) 4 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 4 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 4 years ago
Lunny Xiao 48ccd325a1
Move some functions into services/repository (#17660) 4 years ago
zeripath 9302eba971
DBContext is just a Context (#17100) 4 years ago
Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package (#17109) 4 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 4 years ago
6543 0d1444751f
[API] Add pagination to ListBranches (#14524) 5 years ago
Chester Liu 632800eda7
Check for 'main' as potential default branch name (#14193) 5 years ago
zeripath 8e0548ed4a
Ensure that HEAD is updated to match default branch in template generation (#13948) 5 years ago
zeripath 911d370dad
Push HEAD instead of master when initialising repositories (#13719) 5 years ago
zeripath 742e21aeba
Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 5 years ago