1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-26 13:39:08 +01:00
phorge-phorge/src/applications/files
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
..
action Rate limit outbound requests in Macros 2015-03-26 11:11:52 -07:00
application Modularize file transforms and provide a "transforms" UI 2015-05-13 11:38:45 -07:00
applicationpanel Fix improper selection of the chunk engine as a writable engine 2015-03-18 19:06:39 -07:00
capability Add default policy to Files application 2014-11-21 11:17:20 -08:00
conduit Give Conduit params/return/errors protected visibility 2015-04-13 11:58:35 -07:00
config Lock MIME type configuration 2015-03-25 10:16:22 -07:00
controller Convert inline profile image transforms to new transformations 2015-05-13 11:38:46 -07:00
edge Modernize remaining edge types 2015-01-03 10:58:20 +11:00
editor File names should be editable. 2015-04-26 15:24:29 -07:00
engine Fix a bad call in file chunk destruction 2015-03-24 18:48:51 -07:00
exception Rewrite file documentation to be chunk-aware 2015-03-15 11:37:47 -07:00
garbagecollector Complete modularization of the GC daemon 2014-01-15 10:02:31 -08:00
lipsum Fix some linter violations 2015-01-03 09:11:41 +11:00
mail Expose all application mail receivers 2015-04-01 11:52:02 -07:00
management Support a file data iteration interface for large files 2015-03-14 08:28:59 -07:00
markup Convert "preview" image transforms to new pathway 2015-05-13 11:38:46 -07:00
phid Make file handles have "/Fxxx" as the URI 2014-08-21 12:21:10 -07:00
query Provide more buildXClause() and buildXClauseParts() on PolicyAwareQuery 2015-04-20 10:06:10 -07:00
storage Convert inline profile image transforms to new transformations 2015-05-13 11:38:46 -07:00
transform Implement a user profile image cache 2015-05-13 11:38:51 -07:00
view Quicksand - make things work correctly with global drag and drop upload 2015-04-23 15:08:35 -07:00
PhabricatorImageTransformer.php Convert inline profile image transforms to new transformations 2015-05-13 11:38:46 -07:00