@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.

Clean up parentDomain issues in PhameBlog

Summary: Ref T9360. These weren't getting set properly, also make them nullable since they're optional.

Test Plan: run upgrade, make a new blog with and without a parent domain. Edit a current blog.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Maniphest Tasks: T9360

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

+7 -2
+2
resources/sql/autopatches/20160706.phame.blog.parentdomain.2.sql
··· 1 + ALTER TABLE {$NAMESPACE}_phame.phame_blog 2 + MODIFY parentDomain VARCHAR(128) NULL COLLATE {$COLLATE_TEXT};
+2
resources/sql/autopatches/20160706.phame.blog.parentsite.1.sql
··· 1 + ALTER TABLE {$NAMESPACE}_phame.phame_blog 2 + MODIFY parentSite VARCHAR(128) NULL COLLATE {$COLLATE_TEXT};
+1
src/applications/phame/editor/PhameBlogEditor.php
··· 66 66 case PhameBlogTransaction::TYPE_DESCRIPTION: 67 67 case PhameBlogTransaction::TYPE_STATUS: 68 68 case PhameBlogTransaction::TYPE_PARENTSITE: 69 + case PhameBlogTransaction::TYPE_PARENTDOMAIN: 69 70 case PhameBlogTransaction::TYPE_PROFILEIMAGE: 70 71 case PhameBlogTransaction::TYPE_HEADERIMAGE: 71 72 return $xaction->getNewValue();
+2 -2
src/applications/phame/storage/PhameBlog.php
··· 48 48 'description' => 'text', 49 49 'domain' => 'text128?', 50 50 'domainFullURI' => 'text128?', 51 - 'parentSite' => 'text128', 52 - 'parentDomain' => 'text128', 51 + 'parentSite' => 'text128?', 52 + 'parentDomain' => 'text128?', 53 53 'status' => 'text32', 54 54 'mailKey' => 'bytes20', 55 55 'profileImagePHID' => 'phid?',