gitlab-org--gitlab-foss/app/views/projects
Yorick Peterse 8171544b3d
Limit the size of SVGs when viewing them as blobs
This ensures that SVGs greater than 2 megabytes are not scrubbed and
rendered. This in turn prevents requests from timing out due to
reading/scrubbing large SVGs potentially taking a lot of time (and
memory). The use of 2 megabytes is completely arbitrary.

Fixes gitlab-org/gitlab-ce#1435
2016-08-15 13:42:52 +02:00
..
artifacts
badges Add missing space to generic badge template 2016-08-10 08:44:19 +02:00
blame
blob Limit the size of SVGs when viewing them as blobs 2016-08-15 13:42:52 +02:00
branches Update to gitlab_git 10.4.1 and take advantage of preserved Ref objects 2016-07-28 12:24:47 -04:00
builds Merge branch 'multiple-trigger-variables-show-in-separate-line' into 'master' 2016-07-26 11:24:43 +00:00
buttons Remove url_for_new_issue helper 2016-08-01 18:23:12 -07:00
ci Pre-create all builds for Pipeline when a trigger is received 2016-08-11 15:22:35 +02:00
commit Pre-create all builds for Pipeline when a trigger is received 2016-08-11 15:22:35 +02:00
commits Mobile view for commit status 2016-07-21 08:31:05 -07:00
compare Introduce Compare model in the codebase. 2016-08-03 07:00:20 +02:00
container_registry
deploy_keys
deployments Add gravatars to build history 2016-08-08 11:43:12 -05:00
diffs Avoid commit lookup on diff_helper 2016-08-10 13:09:07 +02:00
environments Add gravatars to build history 2016-08-08 11:43:12 -05:00
find_file
forks Merge branch '17810-fork-page-ux-is-outdated' into 'master' 2016-07-20 12:32:05 +00:00
generic_commit_statuses Fix build duration when build is not finished yet 2016-07-18 16:44:10 +02:00
graphs Allow branch names ending with .json for graph and network page (!5579) 2016-08-02 03:32:28 +02:00
group_links
hooks
imports
issues Redirect to external issue tracker from /issues 2016-08-01 16:59:44 -07:00
labels
merge_requests Add unfold links for Side-by-Side view 2016-08-04 09:09:59 +03:00
milestones
network Replace namespace-specific application.js files with namespace-bundle.js files. 2016-07-15 14:42:28 -06:00
notes Merge branch 'discussion-model' into 'master' 2016-07-21 17:56:23 +00:00
pipelines render only commit title 2016-08-11 23:33:49 +02:00
pipelines_settings Create PipelinesSettingsController for showing settings page 2016-07-20 14:39:06 +02:00
project_members
protected_branches Set for for labels and ID for dropdowns on create form 2016-08-05 17:19:01 -05:00
refs
releases
repositories
runners
services Refactor service settings view 2016-07-20 12:11:37 -03:00
snippets
tags Fix styling of tag page 2016-07-18 15:08:58 -05:00
tree Update tree view to sort folders with submodules 2016-08-09 14:08:47 +01:00
triggers
variables
wikis Change Markdown document location 2016-08-02 13:42:14 +03:00
_activity.html.haml
_bitbucket_import_modal.html.haml
_commit_button.html.haml
_errors.html.haml
_files.html.haml
_find_file_link.html.haml
_gitlab_import_modal.html.haml
_home_panel.html.haml Removes two simple instances of inline JavaScript. 2016-07-26 16:59:55 -06:00
_last_commit.html.haml
_last_push.html.haml
_md_preview.html.haml
_merge_request_settings.html.haml
_readme.html.haml
_zen.html.haml
activity.html.haml
edit.html.haml Fix renaming repository when name contains invalid chars under settings 2016-07-27 13:52:45 -03:00
empty.html.haml
new.html.haml Remove duplicate link_to statements 2016-08-10 11:10:04 +02:00
no_repo.html.haml
remove_fork.js.haml
show.atom.builder
show.html.haml Link configuration button to .gitlab-ci.yml 2016-07-28 12:46:19 -05:00
transfer.js.haml
update.js.haml Fix Project#to_param to keep invalid project suitable for use in URLs 2016-07-27 13:52:45 -03:00