1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 01:32:42 +01:00
phorge-phorge/src/infrastructure/celerity
epriestley dcf3b4d322 Reduce Pholio brokenness for non-image files
Summary:
Ref T5359. When users upload non-image file types (PDFs, text files, whatever), Pholio currently chokes in a few places. Make most of these behaviors more reasonable:

  - Provide thumbs in the required sizes.
  - Predict the thumb size of these files correctly.
  - Disable inline comments.
  - Make "View Fullsize" and "Download" into buttons. These mostly-work. Download should probaly really download, but CSRF on forms is a bit of a pain right now.

Test Plan: See screenshots.

Reviewers: chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T5359

Differential Revision: https://secure.phabricator.com/D9548
2014-06-15 08:03:04 -07:00
..
__tests__ Move Celerity gradually toward multiple source support 2014-01-01 07:46:18 -08:00
management Change double quotes to single quotes. 2014-06-09 11:36:50 -07:00
resources Add Glyphicons Halflings Font and Examples 2014-04-17 17:31:23 -07:00
api.php Reduce Pholio brokenness for non-image files 2014-06-15 08:03:04 -07:00
CelerityAPI.php Delete license headers from files 2012-11-05 11:16:51 -08:00
CelerityPhabricatorResourceController.php Serve celerity resources from multiple maps 2014-01-02 11:59:45 -08:00
CelerityResourceController.php Change double quotes to single quotes. 2014-06-09 11:36:50 -07:00
CelerityResourceGraph.php Change double quotes to single quotes. 2014-06-09 11:36:50 -07:00
CelerityResourceMap.php Fix two bugs with DraggableList 2014-01-13 12:23:20 -08:00
CelerityResourceTransformer.php [redesign] Hoverselect colors 2014-06-02 15:11:30 -07:00
CeleritySpriteGenerator.php FontAwesome RemarkupBar 2014-06-05 10:37:21 -07:00
CelerityStaticResourceResponse.php Ensure Aphlict is served on the primary domain 2014-06-13 05:47:06 -07:00