Commit Graph

12 Commits (fefdb7ffd11bbfbff66dae8e88681ec840dedfde)

Author SHA1 Message Date
Lunny Xiao 34283a74e8
Allow detect whether it's in a database transaction for a context.Context (#21756) 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
zenofile 20a5452ea6
Fix viewing user subscriptions (#21482) 2 years ago
zeripath 716fcfcf72
Make every not exist error unwrappable to a fs.ErrNotExist (#20891) 2 years ago
Lunny Xiao f860a6d2e4
Add system setting table with cache and also add cache supports for user setting (#18058) 2 years ago
wxiaoguang 6f48a36227
Refactor GetNextResourceIndex to make it work properly with transaction (#21469) 2 years ago
qwerty287 08609d439d
Add pages to view watched repos and subscribed issues/PRs (#17156) 2 years ago
Tyrone Yeh 8e3da0e27f
Modify milestone search keywords to be case insensitive again (#20513) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
Hugo Hoitink 6473bd333a
In code search, get code unit accessible repos in one (main) query (#19764) 2 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 2 years ago
Lunny Xiao 26095115f4
Move some repository related code into sub package (#19711) 2 years ago
Lunny Xiao 12c742f8dc
Fix order by parameter (#19849) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Gusted 71ca131582
Fix issue overview for teams (#19652) 3 years ago
Lunny Xiao cbd45471b1
Move access and repo permission to models/perm/access (#19350) 3 years ago
6543 92f139d091
Use for a repo action one database transaction (#19576) 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 fc002860d8
Simplify the code to get issue count (#19380) 3 years ago
Lunny Xiao 1dfa26e00e
Move milestone to models/issues/ (#19278) 3 years ago
6543 75f8534c3a
API: Search Issues, dont show 500 if filter result in empty list (#19244) 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
Gusted a5f2894071
Fix showing issues in your repositories (#18916) 3 years ago
Otto Richter (fnetX) 04fcf23ea3
Delete related notifications on issue deletion too (#18953) 3 years ago
Aravinth Manivannan fa73cbf5a7
Store the foreign ID of issues during migration (#18446) 3 years ago
Lunny Xiao 04971c33a3
Improve the deletion of issue (#18945) 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
Gusted bb5f859ec0
Fix non-ASCII search on database (#18437) 3 years ago
Lauris BH 8038610a42
Automatically pause queue if index service is unavailable (#15066) 3 years ago
Aravinth Manivannan 076cead40d
Fix CheckRepoStats and reuse it during migration (#18264) 3 years ago
Lunny Xiao 8760af752a
Team permission allow different unit has different permission (#17811) 3 years ago
Lunny Xiao 8ce1b539b1
Use conditions but not repo ids as query condition (#16839) 3 years ago
DuckDuckWhale 72f9050689
Fix: unstable sort skips/duplicates issues across pages (#18094) 3 years ago
qwerty287 9d943bf374
Add missing `X-Total-Count` and fix some related bugs (#17968) 3 years ago
zeripath eba07867ef
Prevent deadlock in create issue (#17970) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
Anbraten 0ff18a808c
Support sorting for project board issuses (#17152) 3 years ago
mscherer 34b5436ae1
Refactor various strings (#17784) 3 years ago
Lunny Xiao 1fee11d69a
Move accessmode into models/perm (#17828) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Jimmy Praet a3efd048a7
Improvements to content history (#17746) 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