update config

This commit is contained in:
j 2017-12-14 13:18:30 +00:00
parent e6ef483305
commit f7dbdd8bb6

View file

@ -90,6 +90,20 @@
*/ */
"clipLayers": ["subtitles", "keywords", "notes"], "clipLayers": ["subtitles", "keywords", "notes"],
/* /*
"documentRightsLevel" defines which initial rights level will be assigned to documents
created by users of these user levels.
*/
"documentRightsLevel": {"member": 0, "staff": 0, "admin": 0},
/*
"documentRightsLevels" is an ordered list of rights levels, one of which will be
assigned to each document.
*/
"documentRightsLevels": [
{"name": "Public", "color": [128, 255, 128]},
{"name": "Restricted", "color": [255, 212, 128]},
{"name": "Private", "color": [255, 128, 128]}
],
/*
"entities" can be used to store arbitrary data. They can be referenced in "entities" can be used to store arbitrary data. They can be referenced in
annotations, info view, or elsewhere. Each entry defines a specific class annotations, info view, or elsewhere. Each entry defines a specific class
of entity object, its properties and their types (for example an "actor" of entity object, its properties and their types (for example an "actor"
@ -136,6 +150,17 @@
{"id": "embeds", "title": "Embeds"} {"id": "embeds", "title": "Embeds"}
], ],
/* /*
"importMetadata" defines what fields (as defined in "itemKeys") will get
populated with imported metadata. There is metadata for "title",
"description", "uploader", "date", "tags", "id", "url", and the value must
be a format string (like "{title} ({id})"). The type of the itemKeys must
be "string", ["string"], "text", "date" or "year". The last two only work
with "{date}".
*/
"importMetadata": {
"title": "{title}"
},
/*
"itemKeys" defines the metadata associated with each item. Required keys "itemKeys" defines the metadata associated with each item. Required keys
are "*", "id" and "title". Annotation layers can be referenced too, which are "*", "id" and "title". Annotation layers can be referenced too, which
makes them available in the find element. Adding a key with "annotations" makes them available in the find element. Adding a key with "annotations"
@ -909,14 +934,26 @@
"calendarFind": "", "calendarFind": "",
"calendarSelection": "", "calendarSelection": "",
"clipColumns": 2, "clipColumns": 2,
"clipSize": 416,
"collectionColumns": ["title", "id", "extension", "dimensions", "size", "description", "matches", "user", "created", "modified"],
"collectionColumnWidth": {},
"collectionSelection": [],
"collectionSort": [
{"key": "title", "operator": "+"},
{"key": "extension", "operator": "+"}
],
"collectionView": "grid",
"collections": {},
"columns": { "columns": {
"Colors": { "Colors": {
"columns": ["title", "depositor", "collection", "language", "hue", "saturation", "brightness"], "columns": ["title", "depositor", "collection", "language", "hue", "saturation", "brightness"],
"columnWidth": {} "columnWidth": {}
} }
}, },
"document": "",
"documents": {}, "documents": {},
"documentSize": 256, "documentSize": 256,
"documentView": "view",
"documentsSelection": {}, "documentsSelection": {},
"documentsSort": [{"key": "name", "operator": "+"}], "documentsSort": [{"key": "name", "operator": "+"}],
"documentsView": "grid", "documentsView": "grid",
@ -963,7 +1000,7 @@
"page": "", "page": "",
"part": { "part": {
"api": "", "api": "",
"documents": "", "document": "",
"entities": "", "entities": "",
"faq": "", "faq": "",
"help": "", "help": "",
@ -1006,7 +1043,7 @@
"featured": true, "featured": true,
"volumes": true "volumes": true
}, },
"texts": { "documents": {
"personal": true, "personal": true,
"favorite": true, "favorite": true,
"featured": true "featured": true