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

View file

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