123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148 |
- <?php
- //application details
- $apps[$x]['name'] = 'Device Logs';
- $apps[$x]['uuid'] = '78b1e5c7-5028-43e7-a05b-a36b44f87087';
- $apps[$x]['category'] = '';
- $apps[$x]['subcategory'] = '';
- $apps[$x]['version'] = '1.3';
- $apps[$x]['license'] = 'BSD';
- $apps[$x]['url'] = 'http://www.fusionpbx.com';
- $apps[$x]['description']['en-us'] = '';
- //permission details
- $y = 0;
- $apps[$x]['permissions'][$y]['name'] = 'device_log_view';
- $apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
- //$apps[$x]['permissions'][$y]['groups'][] = 'admin';
- $y++;
- $apps[$x]['permissions'][$y]['name'] = 'device_log_add';
- //$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
- //$apps[$x]['permissions'][$y]['groups'][] = 'admin';
- $y++;
- $apps[$x]['permissions'][$y]['name'] = 'device_log_edit';
- $apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
- //$apps[$x]['permissions'][$y]['groups'][] = 'admin';
- $y++;
- $apps[$x]['permissions'][$y]['name'] = 'device_log_delete';
- $apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
- //$apps[$x]['permissions'][$y]['groups'][] = 'admin';
- $y++;
- $apps[$x]['permissions'][$y]['name'] = 'device_log_all';
- $apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
- $y++;
- //device Logs
- $y = 0;
- $apps[$x]['db'][$y]['table']['name'] = 'v_device_logs';
- $apps[$x]['db'][$y]['table']['parent'] = '';
- $z = 0;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'device_log_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';
- $z++;
- $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';
- $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_domains';
- $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'domain_uuid';
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'device_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]['search_by'] = 'false';
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the device uuid.';
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'timestamp';
- $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
- $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
- $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
- $apps[$x]['db'][$y]['fields'][$z]['search_by'] = 'false';
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the http content body.';
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "device_address";
- $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "device_mac_address";
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
- $apps[$x]['db'][$y]['fields'][$z]['search_by'] = 'true';
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the device mac address.';
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'request_scheme';
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
- $apps[$x]['db'][$y]['fields'][$z]['search_by'] = 'true';
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the request scheme.';
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'http_host';
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
- $apps[$x]['db'][$y]['fields'][$z]['search_by'] = 'true';
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the http host.';
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'server_port';
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
- $apps[$x]['db'][$y]['fields'][$z]['search_by'] = 'true';
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the server port.';
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'server_protocol';
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
- $apps[$x]['db'][$y]['fields'][$z]['search_by'] = 'true';
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the http protocol.';
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'query_string';
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
- $apps[$x]['db'][$y]['fields'][$z]['search_by'] = 'true';
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the query string.';
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'remote_address';
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
- $apps[$x]['db'][$y]['fields'][$z]['search_by'] = 'true';
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the remote address.';
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'http_user_agent';
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
- $apps[$x]['db'][$y]['fields'][$z]['search_by'] = 'true';
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the user agent.';
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'http_status';
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
- $apps[$x]['db'][$y]['fields'][$z]['search_by'] = 'true';
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the http status.';
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'http_status_code';
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
- $apps[$x]['db'][$y]['fields'][$z]['search_by'] = 'true';
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the http status code.';
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'http_content_body';
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
- $apps[$x]['db'][$y]['fields'][$z]['search_by'] = 'false';
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the http content body.';
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_date";
- $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
- $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
- $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_user";
- $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]['description']['en-us'] = "";
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_date";
- $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
- $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
- $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_user";
- $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]['description']['en-us'] = "";
- ?>
|