1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-12 07:41:04 +01:00
phorge-phorge/src/applications/transactions/query
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
..
PhabricatorApplicationTransactionCommentQuery.php Update many Phabricator queries for new %Q query semantics 2018-11-15 03:48:10 -08:00
PhabricatorApplicationTransactionQuery.php Build a rough transaction-level view of Feed 2019-05-21 12:28:00 -07:00
PhabricatorApplicationTransactionTemplatedCommentQuery.php Prepare TransactionCommentQuery for extension 2015-03-09 14:11:18 -07:00
PhabricatorEditEngineConfigurationQuery.php When editing a subtyped object, use edit forms of the same subtype 2017-03-02 04:24:28 -08:00
PhabricatorEditEngineConfigurationSearchEngine.php Allow "maniphest.subtypes" to configure which options are presented by "Create Subtask" 2018-12-10 14:58:28 -08:00
PhabricatorEditEngineConfigurationTransactionQuery.php Allow ApplicationEditor forms to be reconfigured 2015-11-10 10:24:40 -08:00
PhabricatorEditEngineQuery.php Fix an issue where internal paging of notifications could fail if some notifications are not visible 2019-04-23 11:45:04 -07:00
PhabricatorEditEngineSearchEngine.php Reduce application search engine results list for Dashboards 2017-02-22 12:42:43 -08:00