Skip to content

WIP: make maximum avatar size configurable

username-removed-207685 requested to merge rlp/gitlab-ce:avatar-max into master

I installed an instance of GitLab for my own projects. I don't anticipate more than 1 user, so a large avatar file will not cause much of a problem. I am making these changes so users can configure the maximum avatar size without changing the source.

To be addressed:

  • Add examples / defaults in the relevant config files (gitlab.rb and gitlab.yml. How do I go about this?
  • Should there be separate settings for user, group, and project?
  • How can I change the UI (haml files) to display the correct number instead of "The maximum file size allowed is 200KB."

Merge request reports

Loading