gitlab-org--gitlab-foss/features
Douwe Maan 317206300d Merge branch 'configurable-attachment-size' into 'master'
Support configurable attachment size in Application Settings page

### What does this MR do?

This MR provides the ability to configure the maximum size of an attachment inside a note. A parameter has been added to the Application Settings page.

### Are there points in the code the reviewer needs to double check?

What should be done with the legacy note attachment validation? I added code to make the validation work with the configurable setting. I could see an issue where an admin lowers the limit from 10 megabytes to 5 megabytes, which could cause an existing model to be invalid.

### Why was this MR needed?

We often have attachments that exceed 10 MB, and it would be nice to be able to override the defaults.

### What are the relevant issue numbers / [Feature requests](http://feedback.gitlab.com/)?

See Issue #1258

### Screenshots

Before:

![Screen_Shot_2015-03-29_at_3.06.53_PM](https://gitlab.com/gitlab-org/gitlab-ce/uploads/6013a1dbc8cf61a63e93744149937fa0/Screen_Shot_2015-03-29_at_3.06.53_PM.png)

After:

![Screen_Shot_2015-03-29_at_3.12.34_PM](https://gitlab.com/gitlab-org/gitlab-ce/uploads/f3518af7e8653ba40f0a3579456da6ad/Screen_Shot_2015-03-29_at_3.12.34_PM.png)

See merge request !407
2015-04-03 08:47:55 +00:00
..
admin Include missing events and fix save functionality in admin service template settings form 2015-03-23 05:51:38 -07:00
dashboard Fix tests and unassigned filter for issues. Updated CHANGELOG 2015-03-27 00:27:51 -07:00
explore Fix spinach tests 2014-12-24 14:34:37 +02:00
profile Move Profile groups tests to Dashboard group tests 2015-03-08 20:52:22 -07:00
project Support configurable attachment size via Application Settings 2015-04-02 00:04:08 -07:00
snippets Fix raw view for public snippets 2014-10-27 11:51:31 +02:00
steps Merge branch 'configurable-attachment-size' into 'master' 2015-04-03 08:47:55 +00:00
support Fixed tests for spinach 2015-02-12 19:48:42 +01:00
groups.feature Fix adding new members to group 2015-03-30 14:17:49 -07:00
search.feature Fixes the search test that fails whenever faker uses a name with Bar in it. Limit check to being within the search results div. 2014-12-08 16:44:06 -08:00
snippet_search.feature Updating to persist a params snippets variable 2014-09-05 13:30:55 -04:00
user.feature Refactor contributions events and write tests for calendar 2015-03-22 13:55:00 -07:00