gitlab-org--gitlab-foss/spec/controllers
Stan Hu 1a4d1b0501 Fix Fogbugz Importer not working
This stopped working in GitLab 11.11 when we upgraded to Rails 5.1.
Rails 5 changed ActionController::Parameters to return an Object instead
of a Hash. The old behavior was deprecated in Rails 5 but finally
removed in Rails 5.1

Since the controller wasn't updated properly, the callback endpoint
quietly failed with the message, "Could not connect to FogBugz, check
your url".

To fix this, we need to call `to_h` on the `import_params` to access the
Hash. We also need to do this for the user map and permit specific keys.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/33530
2019-06-09 23:53:49 -07:00
..
admin Change specs to match gitlab code standards 2019-05-07 08:37:04 +12:00
boards Add some frozen string to spec/**/*.rb 2019-04-15 10:17:05 +00:00
concerns Fix project settings not being able to update 2019-06-03 15:27:24 -07:00
dashboard Add some frozen string to spec/**/*.rb 2019-04-15 10:17:05 +00:00
explore Add some frozen string to spec/**/*.rb 2019-04-15 10:17:05 +00:00
google_api Add some frozen string to spec/**/*.rb 2019-04-15 10:17:05 +00:00
groups Add gitlab-managed option to clusters form 2019-05-03 01:05:53 +00:00
import Fix Fogbugz Importer not working 2019-06-09 23:53:49 -07:00
instance_statistics
ldap Add some frozen string to spec/**/*.rb 2019-04-15 10:17:05 +00:00
oauth Add some frozen string to spec/**/*.rb 2019-04-15 10:17:05 +00:00
profiles Add some frozen string to spec/**/*.rb 2019-04-15 10:17:05 +00:00
projects Merge branch '62418-project-default-git-depth' into 'master' 2019-06-07 10:01:52 +00:00
snippets Add some frozen string to spec/**/*.rb 2019-04-15 10:17:05 +00:00
users Add some frozen string to spec/**/*.rb 2019-04-15 10:17:05 +00:00
abuse_reports_controller_spec.rb Add some frozen string to spec/**/*.rb 2019-04-15 10:17:05 +00:00
acme_challenges_controller_spec.rb Add pages domains acme orders 2019-06-06 18:55:31 +00:00
application_controller_spec.rb Avoid setting Gitlab::Session on sessionless requests 2019-06-05 19:07:20 +01:00
autocomplete_controller_spec.rb Add some frozen string to spec/**/*.rb 2019-04-15 10:17:05 +00:00
dashboard_controller_spec.rb Add some frozen string to spec/**/*.rb 2019-04-15 10:17:05 +00:00
graphql_controller_spec.rb Add API access check to Graphql 2019-03-27 14:59:02 +00:00
groups_controller_spec.rb Move specs to ce directory 2019-06-03 09:32:12 +02:00
health_check_controller_spec.rb Add some frozen string to spec/**/*.rb 2019-04-15 10:17:05 +00:00
health_controller_spec.rb Add some frozen string to spec/**/*.rb 2019-04-15 10:17:05 +00:00
help_controller_spec.rb Add some frozen string to spec/**/*.rb 2019-04-15 10:17:05 +00:00
invites_controller_spec.rb Add some frozen string to spec/**/*.rb 2019-04-15 10:17:05 +00:00
metrics_controller_spec.rb Add some frozen string to spec/**/*.rb 2019-04-15 10:17:05 +00:00
notification_settings_controller_spec.rb Add some frozen string to spec/**/*.rb 2019-04-15 10:17:05 +00:00
omniauth_callbacks_controller_spec.rb Revert Rails.application.env_config after using mock_auth_hash 2019-04-23 21:11:08 +02:00
passwords_controller_spec.rb Add some frozen string to spec/**/*.rb 2019-04-15 10:17:05 +00:00
profiles_controller_spec.rb Add some frozen string to spec/**/*.rb 2019-04-15 10:17:05 +00:00
projects_controller_spec.rb Move specs to ce directory 2019-06-03 09:32:12 +02:00
registrations_controller_spec.rb Add :registrations_recaptcha feature flag 2019-05-16 12:59:14 +01:00
root_controller_spec.rb Add some frozen string to spec/**/*.rb 2019-04-15 10:17:05 +00:00
search_controller_spec.rb Use wiki partial in search results 2019-04-25 14:58:08 -06:00
sent_notifications_controller_spec.rb Hide issue title on unsubscribe for anonymous users 2019-05-16 20:17:23 +03:00
sessions_controller_spec.rb Prevent password sign in restriction bypass 2019-05-21 14:12:41 +07:00
snippets_controller_spec.rb Add some frozen string to spec/**/*.rb 2019-04-15 10:17:05 +00:00
uploads_controller_spec.rb Add some frozen string to spec/**/*.rb 2019-04-15 10:17:05 +00:00
user_callouts_controller_spec.rb Add some frozen string to spec/**/*.rb 2019-04-15 10:17:05 +00:00
users_controller_spec.rb Add some frozen string to spec/**/*.rb 2019-04-15 10:17:05 +00:00