Page MenuHomePhabricator

Make default profile image configurable
AbandonedPublic

Authored by valhallasw on Nov 15 2014, 1:15 PM.
Referenced Files
Unknown Object (File)
Thu, Mar 28, 8:36 AM
Unknown Object (File)
Tue, Mar 5, 8:00 AM
Unknown Object (File)
Sat, Mar 2, 10:30 AM
Unknown Object (File)
Feb 14 2024, 9:55 AM
Unknown Object (File)
Feb 10 2024, 11:34 AM
Unknown Object (File)
Feb 4 2024, 2:45 AM
Unknown Object (File)
Jan 19 2024, 6:07 AM
Unknown Object (File)
Dec 29 2023, 6:59 AM
Subscribers

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Summary

For Wikimedia, we'd like to use a wikimedia logo instead of a Psyduck.

NOTE: this commit is not ready as-is. For some reason, the 'use default' image at /people/picture/ stays a Psyduck.

In addition, we could consider adding support for:

  • PHIDs instead of Fxx
  • external urls
  • 'celerity:///' urls for the default avatar / other avatars one could distribute that way
Test Plan

Change users.default-avatar to a File. Notice the image changes.

Diff Detail

Repository
rP Phabricator
Branch
master
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 3062
Build 3068: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

valhallasw retitled this revision from to Make default profile image configurable.
valhallasw updated this object.
valhallasw edited the test plan for this revision. (Show Details)
valhallasw added a project: Wikimedia.
valhallasw edited edge metadata.

Fix default value

Use PhabricatorUser::defaultProfileImageURI to show the default image in the edit window

epriestley added a reviewer: epriestley.

Sorry, we're not interested in pursuing this change in the upstream. See:

https://secure.phabricator.com/book/phabcontrib/article/contributing_code/

You can replace this file locally. You may also need to replace /resources/builtin/profile.png and destroy the File object which caches it (see PhabricatorFile::loadBuiltin()).

This revision now requires changes to proceed.Nov 15 2014, 1:47 PM