You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Elena Neuschild 564030336d
Issues overview should not show issues from archived repos (#13220)
* Add lots of comments to user.Issues()

* Answered some questions from comments

* fix typo in comment

* Refac user.Issues(): add func repoIDs

* Refac user.Issues(): add func userRepoIDs

* Refac user.Issues(): add func issueIDsFromSearch

* Refac user.Issues(): improve error handling

* Refac user.Issues(): add inline documentation and move variable declarations closer to their usages

* Refac user.Issues(): add func repoIDMap

* Refac user.Issues(): cleanup

* Refac: Separate Issues from Pulls during routing

* fix typo in comment

* Adapt Unittests to Refactoring

* Issue13171: Issue and PR Overviews now ignore archived Repositories

* changed some verbatim SQL conditions to builder.Eq

* models/issue.go: use OptionalBool properly

Co-authored-by: 6543 <6543@obermui.de>

* Use IsArchived rather than ExcludeArchivedRepos

* fixed broken test after merge

* added nil check

* Added Unit Test securing Issue 13171 fix

* Improved IsArchived filtering in issue.GetUserIssueStats

* Removed unused func

* Added grouping to avoid returning duplicate repo IDs

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Gitea <gitea@fake.local>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
4 years ago
..
setting [Refactor] Passwort Hash/Set (#14282) 4 years ago
auth.go [Refactor] Passwort Hash/Set (#14282) 4 years ago
auth_openid.go hCaptcha Support (#12594) 4 years ago
avatar.go Direct avatar rendering (#13649) 4 years ago
home.go Issues overview should not show issues from archived repos (#13220) 4 years ago
home_test.go Issues overview should not show issues from archived repos (#13220) 4 years ago
main_test.go Unit tests for wiki routers (#3022) 7 years ago
notification.go Fix notifications page links (#12838) 4 years ago
oauth.go Minimal OpenID Connect implementation (#14139) 4 years ago
profile.go rework heatmap permissions (#14080) 4 years ago
task.go Store task errors following migrations and display them (#13246) 4 years ago