@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add edge tables for Phlux

Summary: Fixes T13129. This at least makes the existing UI work again before we banish Phlux to the shadow realm.

Test Plan: Edited the visibility for a Phlux variable, didn't get an error. Nothing showed up in the edge tables when I made those changes, but at least it doesn't error out anymore.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin, PHID-OPKG-gm6ozazyms6q6i22gyam

Maniphest Tasks: T13129

Differential Revision: https://secure.phabricator.com/D19387

+28
+16
resources/sql/autopatches/20180419.phlux.edges.sql
··· 1 + CREATE TABLE {$NAMESPACE}_phlux.edge ( 2 + src VARBINARY(64) NOT NULL, 3 + type INT UNSIGNED NOT NULL, 4 + dst VARBINARY(64) NOT NULL, 5 + dateCreated INT UNSIGNED NOT NULL, 6 + seq INT UNSIGNED NOT NULL, 7 + dataID INT UNSIGNED, 8 + PRIMARY KEY (src, type, dst), 9 + KEY `src` (src, type, dateCreated, seq), 10 + UNIQUE KEY `key_dst` (dst, type, src) 11 + ) ENGINE=InnoDB, COLLATE {$COLLATE_TEXT}; 12 + 13 + CREATE TABLE {$NAMESPACE}_phlux.edgedata ( 14 + id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT, 15 + data LONGTEXT NOT NULL COLLATE {$COLLATE_TEXT} 16 + ) ENGINE=InnoDB, COLLATE {$COLLATE_TEXT};
+2
src/__phutil_library_map__.php
··· 4716 4716 'PhluxDAO' => 'applications/phlux/storage/PhluxDAO.php', 4717 4717 'PhluxEditController' => 'applications/phlux/controller/PhluxEditController.php', 4718 4718 'PhluxListController' => 'applications/phlux/controller/PhluxListController.php', 4719 + 'PhluxSchemaSpec' => 'applications/phlux/storage/PhluxSchemaSpec.php', 4719 4720 'PhluxTransaction' => 'applications/phlux/storage/PhluxTransaction.php', 4720 4721 'PhluxTransactionQuery' => 'applications/phlux/query/PhluxTransactionQuery.php', 4721 4722 'PhluxVariable' => 'applications/phlux/storage/PhluxVariable.php', ··· 10693 10694 'PhluxDAO' => 'PhabricatorLiskDAO', 10694 10695 'PhluxEditController' => 'PhluxController', 10695 10696 'PhluxListController' => 'PhluxController', 10697 + 'PhluxSchemaSpec' => 'PhabricatorConfigSchemaSpec', 10696 10698 'PhluxTransaction' => 'PhabricatorApplicationTransaction', 10697 10699 'PhluxTransactionQuery' => 'PhabricatorApplicationTransactionQuery', 10698 10700 'PhluxVariable' => array(
+10
src/applications/phlux/storage/PhluxSchemaSpec.php
··· 1 + <?php 2 + 3 + final class PhluxSchemaSpec 4 + extends PhabricatorConfigSchemaSpec { 5 + 6 + public function buildSchemata() { 7 + $this->buildEdgeSchemata(new PhluxVariable()); 8 + } 9 + 10 + }