Commit Graph

588 Commits (cdd6371ad484cce6233892d8f6744b52cd38e0c8)

Author SHA1 Message Date
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
yutotnh 3708ca8e28
fix: some typos (#19956) 3 years ago
Lunny Xiao 110fc57cbc
Move some code into models/git (#19879) 3 years ago
Lunny Xiao 26095115f4
Move some repository related code into sub package (#19711) 3 years ago
qwerty287 df9612bb53
Add API to serve blob or LFS file content (#19689) 3 years ago
Lunny Xiao e09fb30d34
improvement some release related code (#19867) 3 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
6543 1ebb30e41b
Pass gitRepo down to GetRawDiff, since its used for main repo and wiki (#19461) 3 years ago
Lunny Xiao 7c164d5a91
Use queue instead of memory queue in webhook send service (#19390) 3 years ago
6543 ddbbe6e15c
User specific repoID or xorm builder conditions for issue search (#19475) 3 years ago
Gusted 240b3aa218
Mark TemplateLoading error as "UnprocessableEntity" (#19445) 3 years ago
Gusted 3ec1b6c223
Fix logging of Transfer API (#19456) 3 years ago
6543 c764355676
RepoAssignment ensure to close before overwrite (#19449) 3 years ago
zeripath 409ff55a29
When updating mirror repo intervals by API reschedule next update too (#19429) 3 years ago
Lunny Xiao b8911fb456
Use a struct as test options (#19393) 3 years ago
Chongyi Zheng f029b9ae4f
Document 409 error returned by repos/migrate api (#19376) 3 years ago
Lunny Xiao 1dfa26e00e
Move milestone to models/issues/ (#19278) 3 years ago
Lunny Xiao 783a021889
Never use /api/v1 from Gitea UI Pages (#19318) 3 years ago
Peter Gardfjäll 43ff92e122
An attempt to sync a non-mirror repo must give 400 (Bad Request) (#19300) 3 years ago
6543 9c349a4277
Move checks for pulls before merge into own function (#19271) 3 years ago
Lunny Xiao d4f84f1c93
Move reaction to models/issues/ (#19264) 3 years ago
wxiaoguang c83168104b
Use a more general (and faster) method to sanitize URLs with credentials (#19239) 3 years ago
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 3 years ago
Lunny Xiao 74731c3a5a
Move some issue methods as functions (#19255) 3 years ago
Lunny Xiao 76aa33d884
Move init repository related functions to modules (#19159) 3 years ago
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 3 years ago
zeripath e69b7a92ed
Allow API to create file on empty repo (#19224) 3 years ago
Abheek Dhawan f316582458
Set the default branch for repositories generated from templates (#19136) 3 years ago
KN4CK3R 3f280f89e7
Update HTTP status codes to modern codes (#18063) 3 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 3 years ago
wxiaoguang 2b55422cd7
Fix the bug: deploy key with write access can not push (#19010) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
Gusted 49c5fc565c
Fix NPE `/repos/issues/search` when not signed in (#19154) 3 years ago
Jimmy Praet 5184c83f6b
Add config option to disable "Update branch by rebase" (#18745) 3 years ago