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

at recaptime-dev/main 34 lines 763 B view raw
1<?php 2 3$icon_map = array( 4 'fa-briefcase' => 'project', 5 'fa-tags' => 'tag', 6 'fa-lock' => 'policy', 7 'fa-users' => 'group', 8 9 'fa-folder' => 'folder', 10 'fa-calendar' => 'timeline', 11 'fa-flag-checkered' => 'goal', 12 'fa-truck' => 'release', 13 14 'fa-bug' => 'bugs', 15 'fa-trash-o' => 'cleanup', 16 'fa-umbrella' => 'umbrella', 17 'fa-envelope' => 'communication', 18 19 'fa-building' => 'organization', 20 'fa-cloud' => 'infrastructure', 21 'fa-credit-card' => 'account', 22 'fa-flask' => 'experimental', 23); 24 25$table = new PhabricatorProject(); 26$conn_w = $table->establishConnection('w'); 27foreach ($icon_map as $old_icon => $new_key) { 28 queryfx( 29 $conn_w, 30 'UPDATE %T SET icon = %s WHERE icon = %s', 31 $table->getTableName(), 32 $new_key, 33 $old_icon); 34}