From f7dbdd8bb68ca5e770032c4836a479e533ff0068 Mon Sep 17 00:00:00 2001 From: j Date: Thu, 14 Dec 2017 13:18:30 +0000 Subject: [PATCH] update config --- config.jsonc | 41 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 39 insertions(+), 2 deletions(-) diff --git a/config.jsonc b/config.jsonc index 2c6e0ea..8e2a23c 100644 --- a/config.jsonc +++ b/config.jsonc @@ -90,6 +90,20 @@ */ "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 annotations, info view, or elsewhere. Each entry defines a specific class of entity object, its properties and their types (for example an "actor" @@ -136,6 +150,17 @@ {"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 are "*", "id" and "title". Annotation layers can be referenced too, which makes them available in the find element. Adding a key with "annotations" @@ -909,14 +934,26 @@ "calendarFind": "", "calendarSelection": "", "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": { "Colors": { "columns": ["title", "depositor", "collection", "language", "hue", "saturation", "brightness"], "columnWidth": {} } }, + "document": "", "documents": {}, "documentSize": 256, + "documentView": "view", "documentsSelection": {}, "documentsSort": [{"key": "name", "operator": "+"}], "documentsView": "grid", @@ -963,7 +1000,7 @@ "page": "", "part": { "api": "", - "documents": "", + "document": "", "entities": "", "faq": "", "help": "", @@ -1006,7 +1043,7 @@ "featured": true, "volumes": true }, - "texts": { + "documents": { "personal": true, "favorite": true, "featured": true