Homec4science

Implement Maniphest auxiliary field 'default' key

Authored by epriestley <git@epriestley.com> on Mar 8 2013, 02:23.

Description

Implement Maniphest auxiliary field 'default' key

Summary: Fixes T404. Ref T2575. Allows default to be set for any field. Date defaults are interpreted by strtotime(). Other defaults are interpreted as expected.

Test Plan:

  • Created a string custom field with default value "Orange".
  • Created a date custom field with a fixed default value (my birthday).
  • Created a date custom field with a relative default value ("today 4:59 PM").
  • Created/edited tasks with these fields, verified everything behaved sensibly.

Reviewers: hach-que, btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T404, T2575

Differential Revision: https://secure.phabricator.com/D5282

Details

Committed
epriestley <git@epriestley.com>Mar 8 2013, 02:23
Pushed
aubortJan 31 2017, 17:16
Parents
rPHba4649679c54: Implement Maniphest "date" auxiliary field type
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH3f56ca681f3e: Implement Maniphest auxiliary field 'default' key (authored by epriestley <git@epriestley.com>).Mar 8 2013, 02:23