gitlab-org--gitlab-foss/app/models
Rubén Dávila 66cfb901c0 Optimize SQL queries used in Groups::GroupMembersController#create
The following optimizations were performed:

- Add new association to GroupMember and ProjectMember

  This new association will allow us to check if a user is a member of a
  Project or Group through a single query instead of two.

- Optimize retrieving of Members when adding multiple Users
2017-09-05 15:54:07 -05:00
..
blob_viewer Fix external link to Composer website 2017-08-17 12:54:30 +07:00
ci Merge branch 'fix/sm/35650-remove-createtriggerrequestservice-and-forbid-to-persist-variables-on-ci-triggerrequest' into 'master' 2017-09-05 09:49:55 +00:00
concerns Merge branch 'fuzzy-issue-search' into 'master' 2017-09-05 15:48:39 +00:00
conversational_development_index Store & use ConvDev percentages returned by Version app 2017-08-07 20:52:08 +02:00
cycle_analytics
diff_viewer Implement diff viewers 2017-06-14 10:12:21 -05:00
hooks Wrong data type when testing webhooks 2017-07-20 15:12:06 +00:00
issue
members a membership with no user is always notifiable 2017-08-11 16:02:04 -07:00
merge_request
network replace is_overlap? with overlap? 2017-08-29 11:14:41 +03:00
project_services replace is_update? with update? 2017-08-29 11:14:41 +03:00
protected_branch Enabled no-one as a merge access level in protected branches 2017-05-10 17:19:40 +01:00
protected_tag Renamed ProtectedTag push_access_levels to create_access_levels 2017-04-04 03:38:58 +01:00
storage Use @hashed prefix for hashed paths on disk, to avoid collision with existing ones 2017-08-22 06:33:20 +02:00
.gitkeep
ability.rb bugfix: use require_dependency to bring in DeclarativePolicy 2017-06-29 11:57:59 -07:00
abuse_report.rb Refactor the DeleteUserWorker 2017-06-05 13:08:06 +01:00
appearance.rb Cache Appearance instances in Redis 2017-08-10 12:45:49 +02:00
application_setting.rb More review comments 2017-08-30 21:20:00 +01:00
audit_event.rb Rename ActiverecordSerialize cop 2017-07-06 12:01:36 +02:00
award_emoji.rb Use try instead of repond_to? and a method call 2017-08-18 12:48:04 +02:00
blob.rb Detect if file that appears to be text in the first 1024 bytes is actually binary afer loading all data 2017-06-08 12:49:03 -05:00
board.rb Added Cop to blacklist the use of dependent: 2017-07-06 12:01:36 +02:00
broadcast_message.rb Fix caching of future broadcast messages 2017-08-21 17:58:37 +02:00
chat_name.rb
chat_team.rb Remove Mattermost team with GitLab group 2017-07-28 09:09:55 +02:00
commit.rb pass whole commit to Gitlab::Gpg::Commit again 2017-09-05 12:18:31 +02:00
commit_range.rb
commit_status.rb Use script_failure. Add runner_system_failure. Improve spec. 2017-09-05 15:10:34 +09:00
compare.rb
container_repository.rb Sanitize container repository path in model class 2017-04-13 11:54:02 +02:00
cycle_analytics.rb
dashboard_milestone.rb replace is_dashboard_milestone? with dashboard_milestone? 2017-08-29 11:14:41 +03:00
deploy_key.rb Added Cop to blacklist the use of dependent: 2017-07-06 12:01:36 +02:00
deploy_keys_project.rb Enable Layout/TrailingWhitespace cop and auto-correct offenses 2017-08-15 13:44:37 -04:00
deployment.rb replace is_ancestor? with ancestor? 2017-08-29 11:14:41 +03:00
diff_discussion.rb Update diff discussion position per discussion instead of per note 2017-05-31 14:34:56 -05:00
diff_note.rb Rename ActiverecordSerialize cop 2017-07-06 12:01:36 +02:00
directly_addressed_user.rb Create directly_addressed Todos when mentioned in beginning of a line 2017-02-08 21:53:34 +05:30
discussion.rb Add full JSON endpoints for issue notes and discussions 2017-07-21 22:35:24 +03:00
discussion_note.rb Refactor resolvability checks based on type 2017-04-06 10:51:45 -05:00
email.rb
environment.rb Try to make reserved ref names more obvious 2017-08-25 23:00:06 +08:00
event.rb Fix display of push events for removed refs 2017-08-22 20:15:45 +02:00
event_collection.rb Use a specialized class for querying events 2017-08-10 17:45:49 +02:00
event_for_migration.rb Migrate events into a new format 2017-08-10 17:45:44 +02:00
external_issue.rb Improve support for external issue references 2017-06-30 14:47:53 +02:00
forked_project_link.rb Don't resolve fork relationships for projects pending delete 2017-07-04 12:02:29 +01:00
generic_commit_status.rb Allow to access pipelines even if they are disabled, but only present jobs and commit statuses without giving ability to access them 2017-06-13 09:52:48 +02:00
global_label.rb Fix dashboard labels dropdown 2017-07-07 14:35:16 +01:00
global_milestone.rb Native group milestones 2017-07-07 15:08:49 +00:00
gpg_key.rb use new #verification_status 2017-09-05 12:18:33 +02:00
gpg_signature.rb make valid_signature an ignored column 2017-09-05 12:18:34 +02:00
group.rb Optimize SQL queries used in Groups::GroupMembersController#create 2017-09-05 15:54:07 -05:00
group_label.rb
group_milestone.rb replace is_legacy_group_milestone? with legacy_group_milestone? 2017-08-29 11:14:41 +03:00
guest.rb use a magic default :global symbol instead of nil 2017-03-09 11:49:52 -08:00
identity.rb Implement search by extern_uid in Users API 2017-04-18 14:55:32 -04:00
individual_note_discussion.rb Ensure replying to an individual note by email creates a note with its own discussion ID 2017-04-24 12:24:39 -05:00
issue.rb Merge branch 'master' into issue-discussions-refactor 2017-08-31 18:02:19 +02:00
issue_assignee.rb Move update_assignee_cache_counts to the service 2017-05-12 14:12:29 +03:00
issue_collection.rb Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
key.rb Address review comments 2017-08-30 20:50:44 +01:00
label.rb Added Cop to blacklist the use of dependent: 2017-07-06 12:01:36 +02:00
label_link.rb Added Cop to blacklist polymorphic associations 2017-06-07 17:36:55 +02:00
label_priority.rb
legacy_diff_discussion.rb Allow commenting on older versions of the diff and comparisons between diff versions 2017-05-03 14:47:21 -05:00
legacy_diff_note.rb Rename ActiverecordSerialize cop 2017-07-06 12:01:36 +02:00
lfs_object.rb Added Cop to blacklist the use of dependent: 2017-07-06 12:01:36 +02:00
lfs_objects_project.rb Don’t schedule workers from inside transactions 2017-06-02 11:43:32 -05:00
list.rb Merge branch 'expand-backlog-closed-lists-issue-boards' into 'master' 2017-06-07 15:05:37 +00:00
member.rb Optimize SQL queries used in Groups::GroupMembersController#create 2017-09-05 15:54:07 -05:00
merge_request.rb Merge branch 'git-operation-service-to-git' into 'master' 2017-09-04 10:56:26 +00:00
merge_request_diff.rb Refactor Gitlab::Git::Commit to include a repository 2017-08-07 22:34:34 -04:00
merge_request_diff_commit.rb Re-enable SqlInjection and CommandInjection 2017-08-08 10:50:54 -04:00
merge_request_diff_file.rb Fix saving diffs that are not valid UTF-8 2017-07-26 15:34:57 +01:00
merge_requests_closing_issues.rb Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
milestone.rb replace is_group_milestone? with group_milestone? 2017-08-29 11:14:41 +03:00
namespace.rb Don't show references to Pages when not available 2017-08-31 09:27:42 +02:00
note.rb Fix specs 2017-08-30 10:43:10 +02:00
notification_recipient.rb don't rely on order of notification levels 2017-08-21 15:34:25 -07:00
notification_setting.rb Re-enable SqlInjection and CommandInjection 2017-08-08 10:50:54 -04:00
oauth_access_grant.rb Implement OpenID Connect identity provider 2017-03-07 14:54:35 +01:00
oauth_access_token.rb Implement OpenID Connect identity provider 2017-03-07 14:54:35 +01:00
out_of_context_discussion.rb Ensure replying to an individual note by email creates a note with its own discussion ID 2017-04-24 12:24:39 -05:00
pages_domain.rb Allow numeric pages domain 2017-06-06 12:39:37 +01:00
personal_access_token.rb Rename ActiverecordSerialize cop 2017-07-06 12:01:36 +02:00
personal_snippet.rb
project.rb Optimize SQL queries used in Groups::GroupMembersController#create 2017-09-05 15:54:07 -05:00
project_authorization.rb Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
project_feature.rb Re-enable SqlInjection and CommandInjection 2017-08-08 10:50:54 -04:00
project_group_link.rb Don't allow a project to be shared with an ancestor of the group it is in 2017-02-28 15:11:21 +02:00
project_import_data.rb Backport changes in https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/2551 to CE 2017-08-07 19:17:11 +01:00
project_label.rb
project_snippet.rb Spam check and reCAPTCHA improvements 2017-02-21 13:32:49 -03:00
project_statistics.rb Re-enable SqlInjection and CommandInjection 2017-08-08 10:50:54 -04:00
project_team.rb Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
project_wiki.rb Allow wiki pages to be renamed in the UI 2017-08-03 07:38:11 +07:00
protectable_dropdown.rb Whitelist or fix additional Gitlab/PublicSend cop violations 2017-08-14 12:14:11 -04:00
protected_branch.rb current_application_settings belongs on Gitlab::CurrentSettings 2017-08-31 13:38:33 +01:00
protected_ref_matcher.rb Protected tags changes from backend maintainer review 2017-04-07 01:17:38 +01:00
protected_tag.rb Backport EE refactorings for Protected Tag EE-only functionality 2017-05-31 13:06:29 +01:00
push_event.rb Migrate events into a new format 2017-08-10 17:45:44 +02:00
push_event_payload.rb Migrate events into a new format 2017-08-10 17:45:44 +02:00
readme_blob.rb Load tree readme asynchronously 2017-05-10 08:21:58 -05:00
redirect_route.rb Enable Layout/TrailingWhitespace cop and auto-correct offenses 2017-08-15 13:44:37 -04:00
release.rb
repository.rb Add Gitaly migration points for branch/tag create/delete 2017-09-05 12:00:13 +02:00
route.rb Added Cop to blacklist polymorphic associations 2017-06-07 17:36:55 +02:00
security_event.rb
sent_notification.rb Rename ActiverecordSerialize cop 2017-07-06 12:01:36 +02:00
service.rb Merge branch 'backport_slack_application_changes' into 'master' 2017-07-06 14:50:22 +00:00
snippet.rb current_application_settings belongs on Gitlab::CurrentSettings 2017-08-31 13:38:33 +01:00
snippet_blob.rb Refactor Blob support of external storage in preparation of job artifact blobs 2017-05-03 10:20:05 -05:00
spam_log.rb Refactor the DeleteUserWorker 2017-06-05 13:08:06 +01:00
subscription.rb Added Cop to blacklist polymorphic associations 2017-06-07 17:36:55 +02:00
system_note_metadata.rb Changes based on MR feedback. 2017-07-20 15:33:24 +01:00
timelog.rb Use normal associations instead of polymorphic. 2017-02-07 10:41:44 -05:00
todo.rb Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
tree.rb Load tree readme asynchronously 2017-05-10 08:21:58 -05:00
trending_project.rb
u2f_registration.rb
upload.rb Added Cop to blacklist polymorphic associations 2017-06-07 17:36:55 +02:00
user.rb add User##verified_email? method 2017-09-05 12:18:32 +02:00
user_agent_detail.rb Added Cop to blacklist polymorphic associations 2017-06-07 17:36:55 +02:00
users_star_project.rb
wiki_directory.rb
wiki_page.rb Unescape HTML characters in Wiki title 2017-08-30 21:59:09 +02:00