Commit Graph

29 Commits (48eb5ac6856aeed5b6501fcd27899d3dc3da2876)

Author SHA1 Message Date
zeripath b56d269cf8
Prevent NPE if trying to restore an already restored deleted branch (#21940) (#21944) 2 years ago
JakobDev bf325d4412
Keep path when creating a new branch (#21153) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 3 years ago
a1012112796 e3e06d13af
fix permission check for delete tag (#19985) 3 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 3 years ago
Lunny Xiao 110fc57cbc
Move some code into models/git (#19879) 3 years ago
Lunny Xiao 4ca1d7547a
Move some helper files out of models (#19355) 3 years ago
6543 06e4687cec
more context for models (#19511) 3 years ago
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
silverwind 2b9df564b8
Lock gofumpt to v0.3.0 and run it (#18866) 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
zeripath 52bfb7f012
Handle missing default branch better in owner/repo/branches page (#18290) 3 years ago
wxiaoguang 4da1d97810
Refactor HTTP request context (#17979) 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
zeripath 9e6e1dc950
Improve checkBranchName (#17901) 3 years ago
zeripath 01087e9eef
Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 3 years ago
Lunny Xiao c97d66d23c
Move repofiles from modules/repofiles to services/repository/files (#17774) 3 years ago
Lunny Xiao baed01f247
Remove unnecessary attributes of User struct (#17745) 3 years ago
KN4CK3R ea42d3c04e
Fixed commit count. (#17698) 3 years ago
Lunny Xiao 5233051e64
Move some functions into services/repository (#17677) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 3 years ago
Lunny Xiao 4e761fa385
Fix branch pagination error (#16805) 3 years ago
6543 c4d70a0325
Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 3 years ago
Lunny Xiao 33e0b38287
Rename context.Query to context.Form (#16562) 3 years ago
Lunny Xiao e3c626834b
Let package git depend on setting but not opposite (#15241) 4 years ago
Lunny Xiao 1bfb0a24d8
Refactor routers directory (#15800) 4 years ago
Lunny Xiao 0909695204
Merge all deleteBranch as one function and also fix bug when delete branch don't close related PRs (#16067) 4 years ago
zeripath fa3895ce81
Move modules/forms to services/forms (#15305) 4 years ago
6543 16dea6cebd
[refactor] replace int with httpStatusCodes (#15282) 4 years ago
a1012112796 83cf1a894e
Create tag on ui (#13467) 4 years ago
6543 0d1444751f
[API] Add pagination to ListBranches (#14524) 4 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 years ago
Chester Liu 0c0445c97a
Add pager to the branches page (#14202) 4 years ago
Lunny Xiao 4df2ed29f2
Refactor: Move PushUpdateOptions (#13363) 4 years ago
zeripath 965861043a
Return the full rejection message and errors in flash errors (#13221) 4 years ago
Lunny Xiao dd1a651b58
Move all push update operations to a queue (#10133) 4 years ago
zeripath 0973c03601
Handle more pathological branch and tag names (#11843) 5 years ago
6543 505e456f26
Protect default branch against deletion (#11115) 5 years ago
Kyle Evans 38cd9ba47b
Allow unauthenticated users to compare (#11240) 5 years ago
zeripath 7cd47046ea
Handle push rejection in branch and upload (#10854) 5 years ago
zeripath 3fc4f3670c
Fix panic in API pulls when headbranch does not exist (#10676) 5 years ago
Lunny Xiao 3ccd271081
Fix branch page pull request title and link error (#10092) 5 years ago
Lunny Xiao 2677d071f9
Move newbranch to standalone package (#9627) 5 years ago
zeripath e5d8e2d10c
Branches not at ref commit ID should not be listed as Merged (#9614) 5 years ago
Mario Lubenka 1db2381546 Push update after branch is restored (#9416) 5 years ago
Lunny Xiao e151674cfa
Move PushUpdateOptions from models to repofiles (#9124) 5 years ago
6543 733c898a90 [Branch View] Add Included TAG (#8449) 5 years ago