gitlab-org--gitlab-foss/spec/controllers/projects
Stan Hu 384a92b736 Check for valid refs in CommitController before doing anything
Before a 404 would be rendered only after a request to Gitaly would
return with an InvalidArgument error. Now we check that the ref have a
valid format before sending it to Gitaly. In both cases, a 404 is
returned to the user, but this change prevents Gitaly from generating
error noise in production.

Closes https://gitlab.com/gitlab-org/gitaly/issues/1425
2018-12-09 21:56:31 -08:00
..
ci Make ci/lint page context aware: 2018-03-26 17:03:11 -06:00
clusters Resolve controller sharing concern 2018-11-01 19:37:33 +13:00
merge_requests Avoid 500's when serializing legacy diff notes 2018-12-04 13:13:22 -02:00
prometheus Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
registry Delete a container registry asynchronously 2018-09-07 12:42:59 -07:00
serverless Introduce Knative Serverless Tab 2018-12-06 18:08:49 +00:00
settings Remove Sidekiq::Testing in RepositoryController spec 2018-12-07 13:12:35 +01:00
artifacts_controller_spec.rb backport: Always proxy reports downloads 2018-11-07 21:49:45 +01:00
avatars_controller_spec.rb Add feature flag for workhorse content type calculation 2018-12-06 21:22:39 +00:00
badges_controller_spec.rb Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
blame_controller_spec.rb Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
blob_controller_spec.rb Disable format determination based on path extension 2018-12-03 12:29:02 +01:00
boards_controller_spec.rb Fix transient error with boards_controller_spec 2018-11-03 10:33:19 -05:00
branches_controller_spec.rb Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
clusters_controller_spec.rb Only project clusters has Project Namespace field 2018-11-08 23:28:30 +13:00
commit_controller_spec.rb Adds pagination to pipelines table in merge request page 2018-10-31 17:10:36 +00:00
commits_controller_spec.rb Check for valid refs in CommitController before doing anything 2018-12-09 21:56:31 -08:00
compare_controller_spec.rb Reject invalid branch names in repository compare controller 2018-10-08 13:32:31 -07:00
cycle_analytics_controller_spec.rb Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
deploy_keys_controller_spec.rb Fix enabling project deploy key for admins 2018-11-16 23:18:06 -08:00
deployments_controller_spec.rb Squashed commit of the following: 2018-11-06 10:54:27 +09:00
discussions_controller_spec.rb Changes tab VUE refactoring 2018-06-21 12:22:40 +00:00
environments_controller_spec.rb Fix Environment terminal specs for EE 2018-11-29 09:05:37 +01:00
find_file_controller_spec.rb Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
forks_controller_spec.rb Updates from rubocop -a 2018-07-09 21:13:08 +08:00
graphs_controller_spec.rb Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
group_links_controller_spec.rb Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
hooks_controller_spec.rb Fix "Confidential comments" button not saving in project hooks 2018-08-17 16:16:23 -07:00
imports_controller_spec.rb Removes all the irrelevant import related code and columns 2018-11-27 12:58:13 +00:00
issues_controller_spec.rb Merge branch 'security-fix-pat-web-access' into 'master' 2018-11-28 19:13:59 -05:00
jobs_controller_spec.rb Merge remote-tracking branch 'origin/master' into 20422-hide-ui-variables-by-default 2018-12-07 13:21:43 -05:00
labels_controller_spec.rb Escapes milestone and label names when promoting them 2018-07-17 10:21:12 +01:00
mattermosts_controller_spec.rb Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
merge_requests_controller_spec.rb Inline the new checks into normal update error handling 2018-12-07 12:31:36 +00:00
milestones_controller_spec.rb Merge branch 'security-issue_51301' into 'master' 2018-11-28 19:08:42 -05:00
mirrors_controller_spec.rb SSH public-key authentication for push mirroring 2018-11-19 11:46:39 +00:00
notes_controller_spec.rb Merge branch 'security-guest-comments' into 'master' 2018-11-28 19:11:56 -05:00
pages_controller_spec.rb Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
pages_domains_controller_spec.rb Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
pipeline_schedules_controller_spec.rb Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
pipelines_controller_spec.rb Cache Repository#exists? false in RequestStore 2018-09-27 18:22:37 -07:00
pipelines_settings_controller_spec.rb Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
project_members_controller_spec.rb Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
protected_branches_controller_spec.rb Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
protected_tags_controller_spec.rb Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
raw_controller_spec.rb Add feature flag for workhorse content type calculation 2018-12-06 21:22:39 +00:00
refs_controller_spec.rb Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
releases_controller_spec.rb Whitelist existing destroy_all offenses 2018-08-16 17:29:37 +02:00
repositories_controller_spec.rb Fix specifying a non-default ref when requesting an archive using the legacy URL 2018-04-19 12:47:23 +01:00
runners_controller_spec.rb Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
services_controller_spec.rb Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
snippets_controller_spec.rb Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
tags_controller_spec.rb Merge branch 'security-fix-pat-web-access' into 'master' 2018-11-28 19:13:59 -05:00
templates_controller_spec.rb Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
todos_controller_spec.rb Revert "Revert "Merge branch 'ee-5481-epic-todos' into 'master'"" 2018-08-02 10:42:45 +02:00
tree_controller_spec.rb Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
uploads_controller_spec.rb Handled exception during file upload 2018-09-06 06:33:32 -07:00
variables_controller_spec.rb Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
wikis_controller_spec.rb Add feature flag for workhorse content type calculation 2018-12-06 21:22:39 +00:00