gitlab-org--gitlab-foss/spec/controllers
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
..
admin Add config to disable impersonation 2018-11-29 09:37:16 +01:00
boards Extract code into IssueBoardEntity 2018-12-04 08:44:21 -06:00
concerns [CE backport]Add sort direction button with sort dropdown for epics 2018-12-03 10:46:47 -02:00
dashboard Merge branch 'security-fix-pat-web-access' into 'master' 2018-11-28 19:13:59 -05:00
explore
google_api
groups Remove trailing commas to satisfy rubocop 2018-11-08 23:28:30 +13:00
import Removes all the irrelevant import related code and columns 2018-11-27 12:58:13 +00:00
instance_statistics Resolve "Remove usage ping payload from Cohorts, add to Settings" 2018-09-06 12:43:14 +00:00
ldap Refactor OmniauthCallbacksController to remove duplication 2018-04-22 23:50:55 +01:00
oauth Merge branch 'security-fix-uri-xss-applications' into 'master' 2018-11-28 19:14:15 -05:00
profiles Set content disposition attachment to several endpoints 2018-11-23 16:44:09 +00:00
projects Check for valid refs in CommitController before doing anything 2018-12-09 21:56:31 -08:00
snippets
users Messaging on terms page when user already accepted 2018-06-04 22:22:11 +02:00
abuse_reports_controller_spec.rb
application_controller_spec.rb Revert "Prefer to use correlation-id in logs" 2018-12-06 21:46:31 +01:00
autocomplete_controller_spec.rb Refactor AutocompleteController 2018-08-20 13:53:00 +02:00
dashboard_controller_spec.rb Merge branch 'security-fix-pat-web-access' into 'master' 2018-11-28 19:13:59 -05:00
graphql_controller_spec.rb Merge branch 'security-fix-pat-web-access' into 'master' 2018-11-28 19:13:59 -05:00
groups_controller_spec.rb Add a flag to use a subquery for group issues search 2018-11-30 11:57:56 +00:00
health_check_controller_spec.rb
health_controller_spec.rb Remove Git circuit breaker 2018-10-10 09:08:18 +02:00
help_controller_spec.rb
invites_controller_spec.rb
metrics_controller_spec.rb Remove healthchecks from prometheus endpoint 2018-07-12 17:37:51 +00:00
notification_settings_controller_spec.rb Add email_events to replace EMAIL_EVENTS because it needs to be dynamic, 2018-08-14 14:59:29 +08:00
omniauth_callbacks_controller_spec.rb Whitelist existing destroy_all offenses 2018-08-16 17:29:37 +02:00
passwords_controller_spec.rb
profiles_controller_spec.rb Allow users to set a status 2018-07-30 15:01:26 +02:00
projects_controller_spec.rb Allow public forks to be deduplicated 2018-12-07 19:18:37 +01:00
registrations_controller_spec.rb Fix typos in lib 2018-11-15 12:15:43 +02:00
root_controller_spec.rb Fix tests 2018-11-13 15:27:42 +08:00
search_controller_spec.rb Render a 403 when showing an access denied message 2018-06-05 10:29:27 +02:00
sent_notifications_controller_spec.rb
sessions_controller_spec.rb Fix typos in lib 2018-11-15 12:15:43 +02:00
snippets_controller_spec.rb Add feature flag for workhorse content type calculation 2018-12-06 21:22:39 +00:00
uploads_controller_spec.rb Fix spec for Rails 5 2018-10-23 16:22:23 +02:00
user_callouts_controller_spec.rb
users_controller_spec.rb Merge branch 'security-fix-pat-web-access' into 'master' 2018-11-28 19:13:59 -05:00