1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-24 07:42:40 +01:00
phorge-phorge/src
epriestley f706093933 Support thumbnailing non-image files and straighten out setup for 'gd'
Summary:
Make 'gd' an explicit optional dependency, test for it in setup, and make the
software behave correctly if it is not available.

When generating file thumnails, provide reasonable defaults and behavior for
non-image files.

Test Plan:
Uploaded text files, pdf files, etc., and got real thumbnails instead of a
broken image.

Simulated setup and gd failures and walked through setup process and image
fallback for thumbnails.

Reviewed By: aran
Reviewers: toulouse, jungejason, tuomaspelkonen, aran
CC: aran, epriestley
Differential Revision: 446
2011-06-13 13:49:17 -07:00
..
aphront Allow projects to be quickly added from the Maniphest task creation interface 2011-06-13 10:17:08 -07:00
applications Support thumbnailing non-image files and straighten out setup for 'gd' 2011-06-13 13:49:17 -07:00
docs Add a "phd debug" command 2011-06-13 13:42:01 -07:00
infrastructure Support thumbnailing non-image files and straighten out setup for 'gd' 2011-06-13 13:49:17 -07:00
storage Update Phabricator to new PhutilServiceProfiler APIs 2011-05-16 17:10:18 -07:00
view Added a big warning if reviewer is about to accept a diff with lint or unit 2011-06-13 11:49:31 -07:00
__celerity_resource_map__.php Don't bring up multiple help dialogs when the user hits "?" multiple times 2011-06-13 13:41:45 -07:00
__phutil_library_init__.php Distinguish between aphront and phabricator. 2011-01-22 17:45:28 -08:00
__phutil_library_map__.php Allow projects to be quickly added from the Maniphest task creation interface 2011-06-13 10:17:08 -07:00