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

Make Calendar Event handles slightly more modern

Summary: Ref T11326. Use modern methods instead of building this stuff separately.

Test Plan: Used `E123`, `{E123}`, saw references render normally.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11326

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

+5 -5
+5 -5
src/applications/calendar/phid/PhabricatorCalendarEventPHIDType.php
··· 32 32 foreach ($handles as $phid => $handle) { 33 33 $event = $objects[$phid]; 34 34 35 - $id = $event->getID(); 35 + $monogram = $event->getMonogram(); 36 36 $name = $event->getName(); 37 - $is_cancelled = $event->getIsCancelled(); 37 + $uri = $event->getURI(); 38 38 39 39 $handle 40 40 ->setName($name) 41 - ->setFullName(pht('E%d: %s', $id, $name)) 42 - ->setURI('/E'.$id); 41 + ->setFullName(pht('%s: %s', $monogram, $name)) 42 + ->setURI($uri); 43 43 44 - if ($is_cancelled) { 44 + if ($event->isCancelledEvent()) { 45 45 $handle->setStatus(PhabricatorObjectHandle::STATUS_CLOSED); 46 46 } 47 47 }