1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-11 17:32:41 +01:00
phorge-phorge/src/applications
James Rhodes ba16df0fed Restructure Drydock so that blueprints are instances in the DB
Summary:
//(this diff used to be about applying policies to blueprints)//

This restructures Drydock so that blueprints are instances in the DB, with an associated implementation class.  Thus resources now have a `blueprintPHID` instead of `blueprintClass` and DrydockBlueprint becomes a DAO.  The old DrydockBlueprint is renamed to DrydockBlueprintImplementation, and the DrydockBlueprint DAO has a `blueprintClass` column on it.

This now just implements CAN_VIEW and CAN_EDIT policies for blueprints, although they are probably not enforced in all of the places they could be.

Test Plan: Used the `create-resource` and `lease` commands.  Closed resources and leases in the UI.  Clicked around the new and old lists to make sure everything is still working.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley

CC: Korvin, epriestley, aran

Maniphest Tasks: T4111, T2015

Differential Revision: https://secure.phabricator.com/D7638
2013-12-03 11:09:07 +11:00
..
arcanist/conduit Move Conduit methods inside applications 2012-12-21 12:21:59 -08:00
audit Make event-triggered actions more aware of application access 2013-10-21 17:00:50 -07:00
auth Provide an LDAPS example in LDAP auth 2013-11-25 14:55:44 -08:00
base Show an "approval queue" item on the home page for admins, and sort out menu item visibility 2013-11-13 11:24:38 -08:00
cache Provide 'bin/cache', for managing caches 2013-05-20 10:16:35 -07:00
calendar Replace some hsprintf() by phutil_tag() 2013-11-11 09:23:23 -08:00
chatlog Fix chatlog application query integration 2013-10-22 13:47:47 -07:00
conduit Improve handling of email verification and "activated" accounts 2013-11-12 14:37:04 -08:00
config Add "phd.user" with sudo hooks for SSH/HTTP writes 2013-11-18 08:58:35 -08:00
conpherence Replace some hsprintf() by phutil_tag() 2013-11-11 09:23:23 -08:00
countdown Replace some hsprintf() by phutil_tag() 2013-11-11 09:23:23 -08:00
daemon Lock policy queries to their applications 2013-10-21 17:20:27 -07:00
differential Add a config flag to treat "Accepted" revisions as "Closed" 2013-11-25 17:40:01 -08:00
diffusion Support Mercurial pretxnchangegroup hooks 2013-12-02 15:46:03 -08:00
directory/controller Hide Audit information on Home when the application is uninstalled 2013-10-09 15:25:03 -07:00
diviner Lock policy queries to their applications 2013-10-21 17:20:27 -07:00
doorkeeper Add a configuration option to put Asana tasks into Asana projects 2013-11-25 17:40:12 -08:00
draft/storage Add draft support to ApplicationTransactions 2012-12-21 05:57:14 -08:00
drydock Restructure Drydock so that blueprints are instances in the DB 2013-12-03 11:09:07 +11:00
fact Convert AphrontTableView to safe HTML 2013-02-09 15:11:38 -08:00
feed Replace some hsprintf() by phutil_tag() 2013-11-11 09:23:23 -08:00
files Have TransactionComments return a PHUIObjectBoxView 2013-11-21 16:09:04 -08:00
flag Work around a bug in PHP 5.3-ish with abstract methods in interfaces 2013-10-25 15:58:17 -07:00
harbormaster Passphrase v0 2013-11-20 09:13:35 -08:00
help/controller Make Differential views capability-sensitive 2013-09-26 18:45:04 -07:00
herald Improve handling of email verification and "activated" accounts 2013-11-12 14:37:04 -08:00
legalpad Have TransactionComments return a PHUIObjectBoxView 2013-11-21 16:09:04 -08:00
lipsum Kill PhabricatorObjectDataHandle 2013-09-11 12:27:28 -07:00
macro Turn the macro selector into a tokenizer 2013-11-25 19:22:06 -08:00
mailinglists Lock policy queries to their applications 2013-10-21 17:20:27 -07:00
maniphest Propagate "edit policy" and "view policy" when creating a new template task 2013-11-25 14:55:06 -08:00
meta Update Apps Installed icons to match Projects. 2013-10-23 13:28:47 -07:00
metamta Add bin/repository edit for CLI repository editing 2013-11-13 11:26:05 -08:00
notification Replace some hsprintf() by phutil_tag() 2013-11-11 09:23:23 -08:00
nuance Nuance - federate out the design of NuanceSource via NuanceSourceDefinition 2013-11-20 13:41:19 -08:00
oauthserver Initialize used variable 2013-07-09 21:55:27 -07:00
owners Replace some hsprintf() by phutil_tag() 2013-11-11 09:23:23 -08:00
passphrase Fix an error in PassphrasePasswordKey construction 2013-11-26 05:56:36 -08:00
paste Have TransactionComments return a PHUIObjectBoxView 2013-11-21 16:09:04 -08:00
people Allow "bin/auth recover" to succeed before phabricator.base-uri is set 2013-11-20 10:36:00 -08:00
phame Replace some hsprintf() by phutil_tag() 2013-11-11 09:23:23 -08:00
phid Work around a bug in PHP 5.3-ish with abstract methods in interfaces 2013-10-25 15:58:17 -07:00
phlux Fix an issue with editing policies in Phlux. 2013-11-22 16:55:57 -08:00
pholio Have TransactionComments return a PHUIObjectBoxView 2013-11-21 16:09:04 -08:00
phortune Lock policy queries to their applications 2013-10-21 17:20:27 -07:00
phpast Replace some hsprintf() by phutil_tag() 2013-11-11 09:23:23 -08:00
phrequent Lock policy queries to their applications 2013-10-21 17:20:27 -07:00
phriction Replace some hsprintf() by phutil_tag() 2013-11-11 09:23:23 -08:00
policy Passphrase v0 2013-11-20 09:13:35 -08:00
ponder Have TransactionComments return a PHUIObjectBoxView 2013-11-21 16:09:04 -08:00
project Fix missing button to expand project action list on mobile. 2013-11-27 12:03:31 -08:00
releeph Have TransactionComments return a PHUIObjectBoxView 2013-11-21 16:09:04 -08:00
remarkup/conduit Support processing Remarkup in bulk with remarkup.processbulk Conduit method 2013-11-02 16:30:11 -07:00
repository Support Mercurial pretxnchangegroup hooks 2013-12-02 15:46:03 -08:00
search Fix Maniphest Next button not working when default query has 100+ results. 2013-11-27 12:18:11 -08:00
settings Clean up external accounts page 2013-11-24 19:14:16 -08:00
slowvote Have TransactionComments return a PHUIObjectBoxView 2013-11-21 16:09:04 -08:00
subscriptions Tie application event listeners to the applications they listen for 2013-10-21 17:00:21 -07:00
system Replace some hsprintf() by phutil_tag() 2013-11-11 09:23:23 -08:00
tokens Lock policy queries to their applications 2013-10-21 17:20:27 -07:00
transactions Fix a minor issue with editing Credential policies 2013-11-22 16:06:35 -08:00
typeahead Turn the macro selector into a tokenizer 2013-11-25 19:22:06 -08:00
uiexample Minor, fix the PagedForm UIExample 2013-11-26 08:57:17 -08:00
xhprof Make most file reads policy-aware 2013-09-30 09:38:13 -07:00