1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-29 08:50:58 +01:00
phorge-phorge/src/infrastructure
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
..
cluster Fix two errors from the error logs 2016-11-26 07:50:57 -08:00
contentsource Redesign Config Application 2016-08-29 15:49:49 -07:00
customfield Remove extra parameter in newStandardEditField() call 2017-02-16 09:44:39 -08:00
daemon Add "--pool" and "--duration" flags to daemon CLI tools 2017-02-28 07:43:46 -08:00
diff Make Differential inline events actually trigger comment preview refreshes 2017-01-19 12:32:49 -08:00
edges Log and continue when trying to destroy edges with no edge definition 2016-06-23 06:45:17 -07:00
env Normalize remote IP addresses when writing to logs, etc 2016-12-05 11:20:29 -08:00
events Modernize Hovercard implementation 2015-12-24 12:18:28 -08:00
graph Allow task graph task titles to go full width 2017-02-10 10:58:15 -08:00
internationalization Use DifferentialCommitMessageParser and Modular Transactions to implement "Auditors: ..." 2017-01-30 15:23:05 -08:00
javelin When the profiler is active, keep it active if the user submits forms 2017-02-23 11:15:40 -08:00
lint/linter Linter fixes 2015-12-03 07:44:23 +11:00
log Extend from Phobject 2015-06-15 18:02:27 +10:00
management Modularize content sources 2016-03-26 11:59:45 -07:00
markup Fix errors found by PHPStan 2017-02-18 09:24:56 +00:00
query Fix errors found by PHPStan 2017-02-18 09:24:56 +00:00
sms Various linter fixes 2015-08-11 22:36:55 +10:00
ssh Normalize remote IP addresses when writing to logs, etc 2016-12-05 11:20:29 -08:00
storage Fix errors found by PHPStan 2017-02-18 09:24:56 +00:00
syntax Pass the new default syntax highlighting map to the remarkup engine 2016-05-05 02:51:19 -07:00
testing Make caches misses throw by default intead of inline-generating 2016-06-05 08:51:54 -07:00
time Fix errors found by PHPStan 2017-02-18 09:24:56 +00:00
util Allow custom image generation when choosing a profile image 2017-03-03 20:21:31 -08:00
PhabricatorEditor.php Mark some strings for translation 2015-06-09 23:06:52 +10:00