Commit Graph

47 Commits (6f2e150aeb82661b3c9453d2d941b05663dac68b)

Author SHA1 Message Date
yp05327 7d66b9ea65
Avoid showing `Failed to change the default wiki branch` if repo has no wiki when saving repo settings (#30329) 8 months ago
wxiaoguang 83f83019ef
Clean up log messages (#30313) 8 months ago
Lunny Xiao 25b842df26
Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 9 months ago
wxiaoguang 5cddab4f74
Make wiki default branch name changable (#29603) 9 months ago
Lunny Xiao 5f82ead13c
Simplify how git repositories are opened (#28937) 10 months ago
Lunny Xiao 97292da960
Fix schedule tasks bugs (#28691) 10 months ago
Lunny Xiao 408a484224
Adjust object format interface (#28469) 11 months ago
Adam Majer cbf923e87b
Abstract hash function usage (#28138) 11 months ago
JakobDev cc5df26680
Even more `db.DefaultContext` refactor (#27352) 1 year ago
JakobDev 28f9b313ba
Updates to the API for archived repos (#27149) 1 year ago
Lunny Xiao 284b41f452
Fix bug when deleting wiki with no code write permission (#24274) 2 years ago
wxiaoguang b39a5bbbd6
Make wiki title supports dashes and improve wiki name related features (#24143) 2 years ago
Jason Song 477a1cc40e
Improve utils of slices (#22379) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
Lunny Xiao f860a6d2e4
Add system setting table with cache and also add cache supports for user setting (#18058) 2 years ago
6543 a33ff822ff
[refactor] Use const for wiki DefaultBranch (#21466) 2 years ago
Aaron F 3963625b6e
Webhook for Wiki changes (#20219) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
Lunny Xiao 4ca1d7547a
Move some helper files out of models (#19355) 3 years ago
6543 f034ee6cf0
PullService lock via pullID (#19520) 3 years ago
wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 3 years ago
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 3 years ago
6543 3043eb36bf
Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 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
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
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
zeripath bbffcc3aec
Multiple Escaping Improvements (#17551) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 3 years ago
Lunny Xiao ddc709ff7f
Add repo_id for attachment (#16958) 3 years ago
zeripath e51c73ae5c
Fix 500 on first wiki page (#16586) 3 years ago
6543 b26c3b482f
Add TestPrepareWikiFileName (#16487) 3 years ago
Gary Wang e01b782f33
fix: support delete non-urlencoded wiki page (#16482) 3 years ago
Gary Wang b06342f29c
fix: not able to update local created non-urlencoded wiki pages (#16139) 3 years ago
6543 a19447aed1
migrate from com.* to alternatives (#14103) 4 years ago
zeripath f9c0737a86
Enforce setting HEAD in wiki to master (#13950) 4 years ago
kolaente 64133126cd
Update golangci-lint to version 1.31.0 (#13102) 4 years ago
zeripath 4979f15c3f
Add configurable Trust Models (#11712) 4 years ago
zeripath 7cd47046ea
Handle push rejection in branch and upload (#10854) 5 years ago
Lunny Xiao d92781bf94 Refactor repository check and sync functions (#9854) 5 years ago
zeripath 66ee9b87f9 Add require signed commit for protected branch (#9708) 5 years ago
Lunny Xiao b9309e52f0 Move wiki related funtions from models to services/wiki (#9355) 5 years ago
zeripath 722a7c902d
Add Close() method to gogitRepository (#8901) 5 years ago
zeripath fcb535c5c3
Sign merges, CRUD, Wiki and Repository initialisation with gpg key (#7631) 5 years ago
Tamal Saha 171b359877 Use gitea forked macaron (#7933) 5 years ago