Upload documents in Vitro|VIVO (#251)
* feat: introduced file upload * fix: added file upload config settings * fix: reverted auto formatting of upload file helper * fix: replaced missed condition * Improved naming, internationalization, removed file extensions as misleading information * Fixed wrong bytes number representing 10Mb * fix: show no media types allowed if no media types defined in runtime.properties * fix: Add vitro-languages-home-core as installer dependency to have Vitro RDF internationalization files * fix: change vitro-languages-core-home dependency type from tar.gz to pom
This commit is contained in:
parent
eff04e0979
commit
ebc9237cc6
15 changed files with 642 additions and 1 deletions
|
@ -188,3 +188,8 @@ proxy.eligibleTypeList = http://www.w3.org/2002/07/owl#Thing
|
|||
# Vitro does not contain restricted data that should not be shared with others.
|
||||
#
|
||||
# tpf.activeFlag = true
|
||||
#
|
||||
# File upload file size in bytes. By default 10485760 bytes (10Mb)
|
||||
#fileUpload.maxFileSize = 10485760
|
||||
#comma separated list of mime types allowed for upload
|
||||
#fileUpload.allowedMIMETypes = image/png, application/pdf
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
<http://vitro.mannlib.cornell.edu/ns/vitro/public#storedFile> <http://vitro.mannlib.cornell.edu/ontologies/display/1.1#listViewConfigFile> "listViewConfig-storedFile.xml" .
|
|
@ -43,6 +43,11 @@
|
|||
<rdfs:range rdf:resource="&xsd;string"/>
|
||||
</owl:DatatypeProperty>
|
||||
|
||||
<owl:DatatypeProperty rdf:about="#publicFilename">
|
||||
<rdfs:domain><owl:Class rdf:about="#File"/></rdfs:domain>
|
||||
<rdfs:range rdf:resource="&xsd;string"/>
|
||||
</owl:DatatypeProperty>
|
||||
|
||||
<owl:DatatypeProperty rdf:about="#attribution">
|
||||
<rdfs:domain><owl:Class rdf:about="#File"/></rdfs:domain>
|
||||
<rdfs:range rdf:resource="&xsd;string"/>
|
||||
|
@ -67,6 +72,10 @@
|
|||
<rdfs:range><owl:Class rdf:about="#File"/></rdfs:range>
|
||||
</owl:ObjectProperty>
|
||||
|
||||
<owl:ObjectProperty rdf:about="#storedFile">
|
||||
<rdfs:range><owl:Class rdf:about="#File"/></rdfs:range>
|
||||
</owl:ObjectProperty>
|
||||
|
||||
<owl:ObjectProperty rdf:about="#image">
|
||||
<rdfs:range><owl:Class rdf:about="#File"/></rdfs:range>
|
||||
</owl:ObjectProperty>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue