Merge branch 'master' into blender-tweaks
Conflicts: conf/default.conf.php resources/celerity/map.php
2
.gitignore
vendored
@@ -13,6 +13,8 @@
|
||||
/conf/local/local.json
|
||||
/conf/local/ENVIRONMENT
|
||||
/conf/local/VERSION
|
||||
/conf/local/HOSTKEY
|
||||
/conf/local/HOSTID
|
||||
|
||||
# Impact Font
|
||||
/resources/font/impact.ttf
|
||||
|
||||
1
bin/almanac
Symbolic link
@@ -0,0 +1 @@
|
||||
../scripts/almanac/manage_almanac.php
|
||||
@@ -8,6 +8,43 @@ function phabricator_read_config_file($original_config) {
|
||||
$config = preg_replace('/\.conf\.php$/', '', $original_config);
|
||||
$full_config_path = $root.'/conf/'.$config.'.conf.php';
|
||||
|
||||
if (!Filesystem::pathExists($full_config_path)) {
|
||||
|
||||
// These are very old configuration files which we used to ship with
|
||||
// by default. File based configuration was de-emphasized once web-based
|
||||
// configuration was built. The actual files were removed to reduce
|
||||
// user confusion over how to configure Phabricator.
|
||||
|
||||
switch ($config) {
|
||||
case 'default':
|
||||
case 'production':
|
||||
return array();
|
||||
case 'development':
|
||||
return array(
|
||||
'phabricator.developer-mode' => true,
|
||||
'darkconsole.enabled' => true,
|
||||
'celerity.minify' => false,
|
||||
);
|
||||
}
|
||||
|
||||
$files = id(new FileFinder($root.'/conf/'))
|
||||
->withType('f')
|
||||
->withSuffix('conf.php')
|
||||
->withFollowSymlinks(true)
|
||||
->find();
|
||||
|
||||
foreach ($files as $key => $file) {
|
||||
$file = trim($file, './');
|
||||
$files[$key] = preg_replace('/\.conf\.php$/', '', $file);
|
||||
}
|
||||
$files = " ".implode("\n ", $files);
|
||||
|
||||
throw new Exception(
|
||||
"CONFIGURATION ERROR\n".
|
||||
"Config file '{$original_config}' does not exist. Valid config files ".
|
||||
"are:\n\n".$files);
|
||||
}
|
||||
|
||||
// Make sure config file errors are reported.
|
||||
$old_error_level = error_reporting(E_ALL | E_STRICT);
|
||||
$old_display_errors = ini_get('display_errors');
|
||||
@@ -21,24 +58,6 @@ function phabricator_read_config_file($original_config) {
|
||||
ini_set('display_errors', $old_display_errors);
|
||||
|
||||
if ($conf === false) {
|
||||
if (!Filesystem::pathExists($full_config_path)) {
|
||||
$files = id(new FileFinder($root.'/conf/'))
|
||||
->withType('f')
|
||||
->withSuffix('conf.php')
|
||||
->withFollowSymlinks(true)
|
||||
->find();
|
||||
|
||||
foreach ($files as $key => $file) {
|
||||
$file = trim($file, './');
|
||||
$files[$key] = preg_replace('/\.conf\.php$/', '', $file);
|
||||
}
|
||||
$files = " ".implode("\n ", $files);
|
||||
|
||||
throw new Exception(
|
||||
"CONFIGURATION ERROR\n".
|
||||
"Config file '{$original_config}' does not exist. Valid config files ".
|
||||
"are:\n\n".$files);
|
||||
}
|
||||
throw new Exception("Failed to read config file '{$config}': {$errors}");
|
||||
}
|
||||
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
<?php
|
||||
|
||||
return array(
|
||||
|
||||
'phabricator.developer-mode' => true,
|
||||
'darkconsole.enabled' => true,
|
||||
'celerity.minify' => false,
|
||||
|
||||
) + phabricator_read_config_file('default');
|
||||
@@ -1,5 +0,0 @@
|
||||
<?php
|
||||
|
||||
return array(
|
||||
|
||||
) + phabricator_read_config_file('default');
|
||||
@@ -7,10 +7,10 @@
|
||||
*/
|
||||
return array(
|
||||
'names' => array(
|
||||
'core.pkg.css' => 'bd69d3a2',
|
||||
'core.pkg.css' => 'a3c49f47',
|
||||
'core.pkg.js' => 'cbdbd552',
|
||||
'darkconsole.pkg.js' => 'df001cab',
|
||||
'differential.pkg.css' => '36884139',
|
||||
'differential.pkg.css' => '0f9c3082',
|
||||
'differential.pkg.js' => '73337d1d',
|
||||
'diffusion.pkg.css' => '591664fa',
|
||||
'diffusion.pkg.js' => 'bfc0737b',
|
||||
@@ -38,7 +38,7 @@ return array(
|
||||
'rsrc/css/application/base/main-menu-view.css' => 'a1c976b2',
|
||||
'rsrc/css/application/base/notification-menu.css' => '6aa0a74b',
|
||||
'rsrc/css/application/base/phabricator-application-launch-view.css' => '5d71008f',
|
||||
'rsrc/css/application/base/standard-page-view.css' => '1b000ec8',
|
||||
'rsrc/css/application/base/standard-page-view.css' => '3f5b9311',
|
||||
'rsrc/css/application/chatlog/chatlog.css' => '852140ff',
|
||||
'rsrc/css/application/config/config-options.css' => '7fedf08b',
|
||||
'rsrc/css/application/config/config-template.css' => '25d446d6',
|
||||
@@ -56,7 +56,7 @@ return array(
|
||||
'rsrc/css/application/differential/add-comment.css' => 'c478bcaa',
|
||||
'rsrc/css/application/differential/changeset-view.css' => 'b2b71e76',
|
||||
'rsrc/css/application/differential/core.css' => '7ac3cabc',
|
||||
'rsrc/css/application/differential/results-table.css' => '239924f9',
|
||||
'rsrc/css/application/differential/results-table.css' => '181aa9d9',
|
||||
'rsrc/css/application/differential/revision-comment.css' => '48186045',
|
||||
'rsrc/css/application/differential/revision-history.css' => '0e8eb855',
|
||||
'rsrc/css/application/differential/revision-list.css' => 'f3c47d33',
|
||||
@@ -150,7 +150,7 @@ return array(
|
||||
'rsrc/css/sprite-conpherence.css' => '3b4a0487',
|
||||
'rsrc/css/sprite-docs.css' => '5f65d0da',
|
||||
'rsrc/css/sprite-gradient.css' => '4bdb98a7',
|
||||
'rsrc/css/sprite-login.css' => '878ee4d8',
|
||||
'rsrc/css/sprite-login.css' => 'cf08ac44',
|
||||
'rsrc/css/sprite-main-header.css' => '92720ee2',
|
||||
'rsrc/css/sprite-menu.css' => '8fead76a',
|
||||
'rsrc/css/sprite-payments.css' => 'cc085d44',
|
||||
@@ -308,11 +308,6 @@ return array(
|
||||
'rsrc/image/people/mckinley.png' => 'fb8f16ce',
|
||||
'rsrc/image/people/taft.png' => 'd7bc402c',
|
||||
'rsrc/image/people/washington.png' => '40dd301c',
|
||||
'rsrc/image/phortune/balanced.png' => 'f6ba2691',
|
||||
'rsrc/image/phortune/paypal.png' => '9747cb33',
|
||||
'rsrc/image/phortune/stripe.png' => 'bfedc2ce',
|
||||
'rsrc/image/phortune/test.png' => '0235d8a7',
|
||||
'rsrc/image/phortune/wepay.png' => 'b37163ce',
|
||||
'rsrc/image/phrequent_active.png' => 'a466a8ed',
|
||||
'rsrc/image/phrequent_inactive.png' => 'bfc15a69',
|
||||
'rsrc/image/search-white.png' => '64cc0d45',
|
||||
@@ -328,8 +323,8 @@ return array(
|
||||
'rsrc/image/sprite-docs-X2.png' => '6dc1adad',
|
||||
'rsrc/image/sprite-docs.png' => '4636297f',
|
||||
'rsrc/image/sprite-gradient.png' => 'ec15a417',
|
||||
'rsrc/image/sprite-login-X2.png' => '3b2182c4',
|
||||
'rsrc/image/sprite-login.png' => '9effdc71',
|
||||
'rsrc/image/sprite-login-X2.png' => '46f95dcc',
|
||||
'rsrc/image/sprite-login.png' => '4e0e66ee',
|
||||
'rsrc/image/sprite-main-header.png' => '83521873',
|
||||
'rsrc/image/sprite-menu-X2.png' => '39d78f97',
|
||||
'rsrc/image/sprite-menu.png' => '259dab45',
|
||||
@@ -524,7 +519,7 @@ return array(
|
||||
'differential-changeset-view-css' => 'b2b71e76',
|
||||
'differential-core-view-css' => '7ac3cabc',
|
||||
'differential-inline-comment-editor' => 'f2441746',
|
||||
'differential-results-table-css' => '239924f9',
|
||||
'differential-results-table-css' => '181aa9d9',
|
||||
'differential-revision-add-comment-css' => 'c478bcaa',
|
||||
'differential-revision-comment-css' => '48186045',
|
||||
'differential-revision-history-css' => '0e8eb855',
|
||||
@@ -739,7 +734,7 @@ return array(
|
||||
'phabricator-side-menu-view-css' => 'a2ccd7bd',
|
||||
'phabricator-slowvote-css' => '266df6a1',
|
||||
'phabricator-source-code-view-css' => '7d346aa4',
|
||||
'phabricator-standard-page-view' => '1b000ec8',
|
||||
'phabricator-standard-page-view' => '3f5b9311',
|
||||
'phabricator-textareautils' => '5c93c52c',
|
||||
'phabricator-title' => '5c1c758c',
|
||||
'phabricator-tooltip' => '3915d490',
|
||||
@@ -820,7 +815,7 @@ return array(
|
||||
'sprite-conpherence-css' => '3b4a0487',
|
||||
'sprite-docs-css' => '5f65d0da',
|
||||
'sprite-gradient-css' => '4bdb98a7',
|
||||
'sprite-login-css' => '878ee4d8',
|
||||
'sprite-login-css' => 'cf08ac44',
|
||||
'sprite-main-header-css' => '92720ee2',
|
||||
'sprite-menu-css' => '8fead76a',
|
||||
'sprite-payments-css' => 'cc085d44',
|
||||
|
||||
BIN
resources/sprite/login_1x/Balanced.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
resources/sprite/login_1x/PayPal.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
resources/sprite/login_1x/Stripe.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
resources/sprite/login_1x/TestPayment.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
resources/sprite/login_1x/WePay.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
resources/sprite/login_2x/Balanced.png
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
BIN
resources/sprite/login_2x/PayPal.png
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
BIN
resources/sprite/login_2x/Stripe.png
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
BIN
resources/sprite/login_2x/TestPayment.png
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
BIN
resources/sprite/login_2x/WePay.png
Normal file
|
After Width: | Height: | Size: 5.9 KiB |
@@ -11,6 +11,11 @@
|
||||
"rule" : ".login-Asana",
|
||||
"hash" : "30df492eab339fa64c9ae9b21bb46a18"
|
||||
},
|
||||
"login-Balanced" : {
|
||||
"name" : "login-Balanced",
|
||||
"rule" : ".login-Balanced",
|
||||
"hash" : "46bbf6e8329889b1ad55a96beacfd2f3"
|
||||
},
|
||||
"login-Bitbucket" : {
|
||||
"name" : "login-Bitbucket",
|
||||
"rule" : ".login-Bitbucket",
|
||||
@@ -76,6 +81,11 @@
|
||||
"rule" : ".login-Openid",
|
||||
"hash" : "9267ffbb8d4e6dee409c4d8fa2d50c0a"
|
||||
},
|
||||
"login-PayPal" : {
|
||||
"name" : "login-PayPal",
|
||||
"rule" : ".login-PayPal",
|
||||
"hash" : "60dc511206dd2923418fa07f84bf2db3"
|
||||
},
|
||||
"login-Persona" : {
|
||||
"name" : "login-Persona",
|
||||
"rule" : ".login-Persona",
|
||||
@@ -86,6 +96,16 @@
|
||||
"rule" : ".login-Phabricator",
|
||||
"hash" : "fad258eb347a1ccf5800b0ee2d8e6e49"
|
||||
},
|
||||
"login-Stripe" : {
|
||||
"name" : "login-Stripe",
|
||||
"rule" : ".login-Stripe",
|
||||
"hash" : "6a71ba00ed2325012650b4bf63bb064d"
|
||||
},
|
||||
"login-TestPayment" : {
|
||||
"name" : "login-TestPayment",
|
||||
"rule" : ".login-TestPayment",
|
||||
"hash" : "9783485db2b5f5035265f4e6d2bc6cd0"
|
||||
},
|
||||
"login-TwitchTV" : {
|
||||
"name" : "login-TwitchTV",
|
||||
"rule" : ".login-TwitchTV",
|
||||
@@ -96,6 +116,11 @@
|
||||
"rule" : ".login-Twitter",
|
||||
"hash" : "0b64983507a720b365474b778a966bab"
|
||||
},
|
||||
"login-WePay" : {
|
||||
"name" : "login-WePay",
|
||||
"rule" : ".login-WePay",
|
||||
"hash" : "7dd33f6271e948b86df5a642d504c995"
|
||||
},
|
||||
"login-WordPressCOM" : {
|
||||
"name" : "login-WordPressCOM",
|
||||
"rule" : ".login-WordPressCOM",
|
||||
|
||||
18
resources/sql/autopatches/20140902.almanacdevice.1.sql
Normal file
@@ -0,0 +1,18 @@
|
||||
CREATE TABLE {$NAMESPACE}_almanac.almanac_device (
|
||||
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||||
phid VARBINARY(64) NOT NULL,
|
||||
name VARCHAR(255) NOT NULL COLLATE utf8_bin,
|
||||
dateCreated INT UNSIGNED NOT NULL,
|
||||
dateModified INT UNSIGNED NOT NULL,
|
||||
UNIQUE KEY `key_phid` (phid)
|
||||
) ENGINE=InnoDB, COLLATE utf8_bin;
|
||||
|
||||
CREATE TABLE {$NAMESPACE}_almanac.almanac_deviceproperty (
|
||||
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||||
devicePHID VARBINARY(64) NOT NULL,
|
||||
`key` VARCHAR(128) NOT NULL COLLATE utf8_bin,
|
||||
value LONGTEXT NOT NULL,
|
||||
dateCreated INT UNSIGNED NOT NULL,
|
||||
dateModified INT UNSIGNED NOT NULL,
|
||||
KEY `key_device` (devicePHID, `key`)
|
||||
) ENGINE=InnoDB, COLLATE utf8_bin;
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE {$NAMESPACE}_user.user_ldapinfo;
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE {$NAMESPACE}_user.user_oauthinfo;
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE {$NAMESPACE}_project.project_affiliation;
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE {$NAMESPACE}_project.project_subproject;
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE {$NAMESPACE}_ponder.ponder_comment;
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE {$NAMESPACE}_search.search_query;
|
||||
2
resources/sql/autopatches/20140927.schema.02.pholio1.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE {$NAMESPACE}_pholio.pholio_transaction_comment
|
||||
DROP KEY `key_draft`;
|
||||
2
resources/sql/autopatches/20140927.schema.03.pholio2.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE {$NAMESPACE}_pholio.pholio_transaction_comment
|
||||
ADD UNIQUE KEY `key_draft` (authorPHID, imageID, transactionPHID);
|
||||
2
resources/sql/autopatches/20140927.schema.04.pholio3.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE {$NAMESPACE}_pholio.pholio_transaction_comment
|
||||
DROP COLUMN mockID;
|
||||
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE {$NAMESPACE}_phragment.phragment_snapshot
|
||||
DROP COLUMN description;
|
||||
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE {$NAMESPACE}_releeph.releeph_request
|
||||
DROP COLUMN summary;
|
||||
1
resources/sql/autopatches/20141001.schema.01.version.sql
Normal file
@@ -0,0 +1 @@
|
||||
DROP TABLE IF EXISTS {$NAMESPACE}_meta_data.schema_version;
|
||||
@@ -0,0 +1,2 @@
|
||||
UPDATE {$NAMESPACE}_maniphest.maniphest_task
|
||||
SET mailKey = SUBSTRING(mailKey, 1, 20) WHERE LENGTH(mailKey) > 20;
|
||||
@@ -0,0 +1 @@
|
||||
DROP TABLE {$NAMESPACE}_harbormaster.lisk_counter;
|
||||
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE {$NAMESPACE}_draft.draft
|
||||
MODIFY metadata LONGTEXT NOT NULL;
|
||||
4
resources/sql/autopatches/20141004.currency.01.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
TRUNCATE TABLE {$NAMESPACE}_fund.fund_backer;
|
||||
|
||||
ALTER TABLE {$NAMESPACE}_fund.fund_backer
|
||||
CHANGE amountInCents amountAsCurrency VARCHAR(64) NOT NULL COLLATE utf8_bin;
|
||||
2
resources/sql/autopatches/20141004.currency.02.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE {$NAMESPACE}_phortune.phortune_account
|
||||
DROP balanceInCents;
|
||||
4
resources/sql/autopatches/20141004.currency.03.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
TRUNCATE {$NAMESPACE}_phortune.phortune_charge;
|
||||
|
||||
ALTER TABLE {$NAMESPACE}_phortune.phortune_charge
|
||||
CHANGE amountInCents amountAsCurrency VARCHAR(64) NOT NULL COLLATE utf8_bin;
|
||||
13
resources/sql/autopatches/20141004.currency.04.sql
Normal file
@@ -0,0 +1,13 @@
|
||||
TRUNCATE {$NAMESPACE}_phortune.phortune_product;
|
||||
|
||||
ALTER TABLE {$NAMESPACE}_phortune.phortune_product
|
||||
DROP status;
|
||||
|
||||
ALTER TABLE {$NAMESPACE}_phortune.phortune_product
|
||||
DROP billingIntervalInMonths;
|
||||
|
||||
ALTER TABLE {$NAMESPACE}_phortune.phortune_product
|
||||
DROP trialPeriodInDays;
|
||||
|
||||
ALTER TABLE {$NAMESPACE}_phortune.phortune_product
|
||||
CHANGE priceInCents priceAsCurrency VARCHAR(64) NOT NULL collate utf8_bin;
|
||||
8
resources/sql/autopatches/20141004.currency.05.sql
Normal file
@@ -0,0 +1,8 @@
|
||||
TRUNCATE {$NAMESPACE}_phortune.phortune_purchase;
|
||||
|
||||
ALTER TABLE {$NAMESPACE}_phortune.phortune_purchase
|
||||
DROP totalPriceInCents;
|
||||
|
||||
ALTER TABLE {$NAMESPACE}_phortune.phortune_purchase
|
||||
CHANGE basePriceInCents basePriceAsCurrency VARCHAR(64)
|
||||
NOT NULL collate utf8_bin;
|
||||
2
resources/sql/autopatches/20141004.currency.06.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE {$NAMESPACE}_phortune.phortune_product
|
||||
DROP productType;
|
||||
4
resources/sql/autopatches/20141004.harborliskcounter.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
CREATE TABLE `{$NAMESPACE}_harbormaster`.`lisk_counter` (
|
||||
counterName VARCHAR(64) COLLATE utf8_bin PRIMARY KEY,
|
||||
counterValue BIGINT UNSIGNED NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
22
resources/sql/autopatches/20141005.phortuneproduct.sql
Normal file
@@ -0,0 +1,22 @@
|
||||
DROP TABLE {$NAMESPACE}_phortune.phortune_producttransaction;
|
||||
|
||||
ALTER TABLE {$NAMESPACE}_phortune.phortune_product
|
||||
DROP productName;
|
||||
|
||||
ALTER TABLE {$NAMESPACE}_phortune.phortune_product
|
||||
DROP priceAsCurrency;
|
||||
|
||||
ALTER TABLE {$NAMESPACE}_phortune.phortune_product
|
||||
ADD productClassKey BINARY(12) NOT NULL;
|
||||
|
||||
ALTER TABLE {$NAMESPACE}_phortune.phortune_product
|
||||
ADD productClass VARCHAR(128) NOT NULL COLLATE utf8_bin;
|
||||
|
||||
ALTER TABLE {$NAMESPACE}_phortune.phortune_product
|
||||
ADD productRefKey BINARY(12) NOT NULL;
|
||||
|
||||
ALTER TABLE {$NAMESPACE}_phortune.phortune_product
|
||||
ADD productRef VARCHAR(128) NOT NULL COLLATE utf8_bin;
|
||||
|
||||
ALTER TABLE {$NAMESPACE}_phortune.phortune_product
|
||||
ADD UNIQUE KEY `key_product` (productClassKey, productRefKey);
|
||||
4
resources/sql/autopatches/20141006.phortunecart.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
TRUNCATE TABLE {$NAMESPACE}_phortune.phortune_cart;
|
||||
|
||||
ALTER TABLE {$NAMESPACE}_phortune.phortune_cart
|
||||
ADD cartClass VARCHAR(128) NOT NULL COLLATE utf8_bin;
|
||||
10
resources/sql/autopatches/20141006.phortunemerchant.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
CREATE TABLE {$NAMESPACE}_phortune.phortune_merchant (
|
||||
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||||
phid VARCHAR(64) NOT NULL COLLATE utf8_bin,
|
||||
name VARCHAR(255) NOT NULL COLLATE utf8_bin,
|
||||
viewPolicy VARCHAR(64) NOT NULL COLLATE utf8_bin,
|
||||
editPolicy VARCHAR(64) NOT NULL COLLATE utf8_bin,
|
||||
dateCreated INT UNSIGNED NOT NULL,
|
||||
dateModified INT UNSIGNED NOT NULL,
|
||||
UNIQUE KEY `key_phid` (phid)
|
||||
) ENGINE=InnoDB, COLLATE=utf8_bin;
|
||||
19
resources/sql/autopatches/20141006.phortunemerchantx.sql
Normal file
@@ -0,0 +1,19 @@
|
||||
CREATE TABLE {$NAMESPACE}_phortune.phortune_merchanttransaction (
|
||||
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||||
phid VARCHAR(64) COLLATE utf8_bin NOT NULL,
|
||||
authorPHID VARCHAR(64) COLLATE utf8_bin NOT NULL,
|
||||
objectPHID VARCHAR(64) COLLATE utf8_bin NOT NULL,
|
||||
viewPolicy VARCHAR(64) COLLATE utf8_bin NOT NULL,
|
||||
editPolicy VARCHAR(64) COLLATE utf8_bin NOT NULL,
|
||||
commentPHID VARCHAR(64) COLLATE utf8_bin DEFAULT NULL,
|
||||
commentVersion INT UNSIGNED NOT NULL,
|
||||
transactionType VARCHAR(32) COLLATE utf8_bin NOT NULL,
|
||||
oldValue LONGTEXT COLLATE utf8_bin NOT NULL,
|
||||
newValue LONGTEXT COLLATE utf8_bin NOT NULL,
|
||||
contentSource LONGTEXT COLLATE utf8_bin NOT NULL,
|
||||
metadata LONGTEXT COLLATE utf8_bin NOT NULL,
|
||||
dateCreated INT UNSIGNED NOT NULL,
|
||||
dateModified INT UNSIGNED NOT NULL,
|
||||
UNIQUE KEY `key_phid` (`phid`),
|
||||
KEY `key_object` (`objectPHID`)
|
||||
) ENGINE=InnoDB, COLLATE utf8_general_ci;
|
||||
2
resources/sql/autopatches/20141007.fundmerchant.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE {$NAMESPACE}_fund.fund_initiative
|
||||
ADD merchantPHID VARBINARY(64);
|
||||
2
resources/sql/autopatches/20141007.fundrisks.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE {$NAMESPACE}_fund.fund_initiative
|
||||
ADD risks LONGTEXT NOT NULL COLLATE utf8_bin;
|
||||
4
resources/sql/autopatches/20141007.fundtotal.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
ALTER TABLE {$NAMESPACE}_fund.fund_initiative
|
||||
ADD totalAsCurrency VARCHAR(64) NOT NULL COLLATE utf8_bin;
|
||||
|
||||
UPDATE {$NAMESPACE}_fund.fund_initiative SET totalAsCurrency = '0.00 USD';
|
||||
@@ -0,0 +1,5 @@
|
||||
ALTER TABLE {$NAMESPACE}_phortune.phortune_cart
|
||||
ADD merchantPHID VARBINARY(64) NOT NULL;
|
||||
|
||||
ALTER TABLE {$NAMESPACE}_phortune.phortune_cart
|
||||
ADD KEY `key_merchant` (merchantPHID);
|
||||
16
resources/sql/autopatches/20141007.phortunecharge.sql
Normal file
@@ -0,0 +1,16 @@
|
||||
TRUNCATE TABLE {$NAMESPACE}_phortune.phortune_charge;
|
||||
|
||||
ALTER TABLE {$NAMESPACE}_phortune.phortune_charge
|
||||
DROP paymentProviderKey;
|
||||
|
||||
ALTER TABLE {$NAMESPACE}_phortune.phortune_charge
|
||||
ADD merchantPHID VARBINARY(64) NOT NULL;
|
||||
|
||||
ALTER TABLE {$NAMESPACE}_phortune.phortune_charge
|
||||
ADD providerPHID VARBINARY(64) NOT NULL;
|
||||
|
||||
ALTER TABLE {$NAMESPACE}_phortune.phortune_charge
|
||||
ADD KEY `key_merchant` (merchantPHID);
|
||||
|
||||
ALTER TABLE {$NAMESPACE}_phortune.phortune_charge
|
||||
ADD KEY `key_provider` (providerPHID);
|
||||
16
resources/sql/autopatches/20141007.phortunepayment.sql
Normal file
@@ -0,0 +1,16 @@
|
||||
TRUNCATE TABLE {$NAMESPACE}_phortune.phortune_paymentmethod;
|
||||
|
||||
ALTER TABLE {$NAMESPACE}_phortune.phortune_paymentmethod
|
||||
DROP providerType;
|
||||
|
||||
ALTER TABLE {$NAMESPACE}_phortune.phortune_paymentmethod
|
||||
DROP providerDomain;
|
||||
|
||||
ALTER TABLE {$NAMESPACE}_phortune.phortune_paymentmethod
|
||||
ADD merchantPHID VARBINARY(64) NOT NULL;
|
||||
|
||||
ALTER TABLE {$NAMESPACE}_phortune.phortune_paymentmethod
|
||||
ADD providerPHID VARBINARY(64) NOT NULL;
|
||||
|
||||
ALTER TABLE {$NAMESPACE}_phortune.phortune_paymentmethod
|
||||
ADD KEY `key_merchant` (merchantPHID, accountPHID);
|
||||
12
resources/sql/autopatches/20141007.phortuneprovider.sql
Normal file
@@ -0,0 +1,12 @@
|
||||
CREATE TABLE {$NAMESPACE}_phortune.phortune_paymentproviderconfig (
|
||||
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||||
phid VARCHAR(64) NOT NULL COLLATE utf8_bin,
|
||||
merchantPHID VARCHAR(64) NOT NULL COLLATE utf8_bin,
|
||||
providerClassKey BINARY(12) NOT NULL,
|
||||
providerClass VARCHAR(128) NOT NULL COLLATE utf8_bin,
|
||||
metadata LONGTEXT NOT NULL COLLATE utf8_bin,
|
||||
dateCreated INT UNSIGNED NOT NULL,
|
||||
dateModified INT UNSIGNED NOT NULL,
|
||||
UNIQUE KEY `key_phid` (phid),
|
||||
UNIQUE KEY `key_merchant` (merchantPHID, providerClassKey)
|
||||
) ENGINE=InnoDB, COLLATE=utf8_bin;
|
||||
19
resources/sql/autopatches/20141007.phortuneproviderx.sql
Normal file
@@ -0,0 +1,19 @@
|
||||
CREATE TABLE {$NAMESPACE}_phortune.phortune_paymentproviderconfigtransaction (
|
||||
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||||
phid VARCHAR(64) COLLATE utf8_bin NOT NULL,
|
||||
authorPHID VARCHAR(64) COLLATE utf8_bin NOT NULL,
|
||||
objectPHID VARCHAR(64) COLLATE utf8_bin NOT NULL,
|
||||
viewPolicy VARCHAR(64) COLLATE utf8_bin NOT NULL,
|
||||
editPolicy VARCHAR(64) COLLATE utf8_bin NOT NULL,
|
||||
commentPHID VARCHAR(64) COLLATE utf8_bin DEFAULT NULL,
|
||||
commentVersion INT UNSIGNED NOT NULL,
|
||||
transactionType VARCHAR(32) COLLATE utf8_bin NOT NULL,
|
||||
oldValue LONGTEXT COLLATE utf8_bin NOT NULL,
|
||||
newValue LONGTEXT COLLATE utf8_bin NOT NULL,
|
||||
contentSource LONGTEXT COLLATE utf8_bin NOT NULL,
|
||||
metadata LONGTEXT COLLATE utf8_bin NOT NULL,
|
||||
dateCreated INT UNSIGNED NOT NULL,
|
||||
dateModified INT UNSIGNED NOT NULL,
|
||||
UNIQUE KEY `key_phid` (`phid`),
|
||||
KEY `key_object` (`objectPHID`)
|
||||
) ENGINE=InnoDB, COLLATE utf8_general_ci;
|
||||
2
resources/sql/autopatches/20141008.phortunemerchdesc.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE {$NAMESPACE}_phortune.phortune_merchant
|
||||
ADD description LONGTEXT NOT NULL COLLATE utf8_bin;
|
||||
5
resources/sql/autopatches/20141008.phortuneprovdis.sql
Normal file
@@ -0,0 +1,5 @@
|
||||
ALTER TABLE {$NAMESPACE}_phortune.phortune_paymentproviderconfig
|
||||
ADD isEnabled BOOL NOT NULL;
|
||||
|
||||
UPDATE {$NAMESPACE}_phortune.phortune_paymentproviderconfig
|
||||
SET isEnabled = 1;
|
||||
11
resources/sql/autopatches/20141008.phortunerefund.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
ALTER TABLE {$NAMESPACE}_phortune.phortune_charge
|
||||
ADD amountRefundedAsCurrency VARCHAR(64) NOT NULL COLLATE utf8_bin;
|
||||
|
||||
UPDATE {$NAMESPACE}_phortune.phortune_charge
|
||||
SET amountRefundedAsCurrency = '0.00 USD';
|
||||
|
||||
ALTER TABLE {$NAMESPACE}_phortune.phortune_charge
|
||||
ADD refundingPHID VARBINARY(64);
|
||||
|
||||
ALTER TABLE {$NAMESPACE}_phortune.phortune_charge
|
||||
ADD refundedChargePHID VARBINARY(64);
|
||||
2
resources/sql/autopatches/20141010.fundmailkey.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE {$NAMESPACE}_fund.fund_initiative
|
||||
ADD mailKey BINARY(20) NOT NULL;
|
||||
@@ -4,7 +4,7 @@ CREATE TABLE {$NAMESPACE}_user.user_sshkey (
|
||||
key (userPHID),
|
||||
name varchar(255),
|
||||
keyType varchar(255),
|
||||
keyBody varchar(32768) BINARY,
|
||||
keyBody LONGBLOB,
|
||||
unique key (keyBody(128)),
|
||||
keyComment varchar(255),
|
||||
dateCreated INT UNSIGNED NOT NULL,
|
||||
|
||||
@@ -1,212 +1,5 @@
|
||||
<?php
|
||||
|
||||
// NOTE: If you need to make any significant updates to this to deal with
|
||||
// future changes to objects, it's probably better to just wipe the whole
|
||||
// migration. This feature doesn't see overwhelming amounts of use, and users
|
||||
// who do use it can recreate their queries fairly easily with the new
|
||||
// interface. By the time this needs to be updated, the vast majority of
|
||||
// users who it impacts will likely have migrated their data already.
|
||||
|
||||
$table = new ManiphestTask();
|
||||
$conn_w = $table->establishConnection('w');
|
||||
|
||||
$search_table = new PhabricatorSearchQuery();
|
||||
$search_conn_w = $search_table->establishConnection('w');
|
||||
|
||||
// See T1812. This is an old status constant from the time of this migration.
|
||||
$old_open_status = 0;
|
||||
|
||||
echo "Updating saved Maniphest queries...\n";
|
||||
$rows = new LiskRawMigrationIterator($conn_w, 'maniphest_savedquery');
|
||||
foreach ($rows as $row) {
|
||||
$id = $row['id'];
|
||||
echo "Updating query {$id}...\n";
|
||||
|
||||
$data = queryfx_one(
|
||||
$search_conn_w,
|
||||
'SELECT parameters FROM %T WHERE queryKey = %s',
|
||||
$search_table->getTableName(),
|
||||
$row['queryKey']);
|
||||
if (!$data) {
|
||||
echo "Unable to locate query data.\n";
|
||||
continue;
|
||||
}
|
||||
|
||||
$data = json_decode($data['parameters'], true);
|
||||
if (!is_array($data)) {
|
||||
echo "Unable to decode query data.\n";
|
||||
continue;
|
||||
}
|
||||
|
||||
if (idx($data, 'view') != 'custom') {
|
||||
echo "Query is not a custom query.\n";
|
||||
continue;
|
||||
}
|
||||
|
||||
$new_data = array(
|
||||
'limit' => 1000,
|
||||
);
|
||||
|
||||
if (isset($data['lowPriority']) || isset($data['highPriority'])) {
|
||||
$lo = idx($data, 'lowPriority');
|
||||
$hi = idx($data, 'highPriority');
|
||||
|
||||
$priorities = array();
|
||||
$all = ManiphestTaskPriority::getTaskPriorityMap();
|
||||
foreach ($all as $pri => $name) {
|
||||
if (($lo !== null) && ($pri < $lo)) {
|
||||
continue;
|
||||
}
|
||||
if (($hi !== null) && ($pri > $hi)) {
|
||||
continue;
|
||||
}
|
||||
$priorities[] = $pri;
|
||||
}
|
||||
|
||||
if (count($priorities) != count($all)) {
|
||||
$new_data['priorities'] = $priorities;
|
||||
}
|
||||
}
|
||||
|
||||
foreach ($data as $key => $value) {
|
||||
switch ($key) {
|
||||
case 'fullTextSearch':
|
||||
if (strlen($value)) {
|
||||
$new_data['fulltext'] = $value;
|
||||
}
|
||||
break;
|
||||
case 'userPHIDs':
|
||||
// This was (I think?) one-off data provied to specific hard-coded
|
||||
// queries.
|
||||
break;
|
||||
case 'projectPHIDs':
|
||||
foreach ($value as $k => $v) {
|
||||
if ($v === null || $v === ManiphestTaskOwner::PROJECT_NO_PROJECT) {
|
||||
$new_data['withNoProject'] = true;
|
||||
unset($value[$k]);
|
||||
break;
|
||||
}
|
||||
}
|
||||
if ($value) {
|
||||
$new_data['allProjectPHIDs'] = $value;
|
||||
}
|
||||
break;
|
||||
case 'anyProjectPHIDs':
|
||||
if ($value) {
|
||||
$new_data['anyProjectPHIDs'] = $value;
|
||||
}
|
||||
break;
|
||||
case 'anyUserProjectPHIDs':
|
||||
if ($value) {
|
||||
$new_data['userProjectPHIDs'] = $value;
|
||||
}
|
||||
break;
|
||||
case 'excludeProjectPHIDs':
|
||||
if ($value) {
|
||||
$new_data['excludeProjectPHIDs'] = $value;
|
||||
}
|
||||
break;
|
||||
case 'ownerPHIDs':
|
||||
foreach ($value as $k => $v) {
|
||||
if ($v === null || $v === ManiphestTaskOwner::OWNER_UP_FOR_GRABS) {
|
||||
$new_data['withUnassigned'] = true;
|
||||
unset($value[$k]);
|
||||
break;
|
||||
}
|
||||
}
|
||||
if ($value) {
|
||||
$new_data['assignedPHIDs'] = $value;
|
||||
}
|
||||
break;
|
||||
case 'authorPHIDs':
|
||||
if ($value) {
|
||||
$new_data['authorPHIDs'] = $value;
|
||||
}
|
||||
break;
|
||||
case 'taskIDs':
|
||||
if ($value) {
|
||||
$new_data['ids'] = $value;
|
||||
}
|
||||
break;
|
||||
case 'status':
|
||||
$include_open = !empty($value['open']);
|
||||
$include_closed = !empty($value['closed']);
|
||||
|
||||
if ($include_open xor $include_closed) {
|
||||
if ($include_open) {
|
||||
$new_data['statuses'] = array(
|
||||
$old_open_status,
|
||||
);
|
||||
} else {
|
||||
$statuses = array();
|
||||
foreach (ManiphestTaskStatus::getTaskStatusMap() as $status => $n) {
|
||||
if ($status != $old_open_status) {
|
||||
$statuses[] = $status;
|
||||
}
|
||||
}
|
||||
$new_data['statuses'] = $statuses;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 'order':
|
||||
$map = array(
|
||||
'priority' => 'priority',
|
||||
'updated' => 'updated',
|
||||
'created' => 'created',
|
||||
'title' => 'title',
|
||||
);
|
||||
if (isset($map[$value])) {
|
||||
$new_data['order'] = $map[$value];
|
||||
} else {
|
||||
$new_data['order'] = 'priority';
|
||||
}
|
||||
break;
|
||||
case 'group':
|
||||
$map = array(
|
||||
'priority' => 'priority',
|
||||
'owner' => 'assigned',
|
||||
'status' => 'status',
|
||||
'project' => 'project',
|
||||
'none' => 'none',
|
||||
);
|
||||
if (isset($map[$value])) {
|
||||
$new_data['group'] = $map[$value];
|
||||
} else {
|
||||
$new_data['group'] = 'priority';
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
$saved = id(new PhabricatorSavedQuery())
|
||||
->setEngineClassName('ManiphestTaskSearchEngine');
|
||||
|
||||
foreach ($new_data as $key => $value) {
|
||||
$saved->setParameter($key, $value);
|
||||
}
|
||||
|
||||
try {
|
||||
$saved->save();
|
||||
} catch (AphrontDuplicateKeyQueryException $ex) {
|
||||
// Ignore this, we just have duplicate saved queries.
|
||||
}
|
||||
|
||||
$named = id(new PhabricatorNamedQuery())
|
||||
->setEngineClassName('ManiphestTaskSearchEngine')
|
||||
->setQueryKey($saved->getQueryKey())
|
||||
->setQueryName($row['name'])
|
||||
->setUserPHID($row['userPHID']);
|
||||
|
||||
try {
|
||||
$named->save();
|
||||
} catch (Exception $ex) {
|
||||
// The user already has this query under another name. This can occur if
|
||||
// the migration runs twice.
|
||||
echo "Failed to save named query.\n";
|
||||
continue;
|
||||
}
|
||||
|
||||
echo "OK.\n";
|
||||
}
|
||||
|
||||
echo "Done.\n";
|
||||
// This was a complex migration that modernized old search queries. It was
|
||||
// removed after giving installs a year to perform it because it would be
|
||||
// unreasonably complex to maintain and users can easily recreate queries.
|
||||
|
||||
21
scripts/almanac/manage_almanac.php
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
$root = dirname(dirname(dirname(__FILE__)));
|
||||
require_once $root.'/scripts/__init_script__.php';
|
||||
|
||||
$args = new PhutilArgumentParser($argv);
|
||||
$args->setTagline('manage host directory');
|
||||
$args->setSynopsis(<<<EOSYNOPSIS
|
||||
**almanac** __commmand__ [__options__]
|
||||
Manage Almanac stuff. NEW AND EXPERIMENTAL.
|
||||
|
||||
EOSYNOPSIS
|
||||
);
|
||||
$args->parseStandardArguments();
|
||||
|
||||
$workflows = id(new PhutilSymbolLoader())
|
||||
->setAncestorClass('AlmanacManagementWorkflow')
|
||||
->loadObjects();
|
||||
$workflows[] = new PhutilHelpArgumentWorkflow();
|
||||
$args->parseWorkflows($workflows);
|
||||
@@ -98,7 +98,7 @@ foreach (Futures($futures)->limit(8) as $file => $future) {
|
||||
}
|
||||
}
|
||||
|
||||
function print_symbol($file, $type, $token, $context=null) {
|
||||
function print_symbol($file, $type, $token, $context = null) {
|
||||
$parts = array(
|
||||
$context ? $context->getConcreteString() : '',
|
||||
// variable tokens are `$name`, not just `name`, so strip the $ off of
|
||||
|
||||
@@ -9,6 +9,14 @@
|
||||
phutil_register_library_map(array(
|
||||
'__library_version__' => 2,
|
||||
'class' => array(
|
||||
'AlmanacConduitUtil' => 'applications/almanac/util/AlmanacConduitUtil.php',
|
||||
'AlmanacDAO' => 'applications/almanac/storage/AlmanacDAO.php',
|
||||
'AlmanacDevice' => 'applications/almanac/storage/AlmanacDevice.php',
|
||||
'AlmanacDevicePHIDType' => 'applications/almanac/phid/AlmanacDevicePHIDType.php',
|
||||
'AlmanacDeviceProperty' => 'applications/almanac/storage/AlmanacDeviceProperty.php',
|
||||
'AlmanacDeviceQuery' => 'applications/almanac/query/AlmanacDeviceQuery.php',
|
||||
'AlmanacManagementRegisterWorkflow' => 'applications/almanac/management/AlmanacManagementRegisterWorkflow.php',
|
||||
'AlmanacManagementWorkflow' => 'applications/almanac/management/AlmanacManagementWorkflow.php',
|
||||
'Aphront304Response' => 'aphront/response/Aphront304Response.php',
|
||||
'Aphront400Response' => 'aphront/response/Aphront400Response.php',
|
||||
'Aphront403Response' => 'aphront/response/Aphront403Response.php',
|
||||
@@ -637,7 +645,6 @@ phutil_register_library_map(array(
|
||||
'DrydockResourceViewController' => 'applications/drydock/controller/DrydockResourceViewController.php',
|
||||
'DrydockSFTPFilesystemInterface' => 'applications/drydock/interface/filesystem/DrydockSFTPFilesystemInterface.php',
|
||||
'DrydockSSHCommandInterface' => 'applications/drydock/interface/command/DrydockSSHCommandInterface.php',
|
||||
'DrydockSchemaSpec' => 'applications/drydock/storage/DrydockSchemaSpec.php',
|
||||
'DrydockWebrootInterface' => 'applications/drydock/interface/webroot/DrydockWebrootInterface.php',
|
||||
'DrydockWorkingCopyBlueprintImplementation' => 'applications/drydock/blueprint/DrydockWorkingCopyBlueprintImplementation.php',
|
||||
'FeedConduitAPIMethod' => 'applications/feed/conduit/FeedConduitAPIMethod.php',
|
||||
@@ -659,9 +666,11 @@ phutil_register_library_map(array(
|
||||
'FlagEditConduitAPIMethod' => 'applications/flag/conduit/FlagEditConduitAPIMethod.php',
|
||||
'FlagQueryConduitAPIMethod' => 'applications/flag/conduit/FlagQueryConduitAPIMethod.php',
|
||||
'FundBacker' => 'applications/fund/storage/FundBacker.php',
|
||||
'FundBackerCart' => 'applications/fund/phortune/FundBackerCart.php',
|
||||
'FundBackerEditor' => 'applications/fund/editor/FundBackerEditor.php',
|
||||
'FundBackerListController' => 'applications/fund/controller/FundBackerListController.php',
|
||||
'FundBackerPHIDType' => 'applications/fund/phid/FundBackerPHIDType.php',
|
||||
'FundBackerProduct' => 'applications/fund/phortune/FundBackerProduct.php',
|
||||
'FundBackerQuery' => 'applications/fund/query/FundBackerQuery.php',
|
||||
'FundBackerSearchEngine' => 'applications/fund/query/FundBackerSearchEngine.php',
|
||||
'FundBackerTransaction' => 'applications/fund/storage/FundBackerTransaction.php',
|
||||
@@ -679,6 +688,7 @@ phutil_register_library_map(array(
|
||||
'FundInitiativePHIDType' => 'applications/fund/phid/FundInitiativePHIDType.php',
|
||||
'FundInitiativeQuery' => 'applications/fund/query/FundInitiativeQuery.php',
|
||||
'FundInitiativeRemarkupRule' => 'applications/fund/remarkup/FundInitiativeRemarkupRule.php',
|
||||
'FundInitiativeReplyHandler' => 'applications/fund/mail/FundInitiativeReplyHandler.php',
|
||||
'FundInitiativeSearchEngine' => 'applications/fund/query/FundInitiativeSearchEngine.php',
|
||||
'FundInitiativeTransaction' => 'applications/fund/storage/FundInitiativeTransaction.php',
|
||||
'FundInitiativeTransactionQuery' => 'applications/fund/query/FundInitiativeTransactionQuery.php',
|
||||
@@ -710,7 +720,6 @@ phutil_register_library_map(array(
|
||||
'HarbormasterBuildPlanQuery' => 'applications/harbormaster/query/HarbormasterBuildPlanQuery.php',
|
||||
'HarbormasterBuildPlanSearchEngine' => 'applications/harbormaster/query/HarbormasterBuildPlanSearchEngine.php',
|
||||
'HarbormasterBuildPlanTransaction' => 'applications/harbormaster/storage/configuration/HarbormasterBuildPlanTransaction.php',
|
||||
'HarbormasterBuildPlanTransactionComment' => 'applications/harbormaster/storage/configuration/HarbormasterBuildPlanTransactionComment.php',
|
||||
'HarbormasterBuildPlanTransactionQuery' => 'applications/harbormaster/query/HarbormasterBuildPlanTransactionQuery.php',
|
||||
'HarbormasterBuildQuery' => 'applications/harbormaster/query/HarbormasterBuildQuery.php',
|
||||
'HarbormasterBuildStep' => 'applications/harbormaster/storage/configuration/HarbormasterBuildStep.php',
|
||||
@@ -762,6 +771,7 @@ phutil_register_library_map(array(
|
||||
'HarbormasterQueryBuildablesConduitAPIMethod' => 'applications/harbormaster/conduit/HarbormasterQueryBuildablesConduitAPIMethod.php',
|
||||
'HarbormasterQueryBuildsConduitAPIMethod' => 'applications/harbormaster/conduit/HarbormasterQueryBuildsConduitAPIMethod.php',
|
||||
'HarbormasterRemarkupRule' => 'applications/harbormaster/remarkup/HarbormasterRemarkupRule.php',
|
||||
'HarbormasterSchemaSpec' => 'applications/harbormaster/storage/HarbormasterSchemaSpec.php',
|
||||
'HarbormasterScratchTable' => 'applications/harbormaster/storage/HarbormasterScratchTable.php',
|
||||
'HarbormasterSendMessageConduitAPIMethod' => 'applications/harbormaster/conduit/HarbormasterSendMessageConduitAPIMethod.php',
|
||||
'HarbormasterSleepBuildStepImplementation' => 'applications/harbormaster/step/HarbormasterSleepBuildStepImplementation.php',
|
||||
@@ -814,11 +824,13 @@ phutil_register_library_map(array(
|
||||
'HeraldRulePHIDType' => 'applications/herald/phid/HeraldRulePHIDType.php',
|
||||
'HeraldRuleQuery' => 'applications/herald/query/HeraldRuleQuery.php',
|
||||
'HeraldRuleSearchEngine' => 'applications/herald/query/HeraldRuleSearchEngine.php',
|
||||
'HeraldRuleTestCase' => 'applications/herald/storage/__tests__/HeraldRuleTestCase.php',
|
||||
'HeraldRuleTransaction' => 'applications/herald/storage/HeraldRuleTransaction.php',
|
||||
'HeraldRuleTransactionComment' => 'applications/herald/storage/HeraldRuleTransactionComment.php',
|
||||
'HeraldRuleTranscript' => 'applications/herald/storage/transcript/HeraldRuleTranscript.php',
|
||||
'HeraldRuleTypeConfig' => 'applications/herald/config/HeraldRuleTypeConfig.php',
|
||||
'HeraldRuleViewController' => 'applications/herald/controller/HeraldRuleViewController.php',
|
||||
'HeraldSchemaSpec' => 'applications/herald/storage/HeraldSchemaSpec.php',
|
||||
'HeraldTestConsoleController' => 'applications/herald/controller/HeraldTestConsoleController.php',
|
||||
'HeraldTransactionQuery' => 'applications/herald/query/HeraldTransactionQuery.php',
|
||||
'HeraldTranscript' => 'applications/herald/storage/transcript/HeraldTranscript.php',
|
||||
@@ -1126,6 +1138,7 @@ phutil_register_library_map(array(
|
||||
'PhabricatorActionListView' => 'view/layout/PhabricatorActionListView.php',
|
||||
'PhabricatorActionView' => 'view/layout/PhabricatorActionView.php',
|
||||
'PhabricatorAllCapsTranslation' => 'infrastructure/internationalization/translation/PhabricatorAllCapsTranslation.php',
|
||||
'PhabricatorAlmanacApplication' => 'applications/almanac/application/PhabricatorAlmanacApplication.php',
|
||||
'PhabricatorAmazonAuthProvider' => 'applications/auth/provider/PhabricatorAmazonAuthProvider.php',
|
||||
'PhabricatorAnchorView' => 'view/layout/PhabricatorAnchorView.php',
|
||||
'PhabricatorAphlictManagementBuildWorkflow' => 'applications/aphlict/management/PhabricatorAphlictManagementBuildWorkflow.php',
|
||||
@@ -1200,7 +1213,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorAuditManagementWorkflow' => 'applications/audit/management/PhabricatorAuditManagementWorkflow.php',
|
||||
'PhabricatorAuditPreviewController' => 'applications/audit/controller/PhabricatorAuditPreviewController.php',
|
||||
'PhabricatorAuditReplyHandler' => 'applications/audit/mail/PhabricatorAuditReplyHandler.php',
|
||||
'PhabricatorAuditSchemaSpec' => 'applications/audit/storage/PhabricatorAuditSchemaSpec.php',
|
||||
'PhabricatorAuditStatusConstants' => 'applications/audit/constants/PhabricatorAuditStatusConstants.php',
|
||||
'PhabricatorAuditTransaction' => 'applications/audit/storage/PhabricatorAuditTransaction.php',
|
||||
'PhabricatorAuditTransactionComment' => 'applications/audit/storage/PhabricatorAuditTransactionComment.php',
|
||||
@@ -1245,7 +1257,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorAuthProviderConfigTransactionQuery' => 'applications/auth/query/PhabricatorAuthProviderConfigTransactionQuery.php',
|
||||
'PhabricatorAuthRegisterController' => 'applications/auth/controller/PhabricatorAuthRegisterController.php',
|
||||
'PhabricatorAuthRevokeTokenController' => 'applications/auth/controller/PhabricatorAuthRevokeTokenController.php',
|
||||
'PhabricatorAuthSchemaSpec' => 'applications/auth/storage/PhabricatorAuthSchemaSpec.php',
|
||||
'PhabricatorAuthSession' => 'applications/auth/storage/PhabricatorAuthSession.php',
|
||||
'PhabricatorAuthSessionEngine' => 'applications/auth/engine/PhabricatorAuthSessionEngine.php',
|
||||
'PhabricatorAuthSessionGarbageCollector' => 'applications/auth/garbagecollector/PhabricatorAuthSessionGarbageCollector.php',
|
||||
@@ -1307,7 +1318,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorCalendarEventViewController' => 'applications/calendar/controller/PhabricatorCalendarEventViewController.php',
|
||||
'PhabricatorCalendarHoliday' => 'applications/calendar/storage/PhabricatorCalendarHoliday.php',
|
||||
'PhabricatorCalendarHolidayTestCase' => 'applications/calendar/storage/__tests__/PhabricatorCalendarHolidayTestCase.php',
|
||||
'PhabricatorCalendarSchemaSpec' => 'applications/calendar/storage/PhabricatorCalendarSchemaSpec.php',
|
||||
'PhabricatorCalendarViewController' => 'applications/calendar/controller/PhabricatorCalendarViewController.php',
|
||||
'PhabricatorCampfireProtocolAdapter' => 'infrastructure/daemon/bot/adapter/PhabricatorCampfireProtocolAdapter.php',
|
||||
'PhabricatorCelerityTestCase' => '__tests__/PhabricatorCelerityTestCase.php',
|
||||
@@ -1324,7 +1334,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorChatLogEvent' => 'applications/chatlog/storage/PhabricatorChatLogEvent.php',
|
||||
'PhabricatorChatLogEventType' => 'applications/chatlog/constants/PhabricatorChatLogEventType.php',
|
||||
'PhabricatorChatLogQuery' => 'applications/chatlog/query/PhabricatorChatLogQuery.php',
|
||||
'PhabricatorChatLogSchemaSpec' => 'applications/chatlog/storage/PhabricatorChatLogSchemaSpec.php',
|
||||
'PhabricatorCommitBranchesField' => 'applications/repository/customfield/PhabricatorCommitBranchesField.php',
|
||||
'PhabricatorCommitCustomField' => 'applications/repository/customfield/PhabricatorCommitCustomField.php',
|
||||
'PhabricatorCommitSearchEngine' => 'applications/audit/query/PhabricatorCommitSearchEngine.php',
|
||||
@@ -1343,7 +1352,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorConduitLogQuery' => 'applications/conduit/query/PhabricatorConduitLogQuery.php',
|
||||
'PhabricatorConduitMethodCallLog' => 'applications/conduit/storage/PhabricatorConduitMethodCallLog.php',
|
||||
'PhabricatorConduitMethodQuery' => 'applications/conduit/query/PhabricatorConduitMethodQuery.php',
|
||||
'PhabricatorConduitSchemaSpec' => 'applications/conduit/storage/PhabricatorConduitSchemaSpec.php',
|
||||
'PhabricatorConduitSearchEngine' => 'applications/conduit/query/PhabricatorConduitSearchEngine.php',
|
||||
'PhabricatorConduitTokenController' => 'applications/conduit/controller/PhabricatorConduitTokenController.php',
|
||||
'PhabricatorConfigAllController' => 'applications/config/controller/PhabricatorConfigAllController.php',
|
||||
@@ -1351,6 +1359,7 @@ phutil_register_library_map(array(
|
||||
'PhabricatorConfigColumnSchema' => 'applications/config/schema/PhabricatorConfigColumnSchema.php',
|
||||
'PhabricatorConfigConfigPHIDType' => 'applications/config/phid/PhabricatorConfigConfigPHIDType.php',
|
||||
'PhabricatorConfigController' => 'applications/config/controller/PhabricatorConfigController.php',
|
||||
'PhabricatorConfigCoreSchemaSpec' => 'applications/config/schema/PhabricatorConfigCoreSchemaSpec.php',
|
||||
'PhabricatorConfigDatabaseController' => 'applications/config/controller/PhabricatorConfigDatabaseController.php',
|
||||
'PhabricatorConfigDatabaseIssueController' => 'applications/config/controller/PhabricatorConfigDatabaseIssueController.php',
|
||||
'PhabricatorConfigDatabaseSchema' => 'applications/config/schema/PhabricatorConfigDatabaseSchema.php',
|
||||
@@ -1376,6 +1385,7 @@ phutil_register_library_map(array(
|
||||
'PhabricatorConfigManagementDeleteWorkflow' => 'applications/config/management/PhabricatorConfigManagementDeleteWorkflow.php',
|
||||
'PhabricatorConfigManagementGetWorkflow' => 'applications/config/management/PhabricatorConfigManagementGetWorkflow.php',
|
||||
'PhabricatorConfigManagementListWorkflow' => 'applications/config/management/PhabricatorConfigManagementListWorkflow.php',
|
||||
'PhabricatorConfigManagementMigrateWorkflow' => 'applications/config/management/PhabricatorConfigManagementMigrateWorkflow.php',
|
||||
'PhabricatorConfigManagementSetWorkflow' => 'applications/config/management/PhabricatorConfigManagementSetWorkflow.php',
|
||||
'PhabricatorConfigManagementWorkflow' => 'applications/config/management/PhabricatorConfigManagementWorkflow.php',
|
||||
'PhabricatorConfigOption' => 'applications/config/option/PhabricatorConfigOption.php',
|
||||
@@ -1385,7 +1395,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorConfigSchemaQuery' => 'applications/config/schema/PhabricatorConfigSchemaQuery.php',
|
||||
'PhabricatorConfigSchemaSpec' => 'applications/config/schema/PhabricatorConfigSchemaSpec.php',
|
||||
'PhabricatorConfigServerSchema' => 'applications/config/schema/PhabricatorConfigServerSchema.php',
|
||||
'PhabricatorConfigSettingsSchemaSpec' => 'applications/config/storage/PhabricatorConfigSettingsSchemaSpec.php',
|
||||
'PhabricatorConfigSource' => 'infrastructure/env/PhabricatorConfigSource.php',
|
||||
'PhabricatorConfigStackSource' => 'infrastructure/env/PhabricatorConfigStackSource.php',
|
||||
'PhabricatorConfigStorageSchema' => 'applications/config/schema/PhabricatorConfigStorageSchema.php',
|
||||
@@ -1412,7 +1421,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorCountdownListController' => 'applications/countdown/controller/PhabricatorCountdownListController.php',
|
||||
'PhabricatorCountdownQuery' => 'applications/countdown/query/PhabricatorCountdownQuery.php',
|
||||
'PhabricatorCountdownRemarkupRule' => 'applications/countdown/remarkup/PhabricatorCountdownRemarkupRule.php',
|
||||
'PhabricatorCountdownSchemaSpec' => 'applications/countdown/storage/PhabricatorCountdownSchemaSpec.php',
|
||||
'PhabricatorCountdownSearchEngine' => 'applications/countdown/query/PhabricatorCountdownSearchEngine.php',
|
||||
'PhabricatorCountdownView' => 'applications/countdown/view/PhabricatorCountdownView.php',
|
||||
'PhabricatorCountdownViewController' => 'applications/countdown/controller/PhabricatorCountdownViewController.php',
|
||||
@@ -1458,7 +1466,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorDaemonManagementStopWorkflow' => 'applications/daemon/management/PhabricatorDaemonManagementStopWorkflow.php',
|
||||
'PhabricatorDaemonManagementWorkflow' => 'applications/daemon/management/PhabricatorDaemonManagementWorkflow.php',
|
||||
'PhabricatorDaemonReference' => 'infrastructure/daemon/control/PhabricatorDaemonReference.php',
|
||||
'PhabricatorDaemonSchemaSpec' => 'applications/daemon/storage/PhabricatorDaemonSchemaSpec.php',
|
||||
'PhabricatorDaemonTaskGarbageCollector' => 'applications/daemon/garbagecollector/PhabricatorDaemonTaskGarbageCollector.php',
|
||||
'PhabricatorDaemonsApplication' => 'applications/daemon/application/PhabricatorDaemonsApplication.php',
|
||||
'PhabricatorDashboard' => 'applications/dashboard/storage/PhabricatorDashboard.php',
|
||||
@@ -1529,7 +1536,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorDoorkeeperApplication' => 'applications/doorkeeper/application/PhabricatorDoorkeeperApplication.php',
|
||||
'PhabricatorDraft' => 'applications/draft/storage/PhabricatorDraft.php',
|
||||
'PhabricatorDraftDAO' => 'applications/draft/storage/PhabricatorDraftDAO.php',
|
||||
'PhabricatorDraftSchemaSpec' => 'applications/draft/storage/PhabricatorDraftSchemaSpec.php',
|
||||
'PhabricatorDrydockApplication' => 'applications/drydock/application/PhabricatorDrydockApplication.php',
|
||||
'PhabricatorEdgeConfig' => 'infrastructure/edges/constants/PhabricatorEdgeConfig.php',
|
||||
'PhabricatorEdgeConstants' => 'infrastructure/edges/constants/PhabricatorEdgeConstants.php',
|
||||
@@ -1591,7 +1597,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorFeedManagementWorkflow' => 'applications/feed/management/PhabricatorFeedManagementWorkflow.php',
|
||||
'PhabricatorFeedPublicStreamController' => 'applications/feed/controller/PhabricatorFeedPublicStreamController.php',
|
||||
'PhabricatorFeedQuery' => 'applications/feed/query/PhabricatorFeedQuery.php',
|
||||
'PhabricatorFeedSchemaSpec' => 'applications/feed/storage/PhabricatorFeedSchemaSpec.php',
|
||||
'PhabricatorFeedSearchEngine' => 'applications/feed/query/PhabricatorFeedSearchEngine.php',
|
||||
'PhabricatorFeedStory' => 'applications/feed/story/PhabricatorFeedStory.php',
|
||||
'PhabricatorFeedStoryAggregate' => 'applications/feed/story/PhabricatorFeedStoryAggregate.php',
|
||||
@@ -1658,7 +1663,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorFlagEditController' => 'applications/flag/controller/PhabricatorFlagEditController.php',
|
||||
'PhabricatorFlagListController' => 'applications/flag/controller/PhabricatorFlagListController.php',
|
||||
'PhabricatorFlagQuery' => 'applications/flag/query/PhabricatorFlagQuery.php',
|
||||
'PhabricatorFlagSchemaSpec' => 'applications/flag/storage/PhabricatorFlagSchemaSpec.php',
|
||||
'PhabricatorFlagSearchEngine' => 'applications/flag/query/PhabricatorFlagSearchEngine.php',
|
||||
'PhabricatorFlagSelectControl' => 'applications/flag/view/PhabricatorFlagSelectControl.php',
|
||||
'PhabricatorFlaggableInterface' => 'applications/flag/interface/PhabricatorFlaggableInterface.php',
|
||||
@@ -1720,6 +1724,7 @@ phutil_register_library_map(array(
|
||||
'PhabricatorLipsumManagementWorkflow' => 'applications/lipsum/management/PhabricatorLipsumManagementWorkflow.php',
|
||||
'PhabricatorLipsumMondrianArtist' => 'applications/lipsum/image/PhabricatorLipsumMondrianArtist.php',
|
||||
'PhabricatorLiskDAO' => 'infrastructure/storage/lisk/PhabricatorLiskDAO.php',
|
||||
'PhabricatorLiskSerializer' => 'infrastructure/storage/lisk/PhabricatorLiskSerializer.php',
|
||||
'PhabricatorLocalDiskFileStorageEngine' => 'applications/files/engine/PhabricatorLocalDiskFileStorageEngine.php',
|
||||
'PhabricatorLocalTimeTestCase' => 'view/__tests__/PhabricatorLocalTimeTestCase.php',
|
||||
'PhabricatorLogoutController' => 'applications/auth/controller/PhabricatorLogoutController.php',
|
||||
@@ -1851,7 +1856,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorOAuthClientListController' => 'applications/oauthserver/controller/client/PhabricatorOAuthClientListController.php',
|
||||
'PhabricatorOAuthClientViewController' => 'applications/oauthserver/controller/client/PhabricatorOAuthClientViewController.php',
|
||||
'PhabricatorOAuthResponse' => 'applications/oauthserver/PhabricatorOAuthResponse.php',
|
||||
'PhabricatorOAuthSchemaSpec' => 'applications/oauthserver/storage/PhabricatorOAuthSchemaSpec.php',
|
||||
'PhabricatorOAuthServer' => 'applications/oauthserver/PhabricatorOAuthServer.php',
|
||||
'PhabricatorOAuthServerAccessToken' => 'applications/oauthserver/storage/PhabricatorOAuthServerAccessToken.php',
|
||||
'PhabricatorOAuthServerApplication' => 'applications/oauthserver/application/PhabricatorOAuthServerApplication.php',
|
||||
@@ -1968,7 +1972,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorPholioConfigOptions' => 'applications/pholio/config/PhabricatorPholioConfigOptions.php',
|
||||
'PhabricatorPholioMockTestDataGenerator' => 'applications/pholio/lipsum/PhabricatorPholioMockTestDataGenerator.php',
|
||||
'PhabricatorPhortuneApplication' => 'applications/phortune/application/PhabricatorPhortuneApplication.php',
|
||||
'PhabricatorPhortuneConfigOptions' => 'applications/phortune/option/PhabricatorPhortuneConfigOptions.php',
|
||||
'PhabricatorPhragmentApplication' => 'applications/phragment/application/PhabricatorPhragmentApplication.php',
|
||||
'PhabricatorPhrequentApplication' => 'applications/phrequent/application/PhabricatorPhrequentApplication.php',
|
||||
'PhabricatorPhrequentConfigOptions' => 'applications/phrequent/config/PhabricatorPhrequentConfigOptions.php',
|
||||
@@ -2030,7 +2033,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorProjectConfiguredCustomField' => 'applications/project/customfield/PhabricatorProjectConfiguredCustomField.php',
|
||||
'PhabricatorProjectConstants' => 'applications/project/constants/PhabricatorProjectConstants.php',
|
||||
'PhabricatorProjectController' => 'applications/project/controller/PhabricatorProjectController.php',
|
||||
'PhabricatorProjectCreateController' => 'applications/project/controller/PhabricatorProjectCreateController.php',
|
||||
'PhabricatorProjectCustomField' => 'applications/project/customfield/PhabricatorProjectCustomField.php',
|
||||
'PhabricatorProjectCustomFieldNumericIndex' => 'applications/project/storage/PhabricatorProjectCustomFieldNumericIndex.php',
|
||||
'PhabricatorProjectCustomFieldStorage' => 'applications/project/storage/PhabricatorProjectCustomFieldStorage.php',
|
||||
@@ -2056,6 +2058,7 @@ phutil_register_library_map(array(
|
||||
'PhabricatorProjectProjectHasObjectEdgeType' => 'applications/project/edge/PhabricatorProjectProjectHasObjectEdgeType.php',
|
||||
'PhabricatorProjectProjectPHIDType' => 'applications/project/phid/PhabricatorProjectProjectPHIDType.php',
|
||||
'PhabricatorProjectQuery' => 'applications/project/query/PhabricatorProjectQuery.php',
|
||||
'PhabricatorProjectSchemaSpec' => 'applications/project/storage/PhabricatorProjectSchemaSpec.php',
|
||||
'PhabricatorProjectSearchEngine' => 'applications/project/query/PhabricatorProjectSearchEngine.php',
|
||||
'PhabricatorProjectSearchIndexer' => 'applications/project/search/PhabricatorProjectSearchIndexer.php',
|
||||
'PhabricatorProjectSlug' => 'applications/project/storage/PhabricatorProjectSlug.php',
|
||||
@@ -2211,7 +2214,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorSearchManagementIndexWorkflow' => 'applications/search/management/PhabricatorSearchManagementIndexWorkflow.php',
|
||||
'PhabricatorSearchManagementWorkflow' => 'applications/search/management/PhabricatorSearchManagementWorkflow.php',
|
||||
'PhabricatorSearchOrderController' => 'applications/search/controller/PhabricatorSearchOrderController.php',
|
||||
'PhabricatorSearchQuery' => 'applications/search/storage/PhabricatorSearchQuery.php',
|
||||
'PhabricatorSearchRelationship' => 'applications/search/constants/PhabricatorSearchRelationship.php',
|
||||
'PhabricatorSearchResultView' => 'applications/search/view/PhabricatorSearchResultView.php',
|
||||
'PhabricatorSearchSelectController' => 'applications/search/controller/PhabricatorSearchSelectController.php',
|
||||
@@ -2309,10 +2311,12 @@ phutil_register_library_map(array(
|
||||
'PhabricatorStatusController' => 'applications/system/controller/PhabricatorStatusController.php',
|
||||
'PhabricatorStorageFixtureScopeGuard' => 'infrastructure/testing/fixture/PhabricatorStorageFixtureScopeGuard.php',
|
||||
'PhabricatorStorageManagementAPI' => 'infrastructure/storage/management/PhabricatorStorageManagementAPI.php',
|
||||
'PhabricatorStorageManagementAdjustWorkflow' => 'infrastructure/storage/management/workflow/PhabricatorStorageManagementAdjustWorkflow.php',
|
||||
'PhabricatorStorageManagementDatabasesWorkflow' => 'infrastructure/storage/management/workflow/PhabricatorStorageManagementDatabasesWorkflow.php',
|
||||
'PhabricatorStorageManagementDestroyWorkflow' => 'infrastructure/storage/management/workflow/PhabricatorStorageManagementDestroyWorkflow.php',
|
||||
'PhabricatorStorageManagementDumpWorkflow' => 'infrastructure/storage/management/workflow/PhabricatorStorageManagementDumpWorkflow.php',
|
||||
'PhabricatorStorageManagementProbeWorkflow' => 'infrastructure/storage/management/workflow/PhabricatorStorageManagementProbeWorkflow.php',
|
||||
'PhabricatorStorageManagementQuickstartWorkflow' => 'infrastructure/storage/management/workflow/PhabricatorStorageManagementQuickstartWorkflow.php',
|
||||
'PhabricatorStorageManagementStatusWorkflow' => 'infrastructure/storage/management/workflow/PhabricatorStorageManagementStatusWorkflow.php',
|
||||
'PhabricatorStorageManagementUpgradeWorkflow' => 'infrastructure/storage/management/workflow/PhabricatorStorageManagementUpgradeWorkflow.php',
|
||||
'PhabricatorStorageManagementWorkflow' => 'infrastructure/storage/management/workflow/PhabricatorStorageManagementWorkflow.php',
|
||||
@@ -2341,7 +2345,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorSystemRemoveDestroyWorkflow' => 'applications/system/management/PhabricatorSystemRemoveDestroyWorkflow.php',
|
||||
'PhabricatorSystemRemoveLogWorkflow' => 'applications/system/management/PhabricatorSystemRemoveLogWorkflow.php',
|
||||
'PhabricatorSystemRemoveWorkflow' => 'applications/system/management/PhabricatorSystemRemoveWorkflow.php',
|
||||
'PhabricatorSystemSchemaSpec' => 'applications/system/storage/PhabricatorSystemSchemaSpec.php',
|
||||
'PhabricatorSystemSelectEncodingController' => 'applications/system/controller/PhabricatorSystemSelectEncodingController.php',
|
||||
'PhabricatorSystemSelectHighlightController' => 'applications/system/controller/PhabricatorSystemSelectHighlightController.php',
|
||||
'PhabricatorTaskmasterDaemon' => 'infrastructure/daemon/workers/PhabricatorTaskmasterDaemon.php',
|
||||
@@ -2369,7 +2372,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorTokenQuery' => 'applications/tokens/query/PhabricatorTokenQuery.php',
|
||||
'PhabricatorTokenReceiverInterface' => 'applications/tokens/interface/PhabricatorTokenReceiverInterface.php',
|
||||
'PhabricatorTokenReceiverQuery' => 'applications/tokens/query/PhabricatorTokenReceiverQuery.php',
|
||||
'PhabricatorTokenSchemaSpec' => 'applications/tokens/storage/PhabricatorTokenSchemaSpec.php',
|
||||
'PhabricatorTokenTokenPHIDType' => 'applications/tokens/phid/PhabricatorTokenTokenPHIDType.php',
|
||||
'PhabricatorTokenUIEventListener' => 'applications/tokens/event/PhabricatorTokenUIEventListener.php',
|
||||
'PhabricatorTokensApplication' => 'applications/tokens/application/PhabricatorTokensApplication.php',
|
||||
@@ -2424,6 +2426,7 @@ phutil_register_library_map(array(
|
||||
'PhabricatorUserRealNameField' => 'applications/people/customfield/PhabricatorUserRealNameField.php',
|
||||
'PhabricatorUserRolesField' => 'applications/people/customfield/PhabricatorUserRolesField.php',
|
||||
'PhabricatorUserSSHKey' => 'applications/settings/storage/PhabricatorUserSSHKey.php',
|
||||
'PhabricatorUserSchemaSpec' => 'applications/people/storage/PhabricatorUserSchemaSpec.php',
|
||||
'PhabricatorUserSearchIndexer' => 'applications/people/search/PhabricatorUserSearchIndexer.php',
|
||||
'PhabricatorUserSinceField' => 'applications/people/customfield/PhabricatorUserSinceField.php',
|
||||
'PhabricatorUserStatusField' => 'applications/people/customfield/PhabricatorUserStatusField.php',
|
||||
@@ -2438,7 +2441,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorWorkerDAO' => 'infrastructure/daemon/workers/storage/PhabricatorWorkerDAO.php',
|
||||
'PhabricatorWorkerLeaseQuery' => 'infrastructure/daemon/workers/query/PhabricatorWorkerLeaseQuery.php',
|
||||
'PhabricatorWorkerPermanentFailureException' => 'infrastructure/daemon/workers/exception/PhabricatorWorkerPermanentFailureException.php',
|
||||
'PhabricatorWorkerSchemaSpec' => 'infrastructure/daemon/workers/storage/PhabricatorWorkerSchemaSpec.php',
|
||||
'PhabricatorWorkerTask' => 'infrastructure/daemon/workers/storage/PhabricatorWorkerTask.php',
|
||||
'PhabricatorWorkerTaskData' => 'infrastructure/daemon/workers/storage/PhabricatorWorkerTaskData.php',
|
||||
'PhabricatorWorkerTaskDetailController' => 'applications/daemon/controller/PhabricatorWorkerTaskDetailController.php',
|
||||
@@ -2456,7 +2458,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorXHPASTViewPanelController' => 'applications/phpast/controller/PhabricatorXHPASTViewPanelController.php',
|
||||
'PhabricatorXHPASTViewParseTree' => 'applications/phpast/storage/PhabricatorXHPASTViewParseTree.php',
|
||||
'PhabricatorXHPASTViewRunController' => 'applications/phpast/controller/PhabricatorXHPASTViewRunController.php',
|
||||
'PhabricatorXHPASTViewSchemaSpec' => 'applications/phpast/storage/PhabricatorXHPASTViewSchemaSpec.php',
|
||||
'PhabricatorXHPASTViewStreamController' => 'applications/phpast/controller/PhabricatorXHPASTViewStreamController.php',
|
||||
'PhabricatorXHPASTViewTreeController' => 'applications/phpast/controller/PhabricatorXHPASTViewTreeController.php',
|
||||
'PhabricatorXHProfApplication' => 'applications/xhprof/application/PhabricatorXHProfApplication.php',
|
||||
@@ -2468,7 +2469,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorXHProfProfileView' => 'applications/xhprof/view/PhabricatorXHProfProfileView.php',
|
||||
'PhabricatorXHProfSample' => 'applications/xhprof/storage/PhabricatorXHProfSample.php',
|
||||
'PhabricatorXHProfSampleListController' => 'applications/xhprof/controller/PhabricatorXHProfSampleListController.php',
|
||||
'PhabricatorXHProfSchemaSpec' => 'applications/xhprof/storage/PhabricatorXHProfSchemaSpec.php',
|
||||
'PhabricatorYoutubeRemarkupRule' => 'infrastructure/markup/rule/PhabricatorYoutubeRemarkupRule.php',
|
||||
'PhameBasicBlogSkin' => 'applications/phame/skins/PhameBasicBlogSkin.php',
|
||||
'PhameBasicTemplateBlogSkin' => 'applications/phame/skins/PhameBasicTemplateBlogSkin.php',
|
||||
@@ -2508,7 +2508,6 @@ phutil_register_library_map(array(
|
||||
'PhluxDAO' => 'applications/phlux/storage/PhluxDAO.php',
|
||||
'PhluxEditController' => 'applications/phlux/controller/PhluxEditController.php',
|
||||
'PhluxListController' => 'applications/phlux/controller/PhluxListController.php',
|
||||
'PhluxSchemaSpec' => 'applications/phlux/storage/PhluxSchemaSpec.php',
|
||||
'PhluxTransaction' => 'applications/phlux/storage/PhluxTransaction.php',
|
||||
'PhluxTransactionQuery' => 'applications/phlux/query/PhluxTransactionQuery.php',
|
||||
'PhluxVariable' => 'applications/phlux/storage/PhluxVariable.php',
|
||||
@@ -2544,6 +2543,7 @@ phutil_register_library_map(array(
|
||||
'PholioMockViewController' => 'applications/pholio/controller/PholioMockViewController.php',
|
||||
'PholioRemarkupRule' => 'applications/pholio/remarkup/PholioRemarkupRule.php',
|
||||
'PholioReplyHandler' => 'applications/pholio/mail/PholioReplyHandler.php',
|
||||
'PholioSchemaSpec' => 'applications/pholio/storage/PholioSchemaSpec.php',
|
||||
'PholioSearchIndexer' => 'applications/pholio/search/PholioSearchIndexer.php',
|
||||
'PholioTransaction' => 'applications/pholio/storage/PholioTransaction.php',
|
||||
'PholioTransactionComment' => 'applications/pholio/storage/PholioTransactionComment.php',
|
||||
@@ -2552,54 +2552,86 @@ phutil_register_library_map(array(
|
||||
'PholioTransactionView' => 'applications/pholio/view/PholioTransactionView.php',
|
||||
'PholioUploadedImageView' => 'applications/pholio/view/PholioUploadedImageView.php',
|
||||
'PhortuneAccount' => 'applications/phortune/storage/PhortuneAccount.php',
|
||||
'PhortuneAccountEditController' => 'applications/phortune/controller/PhortuneAccountEditController.php',
|
||||
'PhortuneAccountEditor' => 'applications/phortune/editor/PhortuneAccountEditor.php',
|
||||
'PhortuneAccountHasMemberEdgeType' => 'applications/phortune/edge/PhortuneAccountHasMemberEdgeType.php',
|
||||
'PhortuneAccountListController' => 'applications/phortune/controller/PhortuneAccountListController.php',
|
||||
'PhortuneAccountPHIDType' => 'applications/phortune/phid/PhortuneAccountPHIDType.php',
|
||||
'PhortuneAccountQuery' => 'applications/phortune/query/PhortuneAccountQuery.php',
|
||||
'PhortuneAccountTransaction' => 'applications/phortune/storage/PhortuneAccountTransaction.php',
|
||||
'PhortuneAccountTransactionQuery' => 'applications/phortune/query/PhortuneAccountTransactionQuery.php',
|
||||
'PhortuneAccountViewController' => 'applications/phortune/controller/PhortuneAccountViewController.php',
|
||||
'PhortuneBalancedPaymentProvider' => 'applications/phortune/provider/PhortuneBalancedPaymentProvider.php',
|
||||
'PhortuneCart' => 'applications/phortune/storage/PhortuneCart.php',
|
||||
'PhortuneCartAcceptController' => 'applications/phortune/controller/PhortuneCartAcceptController.php',
|
||||
'PhortuneCartCancelController' => 'applications/phortune/controller/PhortuneCartCancelController.php',
|
||||
'PhortuneCartCheckoutController' => 'applications/phortune/controller/PhortuneCartCheckoutController.php',
|
||||
'PhortuneCartController' => 'applications/phortune/controller/PhortuneCartController.php',
|
||||
'PhortuneCartImplementation' => 'applications/phortune/cart/PhortuneCartImplementation.php',
|
||||
'PhortuneCartListController' => 'applications/phortune/controller/PhortuneCartListController.php',
|
||||
'PhortuneCartPHIDType' => 'applications/phortune/phid/PhortuneCartPHIDType.php',
|
||||
'PhortuneCartQuery' => 'applications/phortune/query/PhortuneCartQuery.php',
|
||||
'PhortuneCartSearchEngine' => 'applications/phortune/query/PhortuneCartSearchEngine.php',
|
||||
'PhortuneCartUpdateController' => 'applications/phortune/controller/PhortuneCartUpdateController.php',
|
||||
'PhortuneCartViewController' => 'applications/phortune/controller/PhortuneCartViewController.php',
|
||||
'PhortuneCharge' => 'applications/phortune/storage/PhortuneCharge.php',
|
||||
'PhortuneChargePHIDType' => 'applications/phortune/phid/PhortuneChargePHIDType.php',
|
||||
'PhortuneChargeQuery' => 'applications/phortune/query/PhortuneChargeQuery.php',
|
||||
'PhortuneConstants' => 'applications/phortune/constants/PhortuneConstants.php',
|
||||
'PhortuneController' => 'applications/phortune/controller/PhortuneController.php',
|
||||
'PhortuneCreditCardForm' => 'applications/phortune/view/PhortuneCreditCardForm.php',
|
||||
'PhortuneCurrency' => 'applications/phortune/currency/PhortuneCurrency.php',
|
||||
'PhortuneCurrencySerializer' => 'applications/phortune/currency/PhortuneCurrencySerializer.php',
|
||||
'PhortuneCurrencyTestCase' => 'applications/phortune/currency/__tests__/PhortuneCurrencyTestCase.php',
|
||||
'PhortuneDAO' => 'applications/phortune/storage/PhortuneDAO.php',
|
||||
'PhortuneErrCode' => 'applications/phortune/constants/PhortuneErrCode.php',
|
||||
'PhortuneLandingController' => 'applications/phortune/controller/PhortuneLandingController.php',
|
||||
'PhortuneMemberHasAccountEdgeType' => 'applications/phortune/edge/PhortuneMemberHasAccountEdgeType.php',
|
||||
'PhortuneMerchant' => 'applications/phortune/storage/PhortuneMerchant.php',
|
||||
'PhortuneMerchantCapability' => 'applications/phortune/capability/PhortuneMerchantCapability.php',
|
||||
'PhortuneMerchantController' => 'applications/phortune/controller/PhortuneMerchantController.php',
|
||||
'PhortuneMerchantEditController' => 'applications/phortune/controller/PhortuneMerchantEditController.php',
|
||||
'PhortuneMerchantEditor' => 'applications/phortune/editor/PhortuneMerchantEditor.php',
|
||||
'PhortuneMerchantListController' => 'applications/phortune/controller/PhortuneMerchantListController.php',
|
||||
'PhortuneMerchantPHIDType' => 'applications/phortune/phid/PhortuneMerchantPHIDType.php',
|
||||
'PhortuneMerchantQuery' => 'applications/phortune/query/PhortuneMerchantQuery.php',
|
||||
'PhortuneMerchantSearchEngine' => 'applications/phortune/query/PhortuneMerchantSearchEngine.php',
|
||||
'PhortuneMerchantTransaction' => 'applications/phortune/storage/PhortuneMerchantTransaction.php',
|
||||
'PhortuneMerchantTransactionQuery' => 'applications/phortune/query/PhortuneMerchantTransactionQuery.php',
|
||||
'PhortuneMerchantViewController' => 'applications/phortune/controller/PhortuneMerchantViewController.php',
|
||||
'PhortuneMonthYearExpiryControl' => 'applications/phortune/control/PhortuneMonthYearExpiryControl.php',
|
||||
'PhortuneMultiplePaymentProvidersException' => 'applications/phortune/exception/PhortuneMultiplePaymentProvidersException.php',
|
||||
'PhortuneNoPaymentProviderException' => 'applications/phortune/exception/PhortuneNoPaymentProviderException.php',
|
||||
'PhortuneNotImplementedException' => 'applications/phortune/exception/PhortuneNotImplementedException.php',
|
||||
'PhortunePayPalPaymentProvider' => 'applications/phortune/provider/PhortunePayPalPaymentProvider.php',
|
||||
'PhortunePaymentMethod' => 'applications/phortune/storage/PhortunePaymentMethod.php',
|
||||
'PhortunePaymentMethodCreateController' => 'applications/phortune/controller/PhortunePaymentMethodCreateController.php',
|
||||
'PhortunePaymentMethodDisableController' => 'applications/phortune/controller/PhortunePaymentMethodDisableController.php',
|
||||
'PhortunePaymentMethodEditController' => 'applications/phortune/controller/PhortunePaymentMethodEditController.php',
|
||||
'PhortunePaymentMethodPHIDType' => 'applications/phortune/phid/PhortunePaymentMethodPHIDType.php',
|
||||
'PhortunePaymentMethodQuery' => 'applications/phortune/query/PhortunePaymentMethodQuery.php',
|
||||
'PhortunePaymentProvider' => 'applications/phortune/provider/PhortunePaymentProvider.php',
|
||||
'PhortunePaymentProviderTestCase' => 'applications/phortune/provider/__tests__/PhortunePaymentProviderTestCase.php',
|
||||
'PhortunePaypalPaymentProvider' => 'applications/phortune/provider/PhortunePaypalPaymentProvider.php',
|
||||
'PhortunePaymentProviderConfig' => 'applications/phortune/storage/PhortunePaymentProviderConfig.php',
|
||||
'PhortunePaymentProviderConfigEditor' => 'applications/phortune/editor/PhortunePaymentProviderConfigEditor.php',
|
||||
'PhortunePaymentProviderConfigQuery' => 'applications/phortune/query/PhortunePaymentProviderConfigQuery.php',
|
||||
'PhortunePaymentProviderConfigTransaction' => 'applications/phortune/storage/PhortunePaymentProviderConfigTransaction.php',
|
||||
'PhortunePaymentProviderConfigTransactionQuery' => 'applications/phortune/query/PhortunePaymentProviderConfigTransactionQuery.php',
|
||||
'PhortunePaymentProviderPHIDType' => 'applications/phortune/phid/PhortunePaymentProviderPHIDType.php',
|
||||
'PhortuneProduct' => 'applications/phortune/storage/PhortuneProduct.php',
|
||||
'PhortuneProductEditController' => 'applications/phortune/controller/PhortuneProductEditController.php',
|
||||
'PhortuneProductEditor' => 'applications/phortune/editor/PhortuneProductEditor.php',
|
||||
'PhortuneProductImplementation' => 'applications/phortune/product/PhortuneProductImplementation.php',
|
||||
'PhortuneProductListController' => 'applications/phortune/controller/PhortuneProductListController.php',
|
||||
'PhortuneProductPurchaseController' => 'applications/phortune/controller/PhortuneProductPurchaseController.php',
|
||||
'PhortuneProductPHIDType' => 'applications/phortune/phid/PhortuneProductPHIDType.php',
|
||||
'PhortuneProductQuery' => 'applications/phortune/query/PhortuneProductQuery.php',
|
||||
'PhortuneProductTransaction' => 'applications/phortune/storage/PhortuneProductTransaction.php',
|
||||
'PhortuneProductTransactionQuery' => 'applications/phortune/query/PhortuneProductTransactionQuery.php',
|
||||
'PhortuneProductViewController' => 'applications/phortune/controller/PhortuneProductViewController.php',
|
||||
'PhortuneProviderController' => 'applications/phortune/controller/PhortuneProviderController.php',
|
||||
'PhortuneProviderActionController' => 'applications/phortune/controller/PhortuneProviderActionController.php',
|
||||
'PhortuneProviderDisableController' => 'applications/phortune/controller/PhortuneProviderDisableController.php',
|
||||
'PhortuneProviderEditController' => 'applications/phortune/controller/PhortuneProviderEditController.php',
|
||||
'PhortunePurchase' => 'applications/phortune/storage/PhortunePurchase.php',
|
||||
'PhortunePurchasePHIDType' => 'applications/phortune/phid/PhortunePurchasePHIDType.php',
|
||||
'PhortunePurchaseQuery' => 'applications/phortune/query/PhortunePurchaseQuery.php',
|
||||
'PhortunePurchaseViewController' => 'applications/phortune/controller/PhortunePurchaseViewController.php',
|
||||
'PhortuneSchemaSpec' => 'applications/phortune/storage/PhortuneSchemaSpec.php',
|
||||
'PhortuneStripePaymentProvider' => 'applications/phortune/provider/PhortuneStripePaymentProvider.php',
|
||||
'PhortuneTestExtraPaymentProvider' => 'applications/phortune/provider/__tests__/PhortuneTestExtraPaymentProvider.php',
|
||||
'PhortuneTestPaymentProvider' => 'applications/phortune/provider/PhortuneTestPaymentProvider.php',
|
||||
'PhortuneWePayPaymentProvider' => 'applications/phortune/provider/PhortuneWePayPaymentProvider.php',
|
||||
'PhragmentBrowseController' => 'applications/phragment/controller/PhragmentBrowseController.php',
|
||||
@@ -2621,6 +2653,7 @@ phutil_register_library_map(array(
|
||||
'PhragmentPolicyController' => 'applications/phragment/controller/PhragmentPolicyController.php',
|
||||
'PhragmentQueryFragmentsConduitAPIMethod' => 'applications/phragment/conduit/PhragmentQueryFragmentsConduitAPIMethod.php',
|
||||
'PhragmentRevertController' => 'applications/phragment/controller/PhragmentRevertController.php',
|
||||
'PhragmentSchemaSpec' => 'applications/phragment/storage/PhragmentSchemaSpec.php',
|
||||
'PhragmentSnapshot' => 'applications/phragment/storage/PhragmentSnapshot.php',
|
||||
'PhragmentSnapshotChild' => 'applications/phragment/storage/PhragmentSnapshotChild.php',
|
||||
'PhragmentSnapshotChildQuery' => 'applications/phragment/query/PhragmentSnapshotChildQuery.php',
|
||||
@@ -2677,6 +2710,7 @@ phutil_register_library_map(array(
|
||||
'PhrictionMoveController' => 'applications/phriction/controller/PhrictionMoveController.php',
|
||||
'PhrictionNewController' => 'applications/phriction/controller/PhrictionNewController.php',
|
||||
'PhrictionRemarkupRule' => 'applications/phriction/markup/PhrictionRemarkupRule.php',
|
||||
'PhrictionSchemaSpec' => 'applications/phriction/storage/PhrictionSchemaSpec.php',
|
||||
'PhrictionSearchEngine' => 'applications/phriction/query/PhrictionSearchEngine.php',
|
||||
'PhrictionSearchIndexer' => 'applications/phriction/search/PhrictionSearchIndexer.php',
|
||||
'PonderAddAnswerView' => 'applications/ponder/view/PonderAddAnswerView.php',
|
||||
@@ -2691,8 +2725,6 @@ phutil_register_library_map(array(
|
||||
'PonderAnswerTransaction' => 'applications/ponder/storage/PonderAnswerTransaction.php',
|
||||
'PonderAnswerTransactionComment' => 'applications/ponder/storage/PonderAnswerTransactionComment.php',
|
||||
'PonderAnswerTransactionQuery' => 'applications/ponder/query/PonderAnswerTransactionQuery.php',
|
||||
'PonderComment' => 'applications/ponder/storage/PonderComment.php',
|
||||
'PonderCommentQuery' => 'applications/ponder/query/PonderCommentQuery.php',
|
||||
'PonderConstants' => 'applications/ponder/constants/PonderConstants.php',
|
||||
'PonderController' => 'applications/ponder/controller/PonderController.php',
|
||||
'PonderDAO' => 'applications/ponder/storage/PonderDAO.php',
|
||||
@@ -2715,6 +2747,7 @@ phutil_register_library_map(array(
|
||||
'PonderQuestionTransactionQuery' => 'applications/ponder/query/PonderQuestionTransactionQuery.php',
|
||||
'PonderQuestionViewController' => 'applications/ponder/controller/PonderQuestionViewController.php',
|
||||
'PonderRemarkupRule' => 'applications/ponder/remarkup/PonderRemarkupRule.php',
|
||||
'PonderSchemaSpec' => 'applications/ponder/storage/PonderSchemaSpec.php',
|
||||
'PonderSearchIndexer' => 'applications/ponder/search/PonderSearchIndexer.php',
|
||||
'PonderTransactionFeedStory' => 'applications/ponder/feed/PonderTransactionFeedStory.php',
|
||||
'PonderVotableInterface' => 'applications/ponder/storage/PonderVotableInterface.php',
|
||||
@@ -2808,7 +2841,6 @@ phutil_register_library_map(array(
|
||||
'ReleephRequestViewController' => 'applications/releeph/controller/request/ReleephRequestViewController.php',
|
||||
'ReleephRequestorFieldSpecification' => 'applications/releeph/field/specification/ReleephRequestorFieldSpecification.php',
|
||||
'ReleephRevisionFieldSpecification' => 'applications/releeph/field/specification/ReleephRevisionFieldSpecification.php',
|
||||
'ReleephSchemaSpec' => 'applications/releeph/storage/ReleephSchemaSpec.php',
|
||||
'ReleephSeverityFieldSpecification' => 'applications/releeph/field/specification/ReleephSeverityFieldSpecification.php',
|
||||
'ReleephSummaryFieldSpecification' => 'applications/releeph/field/specification/ReleephSummaryFieldSpecification.php',
|
||||
'ReleephWorkCanPushConduitAPIMethod' => 'applications/releeph/conduit/work/ReleephWorkCanPushConduitAPIMethod.php',
|
||||
@@ -2863,6 +2895,17 @@ phutil_register_library_map(array(
|
||||
'require_celerity_resource' => 'infrastructure/celerity/api.php',
|
||||
),
|
||||
'xmap' => array(
|
||||
'AlmanacConduitUtil' => 'Phobject',
|
||||
'AlmanacDAO' => 'PhabricatorLiskDAO',
|
||||
'AlmanacDevice' => array(
|
||||
'AlmanacDAO',
|
||||
'PhabricatorPolicyInterface',
|
||||
),
|
||||
'AlmanacDevicePHIDType' => 'PhabricatorPHIDType',
|
||||
'AlmanacDeviceProperty' => 'AlmanacDAO',
|
||||
'AlmanacDeviceQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'AlmanacManagementRegisterWorkflow' => 'AlmanacManagementWorkflow',
|
||||
'AlmanacManagementWorkflow' => 'PhabricatorManagementWorkflow',
|
||||
'Aphront304Response' => 'AphrontResponse',
|
||||
'Aphront400Response' => 'AphrontResponse',
|
||||
'Aphront403Response' => 'AphrontHTMLResponse',
|
||||
@@ -3486,7 +3529,6 @@ phutil_register_library_map(array(
|
||||
'DrydockResourceViewController' => 'DrydockResourceController',
|
||||
'DrydockSFTPFilesystemInterface' => 'DrydockFilesystemInterface',
|
||||
'DrydockSSHCommandInterface' => 'DrydockCommandInterface',
|
||||
'DrydockSchemaSpec' => 'PhabricatorConfigSchemaSpec',
|
||||
'DrydockWebrootInterface' => 'DrydockInterface',
|
||||
'DrydockWorkingCopyBlueprintImplementation' => 'DrydockBlueprintImplementation',
|
||||
'FeedConduitAPIMethod' => 'ConduitAPIMethod',
|
||||
@@ -3512,9 +3554,11 @@ phutil_register_library_map(array(
|
||||
'PhabricatorPolicyInterface',
|
||||
'PhabricatorApplicationTransactionInterface',
|
||||
),
|
||||
'FundBackerCart' => 'PhortuneCartImplementation',
|
||||
'FundBackerEditor' => 'PhabricatorApplicationTransactionEditor',
|
||||
'FundBackerListController' => 'FundController',
|
||||
'FundBackerPHIDType' => 'PhabricatorPHIDType',
|
||||
'FundBackerProduct' => 'PhortuneProductImplementation',
|
||||
'FundBackerQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'FundBackerSearchEngine' => 'PhabricatorApplicationSearchEngine',
|
||||
'FundBackerTransaction' => 'PhabricatorApplicationTransaction',
|
||||
@@ -3542,6 +3586,7 @@ phutil_register_library_map(array(
|
||||
'FundInitiativePHIDType' => 'PhabricatorPHIDType',
|
||||
'FundInitiativeQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'FundInitiativeRemarkupRule' => 'PhabricatorObjectRemarkupRule',
|
||||
'FundInitiativeReplyHandler' => 'PhabricatorMailReplyHandler',
|
||||
'FundInitiativeSearchEngine' => 'PhabricatorApplicationSearchEngine',
|
||||
'FundInitiativeTransaction' => 'PhabricatorApplicationTransaction',
|
||||
'FundInitiativeTransactionQuery' => 'PhabricatorApplicationTransactionQuery',
|
||||
@@ -3589,7 +3634,6 @@ phutil_register_library_map(array(
|
||||
'HarbormasterBuildPlanQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'HarbormasterBuildPlanSearchEngine' => 'PhabricatorApplicationSearchEngine',
|
||||
'HarbormasterBuildPlanTransaction' => 'PhabricatorApplicationTransaction',
|
||||
'HarbormasterBuildPlanTransactionComment' => 'PhabricatorApplicationTransactionComment',
|
||||
'HarbormasterBuildPlanTransactionQuery' => 'PhabricatorApplicationTransactionQuery',
|
||||
'HarbormasterBuildQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'HarbormasterBuildStep' => array(
|
||||
@@ -3653,6 +3697,7 @@ phutil_register_library_map(array(
|
||||
'HarbormasterQueryBuildablesConduitAPIMethod' => 'HarbormasterConduitAPIMethod',
|
||||
'HarbormasterQueryBuildsConduitAPIMethod' => 'HarbormasterConduitAPIMethod',
|
||||
'HarbormasterRemarkupRule' => 'PhabricatorObjectRemarkupRule',
|
||||
'HarbormasterSchemaSpec' => 'PhabricatorConfigSchemaSpec',
|
||||
'HarbormasterScratchTable' => 'HarbormasterDAO',
|
||||
'HarbormasterSendMessageConduitAPIMethod' => 'HarbormasterConduitAPIMethod',
|
||||
'HarbormasterSleepBuildStepImplementation' => 'HarbormasterBuildStepImplementation',
|
||||
@@ -3666,7 +3711,7 @@ phutil_register_library_map(array(
|
||||
'HarbormasterWaitForPreviousBuildStepImplementation' => 'HarbormasterBuildStepImplementation',
|
||||
'HarbormasterWorker' => 'PhabricatorWorker',
|
||||
'HeraldAction' => 'HeraldDAO',
|
||||
'HeraldApplyTranscript' => 'HeraldDAO',
|
||||
'HeraldApplyTranscript' => 'Phobject',
|
||||
'HeraldCommitAdapter' => 'HeraldAdapter',
|
||||
'HeraldCondition' => 'HeraldDAO',
|
||||
'HeraldController' => 'PhabricatorController',
|
||||
@@ -3703,9 +3748,11 @@ phutil_register_library_map(array(
|
||||
'HeraldRulePHIDType' => 'PhabricatorPHIDType',
|
||||
'HeraldRuleQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'HeraldRuleSearchEngine' => 'PhabricatorApplicationSearchEngine',
|
||||
'HeraldRuleTestCase' => 'PhabricatorTestCase',
|
||||
'HeraldRuleTransaction' => 'PhabricatorApplicationTransaction',
|
||||
'HeraldRuleTransactionComment' => 'PhabricatorApplicationTransactionComment',
|
||||
'HeraldRuleViewController' => 'HeraldController',
|
||||
'HeraldSchemaSpec' => 'PhabricatorConfigSchemaSpec',
|
||||
'HeraldTestConsoleController' => 'HeraldController',
|
||||
'HeraldTransactionQuery' => 'PhabricatorApplicationTransactionQuery',
|
||||
'HeraldTranscript' => array(
|
||||
@@ -4047,6 +4094,7 @@ phutil_register_library_map(array(
|
||||
'PhabricatorActionListView' => 'AphrontView',
|
||||
'PhabricatorActionView' => 'AphrontView',
|
||||
'PhabricatorAllCapsTranslation' => 'PhabricatorTranslation',
|
||||
'PhabricatorAlmanacApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorAmazonAuthProvider' => 'PhabricatorOAuth2AuthProvider',
|
||||
'PhabricatorAnchorView' => 'AphrontView',
|
||||
'PhabricatorAphlictManagementBuildWorkflow' => 'PhabricatorAphlictManagementWorkflow',
|
||||
@@ -4125,7 +4173,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorAuditManagementWorkflow' => 'PhabricatorManagementWorkflow',
|
||||
'PhabricatorAuditPreviewController' => 'PhabricatorAuditController',
|
||||
'PhabricatorAuditReplyHandler' => 'PhabricatorMailReplyHandler',
|
||||
'PhabricatorAuditSchemaSpec' => 'PhabricatorConfigSchemaSpec',
|
||||
'PhabricatorAuditTransaction' => 'PhabricatorApplicationTransaction',
|
||||
'PhabricatorAuditTransactionComment' => 'PhabricatorApplicationTransactionComment',
|
||||
'PhabricatorAuditTransactionQuery' => 'PhabricatorApplicationTransactionQuery',
|
||||
@@ -4170,7 +4217,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorAuthProviderConfigTransactionQuery' => 'PhabricatorApplicationTransactionQuery',
|
||||
'PhabricatorAuthRegisterController' => 'PhabricatorAuthController',
|
||||
'PhabricatorAuthRevokeTokenController' => 'PhabricatorAuthController',
|
||||
'PhabricatorAuthSchemaSpec' => 'PhabricatorConfigSchemaSpec',
|
||||
'PhabricatorAuthSession' => array(
|
||||
'PhabricatorAuthDAO',
|
||||
'PhabricatorPolicyInterface',
|
||||
@@ -4236,7 +4282,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorCalendarEventViewController' => 'PhabricatorCalendarController',
|
||||
'PhabricatorCalendarHoliday' => 'PhabricatorCalendarDAO',
|
||||
'PhabricatorCalendarHolidayTestCase' => 'PhabricatorTestCase',
|
||||
'PhabricatorCalendarSchemaSpec' => 'PhabricatorConfigSchemaSpec',
|
||||
'PhabricatorCalendarViewController' => 'PhabricatorCalendarController',
|
||||
'PhabricatorCampfireProtocolAdapter' => 'PhabricatorBotBaseStreamingProtocolAdapter',
|
||||
'PhabricatorCelerityTestCase' => 'PhabricatorTestCase',
|
||||
@@ -4258,7 +4303,6 @@ phutil_register_library_map(array(
|
||||
),
|
||||
'PhabricatorChatLogEventType' => 'PhabricatorChatLogConstants',
|
||||
'PhabricatorChatLogQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'PhabricatorChatLogSchemaSpec' => 'PhabricatorConfigSchemaSpec',
|
||||
'PhabricatorCommitBranchesField' => 'PhabricatorCommitCustomField',
|
||||
'PhabricatorCommitCustomField' => 'PhabricatorCustomField',
|
||||
'PhabricatorCommitSearchEngine' => 'PhabricatorApplicationSearchEngine',
|
||||
@@ -4280,7 +4324,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorPolicyInterface',
|
||||
),
|
||||
'PhabricatorConduitMethodQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'PhabricatorConduitSchemaSpec' => 'PhabricatorConfigSchemaSpec',
|
||||
'PhabricatorConduitSearchEngine' => 'PhabricatorApplicationSearchEngine',
|
||||
'PhabricatorConduitTokenController' => 'PhabricatorConduitController',
|
||||
'PhabricatorConfigAllController' => 'PhabricatorConfigController',
|
||||
@@ -4288,6 +4331,7 @@ phutil_register_library_map(array(
|
||||
'PhabricatorConfigColumnSchema' => 'PhabricatorConfigStorageSchema',
|
||||
'PhabricatorConfigConfigPHIDType' => 'PhabricatorPHIDType',
|
||||
'PhabricatorConfigController' => 'PhabricatorController',
|
||||
'PhabricatorConfigCoreSchemaSpec' => 'PhabricatorConfigSchemaSpec',
|
||||
'PhabricatorConfigDatabaseController' => 'PhabricatorConfigController',
|
||||
'PhabricatorConfigDatabaseIssueController' => 'PhabricatorConfigDatabaseController',
|
||||
'PhabricatorConfigDatabaseSchema' => 'PhabricatorConfigStorageSchema',
|
||||
@@ -4315,6 +4359,7 @@ phutil_register_library_map(array(
|
||||
'PhabricatorConfigManagementDeleteWorkflow' => 'PhabricatorConfigManagementWorkflow',
|
||||
'PhabricatorConfigManagementGetWorkflow' => 'PhabricatorConfigManagementWorkflow',
|
||||
'PhabricatorConfigManagementListWorkflow' => 'PhabricatorConfigManagementWorkflow',
|
||||
'PhabricatorConfigManagementMigrateWorkflow' => 'PhabricatorConfigManagementWorkflow',
|
||||
'PhabricatorConfigManagementSetWorkflow' => 'PhabricatorConfigManagementWorkflow',
|
||||
'PhabricatorConfigManagementWorkflow' => 'PhabricatorManagementWorkflow',
|
||||
'PhabricatorConfigOption' => array(
|
||||
@@ -4326,7 +4371,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorConfigSchemaQuery' => 'Phobject',
|
||||
'PhabricatorConfigSchemaSpec' => 'Phobject',
|
||||
'PhabricatorConfigServerSchema' => 'PhabricatorConfigStorageSchema',
|
||||
'PhabricatorConfigSettingsSchemaSpec' => 'PhabricatorConfigSchemaSpec',
|
||||
'PhabricatorConfigStackSource' => 'PhabricatorConfigSource',
|
||||
'PhabricatorConfigStorageSchema' => 'Phobject',
|
||||
'PhabricatorConfigTableSchema' => 'PhabricatorConfigStorageSchema',
|
||||
@@ -4354,7 +4398,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorCountdownListController' => 'PhabricatorCountdownController',
|
||||
'PhabricatorCountdownQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'PhabricatorCountdownRemarkupRule' => 'PhabricatorObjectRemarkupRule',
|
||||
'PhabricatorCountdownSchemaSpec' => 'PhabricatorConfigSchemaSpec',
|
||||
'PhabricatorCountdownSearchEngine' => 'PhabricatorApplicationSearchEngine',
|
||||
'PhabricatorCountdownView' => 'AphrontTagView',
|
||||
'PhabricatorCountdownViewController' => 'PhabricatorCountdownController',
|
||||
@@ -4399,7 +4442,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorDaemonManagementStatusWorkflow' => 'PhabricatorDaemonManagementWorkflow',
|
||||
'PhabricatorDaemonManagementStopWorkflow' => 'PhabricatorDaemonManagementWorkflow',
|
||||
'PhabricatorDaemonManagementWorkflow' => 'PhabricatorManagementWorkflow',
|
||||
'PhabricatorDaemonSchemaSpec' => 'PhabricatorConfigSchemaSpec',
|
||||
'PhabricatorDaemonTaskGarbageCollector' => 'PhabricatorGarbageCollector',
|
||||
'PhabricatorDaemonsApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorDashboard' => array(
|
||||
@@ -4479,7 +4521,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorDoorkeeperApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorDraft' => 'PhabricatorDraftDAO',
|
||||
'PhabricatorDraftDAO' => 'PhabricatorLiskDAO',
|
||||
'PhabricatorDraftSchemaSpec' => 'PhabricatorConfigSchemaSpec',
|
||||
'PhabricatorDrydockApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorEdgeConfig' => 'PhabricatorEdgeConstants',
|
||||
'PhabricatorEdgeCycleException' => 'Exception',
|
||||
@@ -4537,7 +4578,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorFeedManagementWorkflow' => 'PhabricatorManagementWorkflow',
|
||||
'PhabricatorFeedPublicStreamController' => 'PhabricatorFeedController',
|
||||
'PhabricatorFeedQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'PhabricatorFeedSchemaSpec' => 'PhabricatorConfigSchemaSpec',
|
||||
'PhabricatorFeedSearchEngine' => 'PhabricatorApplicationSearchEngine',
|
||||
'PhabricatorFeedStory' => array(
|
||||
'PhabricatorPolicyInterface',
|
||||
@@ -4618,7 +4658,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorFlagEditController' => 'PhabricatorFlagController',
|
||||
'PhabricatorFlagListController' => 'PhabricatorFlagController',
|
||||
'PhabricatorFlagQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'PhabricatorFlagSchemaSpec' => 'PhabricatorConfigSchemaSpec',
|
||||
'PhabricatorFlagSearchEngine' => 'PhabricatorApplicationSearchEngine',
|
||||
'PhabricatorFlagSelectControl' => 'AphrontFormControl',
|
||||
'PhabricatorFlaggableInterface' => 'PhabricatorPHIDInterface',
|
||||
@@ -4801,7 +4840,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorOAuthClientListController' => 'PhabricatorOAuthClientController',
|
||||
'PhabricatorOAuthClientViewController' => 'PhabricatorOAuthClientController',
|
||||
'PhabricatorOAuthResponse' => 'AphrontResponse',
|
||||
'PhabricatorOAuthSchemaSpec' => 'PhabricatorConfigSchemaSpec',
|
||||
'PhabricatorOAuthServerAccessToken' => 'PhabricatorOAuthServerDAO',
|
||||
'PhabricatorOAuthServerApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorOAuthServerAuthController' => 'PhabricatorAuthController',
|
||||
@@ -4923,7 +4961,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorPholioConfigOptions' => 'PhabricatorApplicationConfigOptions',
|
||||
'PhabricatorPholioMockTestDataGenerator' => 'PhabricatorTestDataGenerator',
|
||||
'PhabricatorPhortuneApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorPhortuneConfigOptions' => 'PhabricatorApplicationConfigOptions',
|
||||
'PhabricatorPhragmentApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorPhrequentApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorPhrequentConfigOptions' => 'PhabricatorApplicationConfigOptions',
|
||||
@@ -5001,7 +5038,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorStandardCustomFieldInterface',
|
||||
),
|
||||
'PhabricatorProjectController' => 'PhabricatorController',
|
||||
'PhabricatorProjectCreateController' => 'PhabricatorProjectController',
|
||||
'PhabricatorProjectCustomField' => 'PhabricatorCustomField',
|
||||
'PhabricatorProjectCustomFieldNumericIndex' => 'PhabricatorCustomFieldNumericIndexStorage',
|
||||
'PhabricatorProjectCustomFieldStorage' => 'PhabricatorCustomFieldStorage',
|
||||
@@ -5026,6 +5062,7 @@ phutil_register_library_map(array(
|
||||
'PhabricatorProjectProjectHasObjectEdgeType' => 'PhabricatorEdgeType',
|
||||
'PhabricatorProjectProjectPHIDType' => 'PhabricatorPHIDType',
|
||||
'PhabricatorProjectQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'PhabricatorProjectSchemaSpec' => 'PhabricatorConfigSchemaSpec',
|
||||
'PhabricatorProjectSearchEngine' => 'PhabricatorApplicationSearchEngine',
|
||||
'PhabricatorProjectSearchIndexer' => 'PhabricatorSearchDocumentIndexer',
|
||||
'PhabricatorProjectSlug' => 'PhabricatorProjectDAO',
|
||||
@@ -5208,7 +5245,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorSearchManagementIndexWorkflow' => 'PhabricatorSearchManagementWorkflow',
|
||||
'PhabricatorSearchManagementWorkflow' => 'PhabricatorManagementWorkflow',
|
||||
'PhabricatorSearchOrderController' => 'PhabricatorSearchBaseController',
|
||||
'PhabricatorSearchQuery' => 'PhabricatorSearchDAO',
|
||||
'PhabricatorSearchResultView' => 'AphrontView',
|
||||
'PhabricatorSearchSelectController' => 'PhabricatorSearchBaseController',
|
||||
'PhabricatorSearchWorker' => 'PhabricatorWorker',
|
||||
@@ -5306,10 +5342,12 @@ phutil_register_library_map(array(
|
||||
'PhabricatorStandardCustomFieldUsers' => 'PhabricatorStandardCustomFieldPHIDs',
|
||||
'PhabricatorStandardPageView' => 'PhabricatorBarePageView',
|
||||
'PhabricatorStatusController' => 'PhabricatorController',
|
||||
'PhabricatorStorageManagementAdjustWorkflow' => 'PhabricatorStorageManagementWorkflow',
|
||||
'PhabricatorStorageManagementDatabasesWorkflow' => 'PhabricatorStorageManagementWorkflow',
|
||||
'PhabricatorStorageManagementDestroyWorkflow' => 'PhabricatorStorageManagementWorkflow',
|
||||
'PhabricatorStorageManagementDumpWorkflow' => 'PhabricatorStorageManagementWorkflow',
|
||||
'PhabricatorStorageManagementProbeWorkflow' => 'PhabricatorStorageManagementWorkflow',
|
||||
'PhabricatorStorageManagementQuickstartWorkflow' => 'PhabricatorStorageManagementWorkflow',
|
||||
'PhabricatorStorageManagementStatusWorkflow' => 'PhabricatorStorageManagementWorkflow',
|
||||
'PhabricatorStorageManagementUpgradeWorkflow' => 'PhabricatorStorageManagementWorkflow',
|
||||
'PhabricatorStorageManagementWorkflow' => 'PhabricatorManagementWorkflow',
|
||||
@@ -5334,7 +5372,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorSystemRemoveDestroyWorkflow' => 'PhabricatorSystemRemoveWorkflow',
|
||||
'PhabricatorSystemRemoveLogWorkflow' => 'PhabricatorSystemRemoveWorkflow',
|
||||
'PhabricatorSystemRemoveWorkflow' => 'PhabricatorManagementWorkflow',
|
||||
'PhabricatorSystemSchemaSpec' => 'PhabricatorConfigSchemaSpec',
|
||||
'PhabricatorSystemSelectEncodingController' => 'PhabricatorController',
|
||||
'PhabricatorSystemSelectHighlightController' => 'PhabricatorController',
|
||||
'PhabricatorTaskmasterDaemon' => 'PhabricatorDaemon',
|
||||
@@ -5364,7 +5401,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorTokenLeaderController' => 'PhabricatorTokenController',
|
||||
'PhabricatorTokenQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'PhabricatorTokenReceiverQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'PhabricatorTokenSchemaSpec' => 'PhabricatorConfigSchemaSpec',
|
||||
'PhabricatorTokenTokenPHIDType' => 'PhabricatorPHIDType',
|
||||
'PhabricatorTokenUIEventListener' => 'PhabricatorEventListener',
|
||||
'PhabricatorTokensApplication' => 'PhabricatorApplication',
|
||||
@@ -5427,6 +5463,7 @@ phutil_register_library_map(array(
|
||||
'PhabricatorUserRealNameField' => 'PhabricatorUserCustomField',
|
||||
'PhabricatorUserRolesField' => 'PhabricatorUserCustomField',
|
||||
'PhabricatorUserSSHKey' => 'PhabricatorUserDAO',
|
||||
'PhabricatorUserSchemaSpec' => 'PhabricatorConfigSchemaSpec',
|
||||
'PhabricatorUserSearchIndexer' => 'PhabricatorSearchDocumentIndexer',
|
||||
'PhabricatorUserSinceField' => 'PhabricatorUserCustomField',
|
||||
'PhabricatorUserStatusField' => 'PhabricatorUserCustomField',
|
||||
@@ -5440,7 +5477,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorWorkerDAO' => 'PhabricatorLiskDAO',
|
||||
'PhabricatorWorkerLeaseQuery' => 'PhabricatorQuery',
|
||||
'PhabricatorWorkerPermanentFailureException' => 'Exception',
|
||||
'PhabricatorWorkerSchemaSpec' => 'PhabricatorConfigSchemaSpec',
|
||||
'PhabricatorWorkerTask' => 'PhabricatorWorkerDAO',
|
||||
'PhabricatorWorkerTaskData' => 'PhabricatorWorkerDAO',
|
||||
'PhabricatorWorkerTaskDetailController' => 'PhabricatorDaemonController',
|
||||
@@ -5458,7 +5494,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorXHPASTViewPanelController' => 'PhabricatorXHPASTViewController',
|
||||
'PhabricatorXHPASTViewParseTree' => 'PhabricatorXHPASTViewDAO',
|
||||
'PhabricatorXHPASTViewRunController' => 'PhabricatorXHPASTViewController',
|
||||
'PhabricatorXHPASTViewSchemaSpec' => 'PhabricatorConfigSchemaSpec',
|
||||
'PhabricatorXHPASTViewStreamController' => 'PhabricatorXHPASTViewPanelController',
|
||||
'PhabricatorXHPASTViewTreeController' => 'PhabricatorXHPASTViewPanelController',
|
||||
'PhabricatorXHProfApplication' => 'PhabricatorApplication',
|
||||
@@ -5470,7 +5505,6 @@ phutil_register_library_map(array(
|
||||
'PhabricatorXHProfProfileView' => 'AphrontView',
|
||||
'PhabricatorXHProfSample' => 'PhabricatorXHProfDAO',
|
||||
'PhabricatorXHProfSampleListController' => 'PhabricatorXHProfController',
|
||||
'PhabricatorXHProfSchemaSpec' => 'PhabricatorConfigSchemaSpec',
|
||||
'PhabricatorYoutubeRemarkupRule' => 'PhutilRemarkupRule',
|
||||
'PhameBasicBlogSkin' => 'PhameBlogSkin',
|
||||
'PhameBasicTemplateBlogSkin' => 'PhameBasicBlogSkin',
|
||||
@@ -5518,7 +5552,6 @@ phutil_register_library_map(array(
|
||||
'PhluxDAO' => 'PhabricatorLiskDAO',
|
||||
'PhluxEditController' => 'PhluxController',
|
||||
'PhluxListController' => 'PhluxController',
|
||||
'PhluxSchemaSpec' => 'PhabricatorConfigSchemaSpec',
|
||||
'PhluxTransaction' => 'PhabricatorApplicationTransaction',
|
||||
'PhluxTransactionQuery' => 'PhabricatorApplicationTransactionQuery',
|
||||
'PhluxVariable' => array(
|
||||
@@ -5571,6 +5604,7 @@ phutil_register_library_map(array(
|
||||
'PholioMockViewController' => 'PholioController',
|
||||
'PholioRemarkupRule' => 'PhabricatorObjectRemarkupRule',
|
||||
'PholioReplyHandler' => 'PhabricatorMailReplyHandler',
|
||||
'PholioSchemaSpec' => 'PhabricatorConfigSchemaSpec',
|
||||
'PholioSearchIndexer' => 'PhabricatorSearchDocumentIndexer',
|
||||
'PholioTransaction' => 'PhabricatorApplicationTransaction',
|
||||
'PholioTransactionComment' => 'PhabricatorApplicationTransactionComment',
|
||||
@@ -5582,7 +5616,11 @@ phutil_register_library_map(array(
|
||||
'PhortuneDAO',
|
||||
'PhabricatorPolicyInterface',
|
||||
),
|
||||
'PhortuneAccountEditController' => 'PhortuneController',
|
||||
'PhortuneAccountEditor' => 'PhabricatorApplicationTransactionEditor',
|
||||
'PhortuneAccountHasMemberEdgeType' => 'PhabricatorEdgeType',
|
||||
'PhortuneAccountListController' => 'PhortuneController',
|
||||
'PhortuneAccountPHIDType' => 'PhabricatorPHIDType',
|
||||
'PhortuneAccountQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'PhortuneAccountTransaction' => 'PhabricatorApplicationTransaction',
|
||||
'PhortuneAccountTransactionQuery' => 'PhabricatorApplicationTransactionQuery',
|
||||
@@ -5592,25 +5630,50 @@ phutil_register_library_map(array(
|
||||
'PhortuneDAO',
|
||||
'PhabricatorPolicyInterface',
|
||||
),
|
||||
'PhortuneCartAcceptController' => 'PhortuneCartController',
|
||||
'PhortuneCartCancelController' => 'PhortuneCartController',
|
||||
'PhortuneCartCheckoutController' => 'PhortuneCartController',
|
||||
'PhortuneCartController' => 'PhortuneController',
|
||||
'PhortuneCartListController' => 'PhortuneController',
|
||||
'PhortuneCartPHIDType' => 'PhabricatorPHIDType',
|
||||
'PhortuneCartQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'PhortuneCartSearchEngine' => 'PhabricatorApplicationSearchEngine',
|
||||
'PhortuneCartUpdateController' => 'PhortuneCartController',
|
||||
'PhortuneCartViewController' => 'PhortuneCartController',
|
||||
'PhortuneCharge' => array(
|
||||
'PhortuneDAO',
|
||||
'PhabricatorPolicyInterface',
|
||||
),
|
||||
'PhortuneChargePHIDType' => 'PhabricatorPHIDType',
|
||||
'PhortuneChargeQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'PhortuneController' => 'PhabricatorController',
|
||||
'PhortuneCurrency' => 'Phobject',
|
||||
'PhortuneCurrencySerializer' => 'PhabricatorLiskSerializer',
|
||||
'PhortuneCurrencyTestCase' => 'PhabricatorTestCase',
|
||||
'PhortuneDAO' => 'PhabricatorLiskDAO',
|
||||
'PhortuneErrCode' => 'PhortuneConstants',
|
||||
'PhortuneLandingController' => 'PhortuneController',
|
||||
'PhortuneMemberHasAccountEdgeType' => 'PhabricatorEdgeType',
|
||||
'PhortuneMerchant' => array(
|
||||
'PhortuneDAO',
|
||||
'PhabricatorPolicyInterface',
|
||||
),
|
||||
'PhortuneMerchantCapability' => 'PhabricatorPolicyCapability',
|
||||
'PhortuneMerchantController' => 'PhortuneController',
|
||||
'PhortuneMerchantEditController' => 'PhortuneMerchantController',
|
||||
'PhortuneMerchantEditor' => 'PhabricatorApplicationTransactionEditor',
|
||||
'PhortuneMerchantListController' => 'PhortuneMerchantController',
|
||||
'PhortuneMerchantPHIDType' => 'PhabricatorPHIDType',
|
||||
'PhortuneMerchantQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'PhortuneMerchantSearchEngine' => 'PhabricatorApplicationSearchEngine',
|
||||
'PhortuneMerchantTransaction' => 'PhabricatorApplicationTransaction',
|
||||
'PhortuneMerchantTransactionQuery' => 'PhabricatorApplicationTransactionQuery',
|
||||
'PhortuneMerchantViewController' => 'PhortuneMerchantController',
|
||||
'PhortuneMonthYearExpiryControl' => 'AphrontFormControl',
|
||||
'PhortuneMultiplePaymentProvidersException' => 'Exception',
|
||||
'PhortuneNoPaymentProviderException' => 'Exception',
|
||||
'PhortuneNotImplementedException' => 'Exception',
|
||||
'PhortunePayPalPaymentProvider' => 'PhortunePaymentProvider',
|
||||
'PhortunePaymentMethod' => array(
|
||||
'PhortuneDAO',
|
||||
'PhabricatorPolicyInterface',
|
||||
@@ -5618,30 +5681,37 @@ phutil_register_library_map(array(
|
||||
'PhortunePaymentMethodCreateController' => 'PhortuneController',
|
||||
'PhortunePaymentMethodDisableController' => 'PhortuneController',
|
||||
'PhortunePaymentMethodEditController' => 'PhortuneController',
|
||||
'PhortunePaymentMethodPHIDType' => 'PhabricatorPHIDType',
|
||||
'PhortunePaymentMethodQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'PhortunePaymentProviderTestCase' => 'PhabricatorTestCase',
|
||||
'PhortunePaypalPaymentProvider' => 'PhortunePaymentProvider',
|
||||
'PhortunePaymentProviderConfig' => array(
|
||||
'PhortuneDAO',
|
||||
'PhabricatorPolicyInterface',
|
||||
),
|
||||
'PhortunePaymentProviderConfigEditor' => 'PhabricatorApplicationTransactionEditor',
|
||||
'PhortunePaymentProviderConfigQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'PhortunePaymentProviderConfigTransaction' => 'PhabricatorApplicationTransaction',
|
||||
'PhortunePaymentProviderConfigTransactionQuery' => 'PhabricatorApplicationTransactionQuery',
|
||||
'PhortunePaymentProviderPHIDType' => 'PhabricatorPHIDType',
|
||||
'PhortuneProduct' => array(
|
||||
'PhortuneDAO',
|
||||
'PhabricatorPolicyInterface',
|
||||
),
|
||||
'PhortuneProductEditController' => 'PhabricatorController',
|
||||
'PhortuneProductEditor' => 'PhabricatorApplicationTransactionEditor',
|
||||
'PhortuneProductListController' => 'PhabricatorController',
|
||||
'PhortuneProductPurchaseController' => 'PhortuneController',
|
||||
'PhortuneProductPHIDType' => 'PhabricatorPHIDType',
|
||||
'PhortuneProductQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'PhortuneProductTransaction' => 'PhabricatorApplicationTransaction',
|
||||
'PhortuneProductTransactionQuery' => 'PhabricatorApplicationTransactionQuery',
|
||||
'PhortuneProductViewController' => 'PhortuneController',
|
||||
'PhortuneProviderController' => 'PhortuneController',
|
||||
'PhortuneProviderActionController' => 'PhortuneController',
|
||||
'PhortuneProviderDisableController' => 'PhortuneMerchantController',
|
||||
'PhortuneProviderEditController' => 'PhortuneMerchantController',
|
||||
'PhortunePurchase' => array(
|
||||
'PhortuneDAO',
|
||||
'PhabricatorPolicyInterface',
|
||||
),
|
||||
'PhortunePurchasePHIDType' => 'PhabricatorPHIDType',
|
||||
'PhortunePurchaseQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'PhortunePurchaseViewController' => 'PhortuneController',
|
||||
'PhortuneSchemaSpec' => 'PhabricatorConfigSchemaSpec',
|
||||
'PhortuneStripePaymentProvider' => 'PhortunePaymentProvider',
|
||||
'PhortuneTestExtraPaymentProvider' => 'PhortunePaymentProvider',
|
||||
'PhortuneTestPaymentProvider' => 'PhortunePaymentProvider',
|
||||
'PhortuneWePayPaymentProvider' => 'PhortunePaymentProvider',
|
||||
'PhragmentBrowseController' => 'PhragmentController',
|
||||
@@ -5669,6 +5739,7 @@ phutil_register_library_map(array(
|
||||
'PhragmentPolicyController' => 'PhragmentController',
|
||||
'PhragmentQueryFragmentsConduitAPIMethod' => 'PhragmentConduitAPIMethod',
|
||||
'PhragmentRevertController' => 'PhragmentController',
|
||||
'PhragmentSchemaSpec' => 'PhabricatorConfigSchemaSpec',
|
||||
'PhragmentSnapshot' => array(
|
||||
'PhragmentDAO',
|
||||
'PhabricatorPolicyInterface',
|
||||
@@ -5742,6 +5813,7 @@ phutil_register_library_map(array(
|
||||
'PhrictionMoveController' => 'PhrictionController',
|
||||
'PhrictionNewController' => 'PhrictionController',
|
||||
'PhrictionRemarkupRule' => 'PhutilRemarkupRule',
|
||||
'PhrictionSchemaSpec' => 'PhabricatorConfigSchemaSpec',
|
||||
'PhrictionSearchEngine' => 'PhabricatorApplicationSearchEngine',
|
||||
'PhrictionSearchIndexer' => 'PhabricatorSearchDocumentIndexer',
|
||||
'PonderAddAnswerView' => 'AphrontView',
|
||||
@@ -5765,11 +5837,6 @@ phutil_register_library_map(array(
|
||||
'PonderAnswerTransaction' => 'PhabricatorApplicationTransaction',
|
||||
'PonderAnswerTransactionComment' => 'PhabricatorApplicationTransactionComment',
|
||||
'PonderAnswerTransactionQuery' => 'PhabricatorApplicationTransactionQuery',
|
||||
'PonderComment' => array(
|
||||
'PonderDAO',
|
||||
'PhabricatorMarkupInterface',
|
||||
),
|
||||
'PonderCommentQuery' => 'PhabricatorQuery',
|
||||
'PonderController' => 'PhabricatorController',
|
||||
'PonderDAO' => 'PhabricatorLiskDAO',
|
||||
'PonderEditor' => 'PhabricatorApplicationTransactionEditor',
|
||||
@@ -5801,6 +5868,7 @@ phutil_register_library_map(array(
|
||||
'PonderQuestionTransactionQuery' => 'PhabricatorApplicationTransactionQuery',
|
||||
'PonderQuestionViewController' => 'PonderController',
|
||||
'PonderRemarkupRule' => 'PhabricatorObjectRemarkupRule',
|
||||
'PonderSchemaSpec' => 'PhabricatorConfigSchemaSpec',
|
||||
'PonderSearchIndexer' => 'PhabricatorSearchDocumentIndexer',
|
||||
'PonderTransactionFeedStory' => 'PhabricatorApplicationTransactionFeedStory',
|
||||
'PonderVotableView' => 'AphrontView',
|
||||
@@ -5907,7 +5975,6 @@ phutil_register_library_map(array(
|
||||
'ReleephRequestViewController' => 'ReleephBranchController',
|
||||
'ReleephRequestorFieldSpecification' => 'ReleephFieldSpecification',
|
||||
'ReleephRevisionFieldSpecification' => 'ReleephFieldSpecification',
|
||||
'ReleephSchemaSpec' => 'PhabricatorConfigSchemaSpec',
|
||||
'ReleephSeverityFieldSpecification' => 'ReleephLevelFieldSpecification',
|
||||
'ReleephSummaryFieldSpecification' => 'ReleephFieldSpecification',
|
||||
'ReleephWorkCanPushConduitAPIMethod' => 'ReleephConduitAPIMethod',
|
||||
|
||||
@@ -50,69 +50,20 @@ final class PhabricatorInfrastructureTestCase extends PhabricatorTestCase {
|
||||
'In test cases, all applications should default to installed.');
|
||||
}
|
||||
|
||||
public function testMySQLAgreesWithUsAboutBMP() {
|
||||
// Build a string with every BMP character in it, then insert it into MySQL
|
||||
// and read it back. We expect to get the same string out that we put in,
|
||||
// demonstrating that strings which pass our BMP checks are also valid in
|
||||
// MySQL and no silent data truncation will occur.
|
||||
|
||||
$buf = '';
|
||||
|
||||
for ($ii = 0x01; $ii <= 0x7F; $ii++) {
|
||||
$buf .= chr($ii);
|
||||
}
|
||||
|
||||
for ($ii = 0xC2; $ii <= 0xDF; $ii++) {
|
||||
for ($jj = 0x80; $jj <= 0xBF; $jj++) {
|
||||
$buf .= chr($ii).chr($jj);
|
||||
}
|
||||
}
|
||||
|
||||
// NOTE: This is \xE0\xA0\xZZ.
|
||||
for ($ii = 0xE0; $ii <= 0xE0; $ii++) {
|
||||
for ($jj = 0xA0; $jj <= 0xBF; $jj++) {
|
||||
for ($kk = 0x80; $kk <= 0xBF; $kk++) {
|
||||
$buf .= chr($ii).chr($jj).chr($kk);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// NOTE: This is \xE1\xZZ\xZZ through \xEF\xZZ\xZZ.
|
||||
for ($ii = 0xE1; $ii <= 0xEF; $ii++) {
|
||||
for ($jj = 0x80; $jj <= 0xBF; $jj++) {
|
||||
for ($kk = 0x80; $kk <= 0xBF; $kk++) {
|
||||
$buf .= chr($ii).chr($jj).chr($kk);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$this->assertEqual(194431, strlen($buf));
|
||||
$this->assertTrue(phutil_is_utf8_with_only_bmp_characters($buf));
|
||||
|
||||
$write = id(new HarbormasterScratchTable())
|
||||
->setData('all.utf8.bmp')
|
||||
->setBigData($buf)
|
||||
->save();
|
||||
|
||||
$read = id(new HarbormasterScratchTable())->load($write->getID());
|
||||
|
||||
$this->assertEqual($buf, $read->getBigData());
|
||||
}
|
||||
|
||||
public function testRejectMySQLBMPQueries() {
|
||||
public function testRejectMySQLNonUTF8Queries() {
|
||||
$table = new HarbormasterScratchTable();
|
||||
$conn_r = $table->establishConnection('w');
|
||||
|
||||
$snowman = "\xE2\x98\x83";
|
||||
$gclef = "\xF0\x9D\x84\x9E";
|
||||
$invalid = "\xE6\x9D";
|
||||
|
||||
qsprintf($conn_r, 'SELECT %B', $snowman);
|
||||
qsprintf($conn_r, 'SELECT %s', $snowman);
|
||||
qsprintf($conn_r, 'SELECT %B', $gclef);
|
||||
qsprintf($conn_r, 'SELECT %B', $invalid);
|
||||
|
||||
$caught = null;
|
||||
try {
|
||||
qsprintf($conn_r, 'SELECT %s', $gclef);
|
||||
qsprintf($conn_r, 'SELECT %s', $invalid);
|
||||
} catch (AphrontCharacterSetQueryException $ex) {
|
||||
$caught = $ex;
|
||||
}
|
||||
|
||||
@@ -306,7 +306,8 @@ class AphrontDefaultApplicationConfiguration
|
||||
array(
|
||||
'uri' => $uri,
|
||||
'external' => $external,
|
||||
));
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -47,7 +47,8 @@ final class DarkConsoleRequestPlugin extends DarkConsolePlugin {
|
||||
if (isset($mask[$key])) {
|
||||
$rows[] = array(
|
||||
$key,
|
||||
phutil_tag('em', array(), '(Masked)'));
|
||||
phutil_tag('em', array(), '(Masked)'),
|
||||
);
|
||||
} else {
|
||||
$rows[] = array(
|
||||
$key,
|
||||
|
||||
@@ -82,7 +82,8 @@ final class AphrontFileResponse extends AphrontResponse {
|
||||
if ($this->allowOrigins) {
|
||||
$headers[] = array(
|
||||
'Access-Control-Allow-Origin',
|
||||
implode(',', $this->allowOrigins));
|
||||
implode(',', $this->allowOrigins),
|
||||
);
|
||||
}
|
||||
|
||||
$headers = array_merge(parent::getHeaders(), $headers);
|
||||
|
||||
@@ -109,23 +109,28 @@ abstract class AphrontResponse {
|
||||
if ($this->cacheable) {
|
||||
$headers[] = array(
|
||||
'Expires',
|
||||
$this->formatEpochTimestampForHTTPHeader(time() + $this->cacheable));
|
||||
$this->formatEpochTimestampForHTTPHeader(time() + $this->cacheable),
|
||||
);
|
||||
} else {
|
||||
$headers[] = array(
|
||||
'Cache-Control',
|
||||
'private, no-cache, no-store, must-revalidate');
|
||||
'private, no-cache, no-store, must-revalidate',
|
||||
);
|
||||
$headers[] = array(
|
||||
'Pragma',
|
||||
'no-cache');
|
||||
'no-cache',
|
||||
);
|
||||
$headers[] = array(
|
||||
'Expires',
|
||||
'Sat, 01 Jan 2000 00:00:00 GMT');
|
||||
'Sat, 01 Jan 2000 00:00:00 GMT',
|
||||
);
|
||||
}
|
||||
|
||||
if ($this->lastModified) {
|
||||
$headers[] = array(
|
||||
'Last-Modified',
|
||||
$this->formatEpochTimestampForHTTPHeader($this->lastModified));
|
||||
$this->formatEpochTimestampForHTTPHeader($this->lastModified),
|
||||
);
|
||||
}
|
||||
|
||||
// IE has a feature where it may override an explicit Content-Type
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
final class PhabricatorAlmanacApplication extends PhabricatorApplication {
|
||||
|
||||
public function getBaseURI() {
|
||||
return '/almanac/';
|
||||
}
|
||||
|
||||
public function getName() {
|
||||
return pht('Almanac');
|
||||
}
|
||||
|
||||
public function getShortDescription() {
|
||||
return pht('Service Directory');
|
||||
}
|
||||
|
||||
public function getIconName() {
|
||||
return 'almanac';
|
||||
}
|
||||
|
||||
public function getTitleGlyph() {
|
||||
return "\xE2\x98\x82";
|
||||
}
|
||||
|
||||
public function getApplicationGroup() {
|
||||
return self::GROUP_UTILITIES;
|
||||
}
|
||||
|
||||
public function isPrototype() {
|
||||
return true;
|
||||
}
|
||||
|
||||
public function isLaunchable() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getRoutes() {
|
||||
return array();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
<?php
|
||||
|
||||
final class AlmanacManagementRegisterWorkflow
|
||||
extends AlmanacManagementWorkflow {
|
||||
|
||||
public function didConstruct() {
|
||||
$this
|
||||
->setName('register')
|
||||
->setSynopsis(pht('Register this host for authorized Conduit access.'))
|
||||
->setArguments(array());
|
||||
}
|
||||
|
||||
public function execute(PhutilArgumentParser $args) {
|
||||
$console = PhutilConsole::getConsole();
|
||||
|
||||
if (Filesystem::pathExists(AlmanacConduitUtil::getHostPrivateKeyPath())) {
|
||||
throw new Exception(
|
||||
'This host already has a private key for Conduit access.');
|
||||
}
|
||||
|
||||
$pair = PhabricatorSSHKeyGenerator::generateKeypair();
|
||||
list($public_key, $private_key) = $pair;
|
||||
|
||||
$host = id(new AlmanacDevice())
|
||||
->setName(php_uname('n'))
|
||||
->save();
|
||||
|
||||
id(new AlmanacDeviceProperty())
|
||||
->setDevicePHID($host->getPHID())
|
||||
->setKey('conduitPublicOpenSSHKey')
|
||||
->setValue($public_key)
|
||||
->save();
|
||||
|
||||
id(new AlmanacDeviceProperty())
|
||||
->setDevicePHID($host->getPHID())
|
||||
->setKey('conduitPublicOpenSSLKey')
|
||||
->setValue($this->convertToOpenSSLPublicKey($public_key))
|
||||
->save();
|
||||
|
||||
Filesystem::writeFile(
|
||||
AlmanacConduitUtil::getHostPrivateKeyPath(),
|
||||
$private_key);
|
||||
|
||||
Filesystem::writeFile(
|
||||
AlmanacConduitUtil::getHostIDPath(),
|
||||
$host->getID());
|
||||
|
||||
$console->writeOut("Registered as device %d.\n", $host->getID());
|
||||
}
|
||||
|
||||
private function convertToOpenSSLPublicKey($openssh_public_key) {
|
||||
$ssh_public_key_file = new TempFile();
|
||||
Filesystem::writeFile($ssh_public_key_file, $openssh_public_key);
|
||||
|
||||
list($public_key, $stderr) = id(new ExecFuture(
|
||||
'ssh-keygen -e -f %s -m pkcs8',
|
||||
$ssh_public_key_file))->resolvex();
|
||||
|
||||
unset($ssh_public_key_file);
|
||||
|
||||
return $public_key;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
|
||||
abstract class AlmanacManagementWorkflow
|
||||
extends PhabricatorManagementWorkflow {}
|
||||
39
src/applications/almanac/phid/AlmanacDevicePHIDType.php
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
|
||||
final class AlmanacDevicePHIDType extends PhabricatorPHIDType {
|
||||
|
||||
const TYPECONST = 'ADEV';
|
||||
|
||||
public function getTypeName() {
|
||||
return pht('Almanac Device');
|
||||
}
|
||||
|
||||
public function newObject() {
|
||||
return new AlmanacDevice();
|
||||
}
|
||||
|
||||
protected function buildQueryForObjects(
|
||||
PhabricatorObjectQuery $query,
|
||||
array $phids) {
|
||||
|
||||
return id(new AlmanacDeviceQuery())
|
||||
->withPHIDs($phids);
|
||||
}
|
||||
|
||||
public function loadHandles(
|
||||
PhabricatorHandleQuery $query,
|
||||
array $handles,
|
||||
array $objects) {
|
||||
|
||||
foreach ($handles as $phid => $handle) {
|
||||
$device = $objects[$phid];
|
||||
|
||||
$id = $device->getID();
|
||||
$name = $device->getName();
|
||||
|
||||
$handle->setObjectName(pht('Device %d', $id));
|
||||
$handle->setName($name);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
60
src/applications/almanac/query/AlmanacDeviceQuery.php
Normal file
@@ -0,0 +1,60 @@
|
||||
<?php
|
||||
|
||||
final class AlmanacDeviceQuery
|
||||
extends PhabricatorCursorPagedPolicyAwareQuery {
|
||||
|
||||
private $ids;
|
||||
private $phids;
|
||||
|
||||
public function withIDs(array $ids) {
|
||||
$this->ids = $ids;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function withPHIDs(array $phids) {
|
||||
$this->phids = $phids;
|
||||
return $this;
|
||||
}
|
||||
|
||||
protected function loadPage() {
|
||||
$table = new AlmanacDevice();
|
||||
$conn_r = $table->establishConnection('r');
|
||||
|
||||
$data = queryfx_all(
|
||||
$conn_r,
|
||||
'SELECT * FROM %T %Q %Q %Q',
|
||||
$table->getTableName(),
|
||||
$this->buildWhereClause($conn_r),
|
||||
$this->buildOrderClause($conn_r),
|
||||
$this->buildLimitClause($conn_r));
|
||||
|
||||
return $table->loadAllFromArray($data);
|
||||
}
|
||||
|
||||
protected function buildWhereClause($conn_r) {
|
||||
$where = array();
|
||||
|
||||
if ($this->ids !== null) {
|
||||
$where[] = qsprintf(
|
||||
$conn_r,
|
||||
'id IN (%Ld)',
|
||||
$this->ids);
|
||||
}
|
||||
|
||||
if ($this->phids !== null) {
|
||||
$where[] = qsprintf(
|
||||
$conn_r,
|
||||
'phid IN (%Ls)',
|
||||
$this->phids);
|
||||
}
|
||||
|
||||
$where[] = $this->buildPagingClause($conn_r);
|
||||
|
||||
return $this->formatWhereClause($where);
|
||||
}
|
||||
|
||||
public function getQueryApplicationClass() {
|
||||
return 'PhabricatorAlmanacApplication';
|
||||
}
|
||||
|
||||
}
|
||||
9
src/applications/almanac/storage/AlmanacDAO.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
abstract class AlmanacDAO extends PhabricatorLiskDAO {
|
||||
|
||||
public function getApplicationName() {
|
||||
return 'almanac';
|
||||
}
|
||||
|
||||
}
|
||||
50
src/applications/almanac/storage/AlmanacDevice.php
Normal file
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
|
||||
final class AlmanacDevice
|
||||
extends AlmanacDAO
|
||||
implements PhabricatorPolicyInterface {
|
||||
|
||||
protected $name;
|
||||
|
||||
public function getConfiguration() {
|
||||
return array(
|
||||
self::CONFIG_AUX_PHID => true,
|
||||
self::CONFIG_COLUMN_SCHEMA => array(
|
||||
'name' => 'text255',
|
||||
),
|
||||
) + parent::getConfiguration();
|
||||
}
|
||||
|
||||
public function generatePHID() {
|
||||
return PhabricatorPHID::generateNewPHID(AlmanacDevicePHIDType::TYPECONST);
|
||||
}
|
||||
|
||||
|
||||
/* -( PhabricatorPolicyInterface )----------------------------------------- */
|
||||
|
||||
|
||||
public function getCapabilities() {
|
||||
return array(
|
||||
PhabricatorPolicyCapability::CAN_VIEW,
|
||||
);
|
||||
}
|
||||
|
||||
public function getPolicy($capability) {
|
||||
switch ($capability) {
|
||||
case PhabricatorPolicyCapability::CAN_VIEW:
|
||||
// Until we get a clearer idea on what's going to be stored in this
|
||||
// table, don't allow anyone (other than the omnipotent user) to find
|
||||
// these objects.
|
||||
return PhabricatorPolicies::POLICY_NOONE;
|
||||
}
|
||||
}
|
||||
|
||||
public function hasAutomaticCapability($capability, PhabricatorUser $viewer) {
|
||||
return false;
|
||||
}
|
||||
|
||||
public function describeAutomaticCapability($capability) {
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
25
src/applications/almanac/storage/AlmanacDeviceProperty.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
final class AlmanacDeviceProperty extends AlmanacDAO {
|
||||
|
||||
protected $devicePHID;
|
||||
protected $key;
|
||||
protected $value;
|
||||
|
||||
public function getConfiguration() {
|
||||
return array(
|
||||
self::CONFIG_SERIALIZATION => array(
|
||||
'value' => self::SERIALIZATION_JSON,
|
||||
),
|
||||
self::CONFIG_COLUMN_SCHEMA => array(
|
||||
'key' => 'text128',
|
||||
),
|
||||
self::CONFIG_KEY_SCHEMA => array(
|
||||
'key_device' => array(
|
||||
'columns' => array('devicePHID', 'key'),
|
||||
),
|
||||
),
|
||||
) + parent::getConfiguration();
|
||||
}
|
||||
|
||||
}
|
||||
17
src/applications/almanac/util/AlmanacConduitUtil.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
final class AlmanacConduitUtil extends Phobject {
|
||||
|
||||
public static function getHostPrivateKeyPath() {
|
||||
$root = dirname(phutil_get_library_root('phabricator'));
|
||||
$path = $root.'/conf/local/HOSTKEY';
|
||||
return $path;
|
||||
}
|
||||
|
||||
public static function getHostIDPath() {
|
||||
$root = dirname(phutil_get_library_root('phabricator'));
|
||||
$path = $root.'/conf/local/HOSTID';
|
||||
return $path;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -82,7 +82,8 @@ final class PhabricatorCommitSearchEngine
|
||||
array(
|
||||
$auditor_phids,
|
||||
$commit_author_phids,
|
||||
$repository_phids));
|
||||
$repository_phids,
|
||||
));
|
||||
|
||||
$handles = id(new PhabricatorHandleQuery())
|
||||
->setViewer($this->requireViewer())
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
<?php
|
||||
|
||||
final class PhabricatorAuditSchemaSpec extends PhabricatorConfigSchemaSpec {
|
||||
|
||||
public function buildSchemata() {
|
||||
$this->buildTransactionSchema(
|
||||
new PhabricatorAuditTransaction(),
|
||||
new PhabricatorAuditTransactionComment());
|
||||
}
|
||||
|
||||
}
|
||||
@@ -24,6 +24,7 @@ final class PhabricatorAuditTransactionComment
|
||||
|
||||
public function getConfiguration() {
|
||||
$config = parent::getConfiguration();
|
||||
|
||||
$config[self::CONFIG_COLUMN_SCHEMA] = array(
|
||||
'commitPHID' => 'phid?',
|
||||
'pathID' => 'id?',
|
||||
@@ -35,6 +36,22 @@ final class PhabricatorAuditTransactionComment
|
||||
'replyToCommentPHID' => 'phid?',
|
||||
'legacyCommentID' => 'id?',
|
||||
) + $config[self::CONFIG_COLUMN_SCHEMA];
|
||||
|
||||
$config[self::CONFIG_KEY_SCHEMA] = array(
|
||||
'key_path' => array(
|
||||
'columns' => array('pathID'),
|
||||
),
|
||||
'key_draft' => array(
|
||||
'columns' => array('authorPHID', 'transactionPHID'),
|
||||
),
|
||||
'key_commit' => array(
|
||||
'columns' => array('commitPHID'),
|
||||
),
|
||||
'key_legacy' => array(
|
||||
'columns' => array('legacyCommentID'),
|
||||
),
|
||||
) + $config[self::CONFIG_KEY_SCHEMA];
|
||||
|
||||
return $config;
|
||||
}
|
||||
|
||||
|
||||
@@ -22,7 +22,8 @@ final class PhabricatorAuthValidateController
|
||||
array(
|
||||
pht(
|
||||
'Login validation is missing expected parameter ("%s").',
|
||||
'phusr')));
|
||||
'phusr'),
|
||||
));
|
||||
}
|
||||
|
||||
$expect_phusr = $request->getStr('expect');
|
||||
|
||||
@@ -243,7 +243,7 @@ abstract class PhabricatorAuthProvider {
|
||||
$image_uri,
|
||||
array(
|
||||
'name' => $name,
|
||||
'canCDN' => true
|
||||
'canCDN' => true,
|
||||
));
|
||||
unset($unguarded);
|
||||
|
||||
|
||||
@@ -19,6 +19,11 @@ final class PhabricatorAuthFactorConfig extends PhabricatorAuthDAO {
|
||||
'factorName' => 'text',
|
||||
'factorSecret' => 'text',
|
||||
),
|
||||
self::CONFIG_KEY_SCHEMA => array(
|
||||
'key_user' => array(
|
||||
'columns' => array('userPHID'),
|
||||
),
|
||||
),
|
||||
) + parent::getConfiguration();
|
||||
}
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ final class PhabricatorAuthProviderConfig extends PhabricatorAuthDAO
|
||||
self::CONFIG_COLUMN_SCHEMA => array(
|
||||
'isEnabled' => 'bool',
|
||||
'providerClass' => 'text128',
|
||||
'providerType' => 'text64',
|
||||
'providerType' => 'text32',
|
||||
'providerDomain' => 'text128',
|
||||
'shouldAllowLogin' => 'bool',
|
||||
'shouldAllowRegistration' => 'bool',
|
||||
@@ -40,6 +40,15 @@ final class PhabricatorAuthProviderConfig extends PhabricatorAuthDAO
|
||||
'shouldAllowUnlink' => 'bool',
|
||||
'shouldTrustEmails' => 'bool',
|
||||
),
|
||||
self::CONFIG_KEY_SCHEMA => array(
|
||||
'key_provider' => array(
|
||||
'columns' => array('providerType', 'providerDomain'),
|
||||
'unique' => true,
|
||||
),
|
||||
'key_class' => array(
|
||||
'columns' => array('providerClass'),
|
||||
),
|
||||
),
|
||||
) + parent::getConfiguration();
|
||||
}
|
||||
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
<?php
|
||||
|
||||
final class PhabricatorAuthSchemaSpec extends PhabricatorConfigSchemaSpec {
|
||||
|
||||
public function buildSchemata() {
|
||||
$this->buildLiskSchemata('PhabricatorAuthDAO');
|
||||
$this->buildTransactionSchema(
|
||||
new PhabricatorAuthProviderConfigTransaction());
|
||||
}
|
||||
|
||||
}
|
||||
@@ -19,6 +19,26 @@ final class PhabricatorAuthSession extends PhabricatorAuthDAO
|
||||
public function getConfiguration() {
|
||||
return array(
|
||||
self::CONFIG_TIMESTAMPS => false,
|
||||
self::CONFIG_COLUMN_SCHEMA => array(
|
||||
'type' => 'text32',
|
||||
'sessionKey' => 'bytes40',
|
||||
'sessionStart' => 'epoch',
|
||||
'sessionExpires' => 'epoch',
|
||||
'highSecurityUntil' => 'epoch?',
|
||||
'isPartial' => 'bool',
|
||||
),
|
||||
self::CONFIG_KEY_SCHEMA => array(
|
||||
'sessionKey' => array(
|
||||
'columns' => array('sessionKey'),
|
||||
'unique' => true,
|
||||
),
|
||||
'key_identity' => array(
|
||||
'columns' => array('userPHID', 'type'),
|
||||
),
|
||||
'key_expires' => array(
|
||||
'columns' => array('sessionExpires'),
|
||||
),
|
||||
),
|
||||
) + parent::getConfiguration();
|
||||
}
|
||||
|
||||
|
||||
@@ -22,6 +22,10 @@ final class PhabricatorAuthTemporaryToken extends PhabricatorAuthDAO
|
||||
self::CONFIG_KEY_SCHEMA => array(
|
||||
'key_token' => array(
|
||||
'columns' => array('objectPHID', 'tokenType', 'tokenCode'),
|
||||
'unique' => true,
|
||||
),
|
||||
'key_expires' => array(
|
||||
'columns' => array('tokenExpires'),
|
||||
),
|
||||
),
|
||||
) + parent::getConfiguration();
|
||||
|
||||
@@ -518,7 +518,7 @@ abstract class PhabricatorController extends AphrontController {
|
||||
*
|
||||
* @return AphrontDialogView New dialog.
|
||||
*/
|
||||
protected function newDialog() {
|
||||
public function newDialog() {
|
||||
$submit_uri = new PhutilURI($this->getRequest()->getRequestURI());
|
||||
$submit_uri = $submit_uri->getPath();
|
||||
|
||||
|
||||
@@ -3,13 +3,11 @@
|
||||
final class PhabricatorCacheSchemaSpec extends PhabricatorConfigSchemaSpec {
|
||||
|
||||
public function buildSchemata() {
|
||||
$this->buildLiskSchemata('PhabricatorCacheDAO');
|
||||
|
||||
$this->buildRawSchema(
|
||||
'cache',
|
||||
id(new PhabricatorKeyValueDatabaseCache())->getTableName(),
|
||||
array(
|
||||
'id' => 'id64',
|
||||
'id' => 'auto64',
|
||||
'cacheKeyHash' => 'bytes12',
|
||||
'cacheKey' => 'text128',
|
||||
'cacheFormat' => 'text16',
|
||||
@@ -20,9 +18,17 @@ final class PhabricatorCacheSchemaSpec extends PhabricatorConfigSchemaSpec {
|
||||
array(
|
||||
'PRIMARY' => array(
|
||||
'columns' => array('id'),
|
||||
'unique' => true,
|
||||
),
|
||||
'key_cacheKeyHash' => array(
|
||||
'columns' => array('cacheKeyHash'),
|
||||
'unique' => true,
|
||||
),
|
||||
'key_cacheCreated' => array(
|
||||
'columns' => array('cacheCreated'),
|
||||
),
|
||||
'key_ttl' => array(
|
||||
'columns' => array('cacheExpires'),
|
||||
),
|
||||
));
|
||||
|
||||
|
||||
@@ -21,6 +21,10 @@ final class PhabricatorMarkupCache extends PhabricatorCacheDAO {
|
||||
self::CONFIG_KEY_SCHEMA => array(
|
||||
'cacheKey' => array(
|
||||
'columns' => array('cacheKey'),
|
||||
'unique' => true,
|
||||
),
|
||||
'dateCreated' => array(
|
||||
'columns' => array('dateCreated'),
|
||||
),
|
||||
),
|
||||
) + parent::getConfiguration();
|
||||
|
||||
@@ -55,7 +55,8 @@ final class CalendarTimeUtilTestCase extends PhabricatorTestCase {
|
||||
'Wednesday',
|
||||
'Thursday',
|
||||
'Friday',
|
||||
'Saturday');
|
||||
'Saturday',
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -103,7 +103,8 @@ final class PhabricatorCalendarViewController
|
||||
phutil_tag(
|
||||
'a',
|
||||
array(
|
||||
'href' => $login_uri),
|
||||
'href' => $login_uri,
|
||||
),
|
||||
pht('Log in'))));
|
||||
}
|
||||
|
||||
|
||||
@@ -43,6 +43,11 @@ final class PhabricatorCalendarEvent
|
||||
'status' => 'uint32',
|
||||
'description' => 'text',
|
||||
),
|
||||
self::CONFIG_KEY_SCHEMA => array(
|
||||
'userPHID_dateFrom' => array(
|
||||
'columns' => array('userPHID', 'dateTo'),
|
||||
),
|
||||
),
|
||||
) + parent::getConfiguration();
|
||||
}
|
||||
|
||||
|
||||
@@ -15,6 +15,7 @@ final class PhabricatorCalendarHoliday extends PhabricatorCalendarDAO {
|
||||
self::CONFIG_KEY_SCHEMA => array(
|
||||
'day' => array(
|
||||
'columns' => array('day'),
|
||||
'unique' => true,
|
||||
),
|
||||
),
|
||||
) + parent::getConfiguration();
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
<?php
|
||||
|
||||
final class PhabricatorCalendarSchemaSpec
|
||||
extends PhabricatorConfigSchemaSpec {
|
||||
|
||||
public function buildSchemata() {
|
||||
$this->buildLiskSchemata('PhabricatorCalendarDAO');
|
||||
}
|
||||
|
||||
}
|
||||
@@ -24,7 +24,8 @@ final class CalendarTimeUtil {
|
||||
|
||||
return array(
|
||||
'start_epoch' => $start_day->format('U'),
|
||||
'end_epoch' => $end_day->format('U'));
|
||||
'end_epoch' => $end_day->format('U'),
|
||||
);
|
||||
}
|
||||
|
||||
public static function getCalendarWeekTimestamps(
|
||||
@@ -56,7 +57,8 @@ final class CalendarTimeUtil {
|
||||
}
|
||||
return array(
|
||||
'today' => $objects['today'],
|
||||
'epoch_stamps' => $timestamps);
|
||||
'epoch_stamps' => $timestamps,
|
||||
);
|
||||
}
|
||||
|
||||
private static function getStartDateTimeObjects(
|
||||
@@ -80,7 +82,8 @@ final class CalendarTimeUtil {
|
||||
}
|
||||
return array(
|
||||
'today' => $today,
|
||||
'start_day' => $start_day);
|
||||
'start_day' => $start_day,
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -120,7 +120,7 @@ final class PhabricatorChatLogChannelLogController
|
||||
'a',
|
||||
array(
|
||||
'href' => $href,
|
||||
'class' => 'timestamp'
|
||||
'class' => 'timestamp',
|
||||
),
|
||||
$timestamp);
|
||||
|
||||
@@ -129,11 +129,12 @@ final class PhabricatorChatLogChannelLogController
|
||||
$message = phutil_tag(
|
||||
'td',
|
||||
array(
|
||||
'class' => 'message'
|
||||
'class' => 'message',
|
||||
),
|
||||
array(
|
||||
$timestamp,
|
||||
$message));
|
||||
$message,
|
||||
));
|
||||
|
||||
$out[] = phutil_tag(
|
||||
'tr',
|
||||
@@ -142,7 +143,8 @@ final class PhabricatorChatLogChannelLogController
|
||||
),
|
||||
array(
|
||||
$author,
|
||||
$message));
|
||||
$message,
|
||||
));
|
||||
}
|
||||
|
||||
$links = array();
|
||||
@@ -210,41 +212,41 @@ final class PhabricatorChatLogChannelLogController
|
||||
$table = phutil_tag(
|
||||
'table',
|
||||
array(
|
||||
'class' => 'phabricator-chat-log'
|
||||
'class' => 'phabricator-chat-log',
|
||||
),
|
||||
$out);
|
||||
|
||||
$log = phutil_tag(
|
||||
'div',
|
||||
array(
|
||||
'class' => 'phabricator-chat-log-panel'
|
||||
'class' => 'phabricator-chat-log-panel',
|
||||
),
|
||||
$table);
|
||||
|
||||
$jump_link = phutil_tag(
|
||||
'a',
|
||||
array(
|
||||
'href' => '#latest'
|
||||
'href' => '#latest',
|
||||
),
|
||||
pht('Jump to Bottom')." \xE2\x96\xBE");
|
||||
|
||||
$jump = phutil_tag(
|
||||
'div',
|
||||
array(
|
||||
'class' => 'phabricator-chat-log-jump'
|
||||
'class' => 'phabricator-chat-log-jump',
|
||||
),
|
||||
$jump_link);
|
||||
|
||||
$jump_target = phutil_tag(
|
||||
'div',
|
||||
array(
|
||||
'id' => 'latest'
|
||||
'id' => 'latest',
|
||||
));
|
||||
|
||||
$content = phutil_tag(
|
||||
'div',
|
||||
array(
|
||||
'class' => 'phabricator-chat-log-wrap'
|
||||
'class' => 'phabricator-chat-log-wrap',
|
||||
),
|
||||
array(
|
||||
$jump,
|
||||
|
||||
@@ -20,6 +20,7 @@ final class PhabricatorChatLogChannel
|
||||
self::CONFIG_KEY_SCHEMA => array(
|
||||
'key_channel' => array(
|
||||
'columns' => array('channelName', 'serviceType', 'serviceName'),
|
||||
'unique' => true,
|
||||
),
|
||||
),
|
||||
) + parent::getConfiguration();
|
||||
|
||||
@@ -21,6 +21,11 @@ final class PhabricatorChatLogEvent
|
||||
'type' => 'text4',
|
||||
'message' => 'text',
|
||||
),
|
||||
self::CONFIG_KEY_SCHEMA => array(
|
||||
'channel' => array(
|
||||
'columns' => array('epoch'),
|
||||
),
|
||||
),
|
||||
) + parent::getConfiguration();
|
||||
}
|
||||
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
<?php
|
||||
|
||||
final class PhabricatorChatLogSchemaSpec extends PhabricatorConfigSchemaSpec {
|
||||
|
||||
public function buildSchemata() {
|
||||
$this->buildLiskSchemata('PhabricatorChatLogDAO');
|
||||
}
|
||||
|
||||
}
|
||||
@@ -279,7 +279,7 @@ final class PhabricatorConduitAPIController
|
||||
if (!$session_key) {
|
||||
return array(
|
||||
'ERR-INVALID-SESSION',
|
||||
'Session key is not present.'
|
||||
'Session key is not present.',
|
||||
);
|
||||
}
|
||||
|
||||
|
||||