Commit Graph

615 Commits (194b780cd7f943d5155faf026223f4d7ff764daa)

Author SHA1 Message Date
Lunny Xiao 09794b4259
Fix ListBranches to handle empty case (#21921) (#22024) 2 years ago
KN4CK3R ff4e292b3f
Add support for HEAD requests in Maven registry (#21834) (#21929) 2 years ago
qwerty287 79275d9db4
Fix 500 on PR files API (#21602) (#21607) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
KN4CK3R 1887c95254
Decouple HookTask from Repository (#17940) 2 years ago
KN4CK3R cad9adeff4
Display total commit count in hook message (#21400) 2 years ago
Andrew Imeson d94f15c2fd
Make external issue tracker regexp configurable via API (#21338) 2 years ago
Gennady Kovshenin fd2d5f06b0
Add `stat` to `ToCommit` function for speed (#21337) 2 years ago
qwerty287 1dfa28ffa5
Add API endpoint to get changed files of a PR (#21177) 2 years ago
John Olheiser 8cd3237a9e
Better repo API unit checks (#21130) 2 years ago
Aaron F 3963625b6e
Webhook for Wiki changes (#20219) 2 years ago
zeripath e6b3be4608
Add more checks in migration code (#21011) 2 years ago
Jason Song 93a610a819
Fill the specified ref in webhook test payload (#20961) 2 years ago
John Olheiser a48d6ba4b4
Go 1.19 format (#20758) 2 years ago
Peter Gardfjäll 4562d40fce
fix hard-coded timeout and error panic in API archive download endpoint (#20925) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
zeripath a4a6a5987b
Return 404 NotFound if requested attachment does not exist (#20886) 2 years ago
zeripath 58a4407acb
Remove follow from commits by file (#20765) 2 years ago
Norwin 2754ecc293
Use correct page size for link header pagination (#20546) 2 years ago
Mohamed Sekour 0e61a74e5a
Add new API endpoints for push mirrors management (#19841) 2 years ago
zeripath a2cfcdb91a
Slightly simplify LastCommitCache (#20444) 2 years ago
6543 0a97480934
Add "X-Gitea-Object-Type" header for GET `/raw/` & `/media/` API (#20438) 2 years ago
6543 c0f5111fea
Dismiss prior pull reviews if done via web in review dismiss (#20197) 2 years ago
Gusted 57e0bf43eb
Set target on create release with existing tag (#20381) 2 years ago
Gusted 07ec8288bf
Add missing return for when topic isn't found (#20351) 2 years ago
Chongyi Zheng 49f9d43afe
Implement sync push mirror on commit (#19411) 2 years ago
Lunny Xiao 184a7d4195
Check if project has the same repository id with issue when assign project to issue (#20133) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
a1012112796 e3e06d13af
fix permission check for delete tag (#19985) 2 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 2 years ago
yutotnh 3708ca8e28
fix: some typos (#19956) 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
qwerty287 df9612bb53
Add API to serve blob or LFS file content (#19689) 2 years ago
Lunny Xiao e09fb30d34
improvement some release related code (#19867) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
6543 b135313c47
[Refactor] convert team(s) to apiTeam(s) (#13745) 3 years ago
Lunny Xiao cbd45471b1
Move access and repo permission to models/perm/access (#19350) 3 years ago
zeripath 9f5ddca57c
Set the LastModified header for raw files (#18356) 3 years ago
6543 6a969681cd
Delete related PullAutoMerge and ReviewState on User/Repo Deletion (#19649) 3 years ago
Lunny Xiao 4344a64107
Allow custom default merge message with .gitea/default_merge_message/<merge_style>_TEMPLATE.md (#18177) 3 years ago
kolaente 59b30f060a
Auto merge pull requests when all checks succeeded via API (#9307) 3 years ago
6543 92f139d091
Use for a repo action one database transaction (#19576) 3 years ago
Gusted c0a6309a5f
Simplify loops to copy (#19569) 3 years ago
Florin Hillebrand ad6d08d155
Add API to query collaborators permission for a repository (#18761) 3 years ago
Gusted 334707fee9
Don't error when branch's commit doesn't exist (#19547) 3 years ago
qwerty287 8eb1cd9264
Add "Allow edits from maintainer" feature (#18002) 3 years ago
Gusted 92dfbada37
Better describe what `/repos/{owner}/{repo}/raw/{filepath}` returns on 200 (#19542) 3 years ago
6543 06e4687cec
more context for models (#19511) 3 years ago
Gusted 076eaad743
Improve dashboard's repo list performance (#18963) 3 years ago