@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 Differential use viewer's token instead of viewer() token again

Summary: Ref T4100. This restores the simpler behavior. See discussion in T4100#107445

Test Plan: Used Differential search, saw my token.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T4100

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

+83 -65
+82 -64
resources/celerity/map.php
··· 7 7 */ 8 8 return array( 9 9 'names' => array( 10 - 'core.pkg.css' => '5efa6280', 11 - 'core.pkg.js' => '6a4f677f', 10 + 'core.pkg.css' => 'f46ba5fa', 11 + 'core.pkg.js' => 'b00140fe', 12 12 'darkconsole.pkg.js' => '8ab24e01', 13 13 'differential.pkg.css' => '3500921f', 14 14 'differential.pkg.js' => 'c0506961', ··· 27 27 'rsrc/css/aphront/panel-view.css' => '8427b78d', 28 28 'rsrc/css/aphront/phabricator-nav-view.css' => '7aeaf435', 29 29 'rsrc/css/aphront/table-view.css' => '59e2c0f8', 30 - 'rsrc/css/aphront/tokenizer.css' => '82ce2142', 30 + 'rsrc/css/aphront/tokenizer.css' => '6fd738ea', 31 31 'rsrc/css/aphront/tooltip.css' => '7672b60f', 32 32 'rsrc/css/aphront/two-column.css' => '16ab3ad2', 33 + 'rsrc/css/aphront/typeahead-browse.css' => '343ab59f', 33 34 'rsrc/css/aphront/typeahead.css' => '0e403212', 34 35 'rsrc/css/application/almanac/almanac.css' => 'dbb9b3af', 35 36 'rsrc/css/application/auth/auth.css' => '1e655982', ··· 221 222 'rsrc/externals/javelin/lib/__tests__/URI.js' => '1e45fda9', 222 223 'rsrc/externals/javelin/lib/__tests__/behavior.js' => '1ea62783', 223 224 'rsrc/externals/javelin/lib/behavior.js' => '61cbc29a', 224 - 'rsrc/externals/javelin/lib/control/tokenizer/Tokenizer.js' => '7644823e', 225 + 'rsrc/externals/javelin/lib/control/tokenizer/Tokenizer.js' => 'dc708b7e', 225 226 'rsrc/externals/javelin/lib/control/typeahead/Typeahead.js' => '70baed2f', 226 - 'rsrc/externals/javelin/lib/control/typeahead/normalizer/TypeaheadNormalizer.js' => '6f7a9da8', 227 + 'rsrc/externals/javelin/lib/control/typeahead/normalizer/TypeaheadNormalizer.js' => 'e6e25838', 227 228 'rsrc/externals/javelin/lib/control/typeahead/source/TypeaheadCompositeSource.js' => '503e17fd', 228 229 'rsrc/externals/javelin/lib/control/typeahead/source/TypeaheadOnDemandSource.js' => '8b3fd187', 229 230 'rsrc/externals/javelin/lib/control/typeahead/source/TypeaheadPreloadedSource.js' => '54f314a0', ··· 389 390 'rsrc/js/application/doorkeeper/behavior-doorkeeper-tag.js' => 'e5822781', 390 391 'rsrc/js/application/files/behavior-icon-composer.js' => '8ef9ab58', 391 392 'rsrc/js/application/files/behavior-launch-icon-composer.js' => '48086888', 392 - 'rsrc/js/application/herald/HeraldRuleEditor.js' => '6e2de6f2', 393 + 'rsrc/js/application/herald/HeraldRuleEditor.js' => '9229e764', 393 394 'rsrc/js/application/herald/PathTypeahead.js' => 'f7fc67ec', 394 395 'rsrc/js/application/herald/herald-rule-editor.js' => '7ebaeed3', 395 - 'rsrc/js/application/maniphest/behavior-batch-editor.js' => 'f24f3253', 396 + 'rsrc/js/application/maniphest/behavior-batch-editor.js' => 'f5d1233b', 396 397 'rsrc/js/application/maniphest/behavior-batch-selector.js' => '7b98d7c5', 397 398 'rsrc/js/application/maniphest/behavior-line-chart.js' => '88f0c5b3', 398 399 'rsrc/js/application/maniphest/behavior-list-edit.js' => 'a9f88de2', ··· 410 411 'rsrc/js/application/phortune/behavior-test-payment-form.js' => 'fc91ab6c', 411 412 'rsrc/js/application/phortune/phortune-credit-card-form.js' => '2290aeef', 412 413 'rsrc/js/application/policy/behavior-policy-control.js' => 'f3fef818', 413 - 'rsrc/js/application/policy/behavior-policy-rule-editor.js' => 'fe9a552f', 414 + 'rsrc/js/application/policy/behavior-policy-rule-editor.js' => '5e9f347c', 414 415 'rsrc/js/application/ponder/behavior-votebox.js' => '4e9b766b', 415 416 'rsrc/js/application/projects/behavior-boards-dropdown.js' => '0ec56e1d', 416 417 'rsrc/js/application/projects/behavior-project-boards.js' => '87cb6b51', ··· 425 426 'rsrc/js/application/transactions/behavior-show-older-transactions.js' => 'dbbf48b6', 426 427 'rsrc/js/application/transactions/behavior-transaction-comment-form.js' => '9f7309fb', 427 428 'rsrc/js/application/transactions/behavior-transaction-list.js' => '13c739ea', 429 + 'rsrc/js/application/typeahead/behavior-typeahead-browse.js' => '635de1ec', 430 + 'rsrc/js/application/typeahead/behavior-typeahead-search.js' => '93d0c9e3', 428 431 'rsrc/js/application/uiexample/JavelinViewExample.js' => 'd4a14807', 429 432 'rsrc/js/application/uiexample/ReactorButtonExample.js' => 'd19198c8', 430 433 'rsrc/js/application/uiexample/ReactorCheckboxExample.js' => '519705ea', ··· 447 450 'rsrc/js/core/KeyboardShortcutManager.js' => 'c1700f6f', 448 451 'rsrc/js/core/MultirowRowManager.js' => 'b5d57730', 449 452 'rsrc/js/core/Notification.js' => '0c6946e7', 450 - 'rsrc/js/core/Prefab.js' => '72da38cc', 453 + 'rsrc/js/core/Prefab.js' => '4c292cc5', 451 454 'rsrc/js/core/ShapedRequest.js' => '7cbe244b', 452 455 'rsrc/js/core/TextAreaUtils.js' => '5c93c52c', 453 456 'rsrc/js/core/Title.js' => 'df5e11d2', ··· 507 510 'aphront-pager-view-css' => '2e3539af', 508 511 'aphront-panel-view-css' => '8427b78d', 509 512 'aphront-table-view-css' => '59e2c0f8', 510 - 'aphront-tokenizer-control-css' => '82ce2142', 513 + 'aphront-tokenizer-control-css' => '6fd738ea', 511 514 'aphront-tooltip-css' => '7672b60f', 512 515 'aphront-two-column-view-css' => '16ab3ad2', 513 516 'aphront-typeahead-control-css' => '0e403212', ··· 541 544 'global-drag-and-drop-css' => '697324ad', 542 545 'harbormaster-css' => '49d64eb4', 543 546 'herald-css' => '826075fa', 544 - 'herald-rule-editor' => '6e2de6f2', 547 + 'herald-rule-editor' => '9229e764', 545 548 'herald-test-css' => '778b008e', 546 549 'homepage-panel-css' => 'e34bf140', 547 550 'inline-comment-summary-css' => 'eb5f8e8c', ··· 599 602 'javelin-behavior-lightbox-attachments' => 'f8ba29d7', 600 603 'javelin-behavior-line-chart' => '88f0c5b3', 601 604 'javelin-behavior-load-blame' => '42126667', 602 - 'javelin-behavior-maniphest-batch-editor' => 'f24f3253', 605 + 'javelin-behavior-maniphest-batch-editor' => 'f5d1233b', 603 606 'javelin-behavior-maniphest-batch-selector' => '7b98d7c5', 604 607 'javelin-behavior-maniphest-list-editor' => 'a9f88de2', 605 608 'javelin-behavior-maniphest-subpriority-editor' => '84845b5b', ··· 637 640 'javelin-behavior-phui-object-box-tabs' => '2bfa2836', 638 641 'javelin-behavior-phui-timeline-dropdown-menu' => '4d94d9c3', 639 642 'javelin-behavior-policy-control' => 'f3fef818', 640 - 'javelin-behavior-policy-rule-editor' => 'fe9a552f', 643 + 'javelin-behavior-policy-rule-editor' => '5e9f347c', 641 644 'javelin-behavior-ponder-votebox' => '4e9b766b', 642 645 'javelin-behavior-project-boards' => '87cb6b51', 643 646 'javelin-behavior-project-create' => '065227cc', ··· 657 660 'javelin-behavior-stripe-payment-form' => '3f5d6dbf', 658 661 'javelin-behavior-test-payment-form' => 'fc91ab6c', 659 662 'javelin-behavior-toggle-class' => 'e566f52c', 663 + 'javelin-behavior-typeahead-browse' => '635de1ec', 664 + 'javelin-behavior-typeahead-search' => '93d0c9e3', 660 665 'javelin-behavior-view-placeholder' => '47830651', 661 666 'javelin-behavior-workflow' => '0a3f3021', 662 667 'javelin-color' => '7e41274a', ··· 684 689 'javelin-scrollbar' => 'eaa5b321', 685 690 'javelin-sound' => '949c0fe5', 686 691 'javelin-stratcom' => '6c53634d', 687 - 'javelin-tokenizer' => '7644823e', 692 + 'javelin-tokenizer' => 'dc708b7e', 688 693 'javelin-typeahead' => '70baed2f', 689 694 'javelin-typeahead-composite-source' => '503e17fd', 690 - 'javelin-typeahead-normalizer' => '6f7a9da8', 695 + 'javelin-typeahead-normalizer' => 'e6e25838', 691 696 'javelin-typeahead-ondemand-source' => '8b3fd187', 692 697 'javelin-typeahead-preloaded-source' => '54f314a0', 693 698 'javelin-typeahead-source' => '2818f5ce', ··· 739 744 'phabricator-notification-menu-css' => '3c9d8aa1', 740 745 'phabricator-object-selector-css' => '029a133d', 741 746 'phabricator-phtize' => 'd254d646', 742 - 'phabricator-prefab' => '72da38cc', 747 + 'phabricator-prefab' => '4c292cc5', 743 748 'phabricator-profile-css' => '1a20dcbf', 744 749 'phabricator-remarkup-css' => 'e10512ff', 745 750 'phabricator-search-results-css' => '15c71110', ··· 833 838 'sprite-tokens-css' => '1706b943', 834 839 'syntax-highlighting-css' => '56c1ba38', 835 840 'tokens-css' => '3d0f239e', 841 + 'typeahead-browse-css' => '343ab59f', 836 842 'unhandled-exception-css' => '37d4f9a2', 837 843 ), 838 844 'requires' => array( ··· 1146 1152 '4a2430d7' => array( 1147 1153 'phui-fontkit-css', 1148 1154 ), 1155 + '4c292cc5' => array( 1156 + 'javelin-install', 1157 + 'javelin-util', 1158 + 'javelin-dom', 1159 + 'javelin-typeahead', 1160 + 'javelin-tokenizer', 1161 + 'javelin-typeahead-preloaded-source', 1162 + 'javelin-typeahead-ondemand-source', 1163 + 'javelin-dom', 1164 + 'javelin-stratcom', 1165 + 'javelin-util', 1166 + ), 1149 1167 '4d94d9c3' => array( 1150 1168 'javelin-behavior', 1151 1169 'javelin-stratcom', ··· 1238 1256 'javelin-dom', 1239 1257 'javelin-vector', 1240 1258 ), 1259 + '5e9f347c' => array( 1260 + 'javelin-behavior', 1261 + 'multirow-row-manager', 1262 + 'javelin-dom', 1263 + 'javelin-util', 1264 + 'phabricator-prefab', 1265 + 'javelin-json', 1266 + ), 1241 1267 '5fefb143' => array( 1242 1268 'javelin-behavior', 1243 1269 'javelin-dom', ··· 1267 1293 'javelin-install', 1268 1294 'javelin-util', 1269 1295 ), 1296 + '635de1ec' => array( 1297 + 'javelin-behavior', 1298 + 'javelin-stratcom', 1299 + 'javelin-workflow', 1300 + 'javelin-dom', 1301 + ), 1270 1302 '6882e80a' => array( 1271 1303 'javelin-dom', 1272 1304 ), ··· 1295 1327 'javelin-dom', 1296 1328 'phabricator-drag-and-drop-file-upload', 1297 1329 'phabricator-textareautils', 1298 - ), 1299 - '6e2de6f2' => array( 1300 - 'multirow-row-manager', 1301 - 'javelin-install', 1302 - 'javelin-util', 1303 - 'javelin-dom', 1304 - 'javelin-stratcom', 1305 - 'javelin-json', 1306 - 'phabricator-prefab', 1307 1330 ), 1308 1331 '6e8cefa4' => array( 1309 1332 'javelin-install', ··· 1322 1345 'javelin-vector', 1323 1346 'javelin-stratcom', 1324 1347 ), 1325 - '6f7a9da8' => array( 1326 - 'javelin-install', 1348 + '6fd738ea' => array( 1349 + 'aphront-typeahead-control-css', 1327 1350 ), 1328 1351 '70baed2f' => array( 1329 1352 'javelin-install', ··· 1341 1364 'javelin-stratcom', 1342 1365 'phabricator-prefab', 1343 1366 ), 1344 - '72da38cc' => array( 1345 - 'javelin-install', 1346 - 'javelin-util', 1347 - 'javelin-dom', 1348 - 'javelin-typeahead', 1349 - 'javelin-tokenizer', 1350 - 'javelin-typeahead-preloaded-source', 1351 - 'javelin-typeahead-ondemand-source', 1352 - 'javelin-dom', 1353 - 'javelin-stratcom', 1354 - 'javelin-util', 1355 - ), 1356 1367 '7319e029' => array( 1357 1368 'javelin-behavior', 1358 1369 'javelin-dom', ··· 1362 1373 'javelin-vector', 1363 1374 'javelin-dom', 1364 1375 ), 1365 - '7644823e' => array( 1366 - 'javelin-dom', 1367 - 'javelin-util', 1368 - 'javelin-stratcom', 1369 - 'javelin-install', 1370 - ), 1371 1376 '76b9fc3e' => array( 1372 1377 'javelin-behavior', 1373 1378 'javelin-stratcom', ··· 1451 1456 'javelin-stratcom', 1452 1457 'javelin-workflow', 1453 1458 'phabricator-draggable-list', 1454 - ), 1455 - '82ce2142' => array( 1456 - 'aphront-typeahead-control-css', 1457 1459 ), 1458 1460 '834a1173' => array( 1459 1461 'javelin-behavior', ··· 1546 1548 'javelin-dom', 1547 1549 'javelin-stratcom', 1548 1550 ), 1551 + '9229e764' => array( 1552 + 'multirow-row-manager', 1553 + 'javelin-install', 1554 + 'javelin-util', 1555 + 'javelin-dom', 1556 + 'javelin-stratcom', 1557 + 'javelin-json', 1558 + 'phabricator-prefab', 1559 + ), 1549 1560 93568464 => array( 1550 1561 'javelin-behavior', 1551 1562 'javelin-dom', ··· 1559 1570 'phuix-action-view', 1560 1571 'conpherence-thread-manager', 1561 1572 ), 1573 + '93d0c9e3' => array( 1574 + 'javelin-behavior', 1575 + 'javelin-stratcom', 1576 + 'javelin-workflow', 1577 + 'javelin-dom', 1578 + ), 1562 1579 '9414ff18' => array( 1563 1580 'javelin-behavior', 1564 1581 'javelin-resource', ··· 1817 1834 'javelin-dom', 1818 1835 'phabricator-busy', 1819 1836 ), 1837 + 'dc708b7e' => array( 1838 + 'javelin-dom', 1839 + 'javelin-util', 1840 + 'javelin-stratcom', 1841 + 'javelin-install', 1842 + ), 1820 1843 'de2e896f' => array( 1821 1844 'javelin-behavior', 1822 1845 'javelin-dom', ··· 1896 1919 'javelin-behavior-device', 1897 1920 'phabricator-keyboard-shortcut', 1898 1921 ), 1922 + 'e6e25838' => array( 1923 + 'javelin-install', 1924 + ), 1899 1925 'e723c323' => array( 1900 1926 'javelin-behavior', 1901 1927 'javelin-stratcom', ··· 1926 1952 'efe49472' => array( 1927 1953 'javelin-install', 1928 1954 'javelin-util', 1929 - ), 1930 - 'f24f3253' => array( 1931 - 'javelin-behavior', 1932 - 'javelin-dom', 1933 - 'javelin-util', 1934 - 'phabricator-prefab', 1935 - 'multirow-row-manager', 1936 - 'javelin-json', 1937 1955 ), 1938 1956 'f36e01af' => array( 1939 1957 'javelin-behavior', ··· 1951 1969 'phuix-action-view', 1952 1970 'javelin-workflow', 1953 1971 ), 1972 + 'f5d1233b' => array( 1973 + 'javelin-behavior', 1974 + 'javelin-dom', 1975 + 'javelin-util', 1976 + 'phabricator-prefab', 1977 + 'multirow-row-manager', 1978 + 'javelin-json', 1979 + ), 1954 1980 'f6555212' => array( 1955 1981 'javelin-install', 1956 1982 'javelin-reactornode', ··· 2014 2040 'javelin-dom', 2015 2041 'javelin-view-visitor', 2016 2042 'javelin-util', 2017 - ), 2018 - 'fe9a552f' => array( 2019 - 'javelin-behavior', 2020 - 'multirow-row-manager', 2021 - 'javelin-dom', 2022 - 'javelin-util', 2023 - 'phabricator-prefab', 2024 - 'javelin-json', 2025 2043 ), 2026 2044 ), 2027 2045 'packages' => array(
+1 -1
src/applications/differential/query/DifferentialRevisionSearchEngine.php
··· 212 212 switch ($query_key) { 213 213 case 'active': 214 214 return $query 215 - ->setParameter('responsiblePHIDs', array('viewer()')) 215 + ->setParameter('responsiblePHIDs', array($viewer->getPHID())) 216 216 ->setParameter('status', DifferentialRevisionQuery::STATUS_OPEN); 217 217 case 'authored': 218 218 return $query