Commit Graph

79 Commits (6c6823935c4810a071a3919a88819b0ed156bf43)

Author SHA1 Message Date
Denys Konovalov 4f8f5f6e25
Assign pull request to project during creation (#28227) 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
silverwind 73b63d9311
Replace ajax with fetch, improve image diff (#27267) 1 year ago
Lunny Xiao fe68bbeea0
When comparing with an non-exist repository, return 404 but 500 (#27437) 1 year ago
JakobDev cc5df26680
Even more `db.DefaultContext` refactor (#27352) 1 year ago
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073) 1 year ago
JakobDev 8d0343e028
Fix issue templates when blank isses are disabled (#27061) 1 year ago
CaiCandong c576b50441
Fix being unable to use a repo that prohibits accepting PRs as a PR source. (#26785) 1 year ago
HesterG 2f0e79e639
Use frontend fetch for branch dropdown component (#25719) 1 year ago
Lunny Xiao 6e19484f4d
Sync branches into databases (#22743) 1 year ago
Lunny Xiao 15d6638c15
Don't list root repository on compare page if pulls not allowed (#24183) 2 years ago
Jonathan Tran 1af3dc6ee3
Fix 2-dot direct compare to use the right base commit (#24133) 2 years ago
wxiaoguang 5cc0801de9
Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876) 2 years ago
Hester Gong 8d9f8e10b1
Fix tags sort by creation time (descending) on branch/tag dropdowns (#23491) 2 years ago
Kyle D 2b3f12f6fd
Use beforeCommit instead of baseCommit (#22949) 2 years ago
yp05327 bd66fa586a
Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 2 years ago
Brecht Van Lommel 49919c636e
Pull Requests: setting to allow edits by maintainers by default, tweak UI (#22862) 2 years ago
wxiaoguang 6bc3079c00
Refactor git command package to improve security and maintainability (#22678) 2 years ago
Brecht Van Lommel b5b3e0714e
Pull request yaml template support for including commit body in a field (#22629) 2 years ago
Jason Song 7adc2de464
Use context parameter in models/git (#22367) 2 years ago
Lunny Xiao 68704532c2
Rename almost all Ctx functions (#22071) 2 years ago
Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter (#21878) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 2 years ago
wxiaoguang dcd9fc7ee8
Refactor git command arguments and make all arguments to be safe to be used (#21535) 2 years ago
KN4CK3R 43c10def68
Fix CSV diff for added/deleted files (#21189) 2 years ago
Jason Song 84447df4d3
Support Issue forms and PR forms (#20987) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
Gusted 9cf0352f14
Prepend commit message to template content (#20429) 2 years ago
Lunny Xiao b01dce2a6e
Allow render HTML with css/js external links (#19017) 2 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 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
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Lunny Xiao cbd45471b1
Move access and repo permission to models/perm/access (#19350) 3 years ago
KN4CK3R a9ca4b4100
Calculate filename hash only once (#19654) 3 years ago
99rgosse 438646e0b5
Handle the error of a missing blob object fix #19530 (#19552) 3 years ago
qwerty287 8eb1cd9264
Add "Allow edits from maintainer" feature (#18002) 3 years ago
6543 06e4687cec
more context for models (#19511) 3 years ago
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 3 years ago
a1012112796 0eff23dae0
Fix compare link in active feeds for new branch (#19149) 3 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
Jimmy Praet e4ef61ee0f
BeforeSourcePath should point to base commit (#18799) 3 years ago
zeripath 933e819165
Ensure that blob-excerpt links work for wiki (#18587) 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
wxiaoguang a38ba634a4
Load EasyMDE/CodeMirror dynamically, remove RequireEasyMDE (#18069) 3 years ago
Lunny Xiao d7770539f6
Improve interface when comparing a branch which has created a pull request (#17911) 3 years ago