Commit Graph

40 Commits (65020fdf7fdd13f260c158edf2a81eeb273e8c44)

Author SHA1 Message Date
Giteabot f13a294b47
More `db.DefaultContext` refactor (#27265) (#27347) 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
6543 8995046110
Less naked returns (#25713) 1 year ago
Vladimir Buyanov 3bdd48016f
Add codeowners feature (#24910) 1 year 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 cfe3d6e9b5
Make more functions use ctx instead of db.DefaultContext (#24068) 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
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
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 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
Lunny Xiao 74731c3a5a
Move some issue methods as functions (#19255) 3 years ago
Otto Richter (fnetX) 062fd4c217
[API] Allow removing issues (#18879) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 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
zeripath 9302eba971
DBContext is just a Context (#17100) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
Jimmy Praet 4d9349123f
label and milestone webhooks on issue/pull creation (#14363) 4 years ago
Jimmy Praet e6acce649b
Send notifications for mentions in pulls, issues, (code-)comments (#14218) 4 years ago
Vedran e204398754
Change/remove a branch of an open issue (#9080) 4 years ago
Sijmen Schoon 66a9ef9036
Fix ref links in issue overviews for tags (#8742) 5 years ago
Lunny Xiao 491887d441 Move actions to notification (#8785) 5 years ago
Lunny Xiao af8957bc4c
Move issue notifications (#8713) 5 years ago
Lunny Xiao 495d5e4329
Move more issue assignee code from models to issue service (#8690) 5 years ago
David Svantesson 6aa3f8bc29 Mail assignee when issue/pull request is assigned (#8546) 5 years ago
Lunny Xiao 46a12f196b
Move change issue title from models to issue service package (#8456) 5 years ago
Lunny Xiao e6113000c5
Extract actions on new issue from models to services (#8217) 5 years ago