track type management

This commit is contained in:
Codenift 2020-01-25 12:09:19 -05:00
parent 33928eaf73
commit 1d7d937a7f
29 changed files with 3082 additions and 74 deletions

View file

@ -12,6 +12,7 @@ $ccAcl->addRole(new Zend_Acl_Role('G'))
$ccAcl->add(new Zend_Acl_Resource('library'))
->add(new Zend_Acl_Resource('index'))
->add(new Zend_Acl_Resource('user'))
->add(new Zend_Acl_Resource('tracktype'))
->add(new Zend_Acl_Resource('error'))
->add(new Zend_Acl_Resource('login'))
->add(new Zend_Acl_Resource('playlist'))
@ -66,6 +67,7 @@ $ccAcl->allow('G', 'index')
->allow('G', 'setup')
->allow('G', 'embeddablewidgets')
->allow('G', 'feeds')
->allow('P', 'tracktype')
->allow('H', 'soundcloud')
->allow('H', 'rest:show-image')
->allow('H', 'rest:media')

View file

@ -85,6 +85,9 @@ return array (
'BaseCcStreamSetting' => 'airtime/om/BaseCcStreamSetting.php',
'BaseCcStreamSettingPeer' => 'airtime/om/BaseCcStreamSettingPeer.php',
'BaseCcStreamSettingQuery' => 'airtime/om/BaseCcStreamSettingQuery.php',
'BaseCcTracktypes' => 'airtime/om/BaseCcTracktypes.php',
'BaseCcTracktypesPeer' => 'airtime/om/BaseCcTracktypesPeer.php',
'BaseCcTracktypesQuery' => 'airtime/om/BaseCcTracktypesQuery.php',
'BaseCcSubjs' => 'airtime/om/BaseCcSubjs.php',
'BaseCcSubjsPeer' => 'airtime/om/BaseCcSubjsPeer.php',
'BaseCcSubjsQuery' => 'airtime/om/BaseCcSubjsQuery.php',
@ -233,6 +236,10 @@ return array (
'CcStreamSettingPeer' => 'airtime/CcStreamSettingPeer.php',
'CcStreamSettingQuery' => 'airtime/CcStreamSettingQuery.php',
'CcStreamSettingTableMap' => 'airtime/map/CcStreamSettingTableMap.php',
'CcTracktypes' => 'airtime/CcTracktypes.php',
'CcTracktypesPeer' => 'airtime/CcTracktypesPeer.php',
'CcTracktypesQuery' => 'airtime/CcTracktypesQuery.php',
'CcTracktypesTableMap' => 'airtime/map/CcTracktypesTableMap.php',
'CcSubjs' => 'airtime/CcSubjs.php',
'CcSubjsPeer' => 'airtime/CcSubjsPeer.php',
'CcSubjsQuery' => 'airtime/CcSubjsQuery.php',

View file

@ -91,6 +91,12 @@ $pages[] = array(
'controller' => 'user',
'action' => 'add-user',
'resource' => 'user'
),array(
'label' => _('Track Types'),
'module' => 'default',
'controller' => 'tracktype',
'action' => 'add-tracktype',
'resource' => 'tracktype'
),
array(
'label' => _('Streams'),
@ -138,7 +144,7 @@ $pages[] = array(
'action' => 'index',
'resource' => 'listenerstat'
),
array(
array(
'label' => _('Show Listener Stats'),
'module' => 'default',
'controller' => 'listenerstat',