0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-27 15:34:25 +01:00
gitea/models/fixtures
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
..
access.yml
access_token.yml
action.yml rework heatmap permissions (#14080) 2020-12-22 03:53:37 +01:00
attachment.yml
collaboration.yml
comment.yml
commit_status.yml
deleted_branch.yml
deploy_key.yml
email_address.yml
follow.yml
gpg_key.yml
gpg_key_import.yml
hook_task.yml
issue.yml Issues overview should not show issues from archived repos (#13220) 2021-01-12 23:19:17 -05:00
issue_assignees.yml
issue_label.yml
issue_user.yml
issue_watch.yml
label.yml
login_source.yml
milestone.yml
notice.yml
notification.yml
oauth2_application.yml
oauth2_authorization_code.yml
oauth2_grant.yml Minimal OpenID Connect implementation (#14139) 2021-01-02 00:33:27 +08:00
org_user.yml
project.yml
project_board.yml
project_issue.yml
protected_branch.yml
public_key.yml
pull_request.yml Add review request api (#11355) 2020-10-20 14:18:25 -04:00
reaction.yml
release.yml Delete tag API (#13358) 2020-10-30 20:56:34 -05:00
repo_indexer_status.yml
repo_redirect.yml
repo_topic.yml
repo_unit.yml Issues overview should not show issues from archived repos (#13220) 2021-01-12 23:19:17 -05:00
repository.yml Issues overview should not show issues from archived repos (#13220) 2021-01-12 23:19:17 -05:00
review.yml Add review request api (#11355) 2020-10-20 14:18:25 -04:00
star.yml
stopwatch.yml
team.yml
team_repo.yml
team_unit.yml
team_user.yml
topic.yml
tracked_time.yml
two_factor.yml
u2f_registration.yml
user.yml Issues overview should not show issues from archived repos (#13220) 2021-01-12 23:19:17 -05:00
user_open_id.yml
watch.yml
webhook.yml