30 Commits (main)

Author SHA1 Message Date
Lunny Xiao 65cd3f5309
Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 5 months ago
Thomas E Lackey fa49cd719f
feat: Add sorting by exclusive labels (issue priority) (#33206) 8 months ago
Lunny Xiao 6c8fb8d455
Small refactor to reduce unnecessary database queries and remove duplicated functions (#33779) 10 months ago
Zettat123 44b4fb21a4
Support org labels when adding labels by label names (#32988) 12 months ago
Lunny Xiao c363bd06e9
Strict pagination check (#32548) 1 year ago
wxiaoguang 00fc29aee1
Refactor issue label selection (#31497) 2 years ago
Chl b5326a431f
Optimization of labels handling in issue_search (#26460) 2 years ago
6543 9a93b1816e
Refactor label.IsArchived() (#29750) 2 years ago
6543 a3f05d0d98
remove util.OptionalBool and related functions (#29513) 2 years ago
delvh 778ad795fd
Refactor deletion (#28610) 2 years ago
Nanguan Lin 6a725b6f9c
Remove deadcode under models/issues (#28536) 2 years 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) 2 years ago
JakobDev f91dbbba98
Next round of `db.DefaultContext` refactor (#27089) 2 years ago
puni9869 9c5c601439
Fix archived unix time when archiving the label (#26681) 2 years ago
puni9869 cafce3b4b5
Allow to archive labels (#26478) 2 years ago
Jason Song 1e76a824bc
Refactor and enhance issue indexer to support both searching, filtering and paging (#26012) 2 years ago
Lunny Xiao 38cf43d060
Some refactors for issues stats (#24793) 3 years ago
Hester Gong ea7954f069
Modify luminance calculation and extract related functions into single files (#24586) 3 years ago
Lauris BH 58b4143803
Add loading yaml label template files (#22976) 3 years ago
zeripath d827215011
Fix DBConsistency checks on MSSQL (#23132) 3 years ago
Brecht Van Lommel 6221a6fd54
Scoped labels (#22585) 3 years ago
Lunny Xiao 68704532c2
Rename almost all Ctx functions (#22071) 3 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 3 years ago
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 3 years ago
Lunny Xiao 34283a74e8
Allow detect whether it's in a database transaction for a context.Context (#21756) 3 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 3 years ago
zeripath 716fcfcf72
Make every not exist error unwrappable to a fs.ErrNotExist (#20891) 3 years ago
Tyrone Yeh 715042c5bb
Fix org label open count, including close count issue (#20353) 3 years ago
zeripath 5d80feb5a6
Fix CountOrphanedLabels in orphan check (#20009) 4 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 4 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 4 years ago
6543 06e4687cec
more context for models (#19511) 4 years ago
6543 ddbbe6e15c
User specific repoID or xorm builder conditions for issue search (#19475) 4 years ago
Lunny Xiao 1dfa26e00e
Move milestone to models/issues/ (#19278) 4 years ago
Lunny Xiao 76aa33d884
Move init repository related functions to modules (#19159) 4 years ago
Clar Fon 9911b66aea
Be more lenient with label colors (#17752) 4 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 4 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 4 years ago
Lunny Xiao d710af6669
Remove NewSession method from db.Engine interface (#17577) 4 years ago
Lunny Xiao fc3d082609
Move attachment into models/repo/ (#17650) 4 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 4 years ago
zeripath 9302eba971
DBContext is just a Context (#17100) 4 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 4 years ago
KN4CK3R 87505a9464
Add `AbsoluteListOptions` (#17028) 4 years ago
Clar Fon 29b971b6d5
Actually compute proper foreground color for labels (#16729) 4 years ago
6543 2289580bb7
[API] generalize list header (#16551) 4 years ago
6543 9c4601bdf8
Code Formats, Nits & Unused Func/Var deletions (#15286) 5 years ago
6543 a3a65137ba
Delete Labels & IssueLabels on Repo Delete too (#15039) 5 years ago
Bo-Yi Wu 167b0f46ef
chore(models): rewrite code format. (#14754) 5 years ago
zeripath 42b9b46ad2
Never add labels not from this repository or organisation and remove org labels on transfer (#14928) 5 years ago