1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 17:52:43 +01:00
phorge-phorge/src/applications/metamta/storage
epriestley b256f2d7b2 Prepare UserPreferences for transactions
Summary:
Ref T4103. This give preferences a PHID, policy/transaction interfaces, a transaction table, and a Query class.

This doesn't actually change how they're edited, yet.

Test Plan:
- Ran migrations.
- Inspected database for date created, date modified, PHIDs.
- Changed some of my preferences.
- Deleted a user's preferences, verified they reset properly.
- Set some preferences as a new user, got a new row.
- Destroyed a user, verified their preferences were destroyed.
- Sent Conpherence messages.
- Send mail.
- Tried to edit another user's settings.
- Tried to edit a bot's settings as a non-admin.
- Edited a bot's settings as an admin (technically, none of the editable settings are actually stored in the settings table, currently).

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T4103

Differential Revision: https://secure.phabricator.com/D15991
2016-05-31 12:28:44 -07:00
..
__tests__ Consolidate outbound mail status in a new class 2015-08-14 04:31:42 -07:00
PhabricatorMetaMTAApplicationEmail.php Support Spaces in ApplicationEmail 2015-06-11 10:23:56 -07:00
PhabricatorMetaMTAApplicationEmailTransaction.php Use ApplicationTransactions in ApplicationEmail 2015-06-11 10:15:49 -07:00
PhabricatorMetaMTAAttachment.php Extend from Phobject 2015-06-15 18:02:27 +10:00
PhabricatorMetaMTADAO.php Delete license headers from files 2012-11-05 11:16:51 -08:00
PhabricatorMetaMTAMail.php Prepare UserPreferences for transactions 2016-05-31 12:28:44 -07:00
PhabricatorMetaMTAReceivedMail.php Modularize content sources 2016-03-26 11:59:45 -07:00
PhabricatorMetaMTASchemaSpec.php Automatically build all Lisk schemata 2014-10-02 09:51:20 -07:00