1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-04 19:08:27 +01:00
phorge-phorge/src/applications/project
epriestley aeae0e7028 Prepare Projects schema for subprojects
Summary:
Ref T10010. This does some cleanups on the schema:

  - `viewPolicy`, `editPolicy` and `joinPolicy` were nullable, but should never be `null`. Set them to defaults if they're null, then make the column non-nullable.
  - Rename `phrictionSlug` to `primarySlug` and stop adding and removing trailing slashes from it.
  - Add new columns to support milestones and non-milestone subprojects.
  - Drop very old subprojectPHIDs column. This hasn't done anything in the UI for years and years, and isn't particularly realistic to migrate forward.

The new columns aren't reachable from the UI.

Test Plan:
  - Applied patches.
  - Grepped for `phrictionSlug`.
  - Grepped for `subprojectPHIDs`.
  - Created tasks.
  - Edited tasks.
  - Verified existing tasks still had primary slugs.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10010

Differential Revision: https://secure.phabricator.com/D14825
2015-12-19 09:21:36 -08:00
..
application Provide a "PHUIFormIconSetControl" 2015-12-16 08:46:51 -08:00
capability Add default View, Edit, and Join Policies to Projects 2014-11-21 11:22:17 -08:00
command Implement a "!projects" mail command 2015-04-01 11:51:51 -07:00
conduit Provide a "PHUIFormIconSetControl" 2015-12-16 08:46:51 -08:00
config Add getGroup to ConfigOptions 2015-02-09 13:10:56 -08:00
constants Extend from Phobject 2015-06-15 18:02:27 +10:00
controller Remove all setObjectURI() from ActionListViews 2015-12-17 08:30:22 -08:00
customfield Rename PhabricatorSearchField to PhabricatorSearchFieldDocumentType 2015-06-05 11:01:25 -07:00
edge Migrate Project edges to subclass PhabricatorEdgeType 2015-01-02 10:10:59 +11:00
editor Modularize SearchEngine extensions 2015-12-14 04:23:02 -08:00
engineextension Improve Conduit type handling for *.edit endpoints 2015-12-16 08:45:46 -08:00
events Maniphest / Workboards - show workboard column when adding a project to a task 2015-01-09 11:12:21 -08:00
herald Various translation improvements 2015-11-03 07:02:46 +11:00
icon Provide a "PHUIFormIconSetControl" 2015-12-16 08:46:51 -08:00
interface Apply some autofix linter rules 2014-09-10 06:55:05 +10:00
lipsum Fix bin/lipsum 2015-07-07 05:33:03 -07:00
mail phtize all the things 2015-05-22 21:16:39 +10:00
phid Mark PhabricatorPHIDType::getPHIDTypeApplicationClass() as abstract 2015-11-03 06:47:12 +11:00
policyrule Move some files around 2015-11-17 06:26:13 +11:00
query Provide a "PHUIFormIconSetControl" 2015-12-16 08:46:51 -08:00
remarkup Markup project hashtags which begin with (or contain only) digits 2015-11-23 06:50:43 -08:00
search Projects - tokenize projects more aggressively with respect to '-' 2014-08-14 12:28:11 -07:00
searchfield Flesh out Conduit types for Paste search fields 2015-12-14 04:23:28 -08:00
storage Prepare Projects schema for subprojects 2015-12-19 09:21:36 -08:00
typeahead Modernize Audit search engine 2015-08-31 10:17:54 -07:00
view Drop "-pro" suffix and "editpro" URIs for EditEngine in Maniphest 2015-12-08 17:56:59 -08:00