gitlab-org--gitlab-foss/app/controllers
Stan Hu 0c43170630 Fix cross-origin errors when attempting to download JavaScript attachments
If you upload a file with a .js extension, Rails' cross-origin JavaScript
protection will prevent a user from downloading the file with a 422 error.
Setting the content-type to `text/plain` will allow the user to download
the file as a plaintext file.

Closes #45826
2018-05-13 21:49:51 -07:00
..
admin Don't reset application settings oauth providers by mistake 2018-04-13 18:54:08 +03:00
boards Show issues of subgroups in group-level issue board 2018-04-05 14:58:49 -03:00
ci Make ci/lint page context aware: 2018-03-26 17:03:11 -06:00
concerns Fix cross-origin errors when attempting to download JavaScript attachments 2018-05-13 21:49:51 -07:00
dashboard [Rails5] Add safe_params helper 2018-04-08 15:35:30 +11:00
explore Resolve "Display member role per project" 2017-12-07 09:11:41 +00:00
google_api
groups Add 2FA filter to group members page 2018-05-10 13:02:56 +03:00
import Align with EE 2018-05-09 18:19:44 +08:00
ldap Replace define_method with alias_method in Omniauth Controllers 2018-04-23 16:24:47 +01:00
oauth Port read_cross_project ability from EE 2018-02-22 17:11:36 +01:00
profiles Display and revoke active sessions 2018-05-02 08:08:16 +00:00
projects Merge branch 'fix-failed-jobs-tab' into 'master' 2018-05-08 06:52:50 +00:00
sherlock
snippets Make sure NotesActions#noteable returns a Noteable in the update action 2017-11-16 15:12:23 +01:00
users Enforce terms acceptance before other requirements 2018-05-11 14:27:22 +02:00
abuse_reports_controller.rb
application_controller.rb Allow a user to sign out when on the terms page 2018-05-11 08:27:43 +02:00
autocomplete_controller.rb Use UserSerializer instead of User.to_json 2017-12-19 15:45:08 -06:00
confirmations_controller.rb Fix Shows signin tab after new user email confirmation 2018-01-18 14:32:44 +01:00
dashboard_controller.rb Fixed dashboard filtering tests 2018-04-03 20:19:20 +02:00
groups_controller.rb Merge branch 'blackst0ne-rails5-add-safe-params-helper' into 'master' 2018-04-18 10:26:44 +00:00
health_check_controller.rb
health_controller.rb Add a gRPC health check to ensure Gitaly is up 2018-01-24 15:47:27 -08:00
help_controller.rb Enable RuboCop Style/RegexpLiteral 2018-02-01 02:06:07 +09:00
ide_controller.rb Move IDE to CE 2018-03-20 14:12:48 +00:00
invites_controller.rb Replace deprecated name_with_namespace with full_name in app and spec 2018-03-05 16:15:26 +02:00
jwt_controller.rb Handle limit for datetime attributes on MySQL 2018-04-06 22:28:44 -05:00
koding_controller.rb use Gitlab::UserSettings directly as a singleton instead of including/extending it 2018-02-02 18:39:55 +00:00
metrics_controller.rb Adds Rubocop rule for line break around conditionals 2018-01-11 16:34:01 +00:00
notification_settings_controller.rb
omniauth_callbacks_controller.rb Backport IdentityLinker#failed? from GroupSaml callback flow 2018-05-04 15:00:59 +01:00
passwords_controller.rb use Gitlab::UserSettings directly as a singleton instead of including/extending it 2018-02-02 18:39:55 +00:00
profiles_controller.rb Add confirmation modal to "Change username" 2018-04-06 09:36:22 +00:00
projects_controller.rb [Rails5] Add safe_params helper 2018-04-08 15:35:30 +11:00
registrations_controller.rb Track and act upon the number of executed queries 2018-02-01 17:00:46 +01:00
root_controller.rb 'Assigned Issues' and 'Assigned Merge Requests' as dashboard user choices 2018-03-27 12:16:12 +00:00
search_controller.rb Port read_cross_project ability from EE 2018-02-22 17:11:36 +01:00
sent_notifications_controller.rb Backport 5480-epic-notifications from EE 2018-05-07 12:58:47 -06:00
sessions_controller.rb Reuses InternalRedirect when possible 2018-05-04 13:54:43 +02:00
snippets_controller.rb embedded snippets support 2018-02-28 18:48:26 +05:30
uploads_controller.rb Revert "Merge branch '3867-port-to-ce' into 'master'" 2018-02-28 21:09:34 +01:00
user_callouts_controller.rb Refactor UserCalloutsController enum check 2018-02-05 14:48:28 +01:00
users_controller.rb [Rails5] Add safe_params helper 2018-04-08 15:35:30 +11:00