@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.

Add support for ".woff2" resources

Summary: Ref T7210. Not sure if this fixes things, but it's definitely //an// issue.

Test Plan:
- Not able to reproduce issue locally yet.
- These get into the map now, at least?
- Saw `.woff2` URIs transform in CSS.
- Loaded a `.woff2` file.

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T7210

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

+13 -6
+10 -5
resources/celerity/map.php
··· 7 7 */ 8 8 return array( 9 9 'names' => array( 10 - 'core.pkg.css' => 'e09f7a8c', 10 + 'core.pkg.css' => 'e5d56a4a', 11 11 'core.pkg.js' => '65e04767', 12 12 'darkconsole.pkg.js' => '8ab24e01', 13 13 'differential.pkg.css' => '8af45893', ··· 109 109 'rsrc/css/core/syntax.css' => '56c1ba38', 110 110 'rsrc/css/core/z-index.css' => '40eb7003', 111 111 'rsrc/css/diviner/diviner-shared.css' => '38813222', 112 - 'rsrc/css/font/font-awesome.css' => '21b0ced7', 113 - 'rsrc/css/font/font-source-sans-pro.css' => 'f5c0ffcb', 112 + 'rsrc/css/font/font-awesome.css' => 'ae9a7b4d', 113 + 'rsrc/css/font/font-source-sans-pro.css' => '0d859f60', 114 114 'rsrc/css/font/phui-font-icon-base.css' => '3dad2ae3', 115 115 'rsrc/css/layout/phabricator-filetree-view.css' => 'fccf9f82', 116 116 'rsrc/css/layout/phabricator-hovercard-view.css' => '893f4783', ··· 158 158 'rsrc/externals/font/fontawesome/fontawesome-webfont.eot' => '5fb6fb0e', 159 159 'rsrc/externals/font/fontawesome/fontawesome-webfont.ttf' => 'a653cb11', 160 160 'rsrc/externals/font/fontawesome/fontawesome-webfont.woff' => '80526fc8', 161 + 'rsrc/externals/font/fontawesome/fontawesome-webfont.woff2' => '4924d54d', 162 + 'rsrc/externals/font/sourcesans/SourceSansPro-Bold.woff2' => '165f5f74', 161 163 'rsrc/externals/font/sourcesans/SourceSansPro-BoldIt.woff' => 'd09a7d54', 164 + 'rsrc/externals/font/sourcesans/SourceSansPro-BoldIt.woff2' => 'd2e33102', 162 165 'rsrc/externals/font/sourcesans/SourceSansPro-It.woff' => '3f21af52', 166 + 'rsrc/externals/font/sourcesans/SourceSansPro-It.woff2' => '30a7cf60', 167 + 'rsrc/externals/font/sourcesans/SourceSansPro-Regular.woff2' => 'e89b04b1', 163 168 'rsrc/externals/font/sourcesans/SourceSansPro.woff' => '3614608c', 164 169 'rsrc/externals/font/sourcesans/SourceSansProBold.woff' => 'cbf46566', 165 170 'rsrc/externals/javelin/core/Event.js' => '85ea0626', ··· 527 532 'diffusion-icons-css' => '9c5828da', 528 533 'diffusion-source-css' => '66fdf661', 529 534 'diviner-shared-css' => '38813222', 530 - 'font-fontawesome' => '21b0ced7', 531 - 'font-source-sans-pro' => 'f5c0ffcb', 535 + 'font-fontawesome' => 'ae9a7b4d', 536 + 'font-source-sans-pro' => '0d859f60', 532 537 'global-drag-and-drop-css' => '697324ad', 533 538 'harbormaster-css' => '49d64eb4', 534 539 'herald-css' => '826075fa',
+2 -1
src/applications/celerity/controller/CelerityResourceController.php
··· 98 98 99 99 // NOTE: This is a piece of magic required to make WOFF fonts work in 100 100 // Firefox. Possibly we should generalize this. 101 - if ($type == 'woff') { 101 + if ($type == 'woff' || $type == 'woff2') { 102 102 // We could be more tailored here, but it's not currently trivial to 103 103 // generate a comprehensive list of valid origins (an install may have 104 104 // arbitrarily many Phame blogs, for example), and we lose nothing by ··· 118 118 'jpg' => 'image/jpeg', 119 119 'swf' => 'application/x-shockwave-flash', 120 120 'woff' => 'font/woff', 121 + 'woff2' => 'font/woff2', 121 122 'eot' => 'font/eot', 122 123 'ttf' => 'font/ttf', 123 124 );
+1
src/applications/celerity/resources/CelerityResourcesOnDisk.php
··· 34 34 'gif', 35 35 'swf', 36 36 'woff', 37 + 'woff2', 37 38 'ttf', 38 39 'eot', 39 40 );