3 -- check whether patch can be applied
4 SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
6 -- 950.data.seed-values.sql
8 INSERT INTO config.global_flag (name, value, enabled, label)
10 'opac.cover_upload_compression',
14 'opac.cover_upload_compression',
15 'Cover image uploads are converted to PNG files with this compression, on a scale of 0 (no compression) to 9 (maximum compression), or -1 for the zlib default.',
20 INSERT INTO config.org_unit_setting_type (name, label, grp, description, datatype)
22 'opac.cover_upload_max_file_size',
23 oils_i18n_gettext('opac.cover_upload_max_file_size',
24 'Maximum file size for uploaded cover image files (at time of upload, prior to rescaling).',
27 oils_i18n_gettext('opac.cover_upload_max_file_size',
28 'The number of bytes to allow for a cover image upload. If unset, defaults to 10737418240 (roughly 10GB).',
29 'coust', 'description'),
33 INSERT INTO permission.perm_list ( id, code, description ) VALUES
34 ( 637, 'UPLOAD_COVER_IMAGE', oils_i18n_gettext(637,
35 'Upload local cover images for added content.', 'ppl', 'description'))