Commit Graph

22 Commits (c1331d1f7ab60249ed2f080b24f3e32093fa708d)

Author SHA1 Message Date
6543 a3f05d0d98
remove util.OptionalBool and related functions (#29513) 9 months ago
delvh 778ad795fd
Refactor deletion (#28610) 11 months ago
Nanguan Lin 6a725b6f9c
Remove deadcode under models/issues (#28536) 11 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) 11 months ago
JakobDev f91dbbba98
Next round of `db.DefaultContext` refactor (#27089) 1 year ago
puni9869 9c5c601439
Fix archived unix time when archiving the label (#26681) 1 year ago
puni9869 cafce3b4b5
Allow to archive labels (#26478) 1 year ago
Jason Song 1e76a824bc
Refactor and enhance issue indexer to support both searching, filtering and paging (#26012) 1 year ago
Lunny Xiao 38cf43d060
Some refactors for issues stats (#24793) 2 years ago
Hester Gong ea7954f069
Modify luminance calculation and extract related functions into single files (#24586) 2 years ago
Lauris BH 58b4143803
Add loading yaml label template files (#22976) 2 years ago
zeripath d827215011
Fix DBConsistency checks on MSSQL (#23132) 2 years ago
Brecht Van Lommel 6221a6fd54
Scoped labels (#22585) 2 years ago
Lunny Xiao 68704532c2
Rename almost all Ctx functions (#22071) 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
zeripath 716fcfcf72
Make every not exist error unwrappable to a fs.ErrNotExist (#20891) 2 years ago
Tyrone Yeh 715042c5bb
Fix org label open count, including close count issue (#20353) 2 years ago
zeripath 5d80feb5a6
Fix CountOrphanedLabels in orphan check (#20009) 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
6543 06e4687cec
more context for models (#19511) 3 years ago
6543 ddbbe6e15c
User specific repoID or xorm builder conditions for issue search (#19475) 3 years ago
Lunny Xiao 1dfa26e00e
Move milestone to models/issues/ (#19278) 3 years ago
Lunny Xiao 76aa33d884
Move init repository related functions to modules (#19159) 3 years ago
Clar Fon 9911b66aea
Be more lenient with label colors (#17752) 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
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
Clar Fon 29b971b6d5
Actually compute proper foreground color for labels (#16729) 3 years ago
6543 2289580bb7
[API] generalize list header (#16551) 3 years ago
6543 9c4601bdf8
Code Formats, Nits & Unused Func/Var deletions (#15286) 4 years ago
6543 a3a65137ba
Delete Labels & IssueLabels on Repo Delete too (#15039) 4 years ago
Bo-Yi Wu 167b0f46ef
chore(models): rewrite code format. (#14754) 4 years ago
zeripath 42b9b46ad2
Never add labels not from this repository or organisation and remove org labels on transfer (#14928) 4 years ago
6543 2686e6bbbe
Check if label template exist first (#14384) 4 years ago
6543 f4ffe8ed54
Save TimeStamps for Star, Label, Follow, Watch and Collaboration to Database (#13124) 4 years ago
zeripath 5e1c51cdb6
(Re)Load issue labels when changing them (#13007) 4 years ago
Lunny Xiao 1645d4a5d8
Use ID or Where to instead directly use Get when load object from database (#11925) 4 years ago
6543 6b6f20b6d4
BugFix: updateLabel can updated not allowed fields #11242 (#11242) 5 years ago
mrsdizzie 8d99ee2773
Add Organization Wide Labels (#10814) 5 years ago
Lunny Xiao f490291bea
Use subquery to instead In (#10874) 5 years ago
6543 7e8cdba181
[Refactor] move APIFormat() of Issue and Label to convert package (#10423) 5 years ago