2011-12-04 12:44:15 +00:00
/*
2014-12-20 16:32:36 +00:00
-------------------------------------------------------------------------------
pan.do/ra Configuration
-------------------------------------------------------------------------------
2014-12-20 16:55:19 +00:00
You can edit this file. You may also want to take a look at the configuration
examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
2011-12-04 12:44:15 +00:00
*/
2011-02-22 14:47:59 +00:00
{
2014-12-01 16:36:48 +00:00
/*
2014-12-20 16:32:36 +00:00
"annotations" configures the annotation panel.
"showUsers": If true, include list of users in menu, so that
annotations by specific users can be turned on and off
2014-12-01 16:36:48 +00:00
*/
2012-01-12 10:39:19 +00:00
"annotations": {
2012-06-13 15:59:10 +00:00
"showUsers": false
2012-01-12 10:39:19 +00:00
},
2014-12-01 16:36:48 +00:00
/*
2014-12-20 16:32:36 +00:00
"cantPlay" specifies the UI for clips or videos that a user is not allowed
to play.
"icon": Symbol name (see https://oxjs.org/#examples/symbols/live)
"link": URL loaded on click (for example "/rights", if "rights" is
defined in "sitePages")
"text": Text shown on mouseover
2014-12-01 16:36:48 +00:00
*/
2012-04-22 19:53:50 +00:00
"cantPlay": {
2014-12-20 16:32:36 +00:00
"icon": "noCopyright",
2012-04-22 19:53:50 +00:00
"link": "",
"text": ""
},
2011-12-04 12:44:15 +00:00
/*
2014-12-20 16:32:36 +00:00
"capabilities" are permissions per user level.
Depending on the capability, this is either global:
{level: true} means a user of that level has the capability
or related to the rights levels of items or texts:
{level: x} means a user of that level has the capability for items or
texts of a rights level up to and including x
2011-12-04 12:44:15 +00:00
*/
"capabilities": {
2013-02-25 10:23:49 +00:00
"canAddItems": {"member": true, "staff": true, "admin": true},
2011-12-05 13:48:59 +00:00
"canDownloadVideo": {"guest": 1, "member": 1, "staff": 4, "admin": 4},
2012-01-02 19:06:56 +00:00
"canEditAnnotations": {"staff": true, "admin": true},
2014-01-07 05:31:34 +00:00
"canEditDocuments": {"staff": true, "admin": true},
2014-11-18 18:16:28 +00:00
"canEditEntities": {"staff": true, "admin": true},
2012-01-12 19:32:54 +00:00
"canEditEvents": {"staff": true, "admin": true},
2013-02-19 15:22:12 +00:00
"canEditFeaturedEdits": {"staff": true, "admin": true},
2011-12-04 12:44:15 +00:00
"canEditFeaturedLists": {"staff": true, "admin": true},
2013-02-16 01:20:40 +00:00
"canEditFeaturedTexts": {"staff": true, "admin": true},
2013-05-27 10:13:59 +00:00
"canEditMedia": {"staff": true, "admin": true},
2011-12-04 12:44:15 +00:00
"canEditMetadata": {"staff": true, "admin": true},
2012-01-12 19:32:54 +00:00
"canEditPlaces": {"staff": true, "admin": true},
2014-06-04 07:34:36 +00:00
"canEditRightsLevel": {"member": true, "staff": true, "admin": true},
2011-12-04 12:44:15 +00:00
"canEditSitePages": {"staff": true, "admin": true},
"canEditUsers": {"admin": true},
2014-09-19 12:19:30 +00:00
"canExportAnnotations": {"member": true, "staff": true, "admin": true},
2012-02-22 16:50:42 +00:00
"canImportAnnotations": {"member": true, "staff": true, "admin": true},
2013-05-27 10:13:59 +00:00
"canManageDocuments": {"member": true, "staff": true, "admin": true},
2014-11-20 13:19:33 +00:00
"canManageEntities": {"member": true, "staff": true, "admin": true},
2012-03-27 07:14:59 +00:00
"canManagePlacesAndEvents": {"member": true, "staff": true, "admin": true},
2013-02-19 15:22:12 +00:00
"canManageTitlesAndNames": {"member": true, "staff": true, "admin": true},
2012-03-27 07:14:59 +00:00
"canManageUsers": {"staff": true, "admin": true},
2011-12-05 13:48:59 +00:00
"canPlayClips": {"guest": 1, "member": 1, "staff": 4, "admin": 4},
"canPlayVideo": {"guest": 1, "member": 1, "staff": 4, "admin": 4},
2013-02-28 12:18:04 +00:00
"canReadText": {"guest": 0, "member": 0, "staff": 1, "admin": 1},
2013-02-25 10:23:49 +00:00
"canRemoveItems": {"admin": true},
2012-04-19 09:29:37 +00:00
"canSeeAccessed": {"staff": true, "admin": true},
2011-12-04 12:44:15 +00:00
"canSeeDebugMenu": {"staff": true, "admin": true},
2012-03-21 09:36:11 +00:00
"canSeeExtraItemViews": {"staff": true, "admin": true},
2013-05-27 10:13:59 +00:00
"canSeeMedia": {"staff": true, "admin": true},
2011-12-05 13:48:59 +00:00
"canSeeItem": {"guest": 1, "member": 1, "staff": 4, "admin": 4},
2012-03-21 13:39:36 +00:00
"canSeeSize": {"staff": true, "admin": true},
2012-07-01 12:24:57 +00:00
"canSeeSoftwareVersion": {"staff": true, "admin": true},
2013-02-25 10:23:49 +00:00
"canSendMail": {"staff": true, "admin": true}
2011-12-04 12:44:15 +00:00
},
/*
2014-12-20 16:32:36 +00:00
"clipKeys" are the properties that clips can be sorted by (the values are
populated automatically). If "sortOperator" is not specified, it will be
"+" (ascending) for strings and "-" (descending) for numbers.
2011-12-04 12:44:15 +00:00
*/
"clipKeys": [
{"id": "text", "title": "Text", "type": "string"},
{"id": "position", "title": "Position", "type": "float", "sortOperator": "+"},
{"id": "duration", "title": "Duration", "type": "float"},
{"id": "hue", "title": "Hue", "type": "float", "sortOperator": "+"},
{"id": "saturation", "title": "Saturation", "type": "float"},
{"id": "lightness", "title": "Lightness", "type": "float"},
{"id": "volume", "title": "Volume", "type": "float"}
],
2012-01-20 17:53:21 +00:00
/*
2014-12-20 16:32:36 +00:00
"clipLayers" is the ordered list of public layers that will appear as the
text of clips (in grid view, below the icon). Excluding a layer from this
list means it will not be included in find annotations.
FIXME: the last bit is not implemented.
2012-01-20 17:53:21 +00:00
*/
2012-06-18 10:01:05 +00:00
"clipLayers": ["publicnotes", "keywords", "subtitles"],
2014-12-01 16:23:11 +00:00
/*
2014-12-20 16:32:36 +00:00
"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"
with "name", "biography", "photo" etc). The HTML representation for
entities can be customized by adding "/static/js/entity.SITENAME.js".
Each entity has the following properties:
"id": Internal ID (can be referenced in "layers")
"title": Human-readable title
"keys": List of properties
"sortType": Optional. If set to "person" or "title", then the sort
order can be configured in "Manage Names" or "Manage Titles"
Each key has the properties "id", "title" and "type". "type" can be
"boolean", "number", "string", "text", "document" (reference to the id of a
document added via "Manage Documents") or ["string"] (list of strings).
"id" and "name" keys are required. If "additional_names" is present, these
will act as synonyms when autocompleting values entered as annotations.
2014-12-01 16:23:11 +00:00
*/
"entities": [],
2014-12-01 16:36:48 +00:00
/*
2014-12-20 16:32:36 +00:00
If "flags" is set to true, then filters for countries and languages will
appear with a flag icon.
2014-12-01 16:36:48 +00:00
*/
2013-02-19 19:57:59 +00:00
"flags": false,
2014-12-01 16:36:48 +00:00
/*
2014-12-20 16:32:36 +00:00
"help" specifies the sections of the help dialog.
2014-12-01 16:36:48 +00:00
*/
2013-03-04 10:07:37 +00:00
"help": [
{"id": "help", "title": "Help"},
{"id": "accounts", "title": "Accounts"},
2013-03-05 09:33:15 +00:00
{"id": "navigation", "title": "Navigation"},
{"id": "views", "title": "Views"},
{"id": "timelines", "title": "Timelines"},
2013-03-04 10:07:37 +00:00
{"id": "clips", "title": "Clips"},
2013-03-05 09:33:15 +00:00
{"id": "maps", "title": "Maps"},
{"id": "calendars", "title": "Calendars"},
{"id": "find", "title": "Find"},
2013-03-04 10:07:37 +00:00
{"id": "filters", "title": "Filters"},
{"id": "lists", "title": "Lists"},
2013-03-05 09:33:15 +00:00
{"id": "player", "title": "Player"},
{"id": "editor", "title": "Editor"},
2014-02-17 09:40:20 +00:00
{"id": "documents", "title": "Documents"},
2014-11-19 16:05:23 +00:00
{"id": "entities", "title": "Entities"},
2013-03-05 09:33:15 +00:00
{"id": "edits", "title": "Edits"},
2013-03-04 10:07:37 +00:00
{"id": "texts", "title": "Texts"},
2013-03-05 09:33:15 +00:00
{"id": "embeds", "title": "Embeds"}
2013-03-04 10:07:37 +00:00
],
2011-12-04 12:44:15 +00:00
/*
2014-12-20 16:32:36 +00:00
"itemKeys" defines the metadata associated with each item. Required keys
are "*", "id" and "title".
An itemKey must have the following properties:
"id": The id of the key (as known by the server)
"title": The title of the key (as displayed by the client)
"type": Can be "boolean", "date", "enum", "float", "hue", "integer",
"layer", "string", "text", "time" or ["..."] (list of values of
this type). If type is "layer", this is a reference to the
annotations layer with the same id.
and can have any of the following properties:
2014-12-20 16:39:24 +00:00
"autocomplete": If true, the find element will provide autocomplete
2014-12-20 16:32:36 +00:00
"autocompleteSort": Sort order of autocomplete suggestions
"capability": A capability required to see data for this key
"columnRequired": If true, the column can't be removed from list view
2014-12-20 16:39:24 +00:00
"columnWidth": Default column width in px. If absent, no column for
this key can be added in list view.
2014-12-20 16:32:36 +00:00
"filter": If true, one can filter results by this key
"find": If true, this key will appear as an option in the find element
"format": {type: string, args: [value, value, ...]}, used for special
formatting. This will invoke Ox.formatType(args). For details, see
https://oxjs.org/#doc/Ox.formatArea etc.
"secondaryId": If true, loading the URL "/value" will redirect to the
2014-12-20 16:39:24 +00:00
corresponding item, in case there is an exact match for this key
2014-12-20 16:32:36 +00:00
"sort": If true, one can sort results by this key
2014-12-20 16:39:24 +00:00
"sortOperator": Sort order ("+" or "-"), in case it differs from the
2014-12-20 16:32:36 +00:00
default for the key's type ("+" for strings, "-" for numbers)
"sortType": Special sort type ("person" or "title") which can be
2014-12-20 16:39:24 +00:00
further configured in "Manage Names" or "Manage Titles"
2014-12-20 16:32:36 +00:00
"value": {key: string, type: string}, for keys whose value is derived
from other keys (like number of actors). Possible values for type
are "length", "lengthperminute", "words", and "wordsperminute".
Alternatively, "value" can be set to the string "capability", which
results in an itemKey whose boolean value indicates the presence or
absence of a userLevel-dependent capability. This can be used to
create queries and lists like "all items this user can play" etc.
2011-12-04 12:44:15 +00:00
*/
2011-02-22 14:47:59 +00:00
"itemKeys": [
2011-12-04 12:44:15 +00:00
{
"id": "*",
"title": "All",
"type": "text",
"find": true
},
2011-02-22 16:42:26 +00:00
{
2011-02-22 14:47:59 +00:00
"id": "title",
"title": "Title",
"type": "string",
2011-02-22 16:42:26 +00:00
"autocomplete": true,
2013-07-22 13:16:18 +00:00
"autocompleteSort": [{"key": "timesaccessed", "operator": "-"}],
2011-02-22 16:42:26 +00:00
"columnRequired": true,
"columnWidth": 180,
"find": true,
2012-03-08 11:33:20 +00:00
"sort": true,
"sortType": "title"
2011-02-22 14:47:59 +00:00
},
2012-01-12 19:32:54 +00:00
{
"id": "name",
2012-06-18 10:01:05 +00:00
"title": "Name",
2012-01-12 19:32:54 +00:00
"type": ["string"],
"autocomplete": true,
"find": true
},
2011-02-22 14:47:59 +00:00
{
"id": "director",
"title": "Director",
"type": ["string"],
2011-02-22 16:42:26 +00:00
"autocomplete": true,
"columnRequired": true,
"columnWidth": 180,
2013-09-30 18:34:44 +00:00
"filter": true,
2012-03-08 11:33:20 +00:00
"sort": true,
"sortType": "person"
2011-02-22 14:47:59 +00:00
},
2012-01-09 09:06:35 +00:00
{
2012-01-20 17:53:21 +00:00
"id": "featuring",
"title": "Featuring",
2012-01-09 09:06:35 +00:00
"type": ["string"],
"autocomplete": true,
"columnRequired": true,
"columnWidth": 180,
"filter": true,
2012-03-08 11:33:20 +00:00
"sort": true,
"sortType": "person"
2012-01-09 09:06:35 +00:00
},
2011-02-22 14:47:59 +00:00
{
"id": "language",
"title": "Language",
"type": ["string"],
2011-02-22 16:42:26 +00:00
"autocomplete": true,
"columnWidth": 120,
2011-12-04 12:44:15 +00:00
"filter": true,
2012-03-08 11:33:20 +00:00
"find": true,
"sort": true
2011-02-22 14:47:59 +00:00
},
2011-12-05 13:48:59 +00:00
{
2012-06-13 15:59:10 +00:00
"id": "country",
2013-07-11 12:38:11 +00:00
"title": "Country",
2011-12-05 13:48:59 +00:00
"type": "string",
"autocomplete": true,
"columnWidth": 180,
"filter": true,
2012-03-08 11:33:20 +00:00
"find": true,
"sort": true
2011-12-05 13:48:59 +00:00
},
2012-01-20 17:53:21 +00:00
{
2012-06-13 15:59:10 +00:00
"id": "year",
"title": "Year",
2012-06-18 10:01:05 +00:00
"type": "year",
2014-12-20 16:32:36 +00:00
"additionalSort": [
{"key": "director", "operator": "+"},
{"key": "title", "operator": "+"}
],
2012-06-18 10:01:05 +00:00
"autocomplete": true,
"columnWidth": 60,
"filter": true,
"find": true,
2012-03-08 11:33:20 +00:00
"sort": true
2012-01-20 17:53:21 +00:00
},
2011-02-22 14:47:59 +00:00
{
2012-02-16 10:30:52 +00:00
"id": "summary",
"title": "Summary",
2011-02-22 14:47:59 +00:00
"type": "text",
2011-02-22 16:42:26 +00:00
"find": true
2011-02-22 14:47:59 +00:00
},
2013-03-03 11:22:37 +00:00
{
"id": "notes",
"title": "Notes",
"type": "text",
"capability": "canEditMetadata"
},
2011-02-22 14:47:59 +00:00
{
2011-02-22 16:42:26 +00:00
"id": "id",
"title": "ID",
"type": "string",
2012-03-08 11:33:20 +00:00
"columnWidth": 90,
"sort": true
2011-02-22 14:47:59 +00:00
},
2012-02-16 10:30:52 +00:00
{
"id": "keywords",
"title": "Keywords",
"type": "layer",
2013-09-30 18:34:44 +00:00
"filter": true,
2012-02-16 10:30:52 +00:00
"find": true
2011-02-22 14:47:59 +00:00
},
{
2012-06-13 15:59:10 +00:00
"id": "subtitles",
"title": "Subtitles",
2012-02-16 10:30:52 +00:00
"type": "layer",
"find": true
2011-02-22 14:47:59 +00:00
},
{
2012-06-13 15:59:10 +00:00
"id": "publicnotes",
2012-06-18 10:01:05 +00:00
"title": "Notes",
2012-02-16 10:30:52 +00:00
"type": "layer",
"find": true
2011-02-22 14:47:59 +00:00
},
{
2012-02-20 17:42:13 +00:00
"id": "numberofannotations",
"title": "Annotations",
"type": "integer",
2012-03-08 11:33:20 +00:00
"columnWidth": 60,
"sort": true
2012-02-20 17:42:13 +00:00
},
{
2011-02-22 16:42:26 +00:00
"id": "duration",
"title": "Duration",
2013-03-03 10:52:17 +00:00
"type": "time",
2011-02-22 16:42:26 +00:00
"columnWidth": 90,
2012-03-08 11:33:20 +00:00
"format": {"type": "duration", "args": [0, "short"]},
"sort": true
2011-02-22 16:42:26 +00:00
},
{
"id": "resolution",
"title": "Resolution",
"type": ["integer"],
2012-01-20 17:53:21 +00:00
"columnWidth": 90,
2012-03-08 11:33:20 +00:00
"format": {"type": "resolution", "args": ["px"]},
"sort": true
2011-02-22 14:47:59 +00:00
},
{
"id": "aspectratio",
"title": "Aspect Ratio",
2011-02-22 16:42:26 +00:00
"type": "float",
"columnWidth": 90,
2012-07-02 14:11:58 +00:00
"format": {"type": "unit", "args": [":1", 3]},
2012-03-08 11:33:20 +00:00
"sort": true
2011-02-22 14:47:59 +00:00
},
{
2011-02-22 16:42:26 +00:00
"id": "pixels",
"title": "Pixels",
"type": "integer",
"columnWidth": 90,
2012-03-08 11:33:20 +00:00
"format": {"type": "value", "args": ["px"]},
"sort": true
2011-02-22 14:47:59 +00:00
},
{
2011-02-22 16:42:26 +00:00
"id": "hue",
"title": "Hue",
"type": "hue",
"columnWidth": 90,
2012-03-08 11:33:20 +00:00
"format": {"type": "color", "args": ["hue"]},
"sort": true,
"sortOperator": "+"
2011-02-22 14:47:59 +00:00
},
{
"id": "saturation",
"title": "Saturation",
2011-02-22 16:42:26 +00:00
"type": "float",
"columnWidth": 90,
2012-03-08 11:33:20 +00:00
"format": {"type": "color", "args": ["saturation"]},
"sort": true
2011-02-22 14:47:59 +00:00
},
{
2011-02-22 16:42:26 +00:00
"id": "lightness",
"title": "Lightness",
"type": "float",
"columnWidth": 90,
2012-03-08 11:33:20 +00:00
"format": {"type": "color", "args": ["lightness"]},
"sort": true
2011-02-22 14:47:59 +00:00
},
{
"id": "volume",
"title": "Volume",
2011-02-22 16:42:26 +00:00
"type": "float",
2012-03-08 11:33:20 +00:00
"columnWidth": 60,
2012-06-10 20:12:14 +00:00
"format": {"type": "color", "args": ["lightness"]},
2012-03-08 11:33:20 +00:00
"sort": true
2011-02-22 14:47:59 +00:00
},
{
2011-02-22 16:42:26 +00:00
"id": "numberofcuts",
"title": "Number of Cuts",
"type": "integer",
"columnWidth": 60,
2012-03-08 09:54:07 +00:00
"format": {"type": "number", "args": []},
2012-03-08 11:33:20 +00:00
"sort": true,
2011-02-22 16:42:26 +00:00
"value": {"key": "cuts", "type": "length"}
2011-02-22 14:47:59 +00:00
},
{
"id": "cutsperminute",
"title": "Cuts per Minute",
2011-02-22 16:42:26 +00:00
"type": "float",
"columnWidth": 60,
2012-03-08 11:51:16 +00:00
"format": {"type": "number", "args": [3]},
2012-03-08 11:33:20 +00:00
"sort": true,
2011-02-22 16:42:26 +00:00
"value": {"key": "cuts", "type": "lengthperminute"}
2011-02-22 14:47:59 +00:00
},
{
"id": "words",
2012-03-08 09:54:07 +00:00
"title": "Number of Words",
2011-02-22 16:42:26 +00:00
"type": "integer",
"columnWidth": 60,
2012-03-08 09:54:07 +00:00
"format": {"type": "number", "args": []},
2012-03-08 11:33:20 +00:00
"sort": true,
2011-02-22 16:42:26 +00:00
"value": {"layer": "subtitles", "type": "words"}
2011-02-22 14:47:59 +00:00
},
{
"id": "wordsperminute",
"title": "Words per Minute",
2011-02-22 16:42:26 +00:00
"type": "float",
"columnWidth": 60,
2012-03-08 11:51:16 +00:00
"format": {"type": "number", "args": [3]},
2012-03-08 11:33:20 +00:00
"sort": true,
2011-02-22 16:42:26 +00:00
"value": {"layer": "subtitles", "type": "wordsperminute"}
2011-02-22 14:47:59 +00:00
},
{
"id": "size",
"title": "Size",
2011-02-22 16:42:26 +00:00
"type": "integer",
2013-05-27 10:13:59 +00:00
"capability": "canSeeMedia",
2011-02-22 16:42:26 +00:00
"columnWidth": 60,
2012-03-08 11:33:20 +00:00
"format": {"type": "value", "args": ["B"]},
"sort": true
2011-02-22 14:47:59 +00:00
},
{
"id": "bitrate",
"title": "Bitrate",
2011-02-22 16:42:26 +00:00
"type": "integer",
"columnWidth": 60,
2012-06-04 10:33:58 +00:00
"format": {"type": "value", "args": ["bps"]},
2012-03-08 11:33:20 +00:00
"sort": true
2011-02-22 14:47:59 +00:00
},
{
2011-02-22 16:42:26 +00:00
"id": "numberoffiles",
"title": "Number of Files",
"type": "integer",
2013-05-27 10:13:59 +00:00
"capability": "canSeeMedia",
2011-02-22 16:42:26 +00:00
"columnWidth": 60,
2012-03-08 11:33:20 +00:00
"sort": true,
2012-01-02 19:06:56 +00:00
"value": {"key": "files", "type": "length"}
2011-02-22 14:47:59 +00:00
},
2012-02-16 14:13:08 +00:00
{
"id": "user",
"title": "User",
"type": "string",
2013-05-27 10:13:59 +00:00
"capability": "canSeeMedia",
2012-06-13 16:01:32 +00:00
"find": true
},
2012-02-15 16:27:48 +00:00
{
"id": "created",
"title": "Date Created",
"type": "date",
"columnWidth": 120,
2012-04-03 07:12:23 +00:00
"format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]},
2012-03-08 11:33:20 +00:00
"sort": true
2012-02-15 16:27:48 +00:00
},
2011-02-22 14:47:59 +00:00
{
"id": "modified",
2012-03-27 14:59:20 +00:00
"title": "Last Modified",
2011-02-22 16:42:26 +00:00
"type": "date",
2012-03-08 11:33:20 +00:00
"columnWidth": 90,
2012-04-03 07:12:23 +00:00
"format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]},
2012-03-08 11:33:20 +00:00
"sort": true
2011-02-22 16:42:26 +00:00
},
{
"id": "accessed",
2012-03-27 14:59:20 +00:00
"title": "Last Accessed",
2011-02-22 16:42:26 +00:00
"type": "date",
2012-04-19 09:29:37 +00:00
"capability": "canSeeAccessed",
2012-02-17 10:06:43 +00:00
"columnWidth": 90,
2012-03-08 11:33:20 +00:00
"format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]},
"sort": true
2011-02-22 16:42:26 +00:00
},
{
2011-11-10 20:19:15 +00:00
"id": "timesaccessed",
"title": "Times Accessed",
2011-02-22 16:42:26 +00:00
"type": "integer",
2012-04-19 09:29:37 +00:00
"capability": "canSeeAccessed",
2012-03-08 11:33:20 +00:00
"columnWidth": 60,
2013-08-01 15:10:58 +00:00
"format": {"type": "number", "args": []},
2012-03-08 11:33:20 +00:00
"sort": true
2011-11-10 20:19:15 +00:00
},
2011-12-04 12:44:15 +00:00
{
"id": "rightslevel",
"title": "Rights Level",
"type": "enum",
"columnWidth": 90,
"format": {"type": "ColorLevel", "args": [
2011-12-05 13:48:59 +00:00
["Public", "Restricted", "Private"]
2011-12-04 12:44:15 +00:00
]},
2012-03-08 11:33:20 +00:00
"sort": true,
2011-12-04 12:44:15 +00:00
"sortOperator": "+",
2011-12-05 13:48:59 +00:00
"values": ["Public", "Restricted", "Private", "Unknown"]
2012-02-15 20:48:08 +00:00
},
{
"id": "random",
"title": "Random",
"type": "integer",
2012-03-08 11:33:20 +00:00
"sort": true
2011-12-04 12:44:15 +00:00
}
2011-02-22 14:47:59 +00:00
],
2014-12-01 16:36:48 +00:00
/*
2014-12-20 16:32:36 +00:00
"itemName" specifies the name of items ("Movies", "Videos" or similar).
Note that anything excessively long may cause layout errors.
2014-12-01 16:36:48 +00:00
*/
2011-02-22 14:47:59 +00:00
"itemName": {
2011-02-22 16:42:26 +00:00
"singular": "Video",
"plural": "Videos"
2011-02-22 14:47:59 +00:00
},
2014-12-01 16:36:48 +00:00
/*
2014-12-20 16:32:36 +00:00
"itemRequiresVideo" regulates if items without video can be created. If set
to true, the only way to add a new item is to upload a new video.
2014-12-01 16:36:48 +00:00
*/
2013-02-25 10:23:49 +00:00
"itemRequiresVideo": true,
2014-12-01 16:36:48 +00:00
/*
2014-12-20 16:32:36 +00:00
"itemTitleKeys" is a list of itemKeys required to compose the item title
displayed at the top of the screen. This title can be customized by adding
"/static/js/getItemTitle.SITENAME.js".
2014-12-01 16:36:48 +00:00
*/
2014-11-21 14:26:50 +00:00
"itemTitleKeys": ["title", "director", "year"],
2014-12-01 16:36:48 +00:00
/*
2014-12-20 16:32:36 +00:00
"itemViews" is an ordered list of available item views. Implemented views
are "info", "documents", "player", "editor", "timeline", "clips", "map",
"calendar", "data" and "media".
2014-12-01 16:36:48 +00:00
*/
2011-02-22 14:47:59 +00:00
"itemViews": [
{"id": "info", "title": "Info"},
2012-04-17 07:06:19 +00:00
{"id": "player", "title": "Player"},
{"id": "editor", "title": "Editor"},
2012-04-18 08:32:58 +00:00
{"id": "timeline", "title": "Timeline"},
{"id": "clips", "title": "Clips"},
2011-02-22 14:47:59 +00:00
{"id": "map", "title": "Map"},
2011-12-04 12:44:15 +00:00
{"id": "calendar", "title": "Calendar"},
2014-04-17 19:31:59 +00:00
{"id": "documents", "title": "Documents"},
2011-12-04 12:44:15 +00:00
{"id": "data", "title": "Data"},
2013-05-27 10:13:59 +00:00
{"id": "media", "title": "Media"}
2011-02-22 14:47:59 +00:00
],
2014-12-01 16:36:48 +00:00
/*
2014-12-20 16:32:36 +00:00
"language" is the default language for annotations of type "text". Text in
other languages can be added via markup, for example:
<span lang="fr">Voilà !</span>
2014-12-01 16:36:48 +00:00
*/
2014-01-19 07:41:14 +00:00
"language": "en",
2014-12-01 16:36:48 +00:00
/*
2014-12-20 16:32:36 +00:00
"languages" is the list of languages that the interface can be switched to.
Currently, localization exists for "ar", "el", "en" and "hi".
2014-12-01 16:36:48 +00:00
*/
2014-04-01 14:13:52 +00:00
"languages": ["ar", "el", "en", "hi"],
2014-12-01 16:36:48 +00:00
/*
2014-12-20 16:32:36 +00:00
"layers" defines the types of time-based annotations that can be entered.
Required keys are:
"id": Internal ID
"item": Name of one such annotation (singular)
"title": Display title
"type": Can be "entity", "string" or "text" (strings cannot contain
line breaks, text can contain HTML markup).
Optional keys are:
"canAddAnnotations":
"entity": ID of the referenced entity (if type is "entity")
"hasEvents": If true, the calendar will be populated with matches from
this layer
"hasPlaces": If true, the map will be populated with matches from this
layer
"isSubtitles": If true, this layer will be displayed as subtitles
"overlap": If true, overlapping annotations are allowed. Note that
enforcement of "overlap": false is not implemented
"showInfo": If true, user and creation time will be displayed in the
tooltip that appears on mouseover.
2014-12-01 16:36:48 +00:00
*/
2011-02-22 14:47:59 +00:00
"layers": [
2012-06-13 16:01:32 +00:00
{
"id": "keywords",
"title": "Keywords",
"canAddAnnotations": {"member": true, "staff": true, "admin": true},
"item": "Keyword",
"overlap": true,
"type": "string"
},
2011-02-22 16:42:26 +00:00
{
2012-06-13 15:59:10 +00:00
"id": "privatenotes",
"title": "Private Notes",
2012-01-02 19:06:56 +00:00
"canAddAnnotations": {"member": true, "staff": true, "admin": true},
2012-06-16 16:44:29 +00:00
"item": "Private Note",
2012-02-19 14:15:24 +00:00
"overlap": true,
2012-06-13 15:59:10 +00:00
"private": true,
"showInfo": true,
"type": "text"
2012-01-02 19:06:56 +00:00
},
{
2012-06-13 15:59:10 +00:00
"id": "publicnotes",
2012-06-18 10:01:05 +00:00
"title": "Notes",
2012-01-02 19:06:56 +00:00
"canAddAnnotations": {"member": true, "staff": true, "admin": true},
2012-06-16 16:44:29 +00:00
"item": "Public Note",
2012-02-19 14:15:24 +00:00
"overlap": true,
2012-06-13 15:59:10 +00:00
"showInfo": true,
"type": "text"
2011-02-22 16:42:26 +00:00
},
{
2012-06-13 15:59:10 +00:00
"id": "subtitles",
"title": "Subtitles",
"canAddAnnotations": {"staff": true, "admin": true},
"hasEvents": true,
"hasPlaces": true,
"isSubtitles": true,
"item": "Subtitle",
2012-01-02 19:06:56 +00:00
"type": "text"
2011-02-22 16:42:26 +00:00
}
2011-02-22 14:47:59 +00:00
],
2014-12-01 16:36:48 +00:00
/*
2014-12-20 16:32:36 +00:00
"itemViews" is an ordered list of available list views. Implemented views
are "list", "grid", "timelines", "clips", "clip", "map" and "calendar".
2014-12-01 16:36:48 +00:00
*/
2011-02-22 14:47:59 +00:00
"listViews": [
{"id": "list", "title": "as List"},
2011-12-30 09:21:43 +00:00
{"id": "grid", "title": "as Grid"},
2011-02-22 14:47:59 +00:00
{"id": "timelines", "title": "with Timelines"},
2012-04-18 08:32:58 +00:00
{"id": "clips", "title": "with Clips"},
2011-02-22 14:47:59 +00:00
{"id": "clip", "title": "as Clips"},
{"id": "map", "title": "on Map"},
{"id": "calendar", "title": "on Calendar"}
],
2014-12-01 16:36:48 +00:00
/*
2014-12-20 16:55:19 +00:00
"media" defines additional media that gets added when importing items.
"importPosters": If true, a poster file will be imported (if present)
"importFrames": If true, 3 full-resolution frames per file will be
imported. This is useful to render high-resolution icons and
posters for an instance that has only low-resolution video.
2014-12-01 16:36:48 +00:00
*/
2011-08-11 14:15:56 +00:00
"media": {
2012-02-19 14:15:24 +00:00
"importPosters": false,
"importFrames": false
2011-08-11 14:15:56 +00:00
},
2014-12-01 16:36:48 +00:00
/*
2014-12-20 16:55:19 +00:00
"menuExtras" can be used to add extra functionality to the main menu bar.
2014-12-01 16:36:48 +00:00
*/
2013-08-08 13:01:45 +00:00
"menuExtras": [
"user",
2014-12-20 16:32:36 +00:00
// "locale",
2013-08-08 13:01:45 +00:00
"reload"
],
2014-12-01 16:36:48 +00:00
/*
2014-12-20 16:32:36 +00:00
"personalLists" specifies which pre-defined lists a new member will have
after signup. "title" is required. If "query" is present, this defines a
smart list. "query" can be any pan.do/ra query object, see /api/find for
further documentation.
2014-12-01 16:36:48 +00:00
*/
2011-12-04 12:44:15 +00:00
"personalLists": [
{"title": "Favorites"}
],
2014-12-01 16:36:48 +00:00
/*
2014-12-20 16:55:19 +00:00
"posters" contains details about the poster icons. "ratio" is the default
ratio (used to display a placeholder while poster icons are loading).
2014-12-01 16:36:48 +00:00
*/
2013-07-08 12:40:23 +00:00
"posters": {
"ratio": 0.625
},
2014-12-01 16:36:48 +00:00
/*
2014-12-20 16:32:36 +00:00
"rightsLevel" defines which initial rights level will be assigned to items
and texts created by users of these user levels.
2014-12-01 16:36:48 +00:00
*/
2011-12-04 12:44:15 +00:00
"rightsLevel": {"member": 2, "staff": 2, "admin": 2},
2014-12-01 16:36:48 +00:00
/*
2014-12-20 16:55:19 +00:00
"rightsLevels" is an ordered list of rights levels, one of which will be
assigned to each item.
2014-12-01 16:36:48 +00:00
*/
2011-12-04 12:44:15 +00:00
"rightsLevels": [
{"name": "Public", "color": [128, 255, 128]},
{"name": "Restricted", "color": [255, 192, 128]},
{"name": "Private", "color": [255, 128, 128]}
],
2014-12-01 16:36:48 +00:00
/*
2014-12-20 19:34:28 +00:00
"site" contains various settings for this instance. In "email", "contact"
if the address in the contact form (to), "system" is the address used by
the system (from).
Note that "videoprefix" (subdomains to serve the video files from) gets
populated automatically and can be left empty.
2014-12-01 16:36:48 +00:00
*/
2011-02-22 14:47:59 +00:00
"site": {
2013-08-04 14:37:35 +00:00
"description": "This is a demo of pan.do/ra - a free, open source media archive. It allows you to manage large, decentralized collections of video, to collaboratively create metadata and time-based annotations, and to serve your archive as a cutting-edge web application.",
2011-12-04 12:44:15 +00:00
"email": {
// E-mail address in contact form (to)
2012-04-20 10:22:32 +00:00
"contact": "system@pandora.local",
"footer": "-- \npan.do/ra - http://pan.do/ra",
"prefix": "pan.do/ra News -",
2011-12-04 12:44:15 +00:00
// E-mail address uses by the system (from)
2012-04-20 10:22:32 +00:00
"system": "system@pandora.local"
2011-12-04 12:44:15 +00:00
},
2013-02-24 09:17:03 +00:00
"https": false,
2012-04-20 10:22:32 +00:00
"id": "pandora",
2012-06-18 10:01:05 +00:00
"name": "Demo",
2014-10-02 17:57:30 +00:00
"sendReferrer": true,
2012-04-20 10:22:32 +00:00
"url": "pandora.local",
2011-11-02 22:29:20 +00:00
"videoprefix": ""
2011-02-22 14:47:59 +00:00
},
2014-12-01 16:36:48 +00:00
/*
2014-12-20 16:32:36 +00:00
"sitePages" defines the sections of the main site dialog. If "news" is
present, this will add an interface to add news items. If "contact" is
present, this will add an interface to contact the site owners.
2014-12-01 16:36:48 +00:00
*/
2011-02-22 14:47:59 +00:00
"sitePages": [
{"id": "about", "title": "About"},
{"id": "news", "title": "News"},
2014-12-20 16:32:36 +00:00
// {"id": "tour", "title": "Take a Tour"},
2011-02-22 14:47:59 +00:00
{"id": "faq", "title": "Frequently Asked Questions"},
2011-02-22 16:42:26 +00:00
{"id": "terms", "title": "Terms of Service"},
2011-12-04 12:44:15 +00:00
{"id": "license", "title": "License"},
{"id": "contact", "title": "Contact"}
2011-02-22 14:47:59 +00:00
],
2014-12-01 16:36:48 +00:00
/*
2014-12-20 16:32:36 +00:00
"sites" specifies which other pan.do/ra instances, if any, will appear in
the user interface for creating embeds. This allows for easier creation of
cross-instance references.
2014-12-01 16:36:48 +00:00
*/
2013-02-23 05:02:22 +00:00
"sites": [
2013-02-24 09:17:03 +00:00
{"name": "0xDB", "url": "0xdb.org", "https": true},
{"name": "Pad.ma", "url": "pad.ma", "https": true},
{"name": "Indiancine.ma", "url": "indiancine.ma", "https": true}
2013-02-23 05:02:22 +00:00
],
2014-12-01 16:36:48 +00:00
/*
2014-12-20 16:32:36 +00:00
"textRightsLevels" defines a list of rights levels for texts.
2014-12-01 16:36:48 +00:00
*/
2013-02-28 12:13:52 +00:00
"textRightsLevels": [
{"name": "Public", "color": [128, 255, 128]},
{"name": "Private", "color": [255, 128, 128]}
],
2014-12-01 16:36:48 +00:00
/*
2014-12-20 16:32:36 +00:00
"themes" is a list of themes that the user interface can be switched to.
Currently available themes are "oxlight", "oxmedium" and "oxdark". The
default theme can be set in user.ui.theme.
2014-12-01 16:36:48 +00:00
*/
2013-02-10 11:51:59 +00:00
"themes": ["oxlight", "oxmedium", "oxdark"],
2014-12-01 16:36:48 +00:00
/*
2014-12-20 16:32:36 +00:00
"timelines" is a list of timeline types. Implemented types are "antialias",
"slitscal", "keyframes" and "auto".
2014-12-01 16:36:48 +00:00
*/
2012-03-17 06:31:34 +00:00
"timelines": [
{"id": "antialias", "title": "Anti-Alias"},
{"id": "slitscan", "title": "Slit-Scan"},
2012-06-20 16:57:55 +00:00
{"id": "keyframes", "title": "Keyframes"},
{"id": "audio", "title": "Waveform"}
2012-03-17 06:31:34 +00:00
],
2014-12-01 16:36:48 +00:00
/*
2014-12-20 16:32:36 +00:00
"totals" specifies which totals are displayed in the status bar at the
bottom of list views. Possible ids are "duration", "files", "items",
"pixels" and "size". Adding a capability limits the display of a specific
total to users of the corresponding user levels.
2014-12-01 16:36:48 +00:00
*/
2011-02-22 14:47:59 +00:00
"totals": [
{"id": "items"},
2014-10-02 18:08:38 +00:00
{"id": "files", "capability": "canSeeMedia"},
{"id": "duration", "capability": "canSeeMedia"},
{"id": "size", "capability": "canSeeMedia"},
2011-02-22 14:47:59 +00:00
{"id": "pixels"}
],
2014-12-01 16:36:48 +00:00
/*
2014-12-20 16:32:36 +00:00
If "tv" is set to true, then in TV mode, the site logo will be displayed in
the corner of the screen.
2014-12-01 16:36:48 +00:00
*/
2011-12-20 13:08:30 +00:00
"tv": {
"showLogo": false
},
2014-12-01 16:36:48 +00:00
/*
2014-12-20 16:32:36 +00:00
The "user" object contains the default user settings. "ui" is the default
interface state for new users, and after selecting "Reset UI Settings" in
Preferences -> Advanced. This is the place to configure various defaults,
like the site-wide language and theme, the default list and item views, the
default set of filters, etc.
2014-12-01 16:36:48 +00:00
*/
2011-02-22 14:47:59 +00:00
"user": {
"level": "guest",
"ui": {
2012-01-31 10:54:22 +00:00
"annotationsCalendarSize": 128,
"annotationsMapSize": 128,
2012-06-18 10:01:05 +00:00
"annotationsRange": "all",
2011-02-22 14:47:59 +00:00
"annotationsSize": 256,
2012-01-03 20:17:44 +00:00
"annotationsSort": "position",
2013-03-06 14:09:18 +00:00
"calendarFind": "",
"calendarSelection": "",
2013-07-12 20:34:30 +00:00
"clipColumns": 2,
2011-12-04 12:44:15 +00:00
"columns": {
"Colors": {
2012-06-13 15:59:10 +00:00
"columns": ["title", "director", "language", "hue", "saturation", "brightness"],
2011-12-04 12:44:15 +00:00
"columnWidth": {}
2011-02-22 14:47:59 +00:00
}
},
2014-01-07 07:51:44 +00:00
"document": "",
2014-01-07 06:49:17 +00:00
"documents": {},
2014-01-06 12:44:37 +00:00
"documentSize": 256,
2014-01-19 06:44:19 +00:00
"documentsSelection": {},
2014-01-08 08:34:29 +00:00
"documentsSort": [{"key": "name", "operator": "+"}],
2014-01-06 12:44:37 +00:00
"documentsView": "grid",
2013-03-06 12:44:12 +00:00
"edit": "",
2013-08-07 14:31:03 +00:00
"edits": {},
2014-02-06 08:54:36 +00:00
"editSelection": [],
2014-02-09 05:19:15 +00:00
"editSort": [
{"key": "index", "operator": "+"},
{"key": "year", "operator": "+"},
{"key": "director", "operator": "+"},
2014-02-09 06:42:21 +00:00
{"key": "title", "operator": "+"},
{"key": "position", "operator": "+"},
{"key": "duration", "operator": "+"}
2014-02-09 05:19:15 +00:00
],
2014-02-06 08:54:36 +00:00
"editView": "list",
2013-02-21 09:48:30 +00:00
"embedSize": 256,
2014-12-01 16:23:11 +00:00
"entity": "",
"entitiesSelection": {},
"entitiesType": "",
2011-12-04 12:44:15 +00:00
"filters": [
2012-06-18 10:01:05 +00:00
{"id": "director", "sort": [{"key": "items", "operator": "-"}]},
{"id": "country", "sort": [{"key": "items", "operator": "-"}]},
2012-06-13 16:01:32 +00:00
{"id": "year", "sort": [{"key": "name", "operator": "-"}]},
2012-06-18 10:01:05 +00:00
{"id": "featuring", "sort": [{"key": "items", "operator": "-"}]},
2012-06-13 15:59:10 +00:00
{"id": "keywords", "sort": [{"key": "items", "operator": "-"}]}
2011-12-04 12:44:15 +00:00
],
"filtersSize": 176,
"find": {"conditions": [], "operator": "&"},
2012-04-17 12:02:32 +00:00
"followPlayer": true,
2013-03-06 12:44:12 +00:00
"help": "",
2012-06-18 10:01:05 +00:00
"icons": "posters",
2011-12-04 12:44:15 +00:00
"infoIconSize": 256,
"item": "",
2012-02-17 16:13:48 +00:00
"itemFind": "",
2011-12-04 12:44:15 +00:00
"itemSort": [{"key": "position", "operator": "+"}],
"itemView": "info",
2012-06-13 15:59:10 +00:00
"listColumns": ["title", "director", "year", "language", "duration"],
2011-12-04 12:44:15 +00:00
"listColumnWidth": {},
"listSelection": [],
2011-12-29 12:42:19 +00:00
"listSort": [{"key": "title", "operator": "+"}],
2011-12-04 12:44:15 +00:00
"listView": "grid",
"lists": {},
2013-08-04 14:37:35 +00:00
"locale": "en",
2011-12-04 12:44:15 +00:00
"mapFind": "",
"mapSelection": "",
2014-04-09 15:44:28 +00:00
"onload": "",
2011-12-04 12:44:15 +00:00
"page": "",
2013-07-11 15:15:00 +00:00
"part": {
"api": "",
2014-01-17 13:49:11 +00:00
"documents": "",
2013-07-11 15:15:00 +00:00
"faq": "",
"help": "",
2013-07-11 18:01:31 +00:00
"news": "",
2013-08-08 11:00:47 +00:00
"preferences": "",
2013-07-11 18:01:31 +00:00
"tv": ""
2013-07-11 15:15:00 +00:00
},
2011-02-22 14:47:59 +00:00
"section": "items",
2012-06-06 15:34:34 +00:00
"sequenceMode": "shape",
"sequenceSort": [{"key": "director", "operator": "+"}],
2013-02-23 05:02:22 +00:00
"showAdvancedEmbedOptions": false,
2011-02-22 14:47:59 +00:00
"showAnnotations": true,
2012-01-13 16:26:07 +00:00
"showAnnotationsCalendar": true,
"showAnnotationsMap": true,
2011-12-04 12:44:15 +00:00
"showBrowser": true,
"showCalendarControls": true, // fixme: should be false
2013-07-12 20:34:30 +00:00
"showClips": true,
2014-01-06 12:37:15 +00:00
"showDocument": true,
2011-12-04 12:44:15 +00:00
"showFilters": true,
"showIconBrowser": false,
2011-02-22 14:47:59 +00:00
"showInfo": true,
2012-01-11 07:51:26 +00:00
"showLayers": {
"keywords": true,
2012-06-18 10:01:05 +00:00
"privatenotes": true,
"publicnotes": true,
"subtitles": true
2012-01-11 07:51:26 +00:00
},
2011-12-04 12:44:15 +00:00
"showMapControls": false,
"showMapLabels": false,
2011-02-22 14:47:59 +00:00
"showFolder": {
2013-05-27 20:06:56 +00:00
"edits": {
"personal": true,
"favorite": true,
"featured": true,
"volumes": true
},
2011-02-22 14:47:59 +00:00
"items": {
"personal": true,
"favorite": true,
2011-12-04 12:44:15 +00:00
"featured": true,
"volumes": true
2013-02-18 09:31:17 +00:00
},
2013-02-16 01:20:40 +00:00
"texts": {
"personal": true,
"favorite": true,
"featured": true
}
2011-02-22 14:47:59 +00:00
},
2014-01-18 10:55:23 +00:00
"showReflections": true,
2011-02-22 14:47:59 +00:00
"showSidebar": true,
2011-12-04 12:44:15 +00:00
"showSitePosters": false,
"showTimeline": true,
2011-02-22 14:47:59 +00:00
"sidebarSize": 256,
2013-03-06 12:44:12 +00:00
"text": "",
2013-08-07 14:31:03 +00:00
"texts": {},
2013-02-10 11:51:59 +00:00
"theme": "oxmedium",
2013-03-03 11:15:28 +00:00
"updateAdvancedFindResults": false,
2013-07-12 20:34:30 +00:00
"videoLoop": false,
2012-03-06 20:15:03 +00:00
"videoMuted": false,
2011-12-04 12:44:15 +00:00
"videoPoints": {},
2011-12-27 13:52:16 +00:00
"videoResolution": 240,
2011-12-04 12:44:15 +00:00
"videoScale": "fit",
2012-06-16 11:24:45 +00:00
"videoSize": "small",
2014-03-12 19:23:28 +00:00
"videoSubtitles": true,
2012-03-17 06:31:34 +00:00
"videoTimeline": "antialias",
2012-04-17 07:06:19 +00:00
"videoView": "player",
2011-12-04 12:44:15 +00:00
"videoVolume": 1
},
"username": "",
"volumes": []
2011-02-22 16:42:26 +00:00
},
2014-12-01 16:36:48 +00:00
/*
2014-12-20 16:32:36 +00:00
"userLevels" is an ordered list of user classes. The first entry is for
unregistered visitors.
2014-12-01 16:36:48 +00:00
*/
2011-08-19 14:43:05 +00:00
"userLevels": ["guest", "member", "staff", "admin"],
2014-12-01 16:36:48 +00:00
/*
2014-12-20 16:32:36 +00:00
"video" contains the video settings.
"formats": Supported video formats. Should be ["webm", "mp4"], or
["webm"] in case iDevices are not part of the audience
"previewRatio": Aspect ratio used in the info panel in the bottom left
corner of the screen
"resolutions": List of video resolutions. Supported values are 96, 144,
240, 288, 360, 432, 480, 720 and 1080.
"torrent": If true, video downloads are offered via BitTorrent
2014-12-01 16:36:48 +00:00
*/
2011-08-19 14:43:05 +00:00
"video": {
2013-02-09 00:34:26 +00:00
"formats": ["webm", "mp4"],
2012-01-30 21:16:58 +00:00
"previewRatio": 1.3333333333,
2014-12-20 16:32:36 +00:00
"resolutions": [240, 480],
"torrent": true
2011-08-19 14:43:05 +00:00
}
2012-04-03 07:12:23 +00:00
}