Commit Graph

578 Commits (e45738e3c9a918da6bdb003043ce1bef0a07b50f)

Author SHA1 Message Date
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
Otto Richter (fnetX) 062fd4c217
[API] Allow removing issues (#18879) 3 years ago
zeripath eb748f5f3c
Add apply-patch, basic revert and cherry-pick functionality (#17902) 3 years ago
Hugo Hoitink 5579345549
Update object repo with the migrated repository (#18684) 3 years ago
Lauris BH 8038610a42
Automatically pause queue if index service is unavailable (#15066) 3 years ago
Lauris BH 6392f4691a
API: Return primary language and repository language stats API URL (#18396) 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 84f8ef3df6
Fix PR comments UI (#18323) 3 years ago
zeripath 089b4e6a45
Use indirect comparison when showing pull requests (#18313) 3 years ago
6543 ff00b8688b
Fix NPE on try to get tag reference via API (#18245) 3 years ago