Commit Graph

165 Commits (778ad795fd4a19dc15723b59a846a250034c7c3a)

Author SHA1 Message Date
delvh 778ad795fd
Refactor deletion (#28610) 11 months ago
Lunny Xiao 0407a402bb
Revert "improve possible performance bottleneck (#28547)" (#28593) 11 months ago
Lunny Xiao b35d3fddfa
improve possible performance bottleneck (#28547) 11 months ago
6543 2c48733afe
Fix inperformant query on retrifing review from database. (#28552) 11 months ago
Nanguan Lin 6a725b6f9c
Remove deadcode under models/issues (#28536) 11 months ago
sebastian-sauer e08f1a9cbd
Add combined index for issue_user.uid and issue_id (#28080) 12 months ago
Lunny Xiao 537fa69962
Second part of refactor `db.Find` (#28194) 12 months ago
Lunny Xiao dd30d9d5c0
Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) 12 months ago
Jason Song beb71f5ef6
Include public repos in doer's dashboard for issue search (#28304) 12 months ago
Lunny Xiao 882e502327
Fix comment permissions (#28213) 1 year ago
Lunny Xiao df1e7d0067
Use db.Find instead of writing methods for every object (#28084) 1 year ago
Earl Warren f2ea31de36
Enable system users for comment.LoadPoster (#28014) 1 year ago
KN4CK3R 3081e7e153
Fix missing mail reply address (#27997) 1 year ago
Nanguan Lin 966dcb99e3
Fix 500 when deleting a dismissed review (#27903) 1 year ago
KN4CK3R 4776fde9e1
Display issue task list on project cards (#27865) 1 year ago
Nanguan Lin 1eae2aadae
Fix issue not showing on default board and add test (#27720) 1 year ago
silverwind ce83609ff6
Upgrade to golangci-lint@v1.55.0 (#27756) 1 year ago
Nanguan Lin 881806a50b
Replace -1 with GhostUserID (#27703) 1 year ago
Nanguan Lin eb1478791f
Clean some functions about project issue (#27705) 1 year ago
6543 adbc995c34
Show total TrackedTime on issue/pull/milestone lists (#26672) 1 year ago
JakobDev ebe803e514
Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
JakobDev f2b2608a86
Don't let API add 2 exclusive labels from same scope (#27433) 1 year ago
JakobDev cc5df26680
Even more `db.DefaultContext` refactor (#27352) 1 year ago
JakobDev 08507e2760
Don't use subselect in `DeleteIssuesByRepoID` (#27332) 1 year ago
Earl Warren cb68e01e22
simplify issue deletion query (#27312) 1 year ago
6543 2a2b0cb1d2
rename TotalTimes() to TotalTimesForEachUser() (#27261) 1 year ago
JakobDev cf0df023be
More `db.DefaultContext` refactor (#27265) 1 year ago
Lunny Xiao 968be05bcc
Add logs for data broken of comment review (#27326) 1 year ago
Nanguan Lin 15a504cb9f
Fix the approval count of PR when there is no protection branch rule (#27272) 1 year ago
JakobDev 9d9cebc5e7
Add Index to `comment.dependent_issue_id` (#27325) 1 year ago
Lunny Xiao 673cf6af76
make writing main test easier (#27270) 1 year ago
JakobDev 7047df36d4
Another round of `db.DefaultContext` refactor (#27103) 1 year ago
Nanguan Lin 2f8e1604f8
Fix review request number and add more tests (#27104) 1 year ago
JakobDev 14731a34ff
Add index to `issue_user.issue_id` (#27154) 1 year ago
JakobDev f91dbbba98
Next round of `db.DefaultContext` refactor (#27089) 1 year ago
JakobDev c548dde205
More refactoring of `db.DefaultContext` (#27083) 1 year ago
Nanguan Lin 0de09d3afc
Remove the useless function `GetUserIssueStats` and move relevant tests to `indexer_test.go` (#27067) 1 year ago
Nanguan Lin da50be7360
Replace 'userxx' with 'orgxx' in all test files when the user type is org (#27052) 1 year ago
Lunny Xiao e3ed67859a
Move some functions to service layer (#26969) 1 year ago
Lunny Xiao 4f32abaf94
move repository deletion to service layer (#26948) 1 year ago
CaiCandong a78c2eae24
Replace `util.SliceXxx` with `slices.Xxx` (#26958) 1 year ago
Nanguan Lin f1fe102c8c
Fix wrong review requested number (#26784) 1 year ago
yp05327 d2e4039def
Add `member`, `collaborator`, `contributor`, and `first-time contributor` roles and tooltips (#26658) 1 year ago
puni9869 9c5c601439
Fix archived unix time when archiving the label (#26681) 1 year ago
6543 3a67997f98
[Refactor] getIssueStatsChunk to move inner function into own one (#26671) 1 year ago
CaiCandong 0e74fc4a84
Fix project filter bugs (#26490) 1 year ago
puni9869 cafce3b4b5
Allow to archive labels (#26478) 1 year ago
delvh e10ba5e5e0
Rename `Sync2` -> `Sync` (#26479) 1 year ago
Panagiotis "Ivory" Vasilopoulos 2cbd377e1f
Always show usernames in reaction tooltips (#26444) 1 year ago
Lunny Xiao 36eb3c433a
Add transaction when creating pull request created dirty data (#26259) 1 year ago