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
This commit is contained in:
Jean-Philippe Lang
2009-02-21 15:34:11 +00:00
parent 2bd419f23b
commit 66afc8c054
37 changed files with 53 additions and 1 deletions
+5
View File
@@ -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