1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-22 10:18:48 +02:00
phorge-phorge/src/applications/files
epriestley a298a79bda Convert Phabricator to handle "%s" / "%B" properly
Summary:
Ref T1191. I believe we only have three meaningful binary fields across all applications:

  - The general cache may contain gzipped content.
  - The file storage blob may contain arbitrary binary content.
  - The Passphrase secret can store arbitrary binary data (although it currently never does).

This adds Lisk config for binary fields, and uses `%B` where necessary.

Test Plan:
  - Added and executed unit tests.
  - Forced file uploads to use MySQL, uploaded binaries.
  - Disabled the CONFIG_BINARY on the file storage blob and tried again, got an appropraite failure.
  - Tried to register with an account containing a G-Clef, and was stopped before the insert.

Reviewers: btrahan, arice

Reviewed By: arice

CC: arice, chad, aran

Maniphest Tasks: T1191

Differential Revision: https://secure.phabricator.com/D8316
2014-02-23 16:20:46 -08:00
..
application Remove quick create buttons from application launcher 2014-01-29 17:23:50 -08:00
conduit Make most file reads policy-aware 2013-09-30 09:38:13 -07:00
config Support audio files with HTML5 <audio /> 2013-09-27 10:51:25 -07:00
controller Hide upload JS stuff if user isn't logged in 2014-02-21 13:04:23 -08:00
editor Add support for more granular sending of email in application transactions 2013-09-13 15:08:17 -07:00
engine Muck around with Diviner method documentation display 2013-09-08 09:15:22 -07:00
engineselector Delete license headers from files 2012-11-05 11:16:51 -08:00
exception Delete license headers from files 2012-11-05 11:16:51 -08:00
garbagecollector Complete modularization of the GC daemon 2014-01-15 10:02:31 -08:00
lipsum Made Changes to Mock and File generation after pushing some methods to superclass 2013-05-06 13:32:01 -07:00
mail Maniphest - add support for !assign command 2013-10-14 12:29:41 -07:00
management Extend all "ManagementWorkflow" classes from a base class 2013-12-27 13:15:40 -08:00
phid Lock policy queries to their applications 2013-10-21 17:20:27 -07:00
query Provide phragment.getstate and phragment.getpatch Conduit methods 2013-12-11 11:19:23 +11:00
remarkup Add explicit width/height controls for embedded images in Remarkup 2013-11-19 17:33:55 -08:00
storage Convert Phabricator to handle "%s" / "%B" properly 2014-02-23 16:20:46 -08:00
view Hide upload JS stuff if user isn't logged in 2014-02-21 13:04:23 -08:00
PhabricatorImageTransformer.php Fix meme generation for palette PNGs 2013-11-18 15:16:58 -08:00