forgejo/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.go [Refactor] Passwort Hash/Set (#14282) 2021-01-10 20:05:18 +02:00
auth_openid.go
avatar.go Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
home.go Issues overview should not show issues from archived repos (#13220) 2021-01-12 23:19:17 -05:00
home_test.go Issues overview should not show issues from archived repos (#13220) 2021-01-12 23:19:17 -05:00
main_test.go
notification.go
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