1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 00:02:41 +01:00
phorge-phorge/src/infrastructure/celerity
epriestley d8c11a2106 Move build-time resources to "CelerityPhysicalResources" to fix Phame
Summary:
Ref T4222. This fixes some issues with Phame's resource construction.

Phame requires a fully virtual resource source, and since I want to run wordpress templates unmodified some day I don't want to build resource maps for skins.

Move all the stuff that depends on resource lists being discoverable at build time to `CelerityPhysicalResources`, and only generate maps for subclasses.

The root `CelerityResources` can now construct virtual resources; construct a virtual resource for Phame and use it.

Test Plan: Off-domain blogs work correctly now. On-domain blogs with custom skins work correctly now.

Reviewers: btrahan, hach-que

Reviewed By: hach-que

CC: aran

Maniphest Tasks: T4222

Differential Revision: https://secure.phabricator.com/D7873
2013-12-31 19:21:56 -08:00
..
__tests__ Add printable support to CSS 2013-10-19 14:23:19 -07:00
management Move build-time resources to "CelerityPhysicalResources" to fix Phame 2013-12-31 19:21:56 -08:00
resources Move build-time resources to "CelerityPhysicalResources" to fix Phame 2013-12-31 19:21:56 -08:00
api.php Make resolveResources() and packageResources() private on CelerityResourceMap 2013-12-31 18:03:24 -08:00
CelerityAPI.php Delete license headers from files 2012-11-05 11:16:51 -08:00
CelerityPhabricatorResourceController.php Drive all Celerity operations from the new map 2013-12-31 18:04:25 -08:00
CelerityResourceController.php Move build-time resources to "CelerityPhysicalResources" to fix Phame 2013-12-31 19:21:56 -08:00
CelerityResourceGraph.php Delete license headers from files 2012-11-05 11:16:51 -08:00
CelerityResourceMap.php Drive all Celerity operations from the new map 2013-12-31 18:04:25 -08:00
CelerityResourceTransformer.php Make resolveResources() and packageResources() private on CelerityResourceMap 2013-12-31 18:03:24 -08:00
CeleritySpriteGenerator.php Multicolor headers 2013-12-06 12:08:11 -08:00
CelerityStaticResourceResponse.php Make resolveResources() and packageResources() private on CelerityResourceMap 2013-12-31 18:03:24 -08:00