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.
gitea/models
zeripath c1ca4a8313
Improve /api/v1/repos/issues/search by just getting repo ids (#15179)
/api/v1/repos/issues/search is a highly inefficient search which is unfortunately
the basis for our dependency searching algorithm. In particular it currently loads
all of the repositories and their owners and their primary coding language all of
which is immediately thrown away.

This PR makes one simple change - just get the IDs.

Related #14560
Related #12827

Signed-off-by: Andrew Thornton <art27@cantab.net>
4 years ago
..
fixtures API: fix set milestone on PR creation (#14981) 4 years ago
migrations Create Proper Migration Tests (#15116) 4 years ago
access.go chore(models): rewrite code format. (#14754) 4 years ago
access_test.go
action.go chore(models): rewrite code format. (#14754) 4 years ago
action_list.go
action_test.go Clarify the suffices and prefixes of setting.AppSubURL and setting.AppURL (#12999) 4 years ago
admin.go chore(models): rewrite code format. (#14754) 4 years ago
admin_test.go
attachment.go Implement delete release attachments and update release attachments' name (#14130) 4 years ago
attachment_test.go Implement delete release attachments and update release attachments' name (#14130) 4 years ago
avatar.go Fix frontpage avatars (#13853) 4 years ago
avatar_test.go Direct avatar rendering (#13649) 4 years ago
branches.go Add dismiss review feature (#12674) 4 years ago
branches_test.go
commit_status.go chore(models): rewrite code format. (#14754) 4 years ago
commit_status_test.go Fix bug about ListOptions and stars/watchers pagnation (#14556) 4 years ago
consistency.go Fix Migration 176 yet again (#15131) 4 years ago
context.go
convert.go Whilst changing the character set to utf8mb4 we should set ROW_FORMAT=dynamic too (#12804) 4 years ago
error.go Ensure validation occurs on clone addresses too (#14994) 4 years ago
error_oauth2.go
external_login_user.go chore(models): rewrite code format. (#14754) 4 years ago
fixture_generation.go chore(models): rewrite code format. (#14754) 4 years ago
fixture_test.go
gpg_key.go chore(models): rewrite code format. (#14754) 4 years ago
gpg_key_test.go chore(models): rewrite code format. (#14754) 4 years ago
helper.go chore(models): rewrite code format. (#14754) 4 years ago
helper_directory.go Re-attempt to delete temporary upload if the file is locked by another process (#12447) 5 years ago
helper_environment.go chore(models): rewrite code format. (#14754) 4 years ago
issue.go chore(models): rewrite code format. (#14754) 4 years ago
issue_assignees.go chore(models): rewrite code format. (#14754) 4 years ago
issue_assignees_test.go
issue_comment.go chore(models): rewrite code format. (#14754) 4 years ago
issue_comment_list.go chore(models): rewrite code format. (#14754) 4 years ago
issue_comment_test.go
issue_dependency.go chore(models): rewrite code format. (#14754) 4 years ago
issue_dependency_test.go
issue_label.go Delete Labels & IssueLabels on Repo Delete too (#15039) 4 years ago
issue_label_test.go chore(models): rewrite code format. (#14754) 4 years ago
issue_list.go chore(models): rewrite code format. (#14754) 4 years ago
issue_list_test.go
issue_lock.go chore(models): rewrite code format. (#14754) 4 years ago
issue_milestone.go chore(models): rewrite code format. (#14754) 4 years ago
issue_milestone_test.go
issue_reaction.go chore(models): rewrite code format. (#14754) 4 years ago
issue_reaction_test.go
issue_stopwatch.go chore(models): rewrite code format. (#14754) 4 years ago
issue_stopwatch_test.go
issue_test.go chore(models): rewrite code format. (#14754) 4 years ago
issue_tracked_time.go chore(models): rewrite code format. (#14754) 4 years ago
issue_tracked_time_test.go chore(models): rewrite code format. (#14754) 4 years ago
issue_user.go
issue_user_test.go
issue_watch.go chore(models): rewrite code format. (#14754) 4 years ago
issue_watch_test.go
issue_xref.go chore(models): rewrite code format. (#14754) 4 years ago
issue_xref_test.go
lfs.go chore(models): rewrite code format. (#14754) 4 years ago
lfs_lock.go chore(models): rewrite code format. (#14754) 4 years ago
list_options.go Fix bug about ListOptions and stars/watchers pagnation (#14556) 4 years ago
log.go Refactor Logger (#13294) 4 years ago
login_source.go chore(models): rewrite code format. (#14754) 4 years ago
main_test.go
migrate.go chore(models): rewrite code format. (#14754) 4 years ago
models.go Create Proper Migration Tests (#15116) 4 years ago
models_test.go gitea dump: include version & Check InstallLock (#12760) 4 years ago
notification.go chore(models): rewrite code format. (#14754) 4 years ago
notification_test.go
oauth2.go chore(models): rewrite code format. (#14754) 4 years ago
oauth2_application.go Minimal OpenID Connect implementation (#14139) 4 years ago
oauth2_application_test.go Minimal OpenID Connect implementation (#14139) 4 years ago
org.go chore(models): rewrite code format. (#14754) 4 years ago
org_team.go chore(models): rewrite code format. (#14754) 4 years ago
org_team_test.go chore(models): rewrite code format. (#14754) 4 years ago
org_test.go chore(models): rewrite code format. (#14754) 4 years ago
project.go chore(models): rewrite code format. (#14754) 4 years ago
project_board.go chore(models): rewrite code format. (#14754) 4 years ago
project_issue.go chore(models): rewrite code format. (#14754) 4 years ago
project_test.go chore(models): rewrite code format. (#14754) 4 years ago
pull.go chore(models): rewrite code format. (#14754) 4 years ago
pull_list.go
pull_sign.go Add configurable Trust Models (#11712) 4 years ago
pull_test.go
release.go Implement delete release attachments and update release attachments' name (#14130) 4 years ago
repo.go Update repository size on cron gc task (#15177) 4 years ago
repo_activity.go
repo_avatar.go Avatars and Repo avatars support storing in minio (#12516) 4 years ago
repo_branch.go
repo_collaboration.go Save TimeStamps for Star, Label, Follow, Watch and Collaboration to Database (#13124) 4 years ago
repo_collaboration_test.go
repo_generate.go Fix broken migration on webhook (#13911) 4 years ago
repo_generate_test.go
repo_indexer.go
repo_issue.go
repo_language_stats.go chore(models): rewrite code format. (#14754) 4 years ago
repo_list.go Improve /api/v1/repos/issues/search by just getting repo ids (#15179) 4 years ago
repo_list_test.go chore(models): rewrite code format. (#14754) 4 years ago
repo_mirror.go
repo_permission.go ui: show 'owner' tag for real owner (#13689) 4 years ago
repo_permission_test.go
repo_redirect.go Redirect on changed user and org name (#11649) 4 years ago
repo_redirect_test.go Redirect on changed user and org name (#11649) 4 years ago
repo_sign.go Add configurable Trust Models (#11712) 4 years ago
repo_test.go chore(models): rewrite code format. (#14754) 4 years ago
repo_transfer.go Fix Migration 176 yet again (#15131) 4 years ago
repo_transfer_test.go chore(models): rewrite code format. (#14754) 4 years ago
repo_unit.go Add DefaultMergeStyle option to repository (#14789) 4 years ago
repo_watch.go chore(models): rewrite code format. (#14754) 4 years ago
repo_watch_test.go
review.go chore(models): rewrite code format. (#14754) 4 years ago
review_test.go chore(models): rewrite code format. (#14754) 4 years ago
session.go Create DB session provider(based on xorm) (#13031) 4 years ago
sql_postgres_with_schema.go Ensure that schema search path is set with every connection on postgres (#14131) 4 years ago
ssh_key.go chore(models): rewrite code format. (#14754) 4 years ago
ssh_key_test.go Add support for ed25519_sk and ecdsa_sk SSH keys (#13462) 4 years ago
star.go Save TimeStamps for Star, Label, Follow, Watch and Collaboration to Database (#13124) 4 years ago
star_test.go
task.go chore(models): rewrite code format. (#14754) 4 years ago
test_fixtures.go Create Proper Migration Tests (#15116) 4 years ago
token.go [API] Delete Token accept names too (#12366) 4 years ago
token_test.go chore(models): rewrite code format. (#14754) 4 years ago
topic.go chore(models): rewrite code format. (#14754) 4 years ago
topic_test.go
twofactor.go Attachments: Add extension support, allow all types for releases (#12465) 4 years ago
u2f.go
u2f_test.go
unit.go Kanban board (#8346) 5 years ago
unit_tests.go chore(models): rewrite code format. (#14754) 4 years ago
update.go
upload.go Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 4 years ago
user.go Ensure validation occurs on clone addresses too (#14994) 4 years ago
user_avatar.go Clarify the suffices and prefixes of setting.AppSubURL and setting.AppURL (#12999) 4 years ago
user_follow.go Save TimeStamps for Star, Label, Follow, Watch and Collaboration to Database (#13124) 4 years ago
user_follow_test.go
user_heatmap.go chore(models): rewrite code format. (#14754) 4 years ago
user_heatmap_test.go chore(models): rewrite code format. (#14754) 4 years ago
user_mail.go chore(models): rewrite code format. (#14754) 4 years ago
user_mail_test.go
user_openid.go chore(models): rewrite code format. (#14754) 4 years ago
user_openid_test.go
user_redirect.go Redirect on changed user and org name (#11649) 4 years ago
user_redirect_test.go Redirect on changed user and org name (#11649) 4 years ago
user_test.go chore(models): rewrite code format. (#14754) 4 years ago
userlist.go chore(models): rewrite code format. (#14754) 4 years ago
userlist_test.go chore(models): rewrite code format. (#14754) 4 years ago
webhook.go chore(models): rewrite code format. (#14754) 4 years ago
webhook_test.go chore(models): rewrite code format. (#14754) 4 years ago
wiki.go Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 4 years ago
wiki_test.go