gitlab-org--gitlab-foss/app/models
Dmitriy Zaporozhets 5500f9159f Merge branch 'group-issues-sorting' into 'master'
Improve performance of getting issues on group level

For testing I used the URL http://localhost:3000/groups/gitlab-org/issues?milestone_title=8.1. Prior to these changes said URL would take about 10-12 seconds to load. By applying these changes the loading time has been reduced to roughly 2-3 seconds. 

There's still some stuff going on in some views that I have to look at, resolving those changes might reduce the loading time a bit more. I also still have to check if I didn't break too many tests.

Fixes: gitlab-org/gitlab-ce#3707 gitlab-org/gitlab-ce#4071 

See merge request !2318
2016-01-11 15:28:41 +00:00
..
ci Fix Error 500 when visiting build page of project with nil runners_token 2016-01-10 18:12:47 -08:00
concerns Sort by ID when sorting using "Recently created" 2016-01-07 14:53:02 +01:00
hooks Merge branch 'accept-2xx-status-codes-for-webhooks' into 'master' 2016-01-08 10:56:39 +00:00
members
network
project_services Merge branch 'fix_jira_shortterm' into 'master' 2016-01-10 22:12:10 +00:00
.gitkeep
ability.rb remove public field from namespace and refactoring 2016-01-04 16:00:29 +02:00
abuse_report.rb Add `AbuseReport#notify` 2016-01-04 18:59:42 -05:00
application_setting.rb Annotate models 2016-01-06 13:09:55 +00:00
audit_event.rb
broadcast_message.rb Add custom ColorValidator 2015-12-07 16:57:26 -05:00
commit.rb Merge branch 'master' into tmp-reference-pipeline-and-caching 2015-12-10 14:04:34 +01:00
commit_range.rb Satisfy Rubocop 2015-12-02 10:54:24 +01:00
commit_status.rb Annotate models 2016-01-06 13:09:55 +00:00
deploy_key.rb
deploy_keys_project.rb
diff_line.rb
email.rb
event.rb Don't show project fork event as imported 2015-12-02 10:56:05 +01:00
external_issue.rb
forked_project_link.rb
generic_commit_status.rb Annotate models 2016-01-06 13:09:55 +00:00
global_label.rb Refactor global and group milestones logic 2015-11-16 14:07:38 +01:00
global_milestone.rb Add two custom Date/Time conversion formats 2016-01-07 20:01:08 -05:00
group.rb Annotate models 2016-01-06 13:09:55 +00:00
identity.rb Fix identity and user retrieval when special characters are used 2015-12-22 13:23:35 -05:00
issue.rb Removed ORDER BY in "of_group" scopes 2016-01-07 15:34:37 +01:00
jira_issue.rb Backport JIRA service 2015-12-18 14:19:48 -06:00
key.rb
label.rb Add custom ColorValidator 2015-12-07 16:57:26 -05:00
label_link.rb
lfs_object.rb Update annotations 2015-12-08 21:00:01 -08:00
lfs_objects_project.rb Update annotations 2015-12-08 21:00:01 -08:00
member.rb Refactor ability changes 2015-11-17 15:49:37 +01:00
merge_request.rb Merge branch 'group-issues-sorting' into 'master' 2016-01-11 15:28:41 +00:00
merge_request_diff.rb Add ignore white space option in merge request diff 2015-11-13 16:53:53 +09:00
milestone.rb Add two custom Date/Time conversion formats 2016-01-07 20:01:08 -05:00
namespace.rb Annotate models 2016-01-06 13:09:55 +00:00
note.rb note votes methids implementation 2015-12-29 10:11:20 +02:00
notification.rb
personal_snippet.rb
project.rb Before project save ensure that a runners_token exists 2016-01-10 18:12:47 -08:00
project_import_data.rb
project_snippet.rb
project_team.rb Improve ProjectTeam#max_member_access performance 2015-10-15 12:05:01 +02:00
project_wiki.rb Make ProjectWiki touch Project#last_activity_at after wiki actions 2015-11-16 13:08:25 -05:00
protected_branch.rb
release.rb Annotate models 2015-11-13 19:22:46 +01:00
repository.rb Add support for ref and path to commits filtering 2016-01-07 15:16:11 +01:00
security_event.rb
sent_notification.rb Add custom LineCodeValidator 2015-12-07 16:57:26 -05:00
service.rb Annotate models 2016-01-06 13:09:55 +00:00
snippet.rb Autolink first so we don't pick up numeric anchors as issue references. 2015-12-01 15:53:32 +01:00
subscription.rb
tree.rb Validate README format before displaying 2016-01-05 11:06:18 -02:00
user.rb Annotate models 2016-01-06 13:09:55 +00:00
users_star_project.rb Touch project when toggling stars to update cache 2015-12-03 16:08:08 -02:00
wiki_page.rb