forked from geoserver/geoserver
-
Notifications
You must be signed in to change notification settings - Fork 1
GSIP 139
NielsCharlier edited this page Feb 23, 2016
·
9 revisions
Niels Charlier
This proposal is for GeoServer 2.10.0 and later
- Under Discussion
- In Progress
- Completed
- Rejected
- Deferred
Some configuration resources cannot be manipulated in using either the GUI, REST or both. Normally people can edit, add and delete files in the data directory through the file system directly. This is not possible with the jdbcstore. Users must be able to manipulate a non file-based resource store directory. There is already a REST API for this purpose, but we'd like a GUI option as well.
The main page is the resource browser with roughly the following visual structure:

- The buttons move/rename and copy are only enabled if a resource has been selected in the right panel. The download button is only enabled if a resource that is not a directory has been selected. The edit button is only enabled if a resource of a text based mime type has been selected (mime type to be detected from extension then content).
- Clicking the download button will start the download of the selected file.
-
Upload, move/rename, copy and new will open a pop-up window, with the following visual structures:
- The 'directory' form fields will be initialised with the current directory selected in the left panel. The ... buttons will display another pop-up window that looks identical to the file chooser but shows resources instead of files, in which users can select a directory. A new directory can be created by typing the appropriate path.
- In the case of rename/move and copy, the 'name' form field will automatically be initialised with the current name, in the case of 'Create new Resource' it will be empty. On uploading, the name of the file on the local system is used.
- All fields are required.
- On clicking Cancel the user is returned to the resource browser and the action is cancelled. On clicking OK the user is returned to the resource browser after the action is performed, except in the case of 'Create new Resource'. The selected directory in the resource browser is preserved.
- The edit as well as the new button will lead to a plain text file editor with roughly the following visual structure:
. - On clicking save, the resource is saved with new contents provided in the text editor.
- The Close button will return the user back to the resource browser (with selected directory preserved). However, if the file has been modified and not yet saved, a pop-up window will be displayed that gives the user the chance to save the resource or cancel closing it.
not applicable.
Project Steering Committee:
- Alessio Fabiani
- Andrea Aime
- Ben Caradoc-Davies
- Christian Mueller
- Ian Turton
- Jody Garnett
- Jukka Rahkonen
- Kevin Smith
- Simone Giannecchini
Committers:
©2020 Open Source Geospatial Foundation