Commit Graph

91 Commits (b71d4c3ec01ac8db71f5c417ea570f258b165cb6)

Author SHA1 Message Date
yp05327 29d3949271
Avoid run change title process when the title is same (#27467) (#27558) 1 year ago
Giteabot f13a294b47
More `db.DefaultContext` refactor (#27265) (#27347) 1 year ago
Giteabot 9903b8d7ec
Fix Bug in Issue Config when only contact links are set (#26521) (#27334) 1 year ago
JakobDev f91dbbba98
Next round of `db.DefaultContext` refactor (#27089) 1 year ago
JakobDev c548dde205
More refactoring of `db.DefaultContext` (#27083) 1 year ago
Nanguan Lin da50be7360
Replace 'userxx' with 'orgxx' in all test files when the user type is org (#27052) 1 year ago
Lunny Xiao 4f32abaf94
move repository deletion to service layer (#26948) 1 year ago
Lunny Xiao 540bf9fa6d
Move notification interface to services layer (#26915) 1 year ago
Lunny Xiao 36eb3c433a
Add transaction when creating pull request created dirty data (#26259) 1 year ago
wxiaoguang e4b1ea6f15
Bypass MariaDB performance bug of the "IN" sub-query, fix incorrect IssueIndex (#26279) 1 year ago
caicandong 6151e69d95
Delete `issue_service.CreateComment` (#26298) 1 year ago
Lunny Xiao b167f35113
Add context parameter to some database functions (#26055) 1 year ago
6543 8995046110
Less naked returns (#25713) 1 year ago
Vladimir Buyanov 3bdd48016f
Add codeowners feature (#24910) 1 year ago
谈笑风生间 a5acec329e
Rename NotifyPullReviewRequest to NotifyPullRequestReviewRequest (#24988) 2 years ago
Lunny Xiao f9cfd6ce5b
Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2 years ago
JakobDev aaa1094663
Add the ability to pin Issues (#24406) 2 years ago
wxiaoguang def4956122
Improve Gitea's web context, decouple "issue template" code into service package (#24590) 2 years ago
KN4CK3R f1173d6879
Use more specific test methods (#24265) 2 years ago
wxiaoguang de2268ffab
Fix issue attachment handling (#24202) 2 years ago
wxiaoguang cfe3d6e9b5
Make more functions use ctx instead of db.DefaultContext (#24068) 2 years ago
Brecht Van Lommel c8139c0f64
Webhooks: for issue close/reopen action, add commit ID that caused it (#22583) 2 years ago
Brecht Van Lommel cdf53fa4a7
Fix issue not auto-closing when it includes a reference to a branch (#22514) 2 years ago
Jason Song 6135359a04
Always reuse transaction (#22362) 2 years ago
Lunny Xiao 68704532c2
Rename almost all Ctx functions (#22071) 2 years ago
Jason Song 74874d065f
Fix issue/PR numbers (#22037) 2 years ago
Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter (#21878) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
zeripath e77b76425e
Prepend refs/heads/ to issue template refs (#20461) 2 years ago
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 2 years ago
Lunny Xiao 34283a74e8
Allow detect whether it's in a database transaction for a context.Context (#21756) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
Ashley Nelson 82ecd3b19e
Update milestone counters when issue is deleted (#21459) 2 years ago
Lunny Xiao f860a6d2e4
Add system setting table with cache and also add cache supports for user setting (#18058) 2 years ago
KN4CK3R 0e57ff7eee
Add generic set type (#21408) 2 years ago
Jason Song 831e981357
Allow poster to choose reviewers (#21084) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
Lunny Xiao 86c85c19b6
Refactor AssertExistsAndLoadBean to use generics (#20797) 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 cc42c6488a
fix delete pull head ref for DeleteIssue (#20032) 2 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Lunny Xiao cbd45471b1
Move access and repo permission to models/perm/access (#19350) 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
Lunny Xiao b8911fb456
Use a struct as test options (#19393) 3 years ago
Lunny Xiao 1dfa26e00e
Move milestone to models/issues/ (#19278) 3 years ago
Lunny Xiao 74731c3a5a
Move some issue methods as functions (#19255) 3 years ago
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 3 years ago