gitlab-org--gitlab-foss/features/steps
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 Move group members index from /members to /group_members. 2015-03-15 13:51:11 +01:00
profile Add location to user profile 2015-03-20 16:52:23 -07:00
project Merge branch 'configurable-attachment-size' into 'master' 2015-04-03 08:47:55 +00:00
shared Move group members index from /members to /group_members. 2015-03-15 13:51:11 +01:00
snippets Fix raw view for public snippets 2014-10-27 11:51:31 +02:00
groups.rb Fix adding new members to group 2015-03-30 14:17:49 -07:00
search.rb 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.rb Replace old spinach step definitions with step. 2014-09-22 10:01:50 +02:00
user.rb Improve user calendar test 2015-03-22 19:47:23 -07:00