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

Adding basic transaction messages for Calendar event updates re:all-day

Summary: Closes T8021, Adding basic transaction messages for Calendar event updates re:all-day

Test Plan: Toggling "all-day" checkbox on event edit and saving should result in feed stories for event and Feed.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

Maniphest Tasks: T8021

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

+22
+22
src/applications/calendar/storage/PhabricatorCalendarEventTransaction.php
··· 132 132 return pht( 133 133 "%s updated the event's description.", 134 134 $this->renderHandleLink($author_phid)); 135 + case self::TYPE_ALL_DAY: 136 + if ($new) { 137 + return pht( 138 + '%s made this an all day event.', 139 + $this->renderHandleLink($author_phid)); 140 + } else { 141 + return pht( 142 + '%s converted this from an all day event.', 143 + $this->renderHandleLink($author_phid)); 144 + } 135 145 case self::TYPE_CANCEL: 136 146 if ($new) { 137 147 return pht( ··· 291 301 '%s updated the description of %s.', 292 302 $this->renderHandleLink($author_phid), 293 303 $this->renderHandleLink($object_phid)); 304 + case self::TYPE_ALL_DAY: 305 + if ($new) { 306 + return pht( 307 + '%s made %s an all day event.', 308 + $this->renderHandleLink($author_phid), 309 + $this->renderHandleLink($object_phid)); 310 + } else { 311 + return pht( 312 + '%s converted %s from an all day event.', 313 + $this->renderHandleLink($author_phid), 314 + $this->renderHandleLink($object_phid)); 315 + } 294 316 case self::TYPE_CANCEL: 295 317 if ($new) { 296 318 return pht(