gitlab-org--gitlab-foss/app/models
Stan Hu 33a4fe1f46 Skip querying for private projects if they are not requested
If the requested visibility levels contains only public and/or internal,
omitting private, then we can skip the EXISTS query to search for
private projects for the user.
2019-03-27 06:16:38 -05:00
..
application_setting Enable frozen string for app/models/**/*.rb 2018-08-03 01:44:16 -07:00
badges Enable frozen string for app/models/**/*.rb 2018-08-03 01:44:16 -07:00
blob_viewer Allow to include files from another projects 2019-01-07 09:38:05 +01:00
ci Update merge request widget pipeline block 2019-03-21 15:31:09 +00:00
clusters Allow runners to be installed on group clusters 2019-03-26 09:59:48 +00:00
concerns Merge branch '54916-extended-tooltip-for-merge-request-links' into 'master' 2019-03-26 08:58:37 +00:00
conversational_development_index Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
diff_viewer Fixing image lfs bug and also displaying text lfs 2018-12-27 16:51:07 +01:00
error_tracking Refactor model and spec 2019-03-01 14:51:54 +00:00
hooks Use a 32-byte version of db_key_base for web hooks 2018-12-05 00:00:42 +00:00
identity Move Identity.uniqueness_scope to a module 2018-11-12 14:14:13 +01:00
issue Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
members Add subresources removal to member destroy service 2019-01-31 16:52:50 +01:00
merge_request Enable more frozen string in app/models/**/*.rb 2018-08-07 00:37:36 -07:00
network Only allow 30 RPCs per test case to Gitaly 2019-02-22 14:51:27 +00:00
postgresql Disable replication lag check for Aurora PostgreSQL databases 2018-11-03 07:00:31 -07:00
project_services Update dashboards to additionally use new environment selector 2019-03-21 08:06:47 +00:00
protected_branch Enable frozen string in rest of app/models/**/*.rb 2018-08-10 00:51:01 -07:00
protected_tag Enable frozen string in rest of app/models/**/*.rb 2018-08-10 00:51:01 -07:00
releases Add support for FTP assets for releases 2019-02-13 10:51:12 +00:00
storage Refactored AfterRenameService to reduce coupling 2019-01-22 13:55:18 +01:00
uploads Enabled feature flag for fast deletions 2018-12-06 22:00:19 +01:00
.gitkeep
ability.rb Use `Gitlab::SafeRequestStore` in more places 2018-09-24 12:11:27 -07:00
abuse_report.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
active_session.rb Filter active sessions belonging to an admin impersonating the user 2019-02-27 11:44:58 +01:00
appearance.rb Show header and footer system messages in email 2019-02-27 22:07:50 +02:00
application_record.rb Avoid race conditions when creating GpgSignature 2019-02-06 15:24:46 +01:00
application_setting.rb Merge branch 'make-tokens-encryption-optional-for-now' into 'master' 2019-03-19 09:36:50 +00:00
application_setting_implementation.rb Introduce ApplicationSettingImplementation yay 2019-03-19 13:01:37 +08:00
audit_event.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
award_emoji.rb Refactor AutocompleteController 2018-08-20 13:53:00 +02:00
badge.rb Added FromUnion to easily select from a UNION 2018-09-17 12:39:43 +02:00
blob.rb Fixing image lfs bug and also displaying text lfs 2018-12-27 16:51:07 +01:00
board.rb Fix 403 errors when adding an assignee list in project boards 2019-02-14 13:41:43 -08:00
board_group_recent_visit.rb CE-port for 7714-view-recent-boards 2019-03-01 19:47:52 +08:00
board_project_recent_visit.rb CE-port for 7714-view-recent-boards 2019-03-01 19:47:52 +08:00
broadcast_message.rb Rename the hidden option to whitelisted 2019-03-20 17:44:29 -03:00
chat_name.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
chat_team.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
commit.rb Allow custom squash commit messages 2019-02-06 12:33:11 +00:00
commit_collection.rb Handle blank projects in CommitCollection#enrich! 2019-03-22 10:26:16 +13:00
commit_range.rb Adds the Rubocop ReturnNil cop 2019-03-06 17:51:56 +02:00
commit_status.rb Create framework for build prerequisites 2019-03-20 12:04:40 +11:00
commit_status_enums.rb Create framework for build prerequisites 2019-03-20 12:04:40 +11:00
compare.rb Allow getting all paths (old & new) involved in MR 2018-11-07 11:28:43 +08:00
container_repository.rb Add Container Registry API 2019-01-25 13:13:48 +01:00
cycle_analytics.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
dashboard_group_milestone.rb Adds milestone search 2019-01-24 18:44:09 +01:00
dashboard_milestone.rb Add project milestone link to dashboard milestones 2018-12-20 13:33:09 +01:00
deploy_key.rb Fix rubocop Style/ZeroLengthPredicate 2018-09-18 14:31:17 +05:00
deploy_keys_project.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
deploy_token.rb Memorize project to avoid re-query 2018-11-05 20:09:11 +08:00
deployment.rb Create one Kubernetes namespace for a deployment 2019-03-20 12:04:46 +11:00
diff_discussion.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
diff_note.rb Implement multi-line suggestions filtering 2019-03-20 11:30:24 -03:00
directly_addressed_user.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
discussion.rb Fix polling for transformed individual notes 2019-02-13 15:15:51 +08:00
discussion_note.rb Remove EE-specific code from DiscussionNote 2018-10-26 14:23:58 +01:00
email.rb Align EmailValidator to validate_email gem implementation. 2019-03-05 19:56:01 +00:00
environment.rb Adds the Rubocop ReturnNil cop 2019-03-06 17:51:56 +02:00
environment_status.rb Squashed commit of the following: 2018-12-03 15:47:09 +09:00
epic.rb Remove EE-specific code from Mentionable 2018-09-17 19:36:53 +08:00
event.rb Remove rails4 specific code 2018-12-16 10:48:41 +01:00
event_collection.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
external_issue.rb chore(rubocop): fix Style/TrivialAccessors issues 2019-01-16 13:53:04 +05:00
fork_network.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
fork_network_member.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
generic_commit_status.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
global_label.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
global_milestone.rb Adds milestone search 2019-01-24 18:44:09 +01:00
gpg_key.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
gpg_key_subkey.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
gpg_signature.rb Avoid race conditions when creating GpgSignature 2019-02-06 15:24:46 +01:00
group.rb Make runners token encryption to be optional 2019-03-18 13:46:06 +01:00
group_custom_attribute.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
group_label.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
group_milestone.rb Adds milestone search 2019-01-24 18:44:09 +01:00
guest.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
identity.rb Fix failed LDAP logins when nil user_id present 2019-01-29 11:15:06 -08:00
import_export_upload.rb Add Object Storage to GitLab project import 2018-08-02 11:50:19 +02:00
individual_note_discussion.rb Enable reply_to_individual_notes feature flag by default 2019-03-06 13:18:19 +01:00
instance_configuration.rb Instance Configuration page now displays correct SSH fingerprints 2018-10-03 15:25:42 +01:00
internal_id.rb Flush InternalId records after import 2019-01-29 15:38:40 +01:00
issue.rb Significantly reduce N+1 queries in /api/v4/todos endpoint 2019-03-06 07:03:46 -08:00
issue_assignee.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
issue_collection.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
key.rb Use a method for the has_many :keys in Project 2018-11-01 14:20:38 +01:00
label.rb Allow filtering labels by a single character 2019-03-13 10:54:43 +00:00
label_link.rb Resolve "Migrate issue labels and milestone to related merge request" 2018-09-06 17:02:51 +00:00
label_note.rb Adds the Rubocop ReturnNil cop 2019-03-06 17:51:56 +02:00
label_priority.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
legacy_diff_discussion.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
legacy_diff_note.rb Adds the Rubocop ReturnNil cop 2019-03-06 17:51:56 +02:00
lfs_download_object.rb Added validations to prevent LFS object forgery 2019-01-31 16:51:54 +01:00
lfs_file_lock.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
lfs_object.rb Enhance performance of counting local LFS objects 2018-10-30 08:42:11 +01:00
lfs_objects_project.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
license_template.rb Backport project template API to CE 2018-10-05 11:34:43 +01:00
list.rb Fix deprecation: returning false in Active Record and Active Model callbacks will not implicitly halt a callback chain 2019-01-03 23:43:53 +01:00
member.rb Align EmailValidator to validate_email gem implementation. 2019-03-05 19:56:01 +00:00
members_preloader.rb Add MembersPreloader to fix ActiveRecord cop 2018-11-02 21:38:58 +00:00
merge_request.rb Add multiple assignees migration and table population 2019-03-25 19:50:40 -03:00
merge_request_assignee.rb Add multiple assignees migration and table population 2019-03-25 19:50:40 -03:00
merge_request_diff.rb Fix error creating a merge request when diff includes a null byte 2019-03-14 12:55:45 -07:00
merge_request_diff_commit.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
merge_request_diff_file.rb Run rubocop -a 2019-03-13 13:42:43 +00:00
merge_requests_closing_issues.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
milestone.rb Only count active milestones as started 2019-03-19 14:28:30 +00:00
namespace.rb Enable/disable Auto DevOps at Group level 2019-03-12 10:15:33 +00:00
note.rb Hide "Edited" when note is transformed or resolved 2019-03-14 12:46:23 +08:00
note_diff_file.rb Cache diff highlight in discussions 2018-12-21 16:59:21 -02:00
notification_reason.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
notification_recipient.rb Adds the Rubocop ReturnNil cop 2019-03-06 17:51:56 +02:00
notification_setting.rb reorder notification settings by noisy-ness 2018-11-30 18:16:03 -08:00
oauth_access_grant.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
oauth_access_token.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
out_of_context_discussion.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
pages_domain.rb Disable existing offenses for the CodeReuse cops 2018-09-11 17:32:00 +02:00
personal_access_token.rb Remove undigested token column from personal_access_tokens table 2019-02-20 11:39:37 +00:00
personal_snippet.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
pool_repository.rb Use Project#full_path instead of Project#path_with_namespace 2019-02-05 21:33:10 -08:00
programming_language.rb Add programming language filtering to `/projects` 2019-02-04 15:06:17 +00:00
project.rb Skip querying for private projects if they are not requested 2019-03-27 06:16:38 -05:00
project_authorization.rb Added FromUnion to easily select from a UNION 2018-09-17 12:39:43 +02:00
project_auto_devops.rb Fixes technical debt issues for cluster domain 2019-02-07 11:11:22 -06:00
project_ci_cd_setting.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
project_custom_attribute.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
project_daily_statistic.rb Add project http fetch statistics API 2019-02-27 11:52:35 +01:00
project_deploy_token.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
project_feature.rb Display the correct number of MRs a user has access to 2019-03-05 15:15:22 +00:00
project_group_link.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
project_import_data.rb Add clear_credentials method to ProjectImportData 2019-01-14 11:45:46 -08:00
project_import_state.rb Small code refactoring for condition circuit breaking 2018-11-28 10:01:00 +00:00
project_label.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
project_repository.rb Store hashed storage paths in the database 2018-11-29 16:08:14 +00:00
project_snippet.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
project_statistics.rb Merge branch 'frozen-string-enable-app-models' into 'master' 2018-08-02 09:11:52 +00:00
project_team.rb Sent notification only to authorized users 2019-01-31 16:52:49 +01:00
project_wiki.rb Allow multiple repositories per project 2019-03-26 13:21:03 +01:00
prometheus_metric.rb Correct ordering of metrics 2018-12-21 16:41:58 +05:30
protectable_dropdown.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
protected_branch.rb Allow protected branch creation via web and API 2019-03-06 12:20:27 +00:00
protected_tag.rb Remove unnecessary includes of ShellAdapter 2018-12-05 23:19:27 -08:00
push_event.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
push_event_payload.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
readme_blob.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
redirect_route.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
ref_matcher.rb Refactor ProtectedRefMatcher to be more generic 2018-08-13 13:36:22 +02:00
release.rb Use AR releation "count" method 2019-01-04 22:17:03 +09:00
remote_mirror.rb Only send one notification for failed remote mirror 2019-01-15 00:15:40 -08:00
repository.rb Allow multiple repositories per project 2019-03-26 13:21:03 +01:00
repository_language.rb Enable frozen string in rest of app/models/**/*.rb 2018-08-10 00:51:01 -07:00
resource_label_event.rb Use ResourceLabelEvent for tracking label changes 2018-09-07 13:39:20 +00:00
route.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
security_event.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
sent_notification.rb Add reply to notes to turn into discussions 2019-02-06 10:31:46 +00:00
service.rb Added YouTrack integration 2019-02-18 20:08:36 +03:00
shard.rb Fix transaction pollution in Shard.by_name 2018-12-07 13:55:11 +00:00
snippet.rb Enable the Layout/ExtraSpacing cop 2019-01-24 13:05:45 +01:00
snippet_blob.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
spam_log.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
ssh_host_key.rb Adds the Rubocop ReturnNil cop 2019-03-06 17:51:56 +02:00
subscription.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
suggestion.rb Always fetch MR latest version when creating suggestions 2019-02-26 17:19:17 -03:00
system_note_metadata.rb Filter system notes with public and private cross references 2018-10-02 17:01:49 -05:00
term_agreement.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
timelog.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
todo.rb Significantly reduce N+1 queries in /api/v4/todos endpoint 2019-03-06 07:03:46 -08:00
tree.rb Use cached readme blobs where appropriate 2018-10-17 16:24:36 +01:00
trending_project.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
u2f_registration.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
upload.rb Use FastDestroy for deleting uploads 2018-12-06 22:00:19 +01:00
user.rb Add highest_role method to User 2019-03-22 09:54:03 +00:00
user_agent_detail.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
user_callout.rb Refactor how a few ActiveRecord enums are defined 2018-11-15 17:41:54 +01:00
user_callout_enums.rb Refactor how a few ActiveRecord enums are defined 2018-11-15 17:41:54 +01:00
user_custom_attribute.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
user_interacted_project.rb Run rubocop -a 2019-03-13 13:42:43 +00:00
user_preference.rb Add 'only history' option to notes filter 2018-11-05 12:30:14 +00:00
user_status.rb Show the status of a user in interactions 2018-07-30 15:01:26 +02:00
user_synced_attributes_metadata.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
users_star_project.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
wiki_directory.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
wiki_page.rb Adds the Rubocop ReturnNil cop 2019-03-06 17:51:56 +02:00