app_config.php 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487
  1. <?php
  2. //application details
  3. $apps[$x]['name'] = "User Manager";
  4. $apps[$x]['uuid'] = "112124b3-95c2-5352-7e9d-d14c0b88f207";
  5. $apps[$x]['category'] = "Core";
  6. $apps[$x]['subcategory'] = "";
  7. $apps[$x]['version'] = "1.1";
  8. $apps[$x]['license'] = "Mozilla Public License 1.1";
  9. $apps[$x]['url'] = "http://www.fusionpbx.com";
  10. $apps[$x]['description']['en-us'] = "Add, edit, delete, and search for users.";
  11. $apps[$x]['description']['en-gb'] = "Add, edit, delete, and search for users.";
  12. $apps[$x]['description']['ar-eg'] = "";
  13. $apps[$x]['description']['de-at'] = "Benutzer hinzufügen, bearbeiten, löschen und suchen.";
  14. $apps[$x]['description']['de-ch'] = "";
  15. $apps[$x]['description']['de-de'] = "Benutzer hinzufügen, bearbeiten, löschen und suchen.";
  16. $apps[$x]['description']['es-cl'] = "Agregar, Editar, Eliminar y Buscar Usuarios.";
  17. $apps[$x]['description']['es-mx'] = "Agregar, Editar, Eliminar y Buscar Usuarios.";
  18. $apps[$x]['description']['fr-ca'] = "Ajouter, Editer, Supprimer et Chercher des Utilisateurs";
  19. $apps[$x]['description']['fr-fr'] = "Ajouter, Editer, Supprimer et Chercher des Utilisateurs";
  20. $apps[$x]['description']['he-il'] = "";
  21. $apps[$x]['description']['it-it'] = "";
  22. $apps[$x]['description']['ka-ge'] = "დაამატეთ, ჩაასწორეთ, წაშალეთ ან მოძებნეთ მომხმარებლები.";
  23. $apps[$x]['description']['nl-nl'] = "";
  24. $apps[$x]['description']['pl-pl'] = "";
  25. $apps[$x]['description']['pt-br'] = "Adicionar, editar, apagar e pesquisar usuários.";
  26. $apps[$x]['description']['pt-pt'] = "Adicionar, editar, apagar e pesquisa pelos utilizadores.";
  27. $apps[$x]['description']['ro-ro'] = "";
  28. $apps[$x]['description']['ru-ru'] = "Добавление, редактирование, удаление и поиск пользователей";
  29. $apps[$x]['description']['sv-se'] = "";
  30. $apps[$x]['description']['uk-ua'] = "";
  31. //permission details
  32. $y=0;
  33. $apps[$x]['permissions'][$y]['name'] = "user_view";
  34. $apps[$x]['permissions'][$y]['menu']['uuid'] = "0d57cc1e-1874-47b9-7ddd-fe1f57cec99b";
  35. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  36. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  37. $y++;
  38. $apps[$x]['permissions'][$y]['name'] = "user_add";
  39. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  40. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  41. $y++;
  42. $apps[$x]['permissions'][$y]['name'] = "user_edit";
  43. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  44. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  45. $y++;
  46. $apps[$x]['permissions'][$y]['name'] = "user_delete";
  47. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  48. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  49. $y++;
  50. $apps[$x]['permissions'][$y]['name'] = "user_groups";
  51. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  52. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  53. $y++;
  54. $apps[$x]['permissions'][$y]['name'] = "user_domain";
  55. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  56. $y++;
  57. $apps[$x]['permissions'][$y]['name'] = "user_all";
  58. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  59. $y++;
  60. $apps[$x]['permissions'][$y]['name'] = "user_import";
  61. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  62. $y++;
  63. $apps[$x]['permissions'][$y]['name'] = "user_type";
  64. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  65. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  66. $y++;
  67. $apps[$x]['permissions'][$y]['name'] = "user_group_view";
  68. $apps[$x]['permissions'][$y]['menu']['uuid'] = "3b4acc6d-827b-f537-bf21-0093d94ffec7";
  69. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  70. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  71. $y++;
  72. $apps[$x]['permissions'][$y]['name'] = "user_group_add";
  73. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  74. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  75. $y++;
  76. $apps[$x]['permissions'][$y]['name'] = "user_group_edit";
  77. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  78. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  79. $y++;
  80. $apps[$x]['permissions'][$y]['name'] = "user_group_delete";
  81. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  82. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  83. $y++;
  84. $apps[$x]['permissions'][$y]['name'] = "api_key";
  85. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  86. $y++;
  87. $apps[$x]['permissions'][$y]['name'] = "view_users";
  88. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  89. $y++;
  90. $apps[$x]['permissions'][$y]['name'] = "user_status";
  91. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  92. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  93. $apps[$x]['permissions'][$y]['groups'][] = "users";
  94. $y++;
  95. $apps[$x]['permissions'][$y]['name'] = "user_password";
  96. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  97. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  98. //default settings
  99. $y=0;
  100. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "38cf53d2-5fae-43ed-be93-33b0a5cc1c38";
  101. $apps[$x]['default_settings'][$y]['default_setting_category'] = "users";
  102. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "unique";
  103. $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
  104. $apps[$x]['default_settings'][$y]['default_setting_value'] = "global";
  105. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
  106. $apps[$x]['default_settings'][$y]['default_setting_description'] = "";
  107. $y++;
  108. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "53cc1060-78f9-44ca-b9b0-17fb2fffd5e1";
  109. $apps[$x]['default_settings'][$y]['default_setting_category'] = "users";
  110. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "username_format";
  111. $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
  112. $apps[$x]['default_settings'][$y]['default_setting_value'] = "any";
  113. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  114. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Require a specific username format.";
  115. $y++;
  116. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "e3f5f4cd-0f17-428a-b788-2f2db91b6dc7";
  117. $apps[$x]['default_settings'][$y]['default_setting_category'] = "users";
  118. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "password_length";
  119. $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
  120. $apps[$x]['default_settings'][$y]['default_setting_value'] = "12";
  121. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  122. $apps[$x]['default_settings'][$y]['default_setting_description'] = "The default length of characters in a user password.";
  123. $y++;
  124. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "51c106d9-9aba-436b-b9b1-ff4937cef706";
  125. $apps[$x]['default_settings'][$y]['default_setting_category'] = "users";
  126. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "password_number";
  127. $apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean";
  128. $apps[$x]['default_settings'][$y]['default_setting_value'] = "true";
  129. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  130. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set whether to require at least one number in user passwords.";
  131. $y++;
  132. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "f0e601b9-b619-4247-9624-c33605e96fd8";
  133. $apps[$x]['default_settings'][$y]['default_setting_category'] = "users";
  134. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "password_lowercase";
  135. $apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean";
  136. $apps[$x]['default_settings'][$y]['default_setting_value'] = "true";
  137. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  138. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set whether to require at least one lowecase letter in user passwords.";
  139. $y++;
  140. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "973b6773-dac0-4041-844e-71c48fc9542c";
  141. $apps[$x]['default_settings'][$y]['default_setting_category'] = "users";
  142. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "password_uppercase";
  143. $apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean";
  144. $apps[$x]['default_settings'][$y]['default_setting_value'] = "true";
  145. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  146. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set whether to require at least one uppercase letter in user passwords.";
  147. $y++;
  148. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "a6b6d9cc-fb25-4bc3-ad85-fa530d9b334d";
  149. $apps[$x]['default_settings'][$y]['default_setting_category'] = "users";
  150. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "password_special";
  151. $apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean";
  152. $apps[$x]['default_settings'][$y]['default_setting_value'] = "false";
  153. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  154. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set whether to require at least one special character in user passwords.";
  155. $y++;
  156. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "727977e5-8b5f-4d80-af37-41fd3a4a1859";
  157. $apps[$x]['default_settings'][$y]['default_setting_category'] = "limit";
  158. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "users";
  159. $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
  160. $apps[$x]['default_settings'][$y]['default_setting_value'] = "3";
  161. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
  162. $apps[$x]['default_settings'][$y]['default_setting_description'] = "";
  163. $y++;
  164. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "04b1e1e6-064a-4112-ba84-e33cd3a87170";
  165. $apps[$x]['default_settings'][$y]['default_setting_category'] = "users";
  166. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "max_retry";
  167. $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
  168. $apps[$x]['default_settings'][$y]['default_setting_value'] = "5";
  169. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  170. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Login blocked after reaching the max retries.";
  171. $y++;
  172. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "ee3ae838-90fd-4849-81c4-8ca9bb612125";
  173. $apps[$x]['default_settings'][$y]['default_setting_category'] = "users";
  174. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "find_time";
  175. $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
  176. $apps[$x]['default_settings'][$y]['default_setting_value'] = "3600";
  177. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  178. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Login blocked for many failures in a given time.";
  179. $y++;
  180. $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "56416cfe-c018-48db-8362-e90bc3fbaa4f";
  181. $apps[$x]['default_settings'][$y]['default_setting_category'] = "users";
  182. $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "database_retention_days";
  183. $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
  184. $apps[$x]['default_settings'][$y]['default_setting_value'] = "180";
  185. $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
  186. $apps[$x]['default_settings'][$y]['default_setting_description'] = "Number of days to retain the user logs in the database for the maintenance app.";
  187. //schema details
  188. $y=0;
  189. $apps[$x]['db'][$y]['table']['name'] = "v_users";
  190. $apps[$x]['db'][$y]['table']['parent'] = "";
  191. $z=0;
  192. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_uuid";
  193. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  194. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  195. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  196. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  197. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  198. $z++;
  199. $apps[$x]['db'][$y]['fields'][$z]['name'] = "id";
  200. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial";
  201. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer";
  202. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT";
  203. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  204. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  205. $z++;
  206. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
  207. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  208. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  209. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  210. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  211. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
  212. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
  213. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  214. $z++;
  215. $apps[$x]['db'][$y]['fields'][$z]['name'] = "contact_uuid";
  216. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  217. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  218. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  219. //$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  220. //$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_contacts";
  221. //$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "contact_uuid";
  222. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  223. $z++;
  224. $apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id";
  225. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  226. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  227. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  228. $z++;
  229. $apps[$x]['db'][$y]['fields'][$z]['name'] = "username";
  230. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  231. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  232. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  233. $z++;
  234. $apps[$x]['db'][$y]['fields'][$z]['name'] = "password";
  235. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  236. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  237. $z++;
  238. $apps[$x]['db'][$y]['fields'][$z]['name'] = "salt";
  239. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  240. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  241. $z++;
  242. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_email";
  243. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  244. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  245. $z++;
  246. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "user_status";
  247. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "userstatus";
  248. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  249. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  250. $z++;
  251. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "user_time_zone";
  252. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "usertimezone";
  253. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  254. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  255. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  256. $z++;
  257. $apps[$x]['db'][$y]['fields'][$z]['name'] = "api_key";
  258. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "text";
  259. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  260. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  261. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  262. $z++;
  263. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_totp_secret";
  264. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  265. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  266. $z++;
  267. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_type";
  268. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  269. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  270. $z++;
  271. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_enabled";
  272. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  273. $apps[$x]['db'][$y]['fields'][$z]['toggle'] = ['true','false'];
  274. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  275. $z++;
  276. $apps[$x]['db'][$y]['fields'][$z]['name'] = "add_user";
  277. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  278. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  279. $z++;
  280. $apps[$x]['db'][$y]['fields'][$z]['name'] = "add_date";
  281. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  282. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  283. $z++;
  284. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_date";
  285. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  286. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  287. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  288. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  289. $z++;
  290. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_user";
  291. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  292. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  293. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  294. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  295. $z++;
  296. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_date";
  297. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  298. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  299. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  300. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  301. $z++;
  302. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_user";
  303. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  304. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  305. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  306. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  307. $y++;
  308. $apps[$x]['db'][$y]['table']['name']['text'] = "v_user_groups";
  309. $apps[$x]['db'][$y]['table']['name']['deprecated'] = "v_group_users";
  310. $apps[$x]['db'][$y]['table']['parent'] = "v_users";
  311. $z=0;
  312. $apps[$x]['db'][$y]['fields'][$z]['name'] = "id";
  313. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial";
  314. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer";
  315. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT";
  316. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  317. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  318. $z++;
  319. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "user_group_uuid";
  320. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "group_user_uuid";
  321. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  322. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  323. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  324. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  325. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  326. $z++;
  327. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
  328. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  329. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  330. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  331. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  332. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
  333. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
  334. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  335. $z++;
  336. $apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id";
  337. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  338. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  339. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  340. $z++;
  341. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "group_name";
  342. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "groupid";
  343. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  344. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  345. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  346. $z++;
  347. $apps[$x]['db'][$y]['fields'][$z]['name'] = "group_uuid";
  348. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  349. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  350. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  351. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  352. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_groups";
  353. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "group_uuid";
  354. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  355. $z++;
  356. $apps[$x]['db'][$y]['fields'][$z]['name'] = "username";
  357. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  358. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  359. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  360. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  361. $z++;
  362. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_uuid";
  363. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  364. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  365. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  366. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  367. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_users";
  368. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "user_uuid";
  369. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  370. $z++;
  371. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_date";
  372. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  373. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  374. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  375. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  376. $z++;
  377. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_user";
  378. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  379. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  380. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  381. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  382. $z++;
  383. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_date";
  384. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  385. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  386. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  387. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  388. $z++;
  389. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_user";
  390. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  391. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  392. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  393. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  394. $y++;
  395. $apps[$x]['db'][$y]['table']['name'] = "v_user_settings";
  396. $apps[$x]['db'][$y]['table']['parent'] = "v_users";
  397. $z=0;
  398. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_uuid";
  399. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  400. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  401. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  402. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  403. $z++;
  404. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_uuid";
  405. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  406. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  407. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  408. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  409. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_users";
  410. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "user_uuid";
  411. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  412. $z++;
  413. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
  414. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  415. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  416. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  417. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  418. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
  419. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
  420. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  421. $z++;
  422. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_category";
  423. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  424. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  425. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the category.";
  426. $z++;
  427. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_subcategory";
  428. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  429. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  430. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the subcategory.";
  431. $z++;
  432. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_name";
  433. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  434. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  435. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the name.";
  436. $z++;
  437. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_value";
  438. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  439. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the value.";
  440. $z++;
  441. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_order";
  442. $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
  443. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  444. $z++;
  445. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_enabled";
  446. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "boolean";
  447. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  448. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "text";
  449. $apps[$x]['db'][$y]['fields'][$z]['toggle'] = ['true','false'];
  450. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  451. $z++;
  452. $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_setting_description";
  453. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  454. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  455. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  456. $z++;
  457. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_date";
  458. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  459. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  460. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  461. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  462. $z++;
  463. $apps[$x]['db'][$y]['fields'][$z]['name'] = "insert_user";
  464. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  465. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  466. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  467. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  468. $z++;
  469. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_date";
  470. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
  471. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
  472. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
  473. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  474. $z++;
  475. $apps[$x]['db'][$y]['fields'][$z]['name'] = "update_user";
  476. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  477. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  478. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  479. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  480. ?>