@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 Apple Touch Icon.

Summary: Adds an icon if you add Phabricator as a web app on your iPhone.

Test Plan: Test on simulator and in iOS.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

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

+23 -1
+7
src/__celerity_resource_map__.php
··· 14 14 'disk' => '/rsrc/image/actions/edit.png', 15 15 'type' => 'png', 16 16 ), 17 + '/rsrc/image/apple-touch-icon.png' => 18 + array( 19 + 'hash' => '3380adf2dd4a5efa0885618bc5943640', 20 + 'uri' => '/res/3380adf2/rsrc/image/apple-touch-icon.png', 21 + 'disk' => '/rsrc/image/apple-touch-icon.png', 22 + 'type' => 'png', 23 + ), 17 24 '/rsrc/image/avatar.png' => 18 25 array( 19 26 'hash' => '1c5f255071537f05406adee86717ff27',
+16 -1
src/view/page/PhabricatorBarePageView.php
··· 75 75 'maximum-scale=1', 76 76 )); 77 77 } 78 + $icon_tag = phutil_tag( 79 + 'link', 80 + array( 81 + 'rel' => 'apple-touch-icon', 82 + 'href' => celerity_get_resource_uri('/rsrc/image/apple-touch-icon.png') 83 + )); 84 + 85 + $apple_tag = phutil_tag( 86 + 'meta', 87 + array( 88 + 'name' => 'apple-mobile-web-app-status-bar-style', 89 + 'content' => 'black-translucent' 90 + )); 78 91 79 92 $response = CelerityAPI::getStaticResourceResponse(); 80 93 81 94 return hsprintf( 82 - '%s<script type="text/javascript">%s window.__DEV__=%s;</script>%s', 95 + '%s%s%s<script type="text/javascript">%s window.__DEV__=%s;</script>%s', 83 96 $viewport_tag, 97 + $icon_tag, 98 + $apple_tag, 84 99 $framebust, 85 100 (PhabricatorEnv::getEnvConfig('phabricator.developer-mode') ? '1' : '0'), 86 101 $response->renderResourcesOfType('css'));
webroot/rsrc/image/apple-touch-icon.png

This is a binary file and will not be displayed.