stable

Clone or download

Read-only

Enable computed field edition

part of story #9090 have computed fields compatible with artifact links v2 Users with write access on the field can disable this autocomputation and set a value User can switch from set value back to automated computation When the value is manually set, the automated computation is still show as an info When the tracker uses computed_fields legacy, the autocomputed field is not updatable. If the autocomplted field v2 has read-only permission, the field should not be updatable. Change-Id: I5eba75a7d2790460229bccf80f305db02ced3fad

Modified Files

Name
M plugins/tracker/db/install.sql +7 −0 Go to diff View file
A plugins/tracker/db/mysql/updates/2016/201606021408_create_tracker_changeset_value_computed_table.php +51 −0 Go to diff View file
M plugins/tracker/db/uninstall.sql +2 −0 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/dao/ComputedDao.php +54 −0 Go to diff View file
A plugins/tracker/include/Tracker/ChangesetValueComputed.php +37 −0 Go to diff View file
M plugins/tracker/include/Tracker/Deprecation/Dao.php +18 −0 Go to diff View file
M plugins/tracker/include/Tracker/Deprecation/DeprecationRetriever.php +6 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field.class.php +21 −2 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Computed.class.php +176 −25 Go to diff View file
M plugins/tracker/include/autoload.php +4 −2 Go to diff View file
M plugins/tracker/site-content/en_US/tracker.tab +5 −0 Go to diff View file
M plugins/tracker/site-content/fr_FR/tracker.tab +7 −2 Go to diff View file
M plugins/tracker/www/scripts/TrackerArtifactEditionSwitcher.js +23 −1 Go to diff View file
M plugins/tracker/www/themes/default/css/style.scss +35 −1 Go to diff View file
M src/common/dao/include/DataAccess.class.php +9 −1 Go to diff View file