2017-06-13 06:09:36 +01:00
<? php
2017-06-30 23:23:01 +02:00
//application details
$apps [ $x ][ 'name' ] = "Database Transactions" ;
$apps [ $x ][ 'uuid' ] = "de47783c-1caa-4b3e-9b51-ad6c9e69215c" ;
$apps [ $x ][ 'category' ] = "" ;
$apps [ $x ][ 'subcategory' ] = "" ;
$apps [ $x ][ 'version' ] = "1.0" ;
$apps [ $x ][ 'license' ] = "Mozilla Public License 1.1" ;
$apps [ $x ][ 'url' ] = "http://www.fusionpbx.com" ;
$apps [ $x ][ 'description' ][ 'en-us' ] = "Track database transactions" ;
2020-03-20 20:47:13 +00:00
$apps [ $x ][ 'description' ][ 'en-gb' ] = "Track database transactions" ;
2017-06-30 23:23:01 +02:00
$apps [ $x ][ 'description' ][ 'ar-eg' ] = "" ;
$apps [ $x ][ 'description' ][ 'de-at' ] = "Datenbanktransaktionen verfolgen" ;
$apps [ $x ][ 'description' ][ 'de-ch' ] = "" ;
$apps [ $x ][ 'description' ][ 'de-de' ] = "Datenbanktransaktionen verfolgen" ;
$apps [ $x ][ 'description' ][ 'es-cl' ] = "" ;
$apps [ $x ][ 'description' ][ 'es-mx' ] = "" ;
$apps [ $x ][ 'description' ][ 'fr-ca' ] = "" ;
$apps [ $x ][ 'description' ][ 'fr-fr' ] = "" ;
$apps [ $x ][ 'description' ][ 'he-il' ] = "" ;
2017-06-13 06:09:36 +01:00
$apps [ $x ][ 'description' ][ 'it-it' ] = "" ;
2019-11-20 23:16:17 +01:00
$apps [ $x ][ 'description' ][ 'nl-nl' ] = "Database transacties volgen" ;
2017-06-13 06:09:36 +01:00
$apps [ $x ][ 'description' ][ 'pl-pl' ] = "" ;
$apps [ $x ][ 'description' ][ 'pt-br' ] = "" ;
$apps [ $x ][ 'description' ][ 'pt-pt' ] = "" ;
$apps [ $x ][ 'description' ][ 'ro-ro' ] = "" ;
$apps [ $x ][ 'description' ][ 'ru-ru' ] = "" ;
$apps [ $x ][ 'description' ][ 'sv-se' ] = "" ;
$apps [ $x ][ 'description' ][ 'uk-ua' ] = "" ;
//permission details
$y = 0 ;
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "database_transaction_view" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
//$apps[$x]['permissions'][$y]['groups'][] = "user";
//$apps[$x]['permissions'][$y]['groups'][] = "admin";
$y ++ ;
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "database_transaction_add" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
//$apps[$x]['permissions'][$y]['groups'][] = "admin";
$y ++ ;
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "database_transaction_edit" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
//$apps[$x]['permissions'][$y]['groups'][] = "admin";
//$apps[$x]['permissions'][$y]['groups'][] = "user";
$y ++ ;
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "database_transaction_delete" ;
//$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
//$apps[$x]['permissions'][$y]['groups'][] = "admin";
$y ++ ;
//schema details
$y = 0 ;
$apps [ $x ][ 'db' ][ $y ][ 'table' ][ 'name' ] = "v_database_transactions" ;
$apps [ $x ][ 'db' ][ $y ][ 'table' ][ 'parent' ] = "" ;
$z = 0 ;
$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' ] = "database_transaction_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' ] = "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 ][ 'description' ][ 'en-us' ] = "User transaction." ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "app_name" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
2020-01-08 13:26:13 -07:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'search' ] = 'true' ;
2017-06-13 06:09:36 +01:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "Application name." ;
$z ++ ;
$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)" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "Application ID" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "transaction_code" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
2020-01-08 13:26:13 -07:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'search' ] = 'true' ;
2017-06-13 06:09:36 +01:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "Transaction code." ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "transaction_address" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
2020-01-08 13:26:13 -07:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'search' ] = 'true' ;
2017-06-13 06:09:36 +01:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "IP address of the user." ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "transaction_type" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
2020-01-08 13:26:13 -07:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'search' ] = 'true' ;
2018-02-12 11:03:28 -07:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "Type: add, update, delete, select" ;
2017-06-13 06:09:36 +01:00
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "transaction_date" ;
2021-05-05 20:46:53 -06:00
$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' ] = "timestamp" ;
2020-01-08 13:26:13 -07:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'search' ] = 'true' ;
2017-06-13 06:09:36 +01:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "Transaction date." ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "transaction_old" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = "longtext" ;
2022-01-23 18:47:20 -07:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'search' ] = 'true' ;
2017-06-13 06:09:36 +01:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "Before the transaction." ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "transaction_new" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = "longtext" ;
2022-01-23 18:47:20 -07:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'search' ] = 'true' ;
2017-06-13 06:09:36 +01:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "After the transaction." ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "transaction_result" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'pgsql' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'sqlite' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ][ 'mysql' ] = "longtext" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "Result of the transaction." ;
2022-09-18 00:54:37 -06:00
$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' ] = "" ;
2024-07-09 15:52:05 -03:00
$y = 0 ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = "5cb285ea-c94b-41a8-8f3d-80680278d1ae" ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = "database_transactions" ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = "database_retention_days" ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = "numeric" ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = "30" ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = "true" ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = "Number of days to retain the transaction logs by the maintenance service in the database." ;
2017-06-13 06:09:36 +01:00
?>