forgejo/models
Lunny Xiao 7a9a5c8a69 Fix assigned issues dashboard (#920)
* Fix assigned/created issues in dashboard. (#3560)

* Fix assigned/created issues in dashboard.

* Use GetUserIssueStats for getting all Dashboard stats.

* Use gofmt to format the file properly.

* Replace &Issue{} with new(Issue).

* Check if user has access to given repository.

* Remove unnecessary filtering of issues.

* Return 404 error if invalid repository is given.

* Use correct number of issues in paginater.

* fix issues on dashboard
2017-02-14 22:15:18 +08:00
..
fixtures Fix public activity showing private repos (#892) 2017-02-11 18:57:57 +08:00
migrations Add units concept for modulable functions of a repository (#742) 2017-02-04 23:53:46 +08:00
access.go
access_test.go
action.go
action_test.go
admin.go
admin_test.go
attachment.go
consistency_test.go Fix consistency check (#866) 2017-02-08 14:29:21 +08:00
error.go Use fingerprint to check instead content for public key (#911) 2017-02-14 14:12:52 +08:00
git_diff.go
git_diff_test.go
graph.go
graph_test.go
issue.go Fix assigned issues dashboard (#920) 2017-02-14 22:15:18 +08:00
issue_comment.go Bug fixed for deleted label in issue comment (#904) 2017-02-11 20:56:57 +08:00
issue_indexer.go
issue_label.go small optimization for get issue labels 2017-02-12 06:46:51 +01:00
issue_label_test.go Fix consistency check (#866) 2017-02-08 14:29:21 +08:00
issue_mail.go
issue_milestone.go Unit tests for issue_milestone (#878) 2017-02-09 14:39:26 +08:00
issue_milestone_test.go Unit tests for issue_milestone (#878) 2017-02-09 14:39:26 +08:00
issue_user.go Gogs -> Gitea (#877) 2017-02-09 13:44:18 +08:00
issue_user_test.go
lfs.go
login_source.go
mail.go
models.go Small optimization for getTeamIDs (#919) 2017-02-14 11:46:46 +08:00
models_sqlite.go
models_test.go fix: gofmt error. (#918) 2017-02-14 10:12:03 +08:00
models_tidb.go
notification.go
notification_test.go Consistency checks for unit tests (#853) 2017-02-07 19:47:55 +08:00
org.go Small optimization for getTeamIDs (#919) 2017-02-14 11:46:46 +08:00
org_team.go
org_test.go Consistency checks for unit tests (#853) 2017-02-07 19:47:55 +08:00
pull.go Check for manual merging of a pull request (#719) 2017-02-05 21:07:44 +08:00
pull_test.go Consistency checks for unit tests (#853) 2017-02-07 19:47:55 +08:00
release.go
repo.go fix bug of multiple forks (#928) 2017-02-14 22:14:29 +08:00
repo_branch.go
repo_collaboration.go
repo_editor.go
repo_mirror.go
repo_redirect.go Redirects for renamed repos (#807) 2017-02-05 22:35:03 +08:00
repo_test.go Fix public activity showing private repos (#892) 2017-02-11 18:57:57 +08:00
repo_unit.go Add units concept for modulable functions of a repository (#742) 2017-02-04 23:53:46 +08:00
setup_for_test.go Consistency checks for unit tests (#853) 2017-02-07 19:47:55 +08:00
ssh_key.go Use fingerprint to check instead content for public key (#911) 2017-02-14 14:12:52 +08:00
ssh_key_test.go Use assert in legacy unit tests (#867) 2017-02-08 14:29:07 +08:00
star.go feat: support search bar on star tab of user profile. (#917) 2017-02-14 15:28:22 +08:00
star_test.go feat: support search bar on star tab of user profile. (#917) 2017-02-14 15:28:22 +08:00
token.go
token_test.go
twofactor.go
unit.go Add units concept for modulable functions of a repository (#742) 2017-02-04 23:53:46 +08:00
update.go
update_test.go
user.go feat: Able to disable non-admin to create new organization (#927) 2017-02-14 20:16:00 +08:00
user_mail.go
user_mail_test.go
user_test.go feat: Able to disable non-admin to create new organization (#927) 2017-02-14 20:16:00 +08:00
webhook.go
webhook_slack.go
webhook_test.go
wiki.go
wiki_test.go