Commit Graph

10 Commits (aaa109466350c531b9238a61115b2877daca57d3)

Author SHA1 Message Date
wxiaoguang cfe3d6e9b5
Make more functions use ctx instead of db.DefaultContext (#24068) 2 years ago
Jason Song 477a1cc40e
Improve utils of slices (#22379) 2 years ago
Lunny Xiao 68704532c2
Rename almost all Ctx functions (#22071) 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
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
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
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 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
Bo-Yi Wu 167b0f46ef
chore(models): rewrite code format. (#14754) 4 years ago
6543 a0e424da85
Enhance Ghost comment mitigation Settings (#14392) 4 years ago
6543 4160bd6ef1
Remove Unused Functions (#10516) 5 years ago
6543 7e8cdba181
[Refactor] move APIFormat() of Issue and Label to convert package (#10423) 5 years ago
Lunny Xiao 43ada65571
remove unused method and rename createcommentWithNoAction (#9367) 5 years ago
Lunny Xiao 6e81eafdd6 Remove unused comment actions (#9222) 5 years ago
Lunny Xiao 2011a5b818 Extract createComment (#9125) 5 years ago
guillep2k 08ae6bb7ed Rewrite delivery of issue and comment mails (#9009) 5 years ago
Lunny Xiao e0e4473172 extract some inline functions related with create comment (#8931) 5 years ago
6543 31416a5f4e Fix API Bug (fail on empty assignees) (#8873) 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 d151503d34 Upgrade xorm to v0.8.0 (#8536) 5 years ago
Tamal Saha 171b359877 Use gitea forked macaron (#7933) 5 years ago
Lunny Xiao 0742f717ad
fix duplicated webhook when creating issue with assignees (#7681) 5 years ago
Lunny Xiao 34eee25bd4
Move sdk structs to modules/structs (#6905) 6 years ago
zeripath 704da08fdc
Better logging (#6038) (#6095) 6 years ago
Aidan Fitzgerald f5cf9a8355 Copyedit docs (#6275) 6 years ago
zeripath 6311e4ce6a Fix sqlite deadlock when assigning to a PR (#5640) 6 years ago
Lunny Xiao b3b7598ec6 Improve performance of dashboard (#4977) 6 years ago
Lunny Xiao eabbddcd98
Restrict permission check on repositories and fix some problems (#5314) 6 years ago
Lunny Xiao 499bff43d9 dont' send assign webhooks when creating issue (#5365) 6 years ago
SagePtr 50ce19eff7 Fix failure on creating pull request with assignees (#4419) (#4583) 6 years ago
Lunny Xiao 6bdc556b7f
Fix some webhooks bugs (#3981) 7 years ago
kolaente 95f2e2b57b Multiple assignees (#3705) 7 years ago