1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-27 16:00:59 +01:00
phorge-phorge/resources/builtin
Chad Little f095a81b00 Allow custom image generation when choosing a profile image
Summary: Ref T10319. This swaps the default in the Picture Chooser to allow picking of the custom unique avatar. We're currently going with 100k unique possibilities. The logic roughly hashes a user name and picks an image pack, color, and border. Based on that, we select the first character of their username, or fall back to Psyduck if not [a-z][0-9].

Test Plan:
Set the following usernames from ProfilePicture as a test: chad, epriestley, sally, 007, _cat_, -doggie-.

{F3453979}

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Maniphest Tasks: T10319

Differential Revision: https://secure.phabricator.com/D17430
2017-03-03 20:21:31 -08:00
..
alphanumeric Allow custom image generation when choosing a profile image 2017-03-03 20:21:31 -08:00
projects Add a map marker icon for Milestones 2016-02-05 13:40:52 -08:00
agent.png Update builtin resources 2015-12-03 19:58:16 -08:00
avatar.png Add some higher resolution default user images 2017-02-26 09:56:21 -08:00
blog.png Update builtin resources 2015-12-03 19:58:16 -08:00
conpherence.png Convert Conpherence to use normal picture setting flows 2016-10-05 12:05:36 -07:00
image-100x100.png Make modular transforms handle exceptions gracefully 2015-05-13 11:38:45 -07:00
image-200x200.png Roughly implement milestone columns on workboards 2016-02-03 16:37:59 -08:00
image-220x220.png Make modular transforms handle exceptions gracefully 2015-05-13 11:38:45 -07:00
image-280x210.png Make modular transforms handle exceptions gracefully 2015-05-13 11:38:45 -07:00
image-526x526.png Support drag-and-drop to set cover images on workboard cards 2016-02-06 15:58:43 -08:00
mailinglist.png Update builtin resources 2015-12-03 19:58:16 -08:00
merchant.png Add a Merchant logo to Phortune 2016-10-28 13:56:35 -07:00
missing.png Provide "builtin" files and use them to fix Pholio when files are deleted 2013-05-08 18:12:52 -07:00
profile.png Add some higher resolution default user images 2017-02-26 09:56:21 -08:00
project.png Update builtin resources 2015-12-03 19:58:16 -08:00
user0.png Add some higher resolution default user images 2017-02-26 09:56:21 -08:00
user1.png Add some higher resolution default user images 2017-02-26 09:56:21 -08:00
user2.png Add some higher resolution default user images 2017-02-26 09:56:21 -08:00
user3.png Add some higher resolution default user images 2017-02-26 09:56:21 -08:00
user4.png Add some higher resolution default user images 2017-02-26 09:56:21 -08:00
user5.png Add some higher resolution default user images 2017-02-26 09:56:21 -08:00
user6.png Add some higher resolution default user images 2017-02-26 09:56:21 -08:00
user7.png Add some higher resolution default user images 2017-02-26 09:56:21 -08:00
user8.png Add some higher resolution default user images 2017-02-26 09:56:21 -08:00
user9.png Add some higher resolution default user images 2017-02-26 09:56:21 -08:00