summaryrefslogtreecommitdiffstats
path: root/config/settings.yml
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-02-21 15:34:11 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-02-21 15:34:11 +0000
commit66afc8c054f2b1e7253d9e96d60622d6040bf48d (patch)
tree6022ebc6d124b2bb7b95691b2b7a3648c6925b01 /config/settings.yml
parent2bd419f23b42dc08ad29ba9fc9ecdbfa003587f3 (diff)
downloadredmine-66afc8c054f2b1e7253d9e96d60622d6040bf48d.tar.gz
redmine-66afc8c054f2b1e7253d9e96d60622d6040bf48d.zip
Adds a setting to limit the size of text attachments that can be displayed by the file viewer (default set to 512KB). Larger files are sent for download.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2503 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/settings.yml')
-rw-r--r--config/settings.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/settings.yml b/config/settings.yml
index 73b4c4cfb..fad3ef5fb 100644
--- a/config/settings.yml
+++ b/config/settings.yml
@@ -61,6 +61,11 @@ protocol:
feeds_limit:
format: int
default: 15
+# Maximum size of files that can be displayed
+# inline through the file viewer (in KB)
+setting_file_max_size_displayed:
+ format: int
+ default: 512
diff_max_lines_displayed:
format: int
default: 1500