• Vladimir Shushlin's avatar
    Support max_pages_size per project/group setting · 9bb42c01
    Vladimir Shushlin authored
    Extracted it as EE feature
    use already existing helper for closest_setting
    Add pages_size_limit feature
    Add validation of pages and artifacts size
    Add permissions for updating max_pages_size
    Add application_setting.max_pages_size validations
    Refactor old specs
    Move MAX_SIZE pages constant
    Fix max_pages_size in db
    Remove redundant MAX_SIZE check from update pages service
    Move update_max_pages_size to global policy
    9bb42c01
namespace_spec.rb 29.5 KB