Commit Graph

28 Commits (9b698362a333de2c388499f1a64d39545b0263bd)

Author SHA1 Message Date
JakobDev c548dde205
More refactoring of `db.DefaultContext` (#27083) 1 year ago
Lunny Xiao e3ed67859a
Move some functions to service layer (#26969) 1 year ago
yp05327 d2e4039def
Add `member`, `collaborator`, `contributor`, and `first-time contributor` roles and tooltips (#26658) 1 year ago
caicandong 6151e69d95
Delete `issue_service.CreateComment` (#26298) 1 year ago
silverwind 887a683af9
Update tool dependencies, lock govulncheck and actionlint (#25655) 1 year ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 1 year ago
wxiaoguang 17965c8e79
Make "dismiss" content shown correctly (#25461) 1 year ago
JakobDev aaa1094663
Add the ability to pin Issues (#24406) 2 years ago
Lunny Xiao 64f6a5d113
Use `CommentList` instead of `[]*Comment` (#24828) 2 years ago
wxiaoguang de2268ffab
Fix issue attachment handling (#24202) 2 years ago
yp05327 bd66fa586a
Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 2 years ago
Zettat123 0ab22a1a02
fix incorrect role labels for migrated issues and comments (#22914) 2 years ago
Lunny Xiao 769be877f2
Use link in UI which returned a relative url but not html_url which contains an absolute url (#21986) 2 years ago
Jason Song 4011821c94
Implement actions (#21937) 2 years ago
Sybren 151b1a9508
Support importing comment types (#22510) 2 years ago
Lunny Xiao db2286bbb6
some refactor about code comments (#20821) 2 years ago
Jason Song 7adc2de464
Use context parameter in models/git (#22367) 2 years ago
Lunny Xiao 68704532c2
Rename almost all Ctx functions (#22071) 2 years ago
KN4CK3R 3c59d31bc6
Add API management for issue/pull and comment attachments (#21783) 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
Lunny Xiao 5e8e3ecbeb
Fix issues count bug (#21557) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
zeripath 716fcfcf72
Make every not exist error unwrappable to a fs.ErrNotExist (#20891) 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 110fc57cbc
Move some code into models/git (#19879) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
6543 6a969681cd
Delete related PullAutoMerge and ReviewState on User/Repo Deletion (#19649) 3 years ago
kolaente 59b30f060a
Auto merge pull requests when all checks succeeded via API (#9307) 3 years ago
6543 92f139d091
Use for a repo action one database transaction (#19576) 3 years ago
Lunny Xiao 1dfa26e00e
Move milestone to models/issues/ (#19278) 3 years ago
Lunny Xiao d4f84f1c93
Move reaction to models/issues/ (#19264) 3 years ago
Lunny Xiao 74731c3a5a
Move some issue methods as functions (#19255) 3 years ago
Lunny Xiao bd97736b9c
Move project files into models/project sub package (#17704) 3 years ago
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 3 years ago
Otto Richter (fnetX) 04fcf23ea3
Delete related notifications on issue deletion too (#18953) 3 years ago
Otto Richter (fnetX) 062fd4c217
[API] Allow removing issues (#18879) 3 years ago
singuliere 367894adc8
add test coverage for original author conversion during migrations (#18506) 3 years ago
qwerty287 1f40933d38
Add config options to hide issue events (#17414) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
wxiaoguang 84f8ef3df6
Fix PR comments UI (#18323) 3 years ago
Aravinth Manivannan 076cead40d
Fix CheckRepoStats and reuse it during migration (#18264) 3 years ago
Norwin 696521b33b
fix regression from #16075 (#18260) 3 years ago
qwerty287 7db2f110ad
Add API to get issue/pull comments and events (timeline) (#17403) 3 years ago
Gusted a2afd38f25
Enable linter [rule.modifies-value-receiver] and refactor RoleDescriptor (#18093) 3 years ago
qwerty287 9d943bf374
Add missing `X-Total-Count` and fix some related bugs (#17968) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago