stable

Clone or download

Read-only

feat: Exclude some config keys from config-list

This adds the ability to hide a config key from the list of available ones, while still be able to set/get its value. This is illustrated with "feature_flag_display_history_in_document": * It is not listed in `tuleap config-list` * You can set it via `tuleap config-set feature_flag_display_history_in_document 1` (and see two entries appearing in the dropdown menu of an item 👀) * You can get its value. Part of story #28263: edit office document stored in Document Change-Id: I3579f1f70eb02231363ca7c4bc851209c166b76c

Modified Files

Name
M plugins/docman/include/docmanPlugin.php +1 −0 Go to diff View file
M plugins/document/include/Tree/DocumentTreePresenter.php +11 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/DropDownMenu.test.ts +98 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/DropDownMenu.vue +62 −42 Go to diff View file
M plugins/document/scripts/document/components/History/DisplayHistory.test.ts +44 −0 Go to diff View file
M plugins/document/scripts/document/components/History/DisplayHistory.vue +4 −2 Go to diff View file
M plugins/document/scripts/document/components/Versions/DisplayVersions.test.ts +40 −0 Go to diff View file
M plugins/document/scripts/document/components/Versions/DisplayVersions.vue +9 −2 Go to diff View file
M plugins/document/scripts/document/helpers/version-history-retriever.test.ts +3 −3 Go to diff View file
M plugins/document/scripts/document/index.js +6 −0 Go to diff View file
M plugins/document/templates/document-tree.mustache +1 −0 Go to diff View file
M src/common/CLI/Command/ConfigListCommand.php +3 −0 Go to diff View file
A src/common/Config/ConfigKeyHidden.php +32 −0 Go to diff View file
M src/common/Config/ConfigKeyMetadata.php +1 −0 Go to diff View file
M src/common/Config/GetConfigKeys.php +5 −0 Go to diff View file
M tests/unit/common/Config/GetConfigKeysTest.php +22 −0 Go to diff View file