Commit Graph

7 Commits (8f5b2f1ddf8e7dad04958f2190e1d717fdc9c177)

Author SHA1 Message Date
Lunny Xiao 1d191f9b5a
some refactor about code comments(#20821) (#22707) 2 years ago
Yarden Shoham 9e68261ca7
fix incorrect role labels for migrated issues and comments (#22914) (#22923) 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) 3 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 3 years ago
Lunny Xiao 110fc57cbc
Move some code into models/git (#19879) 3 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
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Lunny Xiao d710af6669
Remove NewSession method from db.Engine interface (#17577) 3 years ago
Lunny Xiao fc3d082609
Move attachment into models/repo/ (#17650) 3 years ago
Gusted 381e131fc8
Added comment for changing issue ref (#17672) 3 years ago
Gusted 492e1c2fbd
Refactor commentTags functionality (#17558) 3 years ago
KN4CK3R edbaa5d3f0
Added GetUserByIDCtx. (#17602) 3 years ago
wxiaoguang c5c88f2f18
Save and view issue/comment content history (#16909) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 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
KN4CK3R 87505a9464
Add `AbsoluteListOptions` (#17028) 3 years ago
wxiaoguang b55c699c62
Alter issue/comment table TEXT fields to LONGTEXT (#16765) 3 years ago
6543 2289580bb7
[API] generalize list header (#16551) 3 years ago
KN4CK3R d9ef43a712
Replace `list.List` with slices (#16311) 3 years ago
Lunny Xiao 9f31f3aa8a
Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
luzpaz e0296b6a6d
Fix various documentation, user-facing, and source comment typos (#16367) 4 years ago
KN4CK3R ebf253b841
Add attachments for PR reviews (#16075) 4 years ago
Lunny Xiao 9d99f6ab19
Refactor renders (#15175) 4 years ago
Bo-Yi Wu 167b0f46ef
chore(models): rewrite code format. (#14754) 4 years ago
zeripath f0e15250b9
Migrate to use jsoniter instead of encoding/json (#14841) 4 years ago
Norwin d38ae597e1
Add UI to delete tracked times (#14100) 4 years ago