Commit Graph

6 Commits (097d4e30b180eef30600beef2c08095e2571319c)

Author SHA1 Message Date
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
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 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
Eekle 260a28d8d5
Improved ref comment link when origin is body/title (#19741) 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 1dfa26e00e
Move milestone to models/issues/ (#19278) 3 years ago
silverwind 2b9df564b8
Lock gofumpt to v0.3.0 and run it (#18866) 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
Lunny Xiao fc3d082609
Move attachment into models/repo/ (#17650) 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
Lunny Xiao 143071ee41
don't record error when loading ref comment but ref comment id is zero (#15820) 4 years ago
Bo-Yi Wu 167b0f46ef
chore(models): rewrite code format. (#14754) 4 years ago
6543 a19447aed1
migrate from com.* to alternatives (#14103) 4 years ago
Lunny Xiao 43ada65571
remove unused method and rename createcommentWithNoAction (#9367) 5 years ago
Lunny Xiao 2011a5b818 Extract createComment (#9125) 5 years ago
guillep2k 2c2b9718e6 Avoid re-issuing redundant cross-references. (#8734) 5 years ago
guillep2k 64769c8a6b Allow authors to use act keywords in PR content (#9059) 5 years ago
guillep2k b15f26b1cf Close/reopen issues by keywords in titles and comments (#8866) 5 years ago
Lunny Xiao e0e4473172 extract some inline functions related with create comment (#8931) 5 years ago
Lunny Xiao d151503d34 Upgrade xorm to v0.8.0 (#8536) 5 years ago
guillep2k 15809d81f7 Rewrite reference processing code in preparation for opening/closing from comment references (#8261) 5 years ago
guillep2k c05b89a5aa Fix nil ref (#8281) 5 years ago
guillep2k 2a2b46c62e Reference issues from pull requests and other issues (#8137) 5 years ago