Commit Graph

84 Commits (e55926ebfe88d6ee079842967dc7dccc2a9cdbf2)

Author SHA1 Message Date
Lunny Xiao b79c30435f
Use the database object format name but not read from git repoisitory everytime and fix possible migration wrong objectformat when migrating a sha256 repository (#29294) 9 months ago
6543 7fbdb60fc1
Start to migrate from `util.OptionalBool` to `optional.Option[bool]` (#29329) 9 months ago
wxiaoguang f3eb835886
Refactor locale&string&template related code (#29165) 9 months ago
Lunny Xiao 5f82ead13c
Simplify how git repositories are opened (#28937) 10 months ago
silverwind 60e4a98ab0
Preserve BOM in web editor (#28935) 10 months ago
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