@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 27 lines 598 B view raw
1<?php 2 3echo pht('Populating Releeph requests with mail keys...')."\n"; 4 5$table = new ReleephRequest(); 6$table->openTransaction(); 7 8// From ponder-mailkey-populate.php... 9foreach (new LiskMigrationIterator($table) as $rq) { 10 $id = $rq->getID(); 11 12 echo "RQ{$id}: "; 13 if (!$rq->getMailKey()) { 14 queryfx( 15 $rq->establishConnection('w'), 16 'UPDATE %T SET mailKey = %s WHERE id = %d', 17 $rq->getTableName(), 18 Filesystem::readRandomCharacters(20), 19 $id); 20 echo pht('Generated Key')."\n"; 21 } else { 22 echo "-\n"; 23 } 24} 25 26$table->saveTransaction(); 27echo pht('Done.')."\n";