update video editor

This commit is contained in:
rolux 2012-01-12 16:09:19 +05:30
commit 7d8a4aa948
4 changed files with 28 additions and 14 deletions

View file

@ -4,6 +4,9 @@
You can edit this file.
*/
{
"annotations": {
"showUsers": true
},
/*
Capabilities are per user level.
They can either be general:
@ -501,6 +504,7 @@
"item": "Note",
"overlap": true,
"private": true,
"showInfo": true,
"type": "text"
},
{
@ -509,6 +513,7 @@
"canAddAnnotations": {"member": true, "friend": true, "staff": true, "admin": true},
"item": "Note",
"overlap": true,
"showInfo": true,
"type": "text"
},
{

View file

@ -48,13 +48,16 @@ def load_config():
def reloader_thread():
_config_mtime = 0
while RUN_RELOADER:
stat = os.stat(settings.SITE_CONFIG)
mtime = stat.st_mtime
if _win:
mtime -= stat.st_ctime
if mtime > _config_mtime:
load_config()
_config_mtime = mtime
try:
stat = os.stat(settings.SITE_CONFIG)
mtime = stat.st_mtime
if _win:
mtime -= stat.st_ctime
if mtime > _config_mtime:
load_config()
_config_mtime = mtime
except:
print "reloading config failed"
time.sleep(1)
def update_static():

View file

@ -4,6 +4,9 @@
You can edit this file.
*/
{
"annotations": {
"showUsers": true
},
/*
Capabilities are per user level.
They can either be general:
@ -431,6 +434,7 @@
"canAddAnnotations": {"member": true, "staff": true, "admin": true},
"item": "Description",
"overlay": true,
"showInfo": true,
"type": "text"
},
{
@ -448,7 +452,7 @@
//{"id": "info", "title": "with Info"},
{"id": "clips", "title": "with Clips"},
{"id": "timelines", "title": "with Timelines"},
{"id": "maps", "title": "with Maps"},
//{"id": "maps", "title": "with Maps"},
//{"id": "calendars", "title": "with Calendars"},
{"id": "clip", "title": "as Clips"},
//{"id": "video", "title": "as Video"},