phorge/src
epriestley b36a8fa885 Implement a user profile image cache
Summary:
Ref T7707. The general form of this can probably be refined somewhat over time as we have more use cases.

I put this cache on the user object itself because we essentially always need this data and it's trivial to invalidate the cache (we can do it implicilty during reads).

Also fix an issue with short, wide images not thumbnailing properly after recent changes.

Test Plan:
  - Loaded some pages; saw caches write; saw good pictures.
  - Reloaded; saw cache reads; saw good pictures.
  - Changed profile picture; saw immediate update.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T7707

Differential Revision: https://secure.phabricator.com/D12826
2015-05-13 11:38:51 -07:00
..
__tests__ Use PhutilLibraryTestCase 2015-01-07 07:38:08 +11:00
aphront Add "request time" event and viewer and context data to Multimeter 2015-05-01 13:20:30 -07:00
applications Implement a user profile image cache 2015-05-13 11:38:51 -07:00
docs Update symbols docs 2015-05-05 04:12:01 -07:00
extensions Add src/extensions/ to Phabricator 2013-08-14 15:38:06 -07:00
infrastructure Use full URIs to link to objects from Phame blogs 2015-05-11 11:11:25 -07:00
view Month view should adjust to display badges with event count instead of event list on mobile and tablets. 2015-05-12 17:56:52 -07:00
__phutil_library_init__.php Delete license headers from files 2012-11-05 11:16:51 -08:00
__phutil_library_map__.php Modularize file transforms and provide a "transforms" UI 2015-05-13 11:38:45 -07:00