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

Add support for temporary files to `file.allocate`

Summary:
Ref T7148. I can do most of the export stuff by only modifying the Instances codebase, but want to upload all the backups and exports as temporary files and can't currently do this via the API.

Make the necessary API changes so that the export workflow can use them when it gets built out.

Test Plan: See next diff. Uploaded files with `arc upload --temporary` and saw them upload as temporary files.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T7148

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

+9 -3
+3 -3
resources/celerity/map.php
··· 7 7 */ 8 8 return array( 9 9 'names' => array( 10 - 'core.pkg.css' => 'a40c0b28', 10 + 'core.pkg.css' => 'eb8c668d', 11 11 'core.pkg.js' => '47dc9ebb', 12 12 'darkconsole.pkg.js' => 'e7393ebb', 13 13 'differential.pkg.css' => '2de124c9', ··· 138 138 'rsrc/css/phui/phui-info-view.css' => '5b16bac6', 139 139 'rsrc/css/phui/phui-list.css' => '125599df', 140 140 'rsrc/css/phui/phui-object-box.css' => '407eaf5a', 141 - 'rsrc/css/phui/phui-object-item-list-view.css' => '26c30d3f', 141 + 'rsrc/css/phui/phui-object-item-list-view.css' => 'ab1bf393', 142 142 'rsrc/css/phui/phui-pager.css' => 'bea33d23', 143 143 'rsrc/css/phui/phui-pinboard-view.css' => '2495140e', 144 144 'rsrc/css/phui/phui-property-list-view.css' => '03904f6b', ··· 791 791 'phui-inline-comment-view-css' => '0fdb3667', 792 792 'phui-list-view-css' => '125599df', 793 793 'phui-object-box-css' => '407eaf5a', 794 - 'phui-object-item-list-view-css' => '26c30d3f', 794 + 'phui-object-item-list-view-css' => 'ab1bf393', 795 795 'phui-pager-css' => 'bea33d23', 796 796 'phui-pinboard-view-css' => '2495140e', 797 797 'phui-property-list-view-css' => '03904f6b',
+6
src/applications/files/conduit/FileAllocateConduitAPIMethod.php
··· 17 17 'contentLength' => 'int', 18 18 'contentHash' => 'optional string', 19 19 'viewPolicy' => 'optional string', 20 + 'deleteAfterEpoch' => 'optional int', 20 21 ); 21 22 } 22 23 ··· 38 39 'viewPolicy' => $view_policy, 39 40 'isExplicitUpload' => true, 40 41 ); 42 + 43 + $ttl = $request->getValue('deleteAfterEpoch'); 44 + if ($ttl) { 45 + $properties['ttl'] = $ttl; 46 + } 41 47 42 48 $file = null; 43 49 if ($hash) {