mirror of
https://github.com/YunoHost-Apps/plateau_ynh.git
synced 2024-09-03 20:06:38 +02:00
Create settings_base.json
This commit is contained in:
parent
276b499b3a
commit
b8ae8103a5
1 changed files with 355 additions and 0 deletions
355
conf/settings_base.json
Normal file
355
conf/settings_base.json
Normal file
|
@ -0,0 +1,355 @@
|
|||
{
|
||||
"protocol": "http",
|
||||
"host": "127.0.0.1",
|
||||
"desired_port": 8080,
|
||||
"redirect_port": "",
|
||||
"cache_content": true,
|
||||
"removePermanently": false,
|
||||
"versioning": true,
|
||||
|
||||
"cacheDirname": "plateau_cache",
|
||||
"contentPath": "/home/yunohost.app/plateau",
|
||||
|
||||
"privateKeyPath": "",
|
||||
"certificatePath": "",
|
||||
|
||||
"deletedFolderName": "_bin",
|
||||
|
||||
"ffmpeg_options": {
|
||||
"priority": 0,
|
||||
"timeout": 600
|
||||
},
|
||||
|
||||
"mediaThumbQuality": 70,
|
||||
"maxFileSizeInMoForUpload": 10000,
|
||||
|
||||
"regexpMatchFolderNames": "^([^.]+)$",
|
||||
"regexpGetFileExtension": "\\.[^.]*$",
|
||||
"regexpRemoveFileExtension": "(.+?)(\\.[^.]*$|$)",
|
||||
|
||||
"api": {
|
||||
"enabled": false,
|
||||
"allow_all_domains": false,
|
||||
"domains_whitelist": ["localhost"]
|
||||
},
|
||||
|
||||
"structure": {
|
||||
"projects": {
|
||||
"path": "",
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"date_created": {
|
||||
"type": "date",
|
||||
"default": "current",
|
||||
"read_only": true
|
||||
},
|
||||
"date_modified": {
|
||||
"type": "date",
|
||||
"default": "current",
|
||||
"override": true
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"read_only": true
|
||||
},
|
||||
"authors": {
|
||||
"type": "array"
|
||||
},
|
||||
"keywords": {
|
||||
"type": "array"
|
||||
},
|
||||
"planning_slugs_in_order": {
|
||||
"type": "array"
|
||||
},
|
||||
"countdown_options": {
|
||||
"type": "array"
|
||||
},
|
||||
"editing_limited_to": {
|
||||
"type": "string",
|
||||
"options": ["everybody", "with_password", "only_authors", "nobody"],
|
||||
"default": "everybody"
|
||||
},
|
||||
"viewing_limited_to": {
|
||||
"type": "string",
|
||||
"options": ["everybody", "only_authors", ""],
|
||||
"default": "everybody"
|
||||
}
|
||||
},
|
||||
"medias": {
|
||||
"thumbs": {
|
||||
"resolutions": [180, 360, 800, 1600]
|
||||
},
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"date_created": {
|
||||
"type": "date",
|
||||
"default": "current",
|
||||
"read_only": true
|
||||
},
|
||||
"date_modified": {
|
||||
"type": "date",
|
||||
"default": "current",
|
||||
"override": true
|
||||
},
|
||||
"date_uploaded": {
|
||||
"type": "date",
|
||||
"default": "current",
|
||||
"read_only": true
|
||||
},
|
||||
"media_filename": {
|
||||
"type": "string"
|
||||
},
|
||||
"original_media_filename": {
|
||||
"type": "string"
|
||||
},
|
||||
"fav": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"options": [
|
||||
"image",
|
||||
"video",
|
||||
"audio",
|
||||
"text",
|
||||
"writeup",
|
||||
"planning",
|
||||
"composition",
|
||||
"document",
|
||||
"other"
|
||||
],
|
||||
"default": "other"
|
||||
},
|
||||
"ratio": {
|
||||
"type": "number"
|
||||
},
|
||||
"duration": {
|
||||
"type": "number"
|
||||
},
|
||||
"authors": {
|
||||
"type": "array"
|
||||
},
|
||||
"caption": {
|
||||
"type": "string"
|
||||
},
|
||||
"keywords": {
|
||||
"type": "array"
|
||||
},
|
||||
"planning_info_start": {
|
||||
"type": "date"
|
||||
},
|
||||
"planning_info_end": {
|
||||
"type": "date"
|
||||
},
|
||||
"planning_info_duration": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"authors": {
|
||||
"path": "_authors",
|
||||
"preview": {
|
||||
"width": 1200,
|
||||
"height": 1200,
|
||||
"thumbs": {
|
||||
"resolutions": [50, 180, 640]
|
||||
}
|
||||
},
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"transform": "crypt"
|
||||
},
|
||||
"date_created": {
|
||||
"type": "date",
|
||||
"default": "current",
|
||||
"read_only": true
|
||||
},
|
||||
"email": {
|
||||
"type": "string",
|
||||
"show_only_to": ["self", "admin"]
|
||||
},
|
||||
"keywords": {
|
||||
"type": "array"
|
||||
},
|
||||
"role": {
|
||||
"type": "string",
|
||||
"options": ["contributor", "admin"],
|
||||
"default": "contributor",
|
||||
"only_admin_can_edit": true
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"last_messages_read_in_channels": {
|
||||
"type": "array"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"stopmotions": {
|
||||
"path": "_stopmotions",
|
||||
"fields": {
|
||||
"date_created": {
|
||||
"type": "date",
|
||||
"default": "current",
|
||||
"read_only": true
|
||||
},
|
||||
"date_modified": {
|
||||
"type": "date",
|
||||
"default": "current",
|
||||
"override": true
|
||||
},
|
||||
"authors": {
|
||||
"type": "array"
|
||||
},
|
||||
"linked_project": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"medias": {
|
||||
"thumbs": {
|
||||
"resolutions": [150, 1200]
|
||||
},
|
||||
"fields": {
|
||||
"date_uploaded": {
|
||||
"type": "date",
|
||||
"default": "current",
|
||||
"read_only": true
|
||||
},
|
||||
"media_filename": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"options": ["image"],
|
||||
"default": "other"
|
||||
},
|
||||
"authors": {
|
||||
"type": "array"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"chats": {
|
||||
"path": "_chats",
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"date_created": {
|
||||
"type": "date",
|
||||
"default": "current",
|
||||
"read_only": true
|
||||
},
|
||||
"date_modified": {
|
||||
"type": "date",
|
||||
"default": "current",
|
||||
"override": true
|
||||
},
|
||||
"authors": {
|
||||
"type": "array"
|
||||
},
|
||||
"editing_limited_to": {
|
||||
"type": "string",
|
||||
"options": ["everybody", "only_authors", "nobody"],
|
||||
"default": "everybody"
|
||||
},
|
||||
"viewing_limited_to": {
|
||||
"type": "string",
|
||||
"options": ["everybody", "only_authors", ""],
|
||||
"default": "everybody"
|
||||
},
|
||||
"pinned": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"number_of_medias": {
|
||||
"type": "number",
|
||||
"only_admin_can_edit": true
|
||||
},
|
||||
"linked_project": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"medias": {
|
||||
"fields": {
|
||||
"date_created": {
|
||||
"type": "date",
|
||||
"default": "current",
|
||||
"read_only": true
|
||||
},
|
||||
"text": {
|
||||
"type": "string"
|
||||
},
|
||||
"authors": {
|
||||
"type": "array"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"schema": {
|
||||
"projects": {
|
||||
"cover": {
|
||||
"width": 1200,
|
||||
"height": 1200,
|
||||
"thumbs": {
|
||||
"resolutions": [50, 320, 640]
|
||||
}
|
||||
},
|
||||
"fields": {
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"keywords": {
|
||||
"type": "array"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"folder": {
|
||||
"type": "string"
|
||||
},
|
||||
"journal_items": {
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"thumbs": {
|
||||
"resolutions": [180, 360, 1600]
|
||||
},
|
||||
"fields": {
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"caption": {
|
||||
"type": "string"
|
||||
},
|
||||
"is_journal": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"children": {}
|
||||
},
|
||||
"publications": {
|
||||
"children": [
|
||||
{
|
||||
"path": "medias"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue