gitlab-org--gitlab-foss/app/controllers/concerns
Stan Hu 3e001d29cc Enable Rubocop Performance/InefficientHashSearch
When used with a Hash, `.keys.include?` is bad because:

1. It performs a O(n) search instead of the efficient `.has_key?`
2. It clones all keys into separate array.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/64975
2019-07-24 11:47:58 -07:00
..
accepts_pending_invitations.rb
authenticates_with_two_factor.rb Remove "You are already signed in" banner 2019-04-24 13:23:07 +00:00
boards_actions.rb Use serialization for project boards 2019-06-06 22:13:14 +12:00
boards_responses.rb Move Multiple Issue Boards for Projects to Core 2019-06-26 12:28:00 +03:00
checks_collaboration.rb
continue_params.rb Make checks for continue_params more robust 2019-06-25 13:19:29 +02:00
controller_with_cross_project_access_check.rb
creates_commit.rb Externalize strings in projects controllers 2019-03-27 16:52:52 +00:00
cycle_analytics_params.rb
diff_for_path.rb
enforces_admin_authentication.rb Check instance cluster feature at policy level 2019-05-07 08:37:04 +12:00
enforces_two_factor_authentication.rb #57815 Password authentication disabled for UltraAuth users 2019-06-18 16:18:14 +00:00
group_tree.rb Rename GroupHierarchy into ObjectHierarchy 2018-12-19 15:24:29 +01:00
hooks_execution.rb
import_url_params.rb Fix project settings not being able to update 2019-06-03 15:27:24 -07:00
internal_redirect.rb Support redirect paths starting with a dash 2019-06-25 13:19:30 +02:00
issuable_actions.rb CE Port of Allow bulk update for group issues 2019-07-09 11:46:16 +00:00
issuable_collections.rb Expose merge requests count based on user access 2019-06-18 12:46:46 +03:00
issuable_collections_action.rb Expose merge requests count based on user access 2019-06-18 12:46:46 +03:00
issues_calendar.rb
labels_as_hash.rb
lfs_request.rb Externalize strings in projects controllers 2019-03-27 16:52:52 +00:00
members_presentation.rb
membership_actions.rb Externalize strings in projects controllers 2019-03-27 16:52:52 +00:00
milestone_actions.rb Fix confidential issue label disclosure on milestone view 2019-05-14 13:16:30 +02:00
multiple_boards_actions.rb Move Multiple Issue Boards for Projects to Core 2019-06-26 12:28:00 +03:00
notes_actions.rb Correctly check permissions when creating snippet notes 2019-06-06 09:32:18 +02:00
oauth_applications.rb
params_backward_compatibility.rb
preview_markdown.rb Fixed test specs 2019-04-04 13:08:34 +00:00
project_unauthorized.rb Avoid passing not_found_or_authorized_proc around 2019-05-15 17:36:50 +07:00
record_user_last_activity.rb Remove comment about needing cookie support 2019-02-05 14:00:50 -08:00
renders_blob.rb
renders_commits.rb Check for valid refs in CommitController before doing anything 2018-12-09 21:56:31 -08:00
renders_member_access.rb
renders_notes.rb Adds the Rubocop ReturnNil cop 2019-03-06 17:51:56 +02:00
repository_settings_redirect.rb
requires_whitelisted_monitoring_client.rb Upgrade to Rails 5.2 2019-07-12 10:15:31 +08:00
routable_actions.rb Avoid passing not_found_or_authorized_proc around 2019-05-15 17:36:50 +07:00
send_file_upload.rb Fix Content-Disposition hard-coded to attachments 2019-02-13 11:09:52 -08:00
sends_blob.rb
service_params.rb Fix comparing equality between `ActionController::Parameters` and a `Hash`.... 2019-02-05 12:30:06 +00:00
sessionless_authentication.rb Enable Rubocop Performance/InefficientHashSearch 2019-07-24 11:47:58 -07:00
snippets_actions.rb Add feature flag for workhorse content type calculation 2018-12-06 21:22:39 +00:00
spammable_actions.rb Externalize strings in projects controllers 2019-03-27 16:52:52 +00:00
todos_actions.rb
toggle_award_emoji.rb
toggle_subscription_action.rb
uploads_actions.rb Externalize strings in projects controllers 2019-03-27 16:52:52 +00:00
with_performance_bar.rb
workhorse_request.rb