gitea/routers/user
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>
2021-01-12 23:19:17 -05:00
..
setting [Refactor] Passwort Hash/Set (#14282) 2021-01-10 20:05:18 +02:00
auth_openid.go hCaptcha Support (#12594) 2020-10-02 23:37:53 -04:00
auth.go [Refactor] Passwort Hash/Set (#14282) 2021-01-10 20:05:18 +02:00
avatar.go Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
home_test.go Issues overview should not show issues from archived repos (#13220) 2021-01-12 23:19:17 -05:00
home.go Issues overview should not show issues from archived repos (#13220) 2021-01-12 23:19:17 -05:00
main_test.go Unit tests for wiki routers (#3022) 2017-11-30 17:52:15 +02:00
notification.go Fix notifications page links (#12838) 2020-09-15 07:06:08 +01:00
oauth.go Minimal OpenID Connect implementation (#14139) 2021-01-02 00:33:27 +08:00
profile.go rework heatmap permissions (#14080) 2020-12-22 03:53:37 +01:00
task.go Store task errors following migrations and display them (#13246) 2020-10-23 19:46:35 -04:00