Project

General

Profile

Actions

User story #9211

closed

Add Directive field with a graphical File Explorer for shared files

Added by François ARMAND over 7 years ago. Updated over 7 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Config management
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

We want to provide a new field type for directives that allows (but not force) to use a graphical explorer to select the path of a file from shared file.

In that first version, there is no specific rights associated with the file explorer: if you are able to modify directive, you can use the file explorer.

Bonus point if the file explorer allows to see the content of the file (but not to edit it) and if it is configurable (i.e, if we somehow have an option to enable/disable it globally).

So we need:

- a new type of VType in /rudder-core/src/main/scala/com/normation/cfclerk/domain/Constraint.scala and its parsing in /rudder-core/src/main/scala/com/normation/cfclerk/xmlparsers/VariableSpecParser.scala => parseConstraint
- a new field type in /rudder-web/src/main/scala/com/normation/rudder/web/model/DirectiveFieldEditors.scala
- a new mapping between the two in /rudder-web/src/main/scala/bootstrap/liftweb/AppConfig.scala => FieldFactoryImpl (I'm seeing that there is already an UploadedFileVType that can be used as a model)

The first step is to find and test a file directory browser. The only one I know for angular is that one: https://github.com/joni2back/angular-filemanager/blob/master/README.md


Subtasks 4 (0 open4 closed)

User story #9232: Add an API to list shared files propertiesReleasedFrançois ARMAND2016-10-05Actions
User story #9318: Add Support for shared file input in metadata.xmlReleasedFrançois ARMAND2016-10-11Actions
User story #9346: Compilation error because RestSharedFolder not foundReleasedVincent MEMBRÉ2016-10-12Actions
User story #9348: Add the shared file constraint to copy from shared folder techniquesReleasedVincent MEMBRÉ2016-10-13Actions

Related issues 3 (0 open3 closed)

Related to Rudder - User story #3606: Upload a file to the shared folder RejectedVincent MEMBRÉActions
Has duplicate Rudder - User story #3921: Manage shared folder from web appRejectedFrançois ARMANDActions
Has duplicate Rudder - User story #7251: Management of shared-filesRejectedActions
Actions #1

Updated by Raphael GAUTHIER over 7 years ago

  • Status changed from New to In progress
Actions #2

Updated by Raphael GAUTHIER over 7 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Raphael GAUTHIER to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/1265
Actions #3

Updated by Anonymous over 7 years ago

  • Status changed from Pending technical review to Pending release
Actions #4

Updated by Benoît PECCATTE over 7 years ago

  • Target version changed from 4.0.0~rc2 to 318
Actions #5

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 318 to 4.0.0~rc2
Actions #6

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 4.0.0~rc2 to 4.0.0~rc1
Actions #7

Updated by Alexis Mousset over 7 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.0.0 which was released the 10th November 2016.

Actions #8

Updated by Benoît PECCATTE about 7 years ago

Actions #9

Updated by Benoît PECCATTE about 7 years ago

Actions #10

Updated by Benoît PECCATTE about 7 years ago

Actions

Also available in: Atom PDF