stable

Clone or download

Read-only

refactor: Move tracker_encryption DAOs to \Tuleap\DB\DataAccessObject

part of story #32280 Complete the "move artifact" feature Please note that I've intentionally added phpcs:ignoreFile in Tracker_EncryptionKeySettings_Presenter and Tracker_Key. CodeSniffer complains about these two classes, but it is not in the scope of this commit to refactor them. How to test: - You can display, add, remove tracker keys as before in the project administrationµ. - You can display, save, update, delete, keep encrypted fields values as before. - Encrypted field values are reset when the key has been removed (or changed) as before. Change-Id: I063b93a68191f3f2499acac104c96432e11954e2

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/dao/Tracker_Artifact_Changeset_ValueDao.class.php +1 −1 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/DeleteFieldValue.php +26 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/FieldValueDao.php +1 −1 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/Field/SearchFieldValue.php +26 −0 Go to diff View file
A plugins/tracker_encryption/include/Dao/TrackerPublicKeyDao.php +50 −0 Go to diff View file
A plugins/tracker_encryption/include/Dao/ValueDao.php +102 −0 Go to diff View file
M plugins/tracker_encryption/include/EncryptionKeySettings_Presenter.class.php +9 −1 Go to diff View file
M plugins/tracker_encryption/include/Tracker_FormElement_Field_Encrypted.class.php +11 −9 Go to diff View file
M plugins/tracker_encryption/include/Tracker_Key.class.php +3 −6 Go to diff View file
D plugins/tracker_encryption/include/dao/Tracker_Public_KeyDao.class.php +0 −56 Go to diff View file
D plugins/tracker_encryption/include/dao/ValueDao.php +0 −86 Go to diff View file
M plugins/tracker_encryption/include/tracker_encryptionPlugin.php +3 −3 Go to diff View file