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

Actual 2x avatar, new profile picture options

Summary: Provides a real 2x avatar and offers new built in images for profile pictures.

Test Plan: reload profile, see sharper image, pick eevee, see eevee

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

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

+30 -1
+11 -1
resources/celerity/map.php
··· 265 265 'rsrc/favicons/mask-icon.svg' => '0460cb1f', 266 266 'rsrc/image/BFCFDA.png' => 'd5ec91f4', 267 267 'rsrc/image/actions/edit.png' => '2fc41442', 268 - 'rsrc/image/avatar.png' => '3eb28cd9', 268 + 'rsrc/image/avatar.png' => 'e132bb6a', 269 269 'rsrc/image/checker_dark.png' => 'd8e65881', 270 270 'rsrc/image/checker_light.png' => 'a0155918', 271 271 'rsrc/image/checker_lighter.png' => 'd5da91b6', ··· 320 320 'rsrc/image/people/lincoln.png' => '9369126d', 321 321 'rsrc/image/people/mckinley.png' => 'fb8f16ce', 322 322 'rsrc/image/people/taft.png' => 'd7bc402c', 323 + 'rsrc/image/people/user0.png' => '03dacaea', 324 + 'rsrc/image/people/user1.png' => '4a4e7702', 325 + 'rsrc/image/people/user2.png' => '47a0ee40', 326 + 'rsrc/image/people/user3.png' => '835ff627', 327 + 'rsrc/image/people/user4.png' => 'b0e830f1', 328 + 'rsrc/image/people/user5.png' => '9c95b369', 329 + 'rsrc/image/people/user6.png' => 'ba3fbfb0', 330 + 'rsrc/image/people/user7.png' => 'da613924', 331 + 'rsrc/image/people/user8.png' => 'f1035edf', 332 + 'rsrc/image/people/user9.png' => '66730be3', 323 333 'rsrc/image/people/washington.png' => '40dd301c', 324 334 'rsrc/image/phrequent_active.png' => 'a466a8ed', 325 335 'rsrc/image/phrequent_inactive.png' => 'bfc15a69',
+19
src/applications/people/controller/PhabricatorPeopleProfilePictureController.php
··· 116 116 } 117 117 } 118 118 119 + $builtins = array( 120 + 'user1.png', 121 + 'user2.png', 122 + 'user3.png', 123 + 'user4.png', 124 + 'user5.png', 125 + 'user6.png', 126 + 'user7.png', 127 + 'user8.png', 128 + 'user9.png', 129 + ); 130 + foreach ($builtins as $builtin) { 131 + $file = PhabricatorFile::loadBuiltin($viewer, $builtin); 132 + $images[$file->getPHID()] = array( 133 + 'uri' => $file->getBestURI(), 134 + 'tip' => pht('Builtin Image'), 135 + ); 136 + } 137 + 119 138 // Try to add external account images for any associated external accounts. 120 139 $accounts = id(new PhabricatorExternalAccountQuery()) 121 140 ->setViewer($viewer)
webroot/rsrc/image/avatar.png

This is a binary file and will not be displayed.

webroot/rsrc/image/people/user0.png

This is a binary file and will not be displayed.

webroot/rsrc/image/people/user1.png

This is a binary file and will not be displayed.

webroot/rsrc/image/people/user2.png

This is a binary file and will not be displayed.

webroot/rsrc/image/people/user3.png

This is a binary file and will not be displayed.

webroot/rsrc/image/people/user4.png

This is a binary file and will not be displayed.

webroot/rsrc/image/people/user5.png

This is a binary file and will not be displayed.

webroot/rsrc/image/people/user6.png

This is a binary file and will not be displayed.

webroot/rsrc/image/people/user7.png

This is a binary file and will not be displayed.

webroot/rsrc/image/people/user8.png

This is a binary file and will not be displayed.

webroot/rsrc/image/people/user9.png

This is a binary file and will not be displayed.