@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Lock `files.video-mime-types` config option for consistency

Summary:
This is a consistency change to make this option consistent with `audio-mime-types`, `image-mime-types` and `icon-mime-types`, all of which are locked.

(They're locked because SVG is definitely dangerous, and other types might be dangerous or might become dangerous in the future, although I'm not aware of any actual dangers from video types today.)

Test Plan: Viewed `files.video-mime-types` in Config, saw it was locked.

Reviewers: chad

Reviewed By: chad

Differential Revision: https://secure.phabricator.com/D17454

+1
+1
src/applications/files/config/PhabricatorFilesConfigOptions.php
··· 155 155 'List of MIME types which can be rendered with an `%s` tag.', 156 156 '<audio />')), 157 157 $this->newOption('files.video-mime-types', 'set', $video_default) 158 + ->setLocked(true) 158 159 ->setSummary(pht('Configure which MIME types are video.')) 159 160 ->setDescription( 160 161 pht(