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
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
..
arcanist/conduit
audit Perform search indexing in the worker queue and respect bin/search index --background 2014-01-14 13:22:56 -08:00
auth Disallow email addresses which will overflow MySQL storage 2014-02-23 10:19:35 -08:00
base Remove quick create buttons from application launcher 2014-01-29 17:23:50 -08:00
cache Convert Phabricator to handle "%s" / "%B" properly 2014-02-23 16:20:46 -08:00
calendar Add crumbs to calendar 2014-02-17 16:08:50 -08:00
chatlog Provide convenience method addTextCrumb() to PhabricatorCrumbsView 2013-12-18 17:47:34 -08:00
conduit Add diffusion.querycommits and deprecate diffusion.getcommits 2014-01-27 17:14:21 -08:00
config Recommend STRICT_ALL_TABLES for every install, not just development installs 2014-02-23 10:59:59 -08:00
conpherence Conpherence - add draft support 2014-02-17 15:57:13 -08:00
countdown [Countdown] fix undefined variable errors 2014-02-05 05:33:31 -08:00
daemon Do not perform write in PhabricatorDaemonLogQuery by default 2014-01-21 14:04:12 -08:00
dashboard Add edit/view plumbing for dashboards and panels 2014-02-03 10:52:15 -08:00
differential Use a more modern design for "no reviewers" warning in Differential 2014-02-21 15:10:58 -08:00
diffusion Add ObjectBox around Diffusion Binary Files 2014-02-22 14:08:04 -08:00
diviner Miniturize the nav buttons 2014-01-31 09:10:32 -08:00
doorkeeper Move PhabricatorTagView to PHUITagView 2014-01-14 14:09:52 -08:00
draft/storage Differential - add DifferentialDraft to track whether revisions have draft feedback or not 2014-02-18 16:25:16 -08:00
drydock Simplify PHUIObjectBoxViews handling of Save and Error states 2014-01-10 09:17:37 -08:00
fact Extend all "ManagementWorkflow" classes from a base class 2013-12-27 13:15:40 -08:00
feed Add a "Send Test Notification" button to make testing the server easier 2014-02-17 16:00:33 -08:00
files Convert Phabricator to handle "%s" / "%B" properly 2014-02-23 16:20:46 -08:00
flag Work around a bug in PHP 5.3-ish with abstract methods in interfaces 2013-10-25 15:58:17 -07:00
harbormaster Add test coverage that our definition of BMP agrees with MySQL 2014-02-23 16:20:38 -08:00
help/controller Make Differential views capability-sensitive 2013-09-26 18:45:04 -07:00
herald Herald - add application search for transcripts 2014-02-21 12:51:25 -08:00
home Hide upload JS stuff if user isn't logged in 2014-02-21 13:04:23 -08:00
legalpad Allow CustomField to provide ApplicationTransaction change details 2014-02-21 11:53:04 -08:00
lipsum Extend all "ManagementWorkflow" classes from a base class 2013-12-27 13:15:40 -08:00
macro Make Projects a PhabricatorSubscribableInterface, but with restricted defaults 2014-02-10 14:29:17 -08:00
mailinglists Simplify PHUIObjectBoxViews handling of Save and Error states 2014-01-10 09:17:37 -08:00
maniphest Separate reading object values out of didSetObject() in CustomField 2014-02-21 14:44:01 -08:00
meta Remove quick create buttons from application launcher 2014-01-29 17:23:50 -08:00
metamta Allow unsubscription from projects 2014-02-11 07:45:56 -08:00
notification Add a "Send Test Notification" button to make testing the server easier 2014-02-17 16:00:33 -08:00
nuance Simplify PHUIObjectBoxViews handling of Save and Error states 2014-01-10 09:17:37 -08:00
oauthserver Initialize used variable 2013-07-09 21:55:27 -07:00
owners Simplify PHUIObjectBoxViews handling of Save and Error states 2014-01-10 09:17:37 -08:00
passphrase Convert Phabricator to handle "%s" / "%B" properly 2014-02-23 16:20:46 -08:00
paste Make Projects a PhabricatorSubscribableInterface, but with restricted defaults 2014-02-10 14:29:17 -08:00
people Disallow email addresses which will overflow MySQL storage 2014-02-23 10:19:35 -08:00
phame Simplify PHUIObjectBoxViews handling of Save and Error states 2014-01-10 09:17:37 -08:00
phid Provide result type information in tokenizers 2014-02-14 10:23:56 -08:00
phlux Allow CustomField to provide ApplicationTransaction change details 2014-02-21 11:53:04 -08:00
pholio Allow CustomField to provide ApplicationTransaction change details 2014-02-21 11:53:04 -08:00
phortune Provide convenience method addTextCrumb() to PhabricatorCrumbsView 2013-12-18 17:47:34 -08:00
phpast Replace some hsprintf() by phutil_tag() 2013-11-11 09:23:23 -08:00
phragment Fix for Phragment ZIP controller 2014-02-15 11:48:07 +11:00
phrequent Lock policy queries to their applications 2013-10-21 17:20:27 -07:00
phriction Make Projects a PhabricatorSubscribableInterface, but with restricted defaults 2014-02-10 14:29:17 -08:00
policy Make the "you can't edit away your edit capability" policy check generic 2014-02-10 14:31:16 -08:00
ponder Allow CustomField to provide ApplicationTransaction change details 2014-02-21 11:53:04 -08:00
project Move many task status hardcodes into ManiphestTaskStatus 2014-02-17 15:59:31 -08:00
releeph Implement "Repository" as a new-style CustomField in Differential 2014-02-21 11:53:37 -08:00
remarkup/conduit Support processing Remarkup in bulk with remarkup.processbulk Conduit method 2013-11-02 16:30:11 -07:00
repository Convert Phabricator to handle "%s" / "%B" properly 2014-02-23 16:20:46 -08:00
search Herald - add application search for transcripts 2014-02-21 12:51:25 -08:00
settings Disallow email addresses which will overflow MySQL storage 2014-02-23 10:19:35 -08:00
slowvote Allow CustomField to provide ApplicationTransaction change details 2014-02-21 11:53:04 -08:00
subscriptions Make Projects a PhabricatorSubscribableInterface, but with restricted defaults 2014-02-10 14:29:17 -08:00
system Replace some hsprintf() by phutil_tag() 2013-11-11 09:23:23 -08:00
tokens Wrap the feed text rendering stuff with htmlspecialchars_decode 2014-02-03 17:05:30 -08:00
transactions Implement a "Reviewers" CustomField 2014-02-21 11:54:32 -08:00
typeahead Make projects appear in all mailable tokenizers 2014-02-18 16:32:41 -08:00
uiexample PHUITimelineView 2014-02-12 09:02:05 -08:00
xhprof Make most file reads policy-aware 2013-09-30 09:38:13 -07:00