2012-06-04 16:58:40 +02:00
|
|
|
<?php
|
2014-12-26 04:27:54 +01:00
|
|
|
|
2012-06-04 16:58:40 +02:00
|
|
|
//application details
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['name'] = "Domains";
|
|
|
|
|
$apps[$x]['guid'] = "b31e723a-bf70-670c-a49b-470d2a232f71";
|
|
|
|
|
$apps[$x]['category'] = "Core";
|
|
|
|
|
$apps[$x]['subcategory'] = "";
|
|
|
|
|
$apps[$x]['version'] = "";
|
|
|
|
|
$apps[$x]['license'] = "Mozilla Public License 1.1";
|
|
|
|
|
$apps[$x]['url'] = "http://www.fusionpbx.com";
|
|
|
|
|
$apps[$x]['description']['en-us'] = "Manage a single domain or multiple domains for multi-tenant.";
|
2014-02-13 19:09:45 +01:00
|
|
|
$apps[$x]['description']['es-cl'] = "Administre un único dominio o múltiples dominios";
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['description']['de-de'] = "";
|
|
|
|
|
$apps[$x]['description']['de-ch'] = "";
|
|
|
|
|
$apps[$x]['description']['de-at'] = "";
|
2013-09-17 22:02:19 +02:00
|
|
|
$apps[$x]['description']['fr-fr'] = "Gestion d'un domaine ou plusieurs dans le cas d'un système multi-parties.";
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['description']['fr-ca'] = "";
|
|
|
|
|
$apps[$x]['description']['fr-ch'] = "";
|
|
|
|
|
$apps[$x]['description']['pt-pt'] = "Gerir um único domínio ou vários domínios para multi-tenant.";
|
|
|
|
|
$apps[$x]['description']['pt-br'] = "";
|
2012-06-04 16:58:40 +02:00
|
|
|
|
|
|
|
|
//permission details
|
2017-02-16 05:17:44 +01:00
|
|
|
$y=0;
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "domain_view";
|
|
|
|
|
$apps[$x]['permissions'][$y]['menu']['uuid'] = "4fa7e90b-6d6c-12d4-712f-62857402b801";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
2012-06-04 16:58:40 +02:00
|
|
|
$y++;
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "domain_add";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
2012-06-04 16:58:40 +02:00
|
|
|
$y++;
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "domain_edit";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
2016-02-29 19:39:46 +01:00
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
2012-06-04 16:58:40 +02:00
|
|
|
$y++;
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "domain_delete";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
2012-06-04 16:58:40 +02:00
|
|
|
$y++;
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "domain_select";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
2012-09-27 02:34:10 +02:00
|
|
|
$y++;
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "domain_setting_view";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
2016-02-29 19:39:46 +01:00
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
2012-06-04 16:58:40 +02:00
|
|
|
$y++;
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "domain_setting_add";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
2016-02-29 19:39:46 +01:00
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
2012-06-04 16:58:40 +02:00
|
|
|
$y++;
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "domain_setting_edit";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
2016-02-29 19:39:46 +01:00
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
2012-06-04 16:58:40 +02:00
|
|
|
$y++;
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "domain_setting_delete";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
2016-02-29 19:39:46 +01:00
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
2012-06-04 16:58:40 +02:00
|
|
|
$y++;
|
2016-02-29 19:39:46 +01:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "domain_setting_category_edit";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
2012-06-04 16:58:40 +02:00
|
|
|
|
|
|
|
|
//schema details
|
2017-02-16 05:17:44 +01:00
|
|
|
$y=0;
|
|
|
|
|
$apps[$x]['db'][$y]['table']['name'] = "v_domains";
|
|
|
|
|
$apps[$x]['db'][$y]['table']['parent'] = "";
|
|
|
|
|
$z=0;
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "id";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2015-02-06 02:26:06 +01:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_parent_uuid";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
|
|
|
|
|
$z++;
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_name";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the domain name.";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2015-02-06 02:26:06 +01:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_enabled";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Set the status of the domain.";
|
|
|
|
|
$z++;
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_description";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the description.";
|
2012-06-04 16:58:40 +02:00
|
|
|
|
2017-02-16 05:17:44 +01:00
|
|
|
$y=1;
|
|
|
|
|
$apps[$x]['db'][$y]['table']['name'] = "v_domain_settings";
|
|
|
|
|
$apps[$x]['db'][$y]['table']['parent'] = "v_domains";
|
|
|
|
|
$z=0;
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "id";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
|
2015-02-06 02:26:06 +01:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_setting_uuid";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2017-01-14 20:12:06 +01:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "app_uuid";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
|
|
|
|
|
$z++;
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_setting_category";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the category.";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_setting_subcategory";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the subcategory.";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_setting_name";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the name.";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_setting_value";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the value.";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2014-07-25 03:45:58 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_setting_order";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
$z++;
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_setting_enabled";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-10-18 00:06:53 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_setting_description";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
2014-11-16 03:03:19 +01:00
|
|
|
|
2017-01-14 20:12:06 +01:00
|
|
|
?>
|