Home GnuPG

Allow custom image generation when choosing a profile image
f095a81b008dUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

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

Details

Provenance
Chad Little <chad@phacility.com>Authored on Mar 4 2017, 12:31 AM
Parents
rPHAB8ce25838f541: Provide "bin/auth revoke" with a revoker for Conduit tokens
Branches
Unknown
Tags
Unknown

Event Timeline

Chad Little <chad@phacility.com> committed rPHABf095a81b008d: Allow custom image generation when choosing a profile image (authored by Chad Little <chad@phacility.com>).Mar 4 2017, 5:21 AM