123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- <?php
- //application details
- $apps[$x]['name'] = 'User Logs';
- $apps[$x]['uuid'] = '582a13cf-7d75-4ea3-b2d9-60914352d76e';
- $apps[$x]['category'] = 'system';
- $apps[$x]['subcategory'] = 'users';
- $apps[$x]['version'] = '1.1';
- $apps[$x]['license'] = 'Mozilla Public License 1.1';
- $apps[$x]['url'] = 'http://www.fusionpbx.com';
- $apps[$x]['description']['en-us'] = '';
- //permission details
- $y = 0;
- $apps[$x]['permissions'][$y]['name'] = 'user_log_view';
- $apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
- $y++;
- $apps[$x]['permissions'][$y]['name'] = 'user_log_all';
- $apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
- $y++;
- $apps[$x]['permissions'][$y]['name'] = 'user_log_delete';
- $y++;
- //User Logs
- $y = 0;
- $apps[$x]['db'][$y]['table']['name'] = 'v_user_logs';
- $apps[$x]['db'][$y]['table']['parent'] = '';
- $z = 0;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'user_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'] = 'hostname';
- $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
- $apps[$x]['db'][$y]['fields'][$z]['search_by'] = 'true';
- $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'] = '';
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Set the datetime.';
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'user_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'] = '';
- $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Select the user.';
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'username';
- $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 Username.';
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'type';
- $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 type.';
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = 'result';
- $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 result.';
- $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 IP address.';
- $z++;
- $apps[$x]['db'][$y]['fields'][$z]['name'] = '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'] = 'session_id';
- $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'] = '';
- $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'] = "";
- ?>
|