indymediauk settings

This commit is contained in:
j 2016-06-09 14:45:39 +02:00
parent e6ef483305
commit 0ec0f0eac2
2 changed files with 17 additions and 16 deletions

View file

@ -791,7 +791,7 @@
"rightsLevel" defines which initial rights level will be assigned to items "rightsLevel" defines which initial rights level will be assigned to items
and texts created by users of these user levels. and texts created by users of these user levels.
*/ */
"rightsLevel": {"member": 0, "staff": 0, "admin": 0}, "rightsLevel": {"member": 2, "staff": 2, "admin": 2},
/* /*
"rightsLevels" is an ordered list of rights levels, one of which will be "rightsLevels" is an ordered list of rights levels, one of which will be
assigned to each item. assigned to each item.
@ -807,20 +807,20 @@
the system (from). the system (from).
*/ */
"site": { "site": {
"description": "MayDay Rooms Video Archive", "description": "Indymedia UK Video Archive",
"email": { "email": {
// E-mail address in contact form (to) // E-mail address in contact form (to)
"contact": "in-formation@maydayrooms.org", "contact": "indymedia@indymedia.org.uk",
"footer": "-- \nMayDay Rooms - http://maydayrooms.org", "footer": "-- \nIndymedia UK - https://www.indymedia.org.uk/",
"prefix": "MayDay Rooms News -", "prefix": "Indymedia UK -",
// E-mail address uses by the system (from) // E-mail address uses by the system (from)
"system": "system@maydayrooms.org" "system": "system@indymedia.org.uk"
}, },
"https": false, "https": false,
"id": "mdr", "id": "indymediauk",
"name": "MayDay Rooms", "name": "Indymedia UK",
"sendReferrer": true, "sendReferrer": true,
"url": "stuff.maydayrooms.org" "url": "video.indymedia.org.uk"
}, },
/* /*
"sitePages" defines the sections of the main site dialog. If "news" is "sitePages" defines the sections of the main site dialog. If "news" is
@ -842,9 +842,11 @@
cross-instance references. cross-instance references.
*/ */
"sites": [ "sites": [
/*
{"name": "Pad.ma", "url": "pad.ma", "https": true}, {"name": "Pad.ma", "url": "pad.ma", "https": true},
{"name": "Indiancine.ma", "url": "indiancine.ma", "https": true}, {"name": "Indiancine.ma", "url": "indiancine.ma", "https": true},
{"name": "OxDB", "url": "0xdb.org", "https": true} {"name": "OxDB", "url": "0xdb.org", "https": true}
*/
], ],
/* /*
"textRightsLevels" defines a list of rights levels for texts. "textRightsLevels" defines a list of rights levels for texts.
@ -1054,10 +1056,10 @@
*/ */
"video": { "video": {
"torrent": false, "torrent": false,
"formats": ["webm"], "formats": ["webm", "mp4"],
"previewRatio": 1.3333333333, "previewRatio": 1.3333333333,
//supported resolutions are //supported resolutions are
//1080, 720, 480, 432, 360, 288, 240, 144, 96 //1080, 720, 480, 432, 360, 288, 240, 144, 96
"resolutions": [480] "resolutions": [480, 240]
} }
} }

View file

@ -3,7 +3,7 @@
import os import os
from os.path import join, abspath, basename, dirname from os.path import join, abspath, basename, dirname
name = 'mdr' name = 'indymediauk'
base = abspath(dirname(__file__)) base = abspath(dirname(__file__))
os.chdir(base) os.chdir(base)
@ -52,7 +52,6 @@ for root, folders, files in os.walk(join(base, 'scripts')):
os.unlink(target) os.unlink(target)
os.symlink(rel_src, target) os.symlink(rel_src, target)
#todo # todo
#custom python module etc # custom python module etc
#local_settings.py? # local_settings.py?