Skip to content

Commit

Permalink
enable broadcasting
Browse files Browse the repository at this point in the history
  • Loading branch information
petrjasek committed Apr 12, 2024
1 parent 8311d75 commit 5350baf
Show file tree
Hide file tree
Showing 5 changed files with 192 additions and 11 deletions.
10 changes: 0 additions & 10 deletions client/index.js

This file was deleted.

15 changes: 15 additions & 0 deletions client/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import {startApp} from 'superdesk-core/scripts/index';

setTimeout(() => {
startApp(
[
{
id: 'broadcasting',
load: () => import('superdesk-core/scripts/extensions/broadcasting'),
},
],
{},
);
});

export default angular.module('main.superdesk', []);
2 changes: 1 addition & 1 deletion client/superdesk.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = function(grunt) {
'superdesk-publisher'
],
importApps: [
'..',
'../index',
'superdesk-publisher'
],
defaultRoute: '/workspace/personal',
Expand Down
175 changes: 175 additions & 0 deletions server/data/vocabularies.json
Original file line number Diff line number Diff line change
Expand Up @@ -2322,5 +2322,180 @@
"name": "Low",
"qcode": 3
}]
},
{
"_id": "show_part",
"display_name": "Show Part",
"type": "manageable",
"unique_field": "qcode",
"selection_type": "do not show",
"init_version": 3,
"items": [{
"is_active": true,
"name": "Uvod",
"qcode": "Uvod"
},
{
"is_active": true,
"name": "Odjava",
"qcode": "Odjava"
},
{
"is_active": true,
"name": "Hladna najava",
"qcode": "Hladna najava"
},
{
"is_active": true,
"name": "REC",
"qcode": "REC"
},
{
"is_active": true,
"name": "SLIKA",
"qcode": "SLIKA"
},
{
"is_active": true,
"name": "PODATAK",
"qcode": "PODATAK"
},
{
"is_active": true,
"name": "KALENDAR",
"qcode": "KALENDAR"
},
{
"is_active": true,
"name": "ICUTANJEJEODGOVOR",
"qcode": "ICUTANJEJEODGOVOR"
}],
"schema": {
"name": {"translate": true},
"qcode": {"type": "string"},
"color": {"type": "color", "label": "Сolor"}
}
},
{
"_id": "rundown_item_types",
"display_name": "Item Type",
"type": "manageable",
"unique_field": "qcode",
"selection_type": "do not show",
"init_version": 3,
"items": [{
"is_active": true,
"name": "PRLG",
"qcode": "PRLG"
},
{
"is_active": true,
"name": "AACC",
"qcode": "AACC"
},
{
"is_active": true,
"name": "GOST",
"qcode": "GOST"
},
{
"is_active": true,
"name": "OFF",
"qcode": "OFF"
},
{
"is_active": true,
"name": "TON",
"qcode": "TON"
}],
"schema": {
"name": {"translate": true},
"qcode": {"type": "string"},
"color": {"type": "color", "label": "Сolor"}
}
},
{
"_id": "rundown_subitem_types",
"display_name": "Subitem Type",
"type": "manageable",
"unique_field": "qcode",
"selection_type": "do not show",
"init_version": 3,
"items": [{
"is_active": true,
"name": "POKR",
"qcode": "POKR"
},
{
"is_active": true,
"name": "WALL",
"qcode": "WALL"
},
{
"is_active": true,
"name": "GRAF",
"qcode": "GRAF"
}],
"schema": {
"name": {"translate": true},
"qcode": {"type": "string"},
"color": {"type": "color", "label": "Сolor"}
}
},
{
"_id": "rundown_item_status",
"display_name": "Rundown Item Status",
"type": "manageable",
"unique_field": "qcode",
"selection_type": "do not show",
"init_version": 3,
"items": [{
"is_active": true,
"name": "pending",
"qcode": "pending",
"color": "#ff5630"
},{
"is_active": true,
"name": "in approval",
"qcode": "in-approval",
"color": "#ff991f"
},{
"is_active": true,
"name": "approved",
"qcode": "approved",
"color": "#36b37e"
}],
"schema": {
"name": {"translate": true},
"qcode": {"type": "string"},
"color": {"type": "color", "label": "Сolor"}
}
},
{
"_id": "camera",
"display_name": "Camera",
"type": "manageable",
"unique_field": "qcode",
"selection_type": "do not show",
"init_version": 1,
"items": [{
"is_active": true,
"name": "K1",
"qcode": "K1"
},{
"is_active": true,
"name": "K2",
"qcode": "K2"
},{
"is_active": true,
"name": "K3",
"qcode": "K3"
}],
"schema": {
"name": {"type": "string"},
"qcode": {"type": "string"}
}
}
]

]
1 change: 1 addition & 0 deletions server/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def env(variable, fallback_value=None):

INSTALLED_APPS = [
'apps.languages',
'apps.rundowns',
]

# special characters that are disallowed
Expand Down

0 comments on commit 5350baf

Please sign in to comment.