Commit Graph

2 Commits (d8a80b0ed7034b68d0f99e72bde0f26057971672)

Author SHA1 Message Date
Lunny Xiao 86c85c19b6
Refactor AssertExistsAndLoadBean to use generics (#20797) 2 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 3 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Lunny Xiao 4344a64107
Allow custom default merge message with .gitea/default_merge_message/<merge_style>_TEMPLATE.md (#18177) 3 years ago
6543 92f139d091
Use for a repo action one database transaction (#19576) 3 years ago
6543 06e4687cec
more context for models (#19511) 3 years ago
6543 9c349a4277
Move checks for pulls before merge into own function (#19271) 3 years ago
a1012112796 637c3ec5d8
Don't delete branch if other PRs with this branch are open (#18164) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
wxiaoguang 750a8465f5
A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
wxiaoguang 81926d61db
Decouple unit test, remove intermediate `unittestbridge` package (#17662) 3 years ago
wxiaoguang df64fa4865
Decouple unit test code from business code (#17623) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 3 years ago
pricly-yellow 20eaca6d05
Fix stange behavior of DownloadPullDiffOrPatch in incorect index (#17223) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
a1012112796 3705168837
Add agit flow support in gitea (#14295) 3 years ago
Steven 864e656d81
Display conflict-free merge messages for pull requests (#15773) 4 years ago
Lunny Xiao 5abe1c52de
Display pull request head branch even the branch deleted or repository deleted (#10413) 5 years ago
SpaWn2KiLl 1f01f53c53 API add/generalize pagination (#9452) 5 years ago
6543 36943e56d6 Add "Update Branch" button to Pull Requests (#9784) 5 years ago
Lunny Xiao 384c2b342e
Move pull request api convert to convert package (#9664) 5 years ago
Lunny Xiao 8878cfa4a1
Fix lint (#9688) 5 years ago
Lunny Xiao ce2d488c94 Move PushToBaseRepo from models to services/pull (#9352) 5 years ago
zeripath 74179d1b5e Remove SavePatch and generate patches on the fly (#9302) 5 years ago
Lunny Xiao 82e0383d21 Move some pull request functions from models to services (#9266) 5 years ago
Lunny Xiao 945f121262
Fix bug on pull requests when transfer head repository (#8564) 5 years ago
quantonganh ff85a6331e only return head: null if source branch was deleted (#6705) 6 years ago
kolaente f9ec2f89f2 Add golangci (#6418) 6 years ago
Julien Tant 7781e8cef2 Disable merging a WIP Pull request (#4529) 6 years ago
Ethan Koenig b496e3e1cc Fix unit test race condition (#2516) 7 years ago
Morlinest 8e61823ec4 Fix tests code to prevent some runtime errors (#2381) 7 years ago
Ethan Koenig ceae143e78 Consistency checks for unit tests (#853) 8 years ago
Lunny Xiao bb5a6b7a07 fix xorm NewSession uncorrected usages (#774) 8 years ago
Ethan Koenig 8093b3372e Less boilerplate in models/ unit tests (#725) 8 years ago
Ethan Koenig 973282dae2 Better coverage in pull_test (#615) 8 years ago
Ethan Koenig 72bfabfada Unit tests for models/pull.go 8 years ago