gitlab-org--gitlab-foss/app/models
Andrew Newdigate 3288e1a874 Adds the Rubocop ReturnNil cop
This style change enforces `return if ...` instead of
`return nil if ...` to save maintainers a few minor review points
2019-03-06 17:51:56 +02: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 Adds the Rubocop ReturnNil cop 2019-03-06 17:51:56 +02:00
clusters Merge branch 'security-kubernetes-local-ssrf' into 'master' 2019-03-04 18:36:50 +00:00
concerns Adds the Rubocop ReturnNil cop 2019-03-06 17:51:56 +02: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 Adds the Rubocop ReturnNil cop 2019-03-06 17:51:56 +02: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 Use encrypted runner tokens 2019-03-06 12:18:53 +00: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 Refactor BroadcastMessage to use Gitlab::JsonCache 2018-12-19 15:15:06 -02: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 Backport commit author changes from CE 2019-02-15 05:58:23 -08:00
commit_range.rb Adds the Rubocop ReturnNil cop 2019-03-06 17:51:56 +02:00
commit_status.rb Move processables scope into commit status class 2019-01-25 10:41:46 +01:00
commit_status_enums.rb Refactor how a few ActiveRecord enums are defined 2018-11-15 17:41:54 +01: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 Avoid returning deployment metrics url to MR widget when the deployment is not successful 2018-11-14 11:11:27 +00:00
diff_discussion.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
diff_note.rb Use shorthand version of method call 2019-02-26 17:19:18 -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 Enable the Layout/ExtraSpacing cop 2019-01-24 13:05:45 +01: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 Use encrypted runner tokens 2019-03-06 12:18:53 +00: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 Fix polling for transformed individual notes 2019-02-13 15:15:51 +08: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 Reduce code duplication 2019-02-27 10:28:53 +00: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 Fix inconsistent label foreground color 2019-01-18 11:11:54 -04: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 Add subresources removal to member destroy service 2019-01-31 16:52:50 +01:00
members_preloader.rb Add MembersPreloader to fix ActiveRecord cop 2018-11-02 21:38:58 +00:00
merge_request.rb Merge branch 'merge-dev-to-master' into 'master' 2019-03-05 10:28:59 +00:00
merge_request_diff.rb Arbitrary file read via MergeRequestDiff 2019-03-04 18:36:34 +00: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 Allow MR diffs to be placed into an object store 2019-02-05 14:12:48 +00:00
merge_requests_closing_issues.rb Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07:00
milestone.rb Merge branch '54905-milestone-search' into 'master' 2019-01-25 13:22:34 +00:00
namespace.rb Adds the Rubocop ReturnNil cop 2019-03-06 17:51:56 +02:00
note.rb Use parent instead of project 2019-01-08 02:30:37 +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 Adds the Rubocop ReturnNil cop 2019-03-06 17:51:56 +02: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 Add convenience methods for creating project and Wiki repositories 2019-02-05 21:33:10 -08: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 Adds the Rubocop ReturnNil cop 2019-03-06 17:51:56 +02: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 Delete confidential issue todos for guests 2018-12-14 10:38:52 -02: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 Adds the Rubocop ReturnNil cop 2019-03-06 17:51:56 +02: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 Enable frozen string in app/models/*.rb 2018-07-26 16:55:41 -07: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