1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-03-31 22:48:16 +02:00
phorge-phorge/src/infrastructure
epriestley 642113708a Build a rough transaction-level view of Feed
Summary:
Ref T13294. An install is interested in a way to easily answer audit-focused questions like "what edits were made to any Herald rule in Q1 2019?".

We can answer this kind of question with a more granular version of feed that focuses on being exhaustive rather than being human-readable.

This starts a rough version of it and deals with the two major tricky pieces: transactions are in a lot of different tables; and paging across them is not trivial.

To solve "lots of tables", we just query every table. There's a little bit of sleight-of-hand to get this working, but nothing too awful.

To solve "paging is hard", we order by "<dateCreated, phid>". The "phid" part of this order doesn't have much meaning, but it lets us put every transaction in a single, stable, global order and identify a place in that ordering given only one transaction PHID.

Test Plan: {F6463076}

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13294

Differential Revision: https://secure.phabricator.com/D20531
2019-05-21 12:28:00 -07:00
..
cluster Add infrastructure for sending SMS via AWS SNS 2019-01-23 16:29:50 -08:00
contentsource Redesign Config Application 2016-08-29 15:49:49 -07:00
customfield Support exporting custom "Options/Select" fields to Excel/JSON/CSV/etc 2019-03-25 12:58:14 -07:00
daemon Reindex dashboards and panels (allow migrations to queue a job to queue other indexing jobs) 2019-04-17 12:05:49 -07:00
diff Make very minor generality improvements to the scope selector 2019-04-30 06:52:29 -07:00
edges Convert complex query subclasses to use internal cursors 2019-03-19 13:02:16 -07:00
env Replace all "setQueryParam()" calls with "remove/replaceQueryParam()" 2019-02-14 11:56:39 -08:00
events Remove support for the "TYPE_AUTH_WILLLOGIN" event 2018-12-28 00:16:22 -08:00
export Support exporting custom "Options/Select" fields to Excel/JSON/CSV/etc 2019-03-25 12:58:14 -07:00
graph Don't draw the task graph line image on devices by default 2019-03-25 10:52:11 -07:00
internationalization Improve UI for "wait" and "answered" MFA challenges 2018-12-28 00:18:53 -08:00
javelin When the profiler is active, keep it active if the user submits forms 2017-02-23 11:15:40 -08:00
lint/linter Linter fixes 2015-12-03 07:44:23 +11:00
log Proxy the "git upload-pack" wire protocol 2019-04-18 04:57:51 -07:00
management Provide "bin/files integrity" for debugging, maintaining and backfilling integrity hashes 2017-04-06 15:42:43 -07:00
markup Bump the markup cache version for URI changes 2019-02-13 12:25:18 -08:00
query Build a rough transaction-level view of Feed 2019-05-21 12:28:00 -07:00
ssh Generate a random unique "Request ID" for SSH requests so processes can coordinate better 2018-03-22 13:44:30 -07:00
status Give Drydock Leases more modern status treatment 2018-02-13 13:15:57 -08:00
storage When we failover to a replica, log the exception we hit 2019-04-01 14:52:45 -07:00
syntax Pass the new default syntax highlighting map to the remarkup engine 2016-05-05 02:51:19 -07:00
testing When running unit tests, ignore any custom task fields 2017-04-02 09:36:17 -07:00
time Fix errors found by PHPStan 2017-02-18 09:24:56 +00:00
util Add a "metronome" for spreading service call load 2019-02-05 14:06:22 -08:00
PhabricatorEditor.php Mark some strings for translation 2015-06-09 23:06:52 +10:00