irods-contrib / irods-cloud-browser

DFC Web Based cloud browser
BSD 2-Clause "Simplified" License
18 stars 13 forks source link

Add 'create new file....' function to listing page #130

Closed michael-conway closed 8 years ago

michael-conway commented 8 years ago

Add a create new file that will list certain types,and create a basic template file of that type

create new:

text rule xml json csv

This will rest on a new jargon extension that will list types available, and manage template files of that type. It can be called with a 'name' and a type and put the template into irods and return.

This links to a lib to be developed in jargon-extensions

https://github.com/DICE-UNC/jargon-extensions/issues/8

michael-conway commented 8 years ago

example list of file templates

 responseText:[{"class":"org.irods.jargon.filetemplate.FileTemplate","defaultExtension":".txt","i18nTemplateName":"template.text","infoType":"","mimeType":"text/plain","templateName":"text.template","templateUniqueIdentifier":"a.unique.name"}]
michael-conway commented 8 years ago

example from create

{"class":"org.irods.jargon.filetemplate.FileTemplate","defaultExtension":".txt","i18nTemplateName":"template.text","infoType":"","mimeType":"text/plain","templateName":"text.template","templateUniqueIdentifier":"a.unique.name"}]