Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Video AG Infrastruktur
website
Commits
28e81389
Commit
28e81389
authored
May 23, 2017
by
Andreas Valder
Browse files
bug fix for changelog
parent
5aa541e8
Changes
2
Hide whitespace changes
Inline
Side-by-side
edit.py
View file @
28e81389
...
...
@@ -41,8 +41,8 @@ editable_tables = {
'duration'
:
{
'type'
:
'duration'
},
'jumplist'
:
{
'type'
:
''
},
'deleted'
:
{
'type'
:
'boolean'
},
'live'
:
{
'type'
:
'boolean'
,
'description'
:
'Ist ein Livestream geplant?'
},
'norecording'
:
{
'type'
:
'boolean'
,
'description:'
,
'Führt dazu, dass der Termin ausgegraut wird.'
}},
'live'
:
{
'type'
:
'boolean'
,
'description'
:
'Ist ein Livestream geplant?
Muss gesetzt sein damit der RTMP Stream zugeordnet wird.
'
},
'norecording'
:
{
'type'
:
'boolean'
,
'description:'
:
'Führt dazu, dass der Termin ausgegraut wird.'
}},
'creationtime_fields'
:
[
'course_id'
,
'time_created'
,
'time_updated'
]
},
'videos'
:
{
'table'
:
'videos_data'
,
...
...
server.py
View file @
28e81389
...
...
@@ -136,7 +136,10 @@ def evalperm(perms):
@
app
.
template_filter
()
def
base64encode
(
str
):
return
base64
.
b64encode
(
str
.
encode
(
'UTF-8'
)).
decode
(
'UTF-8'
)
try
:
return
base64
.
b64encode
(
str
.
encode
(
'UTF-8'
)).
decode
(
'UTF-8'
)
except
:
return
''
@
app
.
template_filter
()
def
checkperm
(
perms
,
username
=
None
,
password
=
None
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment