stable
Clone or download
Read-only
Part of story #24166 apply a naming pattern on files to enforce a convention Make sure to have the feature flag on: => tuleap config-set feature_flag_apply_naming_pattern 1 Make sure to have filename pattern set (e.g ${TITLE}-blagueur.fun) How to test: - Drop a file => A modal with a form should spawn - Fill the form and create the new file with a title (e.g: Poti) => The file should be displayd - Download the file => the name of the file should be Poti-blagueur.fun Change-Id: Ib080ea33182ed31d75caa5f98b60edfb55424320
Modified Files
Name | ||||
---|---|---|---|---|
R | plugins/document/include/Config/ChangeLogModalDisplayer.php | Go to diff View file | ||
M | plugins/document/include/Tree/DocumentTreeController.php | +6 | −3 | Go to diff View file |
M | plugins/document/include/Tree/DocumentTreePresenter.php | +5 | −0 | Go to diff View file |
M | plugins/document/include/documentPlugin.php | +5 | −3 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/DragNDrop/DragNDropHandler.test.js | +28 | −1 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/DragNDrop/DragNDropHandler.vue | +26 | −1 | Go to diff View file |
A | plugins/document/scripts/document/components/Folder/DragNDrop/FilenamePatternSetErrorModal.vue | +41 | −0 | Go to diff View file |
A | plugins/document/scripts/document/components/Folder/DropDown/NewVersion/FileCreationModal.test.ts | +142 | −0 | Go to diff View file |
A | plugins/document/scripts/document/components/Folder/DropDown/NewVersion/FileCreationModal.vue | +109 | −0 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/FolderHeader.vue | +23 | −0 | Go to diff View file |
M | plugins/document/scripts/document/index.js | +2 | −0 | Go to diff View file |
M | plugins/document/scripts/document/po/fr_FR.po | +10 | −0 | Go to diff View file |
M | plugins/document/scripts/document/store/actions.js | +6 | −0 | Go to diff View file |
M | plugins/document/scripts/document/store/configuration/index.ts | +1 | −0 | Go to diff View file |
M | plugins/document/scripts/document/type.ts | +11 | −0 | Go to diff View file |
M | plugins/document/templates/document-tree.mustache | +1 | −0 | Go to diff View file |
R | plugins/document/tests/unit/Config/ChangelogModalDisplayerTest.php | Go to diff View file |