24 Commits (main)

Author SHA1 Message Date
wxiaoguang 0cbaa0b662
Remove incorrect "db.DefaultContext" usages (#35366) 4 months ago
Lunny Xiao 224aa64cd9
Replace update repository function in some places (#34566) 6 months ago
Markus Amshove 50d9565088
Add sort option recentclose for issues and pulls (#34525) 7 months ago
TheFox0x7 0fde8ecd55
Enable testifylint rules (#34075) 9 months ago
TheFox0x7 33e8e82c4b
Enable tenv and testifylint rules (#32852) 1 year ago
Lunny Xiao fbe6d9dc6b
Use batch database operations instead of one by one to optimze api pulls (#32680) 1 year ago
wxiaoguang cdb4d1a8db
Refactor StringsToInt64s (#29967) 2 years ago
qwerty287 0a426cc575
Add API to get merged PR of a commit (#29243) 2 years ago
JakobDev ebe803e514
Penultimate round of `db.DefaultContext` refactor (#27414) 2 years ago
JakobDev c548dde205
More refactoring of `db.DefaultContext` (#27083) 2 years ago
Nanguan Lin da50be7360
Replace 'userxx' with 'orgxx' in all test files when the user type is org (#27052) 2 years ago
Lunny Xiao e3ed67859a
Move some functions to service layer (#26969) 2 years ago
Lunny Xiao 36eb3c433a
Add transaction when creating pull request created dirty data (#26259) 2 years ago
Lunny Xiao b167f35113
Add context parameter to some database functions (#26055) 2 years ago
Cory Todd 179704695c
Fix duplicate Reviewed-by trailers (#24796) 3 years ago
Vladimir Buyanov 3bdd48016f
Add codeowners feature (#24910) 3 years ago
谈笑风生间 309354c70e
New webhook trigger for receiving Pull Request review requests (#24481) 3 years ago
sillyguodong e962ade99c
Refresh the refernce of the closed PR when reopening (#24231) 3 years ago
KN4CK3R f1173d6879
Use more specific test methods (#24265) 3 years ago
sillyguodong 2f49b55c19
Fix cannot reopen after pushing commits to a closed PR (#23189) 3 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 3 years ago
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 3 years ago
Lunny Xiao 86c85c19b6
Refactor AssertExistsAndLoadBean to use generics (#20797) 3 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 4 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 4 years ago
Lunny Xiao 4344a64107
Allow custom default merge message with .gitea/default_merge_message/<merge_style>_TEMPLATE.md (#18177) 4 years ago
6543 92f139d091
Use for a repo action one database transaction (#19576) 4 years ago
6543 06e4687cec
more context for models (#19511) 4 years ago
6543 9c349a4277
Move checks for pulls before merge into own function (#19271) 4 years ago
a1012112796 637c3ec5d8
Don't delete branch if other PRs with this branch are open (#18164) 4 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 4 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 4 years ago
wxiaoguang 750a8465f5
A better go code formatter, and now `make fmt` can run in Windows (#17684) 4 years ago
wxiaoguang 81926d61db
Decouple unit test, remove intermediate `unittestbridge` package (#17662) 4 years ago
wxiaoguang df64fa4865
Decouple unit test code from business code (#17623) 4 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 4 years ago
pricly-yellow 20eaca6d05
Fix stange behavior of DownloadPullDiffOrPatch in incorect index (#17223) 4 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 4 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 4 years ago
a1012112796 3705168837
Add agit flow support in gitea (#14295) 4 years ago
Steven 864e656d81
Display conflict-free merge messages for pull requests (#15773) 5 years ago
Lunny Xiao 5abe1c52de
Display pull request head branch even the branch deleted or repository deleted (#10413) 6 years ago
SpaWn2KiLl 1f01f53c53 API add/generalize pagination (#9452) 6 years ago
6543 36943e56d6 Add "Update Branch" button to Pull Requests (#9784) 6 years ago
Lunny Xiao 384c2b342e
Move pull request api convert to convert package (#9664) 6 years ago
Lunny Xiao 8878cfa4a1
Fix lint (#9688) 6 years ago
Lunny Xiao ce2d488c94 Move PushToBaseRepo from models to services/pull (#9352) 6 years ago
zeripath 74179d1b5e Remove SavePatch and generate patches on the fly (#9302) 6 years ago
Lunny Xiao 82e0383d21 Move some pull request functions from models to services (#9266) 6 years ago
Lunny Xiao 945f121262
Fix bug on pull requests when transfer head repository (#8564) 6 years ago