Commit Graph

32 Commits (tokarchuk/v1.17)

Author SHA1 Message Date
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 2 years ago
Lunny Xiao 12c742f8dc
Fix order by parameter (#19849) 3 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
singuliere 443675d180
[doctor] Add check/fix for bogus action rows (#19656) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 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
KN4CK3R f34151bdb2
Move user/org deletion to services (#17673) 3 years ago
Lunny Xiao 3c3855a05c
Move user functions into user.go (#17659) 3 years ago
wxiaoguang 81926d61db
Decouple unit test, remove intermediate `unittestbridge` package (#17662) 3 years ago
wxiaoguang df64fa4865
Decouple unit test code from business code (#17623) 3 years ago
Lunny Xiao 0db7a32b92
unbind the CheckConsistency for some structs so that they can be moved to sub packages easier (#17612) 3 years ago
zeripath 76a3190b8a
Quote the table name in CountOrphanedObjects (#17487) 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 36c158bc93
Update milestone counters on new issue. (#16183) 3 years ago
Lunny Xiao 44f8c812ec
Fix `doctor --run check-db-consistency --fix` with label fix (#16094) 4 years ago
Lunny Xiao f5eb33c354
Fix orphaned objects deletion bug (#15657) 4 years ago
zeripath 750ac52db2
Fix Migration 176 yet again (#15131) 4 years ago
zeripath 687e2dfa55
Fix consistency check (#15120) 4 years ago
zeripath dfb3e50dce
Fix the v176 migration (#15110) 4 years ago
6543 a3a65137ba
Delete Labels & IssueLabels on Repo Delete too (#15039) 4 years ago
zeripath dace0ce1b1
Prevent addition of labels from outside the repository or organisation in issues (#14912) 4 years ago
zeripath 070c57867d
Fix postgres ID sequences broken by recreate-table (#15015) 4 years ago
zeripath f82b1dd7c3
Prevent adding nil label to .AddedLabels or .RemovedLabels (#14623) 4 years ago
6543 0e0424c8ec
Add Doctor FixWrongUserType (#14522) 4 years ago
zeripath b9e281265e
Add migration to set IsArchived false if it is null (#11853) 5 years ago
6543 726e1e5279
Doctor check & fix db consistency (#11111) 5 years ago
guillep2k 01a4a7cb14 Auto-subscribe user to repository when they commit/tag to it (#7657) 5 years ago
Lunny Xiao aa7c34cf86 Fix error log when loading issues caused by a xorm bug (#7271) 5 years ago
Ethan Koenig 0c332f0480 Fix activity feed (#1779) 8 years ago
Ethan Koenig cf02cd7ba0 Fix and test for delete user (#1713) 8 years ago
Ethan Koenig 4b286f282a Consistency checks for action unit tests (#1079) 8 years ago
Ethan Koenig 181c8d9c99 Fix consistency check (#866) 8 years ago
Ethan Koenig ceae143e78 Consistency checks for unit tests (#853) 8 years ago