zentaopms.php 46 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800
  1. <?php
  2. /**
  3. * The config file of zentaophp. Don't modify this file directly, copy the item to my.php and change it.
  4. *
  5. * @copyright Copyright 2009-2017 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.cnezsoft.com)
  6. * @license ZPL(http://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
  7. * @author Chunsheng Wang <chunsheng@cnezsoft.com>
  8. * @package config
  9. * @version $Id: zentaopms.php 5068 2017-06-20 15:35:22Z pengjx $
  10. * @link http://www.zentao.net
  11. */
  12. $config->contactUs['phone'] = '4006-8899-23';
  13. $config->contactUs['email'] = 'co@zentao.net';
  14. $config->contactUs['qq'] = '1492153927';
  15. $config->contactUs['wechat'] = '13730922971';
  16. /* Product common list. */
  17. $config->productCommonList['zh-cn'][0] = '产品';
  18. $config->productCommonList['zh-cn'][1] = '项目';
  19. $config->productCommonList['zh-tw'][0] = '產品';
  20. $config->productCommonList['zh-tw'][1] = '項目';
  21. $config->productCommonList['en'][0] = 'Product';
  22. $config->productCommonList['en'][1] = 'Project';
  23. $config->productCommonList['de'][0] = 'Produkt';
  24. $config->productCommonList['de'][1] = 'Projekt';
  25. $config->productCommonList['fr'][0] = 'Product';
  26. $config->productCommonList['fr'][1] = 'Project';
  27. $config->productCommonList['vi'][0] = 'Sản phẩm';
  28. $config->productCommonList['vi'][1] = 'Project';
  29. $config->productCommonList['ru'][0] = 'продукт';
  30. $config->productCommonList['ru'][1] = 'Проект';
  31. $config->productCommonList['ja'][0] = '製品';
  32. $config->productCommonList['ja'][1] = 'プロジェクト';
  33. $config->productCommonList['es'][0] = 'Productos';
  34. $config->productCommonList['es'][1] = 'Proyecto';
  35. $config->productCommonList['pt'][0] = 'produto';
  36. $config->productCommonList['pt'][1] = 'projecto';
  37. /* Project common list. */
  38. $config->projectCommonList['zh-cn'][0] = '项目';
  39. $config->projectCommonList['zh-cn'][1] = '迭代';
  40. $config->projectCommonList['zh-cn'][2] = '冲刺';
  41. $config->projectCommonList['zh-tw'][0] = '項目';
  42. $config->projectCommonList['zh-tw'][1] = '迭代';
  43. $config->projectCommonList['zh-tw'][2] = '冲刺';
  44. $config->projectCommonList['en'][0] = 'Project';
  45. $config->projectCommonList['en'][1] = 'Execution';
  46. $config->projectCommonList['en'][2] = 'Sprint';
  47. $config->projectCommonList['de'][0] = 'Project';
  48. $config->projectCommonList['de'][1] = 'Execution';
  49. $config->projectCommonList['de'][2] = 'Sprint';
  50. $config->projectCommonList['fr'][0] = 'Project';
  51. $config->projectCommonList['fr'][1] = 'Execution';
  52. $config->projectCommonList['fr'][2] = 'Sprint';
  53. $config->projectCommonList['vi'][0] = 'Project';
  54. $config->projectCommonList['vi'][1] = 'Execution';
  55. $config->projectCommonList['vi'][2] = 'Sprint';
  56. $config->projectCommonList['ru'][0] = 'Проект';
  57. $config->projectCommonList['ru'][1] = 'итерация';
  58. $config->projectCommonList['ru'][2] = 'пробивание';
  59. $config->projectCommonList['ja'][0] = 'プロジェクト';
  60. $config->projectCommonList['ja'][1] = '反復';
  61. $config->projectCommonList['ja'][2] = 'スパート';
  62. $config->projectCommonList['es'][0] = 'Proyecto';
  63. $config->projectCommonList['es'][1] = 'Iteración';
  64. $config->projectCommonList['es'][2] = 'Sprint';
  65. $config->projectCommonList['pt'][0] = 'Projecto';
  66. $config->projectCommonList['pt'][1] = 'Iteração';
  67. $config->projectCommonList['pt'][2] = 'Sprint';
  68. $config->executionCommonList['zh-cn'][0] = '迭代';
  69. $config->executionCommonList['zh-cn'][1] = '冲刺';
  70. $config->executionCommonList['zh-cn'][2] = '阶段';
  71. $config->executionCommonList['zh-tw'][0] = '迭代';
  72. $config->executionCommonList['zh-tw'][1] = '冲刺';
  73. $config->executionCommonList['zh-tw'][2] = '階段';
  74. $config->executionCommonList['en'][0] = 'Execution';
  75. $config->executionCommonList['en'][1] = 'Sprint';
  76. $config->executionCommonList['en'][2] = 'Phase';
  77. $config->executionCommonList['de'][0] = 'Execution';
  78. $config->executionCommonList['de'][1] = 'Sprint';
  79. $config->executionCommonList['de'][2] = 'Bühne';
  80. $config->executionCommonList['fr'][0] = 'Execution';
  81. $config->executionCommonList['fr'][1] = 'Sprint';
  82. $config->executionCommonList['fr'][2] = 'Phase';
  83. $config->executionCommonList['vi'][0] = 'Lặp lại';
  84. $config->executionCommonList['vi'][1] = 'Sprint';
  85. $config->executionCommonList['vi'][2] = 'Giai đoạn';
  86. $config->executionCommonList['ru'][0] = 'итерация';
  87. $config->executionCommonList['ru'][1] = 'пробивание';
  88. $config->executionCommonList['ru'][2] = ' этап';
  89. $config->executionCommonList['ja'][0] = '反復';
  90. $config->executionCommonList['ja'][1] = 'スパート';
  91. $config->executionCommonList['ja'][2] = 'ステージ';
  92. $config->executionCommonList['es'][0] = 'Iteración';
  93. $config->executionCommonList['es'][1] = 'Sprint';
  94. $config->executionCommonList['es'][2] = 'Fase';
  95. $config->executionCommonList['pt'][0] = 'Iteração';
  96. $config->executionCommonList['pt'][1] = 'Sprint';
  97. $config->executionCommonList['pt'][2] = 'Fase';
  98. /* Story common list. */
  99. $config->storyCommonList['zh-cn']['epic'] = '业务需求';
  100. $config->storyCommonList['zh-cn']['requirement'] = '用户需求';
  101. $config->storyCommonList['zh-cn']['story'] = '软件需求';
  102. $config->storyCommonList['zh-tw']['epic'] = '業務需求';
  103. $config->storyCommonList['zh-tw']['requirement'] = '用戶需求';
  104. $config->storyCommonList['zh-tw']['story'] = '軟件需求';
  105. $config->storyCommonList['en']['epic'] = 'Epic';
  106. $config->storyCommonList['en']['requirement'] = 'Requirement';
  107. $config->storyCommonList['en']['story'] = 'Story';
  108. $config->storyCommonList['de']['epic'] = 'Epic';
  109. $config->storyCommonList['de']['requirement'] = 'Requirement';
  110. $config->storyCommonList['de']['story'] = 'Story';
  111. $config->storyCommonList['fr']['epic'] = 'Epic';
  112. $config->storyCommonList['fr']['requirement'] = 'Requirement';
  113. $config->storyCommonList['fr']['story'] = 'Story';
  114. $config->hourPointCommonList['zh-cn'][0] = '工时';
  115. $config->hourPointCommonList['zh-cn'][1] = '故事点';
  116. $config->hourPointCommonList['zh-cn'][2] = '功能点';
  117. $config->hourPointCommonList['zh-tw'][0] = '工时';
  118. $config->hourPointCommonList['zh-tw'][1] = '故事点';
  119. $config->hourPointCommonList['zh-tw'][2] = '功能点';
  120. $config->hourPointCommonList['en'][0] = 'Hours';
  121. $config->hourPointCommonList['en'][1] = 'story point';
  122. $config->hourPointCommonList['en'][2] = 'function point';
  123. $config->hourPointCommonList['de'][0] = 'Stunde';
  124. $config->hourPointCommonList['de'][1] = 'story point';
  125. $config->hourPointCommonList['de'][2] = 'function point';
  126. $config->hourPointCommonList['fr'][0] = 'Heures';
  127. $config->hourPointCommonList['fr'][1] = 'story point';
  128. $config->hourPointCommonList['fr'][2] = 'function point';
  129. $config->hourPointCommonList['vi'][0] = 'giờ';
  130. $config->hourPointCommonList['vi'][1] = 'điểm';
  131. $config->hourPointCommonList['vi'][2] = 'function point';
  132. $config->hourPointCommonList['ru'][0] = 'продолжительность рабочего времени';
  133. $config->hourPointCommonList['ru'][1] = 'точка повести';
  134. $config->hourPointCommonList['ru'][2] = 'функциональная точка';
  135. $config->hourPointCommonList['ja'][0] = '工数';
  136. $config->hourPointCommonList['ja'][1] = 'ストーリーポイント';
  137. $config->hourPointCommonList['ja'][2] = 'きのうてん';
  138. $config->hourPointCommonList['es'][0] = 'Horas de trabajo';
  139. $config->hourPointCommonList['es'][1] = 'Punto de historia';
  140. $config->hourPointCommonList['es'][2] = 'Punto de función';
  141. $config->hourPointCommonList['pt'][0] = 'horas de trabalho';
  142. $config->hourPointCommonList['pt'][1] = 'Ponto da história';
  143. $config->hourPointCommonList['pt'][2] = 'Ponto de função';
  144. $config->manualUrl['home'] = 'https://www.zentao.net/book/zentaopms/38.html?fullScreen=zentao';
  145. $config->manualUrl['int'] = 'https://www.zentao.pm/book/zentaomanual/zentao-installation-11.html?fullScreen=zentao';
  146. /* Supported charsets. */
  147. $config->charsets['zh-cn']['utf-8'] = 'UTF-8';
  148. $config->charsets['zh-cn']['gbk'] = 'GBK';
  149. $config->charsets['zh-tw']['utf-8'] = 'UTF-8';
  150. $config->charsets['zh-tw']['big5'] = 'BIG5';
  151. $config->charsets['en']['utf-8'] = 'UTF-8';
  152. $config->charsets['en']['GBK'] = 'GBK';
  153. $config->charsets['de']['utf-8'] = 'UTF-8';
  154. $config->charsets['de']['GBK'] = 'GBK';
  155. $config->charsets['fr']['utf-8'] = 'UTF-8';
  156. $config->charsets['fr']['GBK'] = 'GBK';
  157. $config->charsets['vi']['utf-8'] = 'UTF-8';
  158. $config->charsets['vi']['GBK'] = 'GBK';
  159. $config->charsets['ru']['utf-8'] = 'UTF-8';
  160. $config->charsets['ru']['GBK'] = 'GBK';
  161. $config->charsets['ja']['utf-8'] = 'UTF-8';
  162. $config->charsets['ja']['GBK'] = 'GBK';
  163. $config->charsets['es']['utf-8'] = 'UTF-8';
  164. $config->charsets['es']['GBK'] = 'GBK';
  165. $config->charsets['pt']['utf-8'] = 'UTF-8';
  166. $config->charsets['pt']['GBK'] = 'GBK';
  167. /* 未登录用户可以使用的方法。The methods that can be used by the unlogged users. */
  168. $config->openMethods = array();
  169. $config->openMethods[] = 'api.getsessionid';
  170. $config->openMethods[] = 'misc.captcha';
  171. $config->openMethods[] = 'misc.checkupdate';
  172. $config->openMethods[] = 'misc.checknetconnect';
  173. $config->openMethods[] = 'misc.ajaxsendevent';
  174. $config->openMethods[] = 'misc.installevent';
  175. $config->openMethods[] = 'sso.bind';
  176. $config->openMethods[] = 'sso.feishuauthen';
  177. $config->openMethods[] = 'sso.feishulogin';
  178. $config->openMethods[] = 'sso.getfeishusso';
  179. $config->openMethods[] = 'sso.gettodolist';
  180. $config->openMethods[] = 'sso.login';
  181. $config->openMethods[] = 'sso.logout';
  182. $config->openMethods[] = 'upgrade.ajaxupdatefile';
  183. $config->openMethods[] = 'upgrade.safedelete';
  184. $config->openMethods[] = 'user.forgetpassword';
  185. $config->openMethods[] = 'user.login';
  186. $config->openMethods[] = 'user.refreshrandom';
  187. $config->openMethods[] = 'user.reset';
  188. $config->openMethods[] = 'user.resetpassword';
  189. $config->openMethods[] = 'admin.register';
  190. $config->openMethods[] = 'admin.getcaptcha';
  191. $config->openMethods[] = 'admin.sendcode';
  192. $config->openMethods[] = 'admin.planmodal';
  193. $config->openMethods[] = 'im.authorize';
  194. /* 登录用户可以使用的方法。The methods that can be used by the logged users. */
  195. $config->logonMethods = array();
  196. $config->logonMethods[] = 'action.commentzin';
  197. $config->logonMethods[] = 'action.editcommentzin';
  198. $config->logonMethods[] = 'action.restorestages';
  199. $config->logonMethods[] = 'admin.ignore';
  200. $config->logonMethods[] = 'caselib.index';
  201. $config->logonMethods[] = 'company.index';
  202. $config->logonMethods[] = 'cron.consume';
  203. $config->logonMethods[] = 'cron.schedule';
  204. $config->logonMethods[] = 'custom.index';
  205. $config->logonMethods[] = 'doc.createbasicinfo';
  206. $config->logonMethods[] = 'doc.selectlibtype';
  207. $config->logonMethods[] = 'doc.uploaddocs';
  208. $config->logonMethods[] = 'doc.setdocbasic';
  209. $config->logonMethods[] = 'doc.commoneditaction';
  210. $config->logonMethods[] = 'doc.commondeleteaction';
  211. $config->logonMethods[] = 'doc.buildzentaolist';
  212. $config->logonMethods[] = 'doc.zentaolist';
  213. $config->logonMethods[] = 'doc.lastviewedspacehome';
  214. $config->logonMethods[] = 'doc.lastviewedspace';
  215. $config->logonMethods[] = 'doc.lastviewedlib';
  216. $config->logonMethods[] = 'execution.browse';
  217. $config->logonMethods[] = 'feedback.mergeproductmodule';
  218. $config->logonMethods[] = 'file.buildoldform';
  219. $config->logonMethods[] = 'file.read';
  220. $config->logonMethods[] = 'gitea.binduser';
  221. $config->logonMethods[] = 'gitea.create';
  222. $config->logonMethods[] = 'gitea.edit';
  223. $config->logonMethods[] = 'gitlab.binduser';
  224. $config->logonMethods[] = 'gitlab.browsebranch';
  225. $config->logonMethods[] = 'gitlab.browsegroup';
  226. $config->logonMethods[] = 'gitlab.browseproject';
  227. $config->logonMethods[] = 'gitlab.browsetag';
  228. $config->logonMethods[] = 'gitlab.browseuser';
  229. $config->logonMethods[] = 'gitlab.create';
  230. $config->logonMethods[] = 'gitlab.createbranch';
  231. $config->logonMethods[] = 'gitlab.creategroup';
  232. $config->logonMethods[] = 'gitlab.createproject';
  233. $config->logonMethods[] = 'gitlab.createtag';
  234. $config->logonMethods[] = 'gitlab.createuser';
  235. $config->logonMethods[] = 'gitlab.createwebhook';
  236. $config->logonMethods[] = 'gitlab.deletegroup';
  237. $config->logonMethods[] = 'gitlab.deleteproject';
  238. $config->logonMethods[] = 'gitlab.deletetag';
  239. $config->logonMethods[] = 'gitlab.deleteuser';
  240. $config->logonMethods[] = 'gitlab.edit';
  241. $config->logonMethods[] = 'gitlab.editgroup';
  242. $config->logonMethods[] = 'gitlab.editproject';
  243. $config->logonMethods[] = 'gitlab.edituser';
  244. $config->logonMethods[] = 'gitlab.importissue';
  245. $config->logonMethods[] = 'gitlab.managebranchpriv';
  246. $config->logonMethods[] = 'gitlab.managegroupmembers';
  247. $config->logonMethods[] = 'gitlab.manageprojectmembers';
  248. $config->logonMethods[] = 'gitlab.managetagpriv';
  249. $config->logonMethods[] = 'gitlab.webhook';
  250. $config->logonMethods[] = 'gitlab.webhook';
  251. $config->logonMethods[] = 'gogs.binduser';
  252. $config->logonMethods[] = 'gogs.create';
  253. $config->logonMethods[] = 'gogs.edit';
  254. $config->logonMethods[] = 'index.app';
  255. $config->logonMethods[] = 'index.changelog';
  256. $config->logonMethods[] = 'instance.binduser';
  257. $config->logonMethods[] = 'instance.createexternalapp';
  258. $config->logonMethods[] = 'instance.deleteexternalapp';
  259. $config->logonMethods[] = 'instance.edit';
  260. $config->logonMethods[] = 'instance.editexternalapp';
  261. $config->logonMethods[] = 'instance.install';
  262. $config->logonMethods[] = 'instance.setting';
  263. $config->logonMethods[] = 'instance.upgrade';
  264. $config->logonMethods[] = 'instance.view';
  265. $config->logonMethods[] = 'instance.backuplist';
  266. $config->logonMethods[] = 'instance.visit';
  267. $config->logonMethods[] = 'instance.manualbackup';
  268. $config->logonMethods[] = 'instance.backupsettings';
  269. $config->logonMethods[] = 'instance.autobackup';
  270. $config->logonMethods[] = 'instance.showlogs';
  271. $config->logonMethods[] = 'instance.events';
  272. $config->logonMethods[] = 'instance.showevents';
  273. $config->logonMethods[] = 'jenkins.create';
  274. $config->logonMethods[] = 'jenkins.edit';
  275. $config->logonMethods[] = 'kanban.activatecard';
  276. $config->logonMethods[] = 'kanban.deleteobjectcard';
  277. $config->logonMethods[] = 'kanban.finishcard';
  278. $config->logonMethods[] = 'kanban.importbuild';
  279. $config->logonMethods[] = 'kanban.importcard';
  280. $config->logonMethods[] = 'kanban.importexecution';
  281. $config->logonMethods[] = 'kanban.importplan';
  282. $config->logonMethods[] = 'kanban.importrelease';
  283. $config->logonMethods[] = 'kanban.importticket';
  284. $config->logonMethods[] = 'metric.recalculatesetting';
  285. $config->logonMethods[] = 'misc.about';
  286. $config->logonMethods[] = 'misc.features';
  287. $config->logonMethods[] = 'misc.ping';
  288. $config->logonMethods[] = 'misc.qrcode';
  289. $config->logonMethods[] = 'my.changepassword';
  290. $config->logonMethods[] = 'my.preference';
  291. $config->logonMethods[] = 'my.profile';
  292. $config->logonMethods[] = 'my.settutorialconfig';
  293. $config->logonMethods[] = 'personnel.unbindwhitelist';
  294. $config->logonMethods[] = 'project.createguide';
  295. $config->logonMethods[] = 'pivot.drillmodal';
  296. $config->logonMethods[] = 'pivot.versions';
  297. $config->logonMethods[] = 'search.buildzinform';
  298. $config->logonMethods[] = 'search.buildzinquery';
  299. $config->logonMethods[] = 'search.deletezinquery';
  300. $config->logonMethods[] = 'search.savezinquery';
  301. $config->logonMethods[] = 'sonarqube.browseissue';
  302. $config->logonMethods[] = 'sonarqube.browseproject';
  303. $config->logonMethods[] = 'sonarqube.create';
  304. $config->logonMethods[] = 'sonarqube.createproject';
  305. $config->logonMethods[] = 'sonarqube.deleteproject';
  306. $config->logonMethods[] = 'sonarqube.edit';
  307. $config->logonMethods[] = 'sonarqube.execjob';
  308. $config->logonMethods[] = 'sonarqube.reportview';
  309. $config->logonMethods[] = 'space.binduser';
  310. $config->logonMethods[] = 'space.createapplication';
  311. $config->logonMethods[] = 'space.edit';
  312. $config->logonMethods[] = 'space.getstoreappinfo';
  313. $config->logonMethods[] = 'story.storyview';
  314. $config->logonMethods[] = 'system.editdomain';
  315. $config->logonMethods[] = 'task.editteam';
  316. $config->logonMethods[] = 'testcase.getxmindimport';
  317. $config->logonMethods[] = 'testcase.savexmindimport';
  318. $config->logonMethods[] = 'testcase.showimport';
  319. $config->logonMethods[] = 'testcase.showxmindimport';
  320. $config->logonMethods[] = 'testsuite.index';
  321. $config->logonMethods[] = 'tree.viewhistory';
  322. $config->logonMethods[] = 'user.cropavatar';
  323. $config->logonMethods[] = 'user.deny';
  324. $config->logonMethods[] = 'user.logout';
  325. $config->logonMethods[] = 'zanode.nodelist';
  326. $config->logonMethods[] = 'screen.viewold';
  327. $config->logonMethods[] = 'system.backupview';
  328. $config->logonMethods[] = 'screen.staticdataold';
  329. $config->logonMethods[] = 'stage.updateorder';
  330. $config->openModules = array();
  331. $config->openModules[] = 'install';
  332. $config->openModules[] = 'upgrade';
  333. /* Define the tables. */
  334. define('TABLE_AUTOCACHE', '`' . $config->db->prefix . 'autocache`');
  335. define('TABLE_COMPANY', '`' . $config->db->prefix . 'company`');
  336. define('TABLE_DEPT', '`' . $config->db->prefix . 'dept`');
  337. define('TABLE_CONFIG', '`' . $config->db->prefix . 'config`');
  338. define('TABLE_USER', '`' . $config->db->prefix . 'user`');
  339. define('TABLE_TODO', '`' . $config->db->prefix . 'todo`');
  340. define('TABLE_GROUP', '`' . $config->db->prefix . 'group`');
  341. define('TABLE_GROUPPRIV', '`' . $config->db->prefix . 'grouppriv`');
  342. define('TABLE_USERGROUP', '`' . $config->db->prefix . 'usergroup`');
  343. define('TABLE_USERQUERY', '`' . $config->db->prefix . 'userquery`');
  344. define('TABLE_USERCONTACT', '`' . $config->db->prefix . 'usercontact`');
  345. define('TABLE_USERVIEW', '`' . $config->db->prefix . 'userview`');
  346. define('TABLE_BUG', '`' . $config->db->prefix . 'bug`');
  347. define('TABLE_CASE', '`' . $config->db->prefix . 'case`');
  348. define('TABLE_CASESTEP', '`' . $config->db->prefix . 'casestep`');
  349. define('TABLE_CASESPEC', '`' . $config->db->prefix . 'casespec`');
  350. define('TABLE_TESTTASK', '`' . $config->db->prefix . 'testtask`');
  351. define('TABLE_TESTRUN', '`' . $config->db->prefix . 'testrun`');
  352. define('TABLE_TESTRESULT', '`' . $config->db->prefix . 'testresult`');
  353. define('TABLE_USERTPL', '`' . $config->db->prefix . 'usertpl`');
  354. define('TABLE_ZAHOST', '`' . $config->db->prefix . 'host`');
  355. define('TABLE_IMAGE', '`' . $config->db->prefix . 'image`');
  356. define('TABLE_AUTOMATION', '`' . $config->db->prefix . 'automation`');
  357. if(!defined('TABLE_ASSET')) define('TABLE_ASSET', '`' . $config->db->prefix . 'asset`');
  358. define('TABLE_PRODUCT', '`' . $config->db->prefix . 'product`');
  359. define('TABLE_BRANCH', '`' . $config->db->prefix . 'branch`');
  360. define('TABLE_EXPECT', '`' . $config->db->prefix . 'expect`');
  361. define('TABLE_STAGE', '`' . $config->db->prefix . 'stage`');
  362. define('TABLE_STAKEHOLDER', '`' . $config->db->prefix . 'stakeholder`');
  363. define('TABLE_STORY', '`' . $config->db->prefix . 'story`');
  364. define('TABLE_STORYSPEC', '`' . $config->db->prefix . 'storyspec`');
  365. define('TABLE_STORYREVIEW', '`' . $config->db->prefix . 'storyreview`');
  366. define('TABLE_STORYSTAGE', '`' . $config->db->prefix . 'storystage`');
  367. define('TABLE_STORYESTIMATE', '`' . $config->db->prefix . 'storyestimate`');
  368. define('TABLE_STORYGRADE', '`' . $config->db->prefix . 'storygrade`');
  369. define('TABLE_PRODUCTPLAN', '`' . $config->db->prefix . 'productplan`');
  370. define('TABLE_PLANSTORY', '`' . $config->db->prefix . 'planstory`');
  371. define('TABLE_RELEASE', '`' . $config->db->prefix . 'release`');
  372. define('TABLE_RELEASERELATED', '`' . $config->db->prefix . 'releaserelated`');
  373. define('TABLE_PROGRAM', '`' . $config->db->prefix . 'project`');
  374. define('TABLE_PROJECT', '`' . $config->db->prefix . 'project`');
  375. define('TABLE_EXECUTION', '`' . $config->db->prefix . 'project`');
  376. define('TABLE_TASK', '`' . $config->db->prefix . 'task`');
  377. define('TABLE_TASKSPEC', '`' . $config->db->prefix . 'taskspec`');
  378. define('TABLE_TASKTEAM', '`' . $config->db->prefix . 'taskteam`');
  379. define('TABLE_TEAM', '`' . $config->db->prefix . 'team`');
  380. define('TABLE_PROJECTADMIN', '`' . $config->db->prefix . 'projectadmin`');
  381. define('TABLE_PROJECTPRODUCT', '`' . $config->db->prefix . 'projectproduct`');
  382. define('TABLE_PROJECTDELIVERABLE','`' . $config->db->prefix . 'projectdeliverable`');
  383. define('TABLE_PROJECTSTORY', '`' . $config->db->prefix . 'projectstory`');
  384. define('TABLE_PROJECTCASE', '`' . $config->db->prefix . 'projectcase`');
  385. define('TABLE_PROJECTCHANGE', '`' . $config->db->prefix . 'projectchange`');
  386. define('TABLE_TASKESTIMATE', '`' . $config->db->prefix . 'taskestimate`');
  387. define('TABLE_EFFORT', '`' . $config->db->prefix . 'effort`');
  388. define('TABLE_BURN', '`' . $config->db->prefix . 'burn`');
  389. define('TABLE_CFD', '`' . $config->db->prefix . 'cfd`');
  390. define('TABLE_BUILD', '`' . $config->db->prefix . 'build`');
  391. define('TABLE_ACL', '`' . $config->db->prefix . 'acl`');
  392. define('TABLE_DESIGN', '`' . $config->db->prefix . 'design`');
  393. define('TABLE_DESIGNSPEC', '`' . $config->db->prefix . 'designspec`');
  394. define('TABLE_DELIVERABLE', '`' . $config->db->prefix . 'deliverable`');
  395. define('TABLE_DELIVERABLESTAGE','`' . $config->db->prefix . 'deliverablestage`');
  396. define('TABLE_DOCLIB', '`' . $config->db->prefix . 'doclib`');
  397. define('TABLE_DOC', '`' . $config->db->prefix . 'doc`');
  398. define('TABLE_DOCBLOCK', '`' . $config->db->prefix . 'docblock`');
  399. define('TABLE_DEMANDPOOL', '`' . $config->db->prefix . 'demandpool`');
  400. define('TABLE_DEMAND', '`' . $config->db->prefix . 'demand`');
  401. define('TABLE_DEMANDSPEC', '`' . $config->db->prefix . 'demandspec`');
  402. define('TABLE_DEMANDREVIEW', '`' . $config->db->prefix . 'demandreview`');
  403. define('TABLE_DECISION', '`' . $config->db->prefix . 'decision`');
  404. define('TABLE_API', '`' . $config->db->prefix . 'api`');
  405. define('TABLE_API_SPEC', '`' . $config->db->prefix . 'apispec`');
  406. define('TABLE_APISTRUCT', '`' . $config->db->prefix . 'apistruct`');
  407. define('TABLE_APISTRUCT_SPEC', '`' . $config->db->prefix . 'apistruct_spec`');
  408. define('TABLE_API_LIB_RELEASE', '`' . $config->db->prefix . 'api_lib_release`');
  409. define('TABLE_MODULE', '`' . $config->db->prefix . 'module`');
  410. define('TABLE_ACTION', '`' . $config->db->prefix . 'action`');
  411. define('TABLE_ACTIONRECENT', '`' . $config->db->prefix . 'actionrecent`');
  412. define('TABLE_ACTIONPRODUCT', '`' . $config->db->prefix . 'actionproduct`');
  413. define('TABLE_FILE', '`' . $config->db->prefix . 'file`');
  414. define('TABLE_HOLIDAY', '`' . $config->db->prefix . 'holiday`');
  415. define('TABLE_HISTORY', '`' . $config->db->prefix . 'history`');
  416. define('TABLE_EXTENSION', '`' . $config->db->prefix . 'extension`');
  417. define('TABLE_EXTUSER', '`' . $config->db->prefix . 'extuser`');
  418. define('TABLE_CRON', '`' . $config->db->prefix . 'cron`');
  419. define('TABLE_QUEUE', '`' . $config->db->prefix . 'queue`');
  420. define('TABLE_BLOCK', '`' . $config->db->prefix . 'block`');
  421. define('TABLE_DOCACTION', '`' . $config->db->prefix . 'docaction`');
  422. define('TABLE_DOCCONTENT', '`' . $config->db->prefix . 'doccontent`');
  423. define('TABLE_TESTSUITE', '`' . $config->db->prefix . 'testsuite`');
  424. define('TABLE_SUITECASE', '`' . $config->db->prefix . 'suitecase`');
  425. define('TABLE_TESTREPORT', '`' . $config->db->prefix . 'testreport`');
  426. define('TABLE_ENTRY', '`' . $config->db->prefix . 'entry`');
  427. define('TABLE_WEEKLYREPORT', '`' . $config->db->prefix . 'weeklyreport`');
  428. define('TABLE_WEBHOOK', '`' . $config->db->prefix . 'webhook`');
  429. define('TABLE_LOG', '`' . $config->db->prefix . 'log`');
  430. define('TABLE_SCORE', '`' . $config->db->prefix . 'score`');
  431. define('TABLE_NOTIFY', '`' . $config->db->prefix . 'notify`');
  432. define('TABLE_OAUTH', '`' . $config->db->prefix . 'oauth`');
  433. define('TABLE_PIPELINE', '`' . $config->db->prefix . 'pipeline`');
  434. define('TABLE_JOB', '`' . $config->db->prefix . 'job`');
  435. define('TABLE_COMPILE', '`' . $config->db->prefix . 'compile`');
  436. define('TABLE_MR', '`' . $config->db->prefix . 'mr`');
  437. define('TABLE_MRAPPROVAL', '`' . $config->db->prefix . 'mrapproval`');
  438. define('TABLE_MARK', '`' . $config->db->prefix . 'mark`');
  439. define('TABLE_SERVERROOM', '`' . $config->db->prefix . 'serverroom`');
  440. define('TABLE_HOST', '`' . $config->db->prefix . 'host`');
  441. define('TABLE_REPO', '`' . $config->db->prefix . 'repo`');
  442. define('TABLE_RELATION', '`' . $config->db->prefix . 'relation`');
  443. define('TABLE_REPOHISTORY', '`' . $config->db->prefix . 'repohistory`');
  444. define('TABLE_REPOFILES', '`' . $config->db->prefix . 'repofiles`');
  445. define('TABLE_REPOBRANCH', '`' . $config->db->prefix . 'repobranch`');
  446. define('TABLE_KANBAN', '`' . $config->db->prefix . 'kanban`');
  447. define('TABLE_KANBANSPACE', '`' . $config->db->prefix . 'kanbanspace`');
  448. define('TABLE_KANBANREGION', '`' . $config->db->prefix . 'kanbanregion`');
  449. define('TABLE_KANBANLANE', '`' . $config->db->prefix . 'kanbanlane`');
  450. define('TABLE_KANBANCOLUMN', '`' . $config->db->prefix . 'kanbancolumn`');
  451. define('TABLE_KANBANORDER', '`' . $config->db->prefix . 'kanbanorder`');
  452. define('TABLE_KANBANGROUP', '`' . $config->db->prefix . 'kanbangroup`');
  453. define('TABLE_KANBANCARD', '`' . $config->db->prefix . 'kanbancard`');
  454. define('TABLE_KANBANCELL', '`' . $config->db->prefix . 'kanbancell`');
  455. if(!defined('TABLE_LANG')) define('TABLE_LANG', '`' . $config->db->prefix . 'lang`');
  456. if(!defined('TABLE_PROJECTSPEC')) define('TABLE_PROJECTSPEC', '`' . $config->db->prefix . 'projectspec`');
  457. if(!defined('TABLE_SEARCHINDEX')) define('TABLE_SEARCHINDEX', $config->db->prefix . 'searchindex');
  458. if(!defined('TABLE_SEARCHDICT')) define('TABLE_SEARCHDICT', $config->db->prefix . 'searchdict');
  459. define('TABLE_SCREEN', '`' . $config->db->prefix . 'screen`');
  460. define('TABLE_CHART', '`' . $config->db->prefix . 'chart`');
  461. define('TABLE_PIVOT', '`' . $config->db->prefix . 'pivot`');
  462. define('TABLE_PIVOTSPEC', '`' . $config->db->prefix . 'pivotspec`');
  463. define('TABLE_PIVOTDRILL', '`' . $config->db->prefix . 'pivotdrill`');
  464. define('TABLE_DASHBOARD', '`' . $config->db->prefix . 'dashboard`');
  465. define('TABLE_DATASET', '`' . $config->db->prefix . 'dataset`');
  466. define('TABLE_DATAVIEW', '`' . $config->db->prefix . 'dataview`');
  467. define('TABLE_DIMENSION', '`' . $config->db->prefix . 'dimension`');
  468. define('TABLE_SCENE', '`' . $config->db->prefix . 'scene`');
  469. define('VIEW_SCENECASE', '`ztv_scenecase`');
  470. define('TABLE_ACTIVITY', '`' . $config->db->prefix . 'activity`');
  471. define('TABLE_APPROVAL', '`' . $config->db->prefix . 'approval`');
  472. define('TABLE_APPROVALFLOW', '`' . $config->db->prefix . 'approvalflow`');
  473. define('TABLE_APPROVALFLOWOBJECT', '`' . $config->db->prefix . 'approvalflowobject`');
  474. define('TABLE_APPROVALFLOWSPEC', '`' . $config->db->prefix . 'approvalflowspec`');
  475. define('TABLE_APPROVALNODE', '`' . $config->db->prefix . 'approvalnode`');
  476. define('TABLE_APPROVALOBJECT', '`' . $config->db->prefix . 'approvalobject`');
  477. define('TABLE_APPROVALROLE', '`' . $config->db->prefix . 'approvalrole`');
  478. define('TABLE_ASSETLIB', '`' . $config->db->prefix . 'assetlib`');
  479. define('TABLE_ATTEND', '`' . $config->db->prefix . 'attend`');
  480. define('TABLE_ATTENDSTAT', '`' . $config->db->prefix . 'attendstat`');
  481. define('TABLE_AUDITCL', '`' . $config->db->prefix . 'auditcl`');
  482. define('TABLE_AUDITPLAN', '`' . $config->db->prefix . 'auditplan`');
  483. define('TABLE_AUDITRESULT', '`' . $config->db->prefix . 'auditresult`');
  484. define('TABLE_BASICMEAS', '`' . $config->db->prefix . 'basicmeas`');
  485. define('TABLE_BUDGET', '`' . $config->db->prefix . 'budget`');
  486. define('TABLE_CMCL', '`' . $config->db->prefix . 'cmcl`');
  487. define('TABLE_DEPLOY', '`' . $config->db->prefix . 'deploy`');
  488. define('TABLE_DEPLOYPRODUCT', '`' . $config->db->prefix . 'deployproduct`');
  489. define('TABLE_DEPLOYSTEP', '`' . $config->db->prefix . 'deploystep`');
  490. define('TABLE_DERIVEMEAS', '`' . $config->db->prefix . 'derivemeas`');
  491. define('TABLE_DURATIONESTIMATION', '`' . $config->db->prefix . 'durationestimation`');
  492. define('TABLE_FAQ', '`' . $config->db->prefix . 'faq`');
  493. define('TABLE_FEEDBACK', '`' . $config->db->prefix . 'feedback`');
  494. define('TABLE_FEEDBACKVIEW', '`' . $config->db->prefix . 'feedbackview`');
  495. define('TABLE_GAPANALYSIS', '`' . $config->db->prefix . 'gapanalysis`');
  496. define('TABLE_IM_CHAT', '`' . $config->db->prefix . 'im_chat`');
  497. define('TABLE_IM_CHATUSER', '`' . $config->db->prefix . 'im_chatuser`');
  498. define('TABLE_IM_CHAT_MESSAGE_INDEX', '`' . $config->db->prefix . 'im_chat_message_index`');
  499. define('TABLE_IM_CLIENT', '`' . $config->db->prefix . 'im_client`');
  500. define('TABLE_IM_CONFERENCE', '`' . $config->db->prefix . 'im_conference`');
  501. define('TABLE_IM_CONFERENCEACTION', '`' . $config->db->prefix . 'im_conferenceaction`');
  502. define('TABLE_IM_MESSAGE', '`' . $config->db->prefix . 'im_message`');
  503. define('TABLE_IM_MESSAGESTATUS', '`' . $config->db->prefix . 'im_messagestatus`');
  504. define('TABLE_IM_MESSAGE_BACKUP', '`' . $config->db->prefix . 'im_message_backup`');
  505. define('TABLE_IM_MESSAGE_INDEX', '`' . $config->db->prefix . 'im_message_index`');
  506. define('TABLE_IM_QUEUE', '`' . $config->db->prefix . 'im_queue`');
  507. define('TABLE_IM_USERDEVICE', '`' . $config->db->prefix . 'im_userdevice`');
  508. define('TABLE_INTERVENTION', '`' . $config->db->prefix . 'intervention`');
  509. define('TABLE_ISSUE', '`' . $config->db->prefix . 'issue`');
  510. define('TABLE_LEAVE', '`' . $config->db->prefix . 'leave`');
  511. define('TABLE_LIEU', '`' . $config->db->prefix . 'lieu`');
  512. define('TABLE_MAKEUP', '`' . $config->db->prefix . 'overtime`');
  513. define('TABLE_MEASQUEUE', '`' . $config->db->prefix . 'measqueue`');
  514. define('TABLE_MEASRECORDS', '`' . $config->db->prefix . 'measrecords`');
  515. define('TABLE_MEASTEMPLATE', '`' . $config->db->prefix . 'meastemplate`');
  516. define('TABLE_MEETING', '`' . $config->db->prefix . 'meeting`');
  517. define('TABLE_MEETINGROOM', '`' . $config->db->prefix . 'meetingroom`');
  518. define('TABLE_NC', '`' . $config->db->prefix . 'nc`');
  519. define('TABLE_OBJECT', '`' . $config->db->prefix . 'object`');
  520. define('TABLE_OPPORTUNITY', '`' . $config->db->prefix . 'opportunity`');
  521. define('TABLE_OVERTIME', '`' . $config->db->prefix . 'overtime`');
  522. define('TABLE_PROCESS', '`' . $config->db->prefix . 'process`');
  523. define('TABLE_PROGRAMACTIVITY', '`' . $config->db->prefix . 'programactivity`');
  524. define('TABLE_PROGRAMOUTPUT', '`' . $config->db->prefix . 'programoutput`');
  525. define('TABLE_PROGRAMPLAN', '`' . $config->db->prefix . 'programplan`');
  526. define('TABLE_PROGRAMPROCESS', '`' . $config->db->prefix . 'programprocess`');
  527. define('TABLE_PROGRAMREPORT', '`' . $config->db->prefix . 'programreport`');
  528. define('TABLE_RELATIONOFTASKS', '`' . $config->db->prefix . 'relationoftasks`');
  529. define('TABLE_REPORT', '`' . $config->db->prefix . 'report`');
  530. define('TABLE_RESEARCHPLAN', '`' . $config->db->prefix . 'researchplan`');
  531. define('TABLE_RESEARCHREPORT', '`' . $config->db->prefix . 'researchreport`');
  532. define('TABLE_REVIEW', '`' . $config->db->prefix . 'review`');
  533. define('TABLE_REVIEWCL', '`' . $config->db->prefix . 'reviewcl`');
  534. define('TABLE_REVIEWISSUE', '`' . $config->db->prefix . 'reviewissue`');
  535. define('TABLE_REVIEWRESULT', '`' . $config->db->prefix . 'reviewresult`');
  536. define('TABLE_RISK', '`' . $config->db->prefix . 'risk`');
  537. define('TABLE_RISKISSUE', '`' . $config->db->prefix . 'riskissue`');
  538. define('TABLE_SOLUTIONS', '`' . $config->db->prefix . 'solutions`');
  539. define('TABLE_SQLVIEW', '`' . $config->db->prefix . 'sqlview`');
  540. define('TABLE_SQLBUILDER', '`' . $config->db->prefix . 'sqlbuilder`');
  541. define('TABLE_TICKET', '`' . $config->db->prefix . 'ticket`');
  542. define('TABLE_TICKETRELATION', '`' . $config->db->prefix . 'ticketrelation`');
  543. define('TABLE_TICKETSOURCE', '`' . $config->db->prefix . 'ticketsource`');
  544. define('TABLE_TRAINCATEGORY', '`' . $config->db->prefix . 'traincategory`');
  545. define('TABLE_TRAINCONTENTS', '`' . $config->db->prefix . 'traincontents`');
  546. define('TABLE_TRAINCOURSE', '`' . $config->db->prefix . 'traincourse`');
  547. define('TABLE_TRAINPLAN', '`' . $config->db->prefix . 'trainplan`');
  548. define('TABLE_TRAINRECORDS', '`' . $config->db->prefix . 'trainrecords`');
  549. define('TABLE_TRIP', '`' . $config->db->prefix . 'trip`');
  550. define('TABLE_WORKESTIMATION', '`' . $config->db->prefix . 'workestimation`');
  551. define('TABLE_WORKFLOW', '`' . $config->db->prefix . 'workflow`');
  552. define('TABLE_WORKFLOWGROUP', '`' . $config->db->prefix . 'workflowgroup`');
  553. define('TABLE_WORKFLOWACTION', '`' . $config->db->prefix . 'workflowaction`');
  554. define('TABLE_WORKFLOWDATASOURCE', '`' . $config->db->prefix . 'workflowdatasource`');
  555. define('TABLE_WORKFLOWFIELD', '`' . $config->db->prefix . 'workflowfield`');
  556. define('TABLE_WORKFLOWLABEL', '`' . $config->db->prefix . 'workflowlabel`');
  557. define('TABLE_WORKFLOWLAYOUT', '`' . $config->db->prefix . 'workflowlayout`');
  558. define('TABLE_WORKFLOWLINKDATA', '`' . $config->db->prefix . 'workflowlinkdata`');
  559. define('TABLE_WORKFLOWRELATION', '`' . $config->db->prefix . 'workflowrelation`');
  560. define('TABLE_WORKFLOWRELATIONLAYOUT', '`' . $config->db->prefix . 'workflowrelationlayout`');
  561. define('TABLE_WORKFLOWREPORT', '`' . $config->db->prefix . 'workflowreport`');
  562. define('TABLE_WORKFLOWRULE', '`' . $config->db->prefix . 'workflowrule`');
  563. define('TABLE_WORKFLOWSQL', '`' . $config->db->prefix . 'workflowsql`');
  564. define('TABLE_WORKFLOWVERSION', '`' . $config->db->prefix . 'workflowversion`');
  565. define('TABLE_WORKFLOWUI', '`' . $config->db->prefix . 'workflowui`');
  566. define('TABLE_ZOUTPUT', '`' . $config->db->prefix . 'zoutput`');
  567. define('TABLE_METRIC', '`' . $config->db->prefix . 'metric`');
  568. define('TABLE_METRICLIB', '`' . $config->db->prefix . 'metriclib`');
  569. define('TABLE_METRICRECORDS', '`' . $config->db->prefix . 'metricrecords`');
  570. define('TABLE_SPACE', '`' . $config->db->prefix . 'space`');
  571. define('TABLE_INSTANCE', '`' . $config->db->prefix . 'instance`');
  572. define('TABLE_ARTIFACTREPO', '`' . $config->db->prefix . 'artifactrepo`');
  573. define('TABLE_AI_AGENT', '`' . $config->db->prefix . 'ai_agent`');
  574. define('TABLE_AI_AGENTFIELD', '`' . $config->db->prefix . 'ai_agentfield`');
  575. define('TABLE_AI_AGENTROLE', '`' . $config->db->prefix . 'ai_agentrole`');
  576. define('TABLE_AI_MINIPROGRAM', '`' . $config->db->prefix . 'ai_miniprogram`');
  577. define('TABLE_AI_MINIPROGRAMFIELD', '`' . $config->db->prefix . 'ai_miniprogramfield`');
  578. define('TABLE_AI_MINIPROGRAMSTAR', '`' . $config->db->prefix . 'ai_miniprogramstar`');
  579. define('TABLE_AI_MESSAGE', '`' . $config->db->prefix . 'ai_message`');
  580. define('TABLE_AI_MODEL', '`' . $config->db->prefix . 'ai_model`');
  581. define('TABLE_AI_ASSISTANT', '`' . $config->db->prefix . 'ai_assistant`');
  582. define('TABLE_SQLITE_QUEUE', '`' . $config->db->prefix . 'sqlite_queue`');
  583. define('TABLE_DUCKDBQUEUE', '`' . $config->db->prefix . 'duckdbqueue`');
  584. if(!defined('TABLE_ROADMAP')) define('TABLE_ROADMAP', '`' . $config->db->prefix . 'roadmap`');
  585. if(!defined('TABLE_ROADMAPSTORY')) define('TABLE_ROADMAPSTORY', '`' . $config->db->prefix . 'roadmapstory`');
  586. if(!defined('TABLE_CHARTER')) define('TABLE_CHARTER', '`' . $config->db->prefix . 'charter`');
  587. if(!defined('TABLE_CHARTERPRODUCT')) define('TABLE_CHARTERPRODUCT', '`' . $config->db->prefix . 'charterproduct`');
  588. if(!defined('TABLE_MARKET')) define('TABLE_MARKET', '`' . $config->db->prefix . 'market`');
  589. if(!defined('TABLE_MARKETREPORT')) define('TABLE_MARKETREPORT', '`' . $config->db->prefix . 'marketreport`');
  590. if(!defined('TABLE_MARKETRESEARCH')) define('TABLE_MARKETRESEARCH', '`' . $config->db->prefix . 'project`');
  591. if(!defined('TABLE_SYSTEM')) define('TABLE_SYSTEM', '`' . $config->db->prefix . 'system`');
  592. define('JIRA_TMPRELATION', '`jiratmprelation`');
  593. define('CONFLUENCE_TMPRELATION', '`confluencetmprelation`');
  594. if(!defined('FIRST_RELEASE_DATE')) define('FIRST_RELEASE_DATE', '2010-05-03');
  595. $config->objectTables['dept'] = TABLE_DEPT;
  596. $config->objectTables['product'] = TABLE_PRODUCT;
  597. $config->objectTables['productplan'] = TABLE_PRODUCTPLAN;
  598. $config->objectTables['epic'] = TABLE_STORY;
  599. $config->objectTables['story'] = TABLE_STORY;
  600. $config->objectTables['requirement'] = TABLE_STORY;
  601. $config->objectTables['release'] = TABLE_RELEASE;
  602. $config->objectTables['program'] = TABLE_PROJECT;
  603. $config->objectTables['project'] = TABLE_PROJECT;
  604. $config->objectTables['projectstory'] = TABLE_PROJECTSTORY;
  605. $config->objectTables['execution'] = TABLE_PROJECT;
  606. $config->objectTables['programplan'] = TABLE_PROJECT;
  607. $config->objectTables['task'] = TABLE_TASK;
  608. $config->objectTables['build'] = TABLE_BUILD;
  609. $config->objectTables['bug'] = TABLE_BUG;
  610. $config->objectTables['case'] = TABLE_CASE;
  611. $config->objectTables['testcase'] = TABLE_CASE;
  612. $config->objectTables['testtask'] = TABLE_TESTTASK;
  613. $config->objectTables['testsuite'] = TABLE_TESTSUITE;
  614. $config->objectTables['testreport'] = TABLE_TESTREPORT;
  615. $config->objectTables['user'] = TABLE_USER;
  616. $config->objectTables['api'] = TABLE_API;
  617. $config->objectTables['doc'] = TABLE_DOC;
  618. $config->objectTables['doclib'] = TABLE_DOCLIB;
  619. $config->objectTables['docspace'] = TABLE_DOCLIB;
  620. $config->objectTables['doctemplate'] = TABLE_DOC;
  621. $config->objectTables['demand'] = TABLE_DEMAND;
  622. $config->objectTables['demandpool'] = TABLE_DEMANDPOOL;
  623. $config->objectTables['demandspec'] = TABLE_DEMANDSPEC;
  624. $config->objectTables['demandreview'] = TABLE_DEMANDREVIEW;
  625. $config->objectTables['deliverable'] = TABLE_DELIVERABLE;
  626. $config->objectTables['todo'] = TABLE_TODO;
  627. $config->objectTables['custom'] = TABLE_LANG;
  628. $config->objectTables['branch'] = TABLE_BRANCH;
  629. $config->objectTables['module'] = TABLE_MODULE;
  630. $config->objectTables['caselib'] = TABLE_TESTSUITE;
  631. $config->objectTables['entry'] = TABLE_ENTRY;
  632. $config->objectTables['webhook'] = TABLE_WEBHOOK;
  633. $config->objectTables['stakeholder'] = TABLE_STAKEHOLDER;
  634. $config->objectTables['job'] = TABLE_JOB;
  635. $config->objectTables['team'] = TABLE_TEAM;
  636. $config->objectTables['pipeline'] = TABLE_PIPELINE;
  637. $config->objectTables['mr'] = TABLE_MR;
  638. $config->objectTables['kanban'] = TABLE_KANBAN;
  639. $config->objectTables['kanbanspace'] = TABLE_KANBANSPACE;
  640. $config->objectTables['kanbanregion'] = TABLE_KANBANREGION;
  641. $config->objectTables['kanbancolumn'] = TABLE_KANBANCOLUMN;
  642. $config->objectTables['kanbanlane'] = TABLE_KANBANLANE;
  643. $config->objectTables['kanbanorder'] = TABLE_KANBANORDER;
  644. $config->objectTables['kanbangroup'] = TABLE_KANBANGROUP;
  645. $config->objectTables['kanbancard'] = TABLE_KANBANCARD;
  646. $config->objectTables['sonarqube'] = TABLE_PIPELINE;
  647. $config->objectTables['gitea'] = TABLE_PIPELINE;
  648. $config->objectTables['gogs'] = TABLE_PIPELINE;
  649. $config->objectTables['gitlab'] = TABLE_PIPELINE;
  650. $config->objectTables['jenkins'] = TABLE_PIPELINE;
  651. $config->objectTables['nexus'] = TABLE_PIPELINE;
  652. $config->objectTables['stage'] = TABLE_STAGE;
  653. $config->objectTables['apistruct'] = TABLE_APISTRUCT;
  654. $config->objectTables['repo'] = TABLE_REPO;
  655. $config->objectTables['dataview'] = TABLE_DATAVIEW;
  656. $config->objectTables['zahost'] = TABLE_ZAHOST;
  657. $config->objectTables['zanode'] = TABLE_ZAHOST;
  658. $config->objectTables['automation'] = TABLE_AUTOMATION;
  659. $config->objectTables['stepResult'] = TABLE_TESTRUN;
  660. $config->objectTables['scene'] = TABLE_SCENE;
  661. $config->objectTables['chart'] = TABLE_CHART;
  662. $config->objectTables['pivot'] = TABLE_PIVOT;
  663. $config->objectTables['serverroom'] = TABLE_SERVERROOM;
  664. $config->objectTables['host'] = TABLE_ZAHOST;
  665. $config->objectTables['instance'] = TABLE_INSTANCE;
  666. $config->objectTables['space'] = TABLE_SPACE;
  667. $config->objectTables['artifactrepo'] = TABLE_ARTIFACTREPO;
  668. $config->objectTables['metric'] = TABLE_METRIC;
  669. $config->objectTables['cron'] = TABLE_CRON;
  670. $config->objectTables['lang'] = TABLE_LANG;
  671. $config->objectTables['review'] = TABLE_REVIEW;
  672. $config->objectTables['effort'] = TABLE_EFFORT;
  673. $config->objectTables['design'] = TABLE_DESIGN;
  674. $config->objectTables['prompt'] = TABLE_AI_AGENT;
  675. $config->objectTables['aiapp'] = TABLE_AI_MINIPROGRAM;
  676. $config->objectTables['miniprogram'] = TABLE_AI_MINIPROGRAM;
  677. $config->objectTables['roadmap'] = TABLE_ROADMAP;
  678. $config->objectTables['charter'] = TABLE_CHARTER;
  679. $config->objectTables['market'] = TABLE_MARKET;
  680. $config->objectTables['marketreport'] = TABLE_MARKETREPORT;
  681. $config->objectTables['marketresearch'] = TABLE_PROJECT;
  682. $config->objectTables['researchstage'] = TABLE_PROJECT;
  683. $config->objectTables['workflowgroup'] = TABLE_WORKFLOWGROUP;
  684. $config->objectTables['productline'] = TABLE_MODULE;
  685. $config->objectTables['repocommit'] = TABLE_REPOHISTORY;
  686. $config->objectTables['system'] = TABLE_SYSTEM;
  687. $config->objectTables['mark'] = TABLE_MARK;
  688. $config->objectTables['cm'] = TABLE_OBJECT;
  689. $config->objectTables['baseline'] = TABLE_OBJECT;
  690. $config->objectTables['projectchange'] = TABLE_PROJECTCHANGE;
  691. $config->newFeatures = array('introduction', 'tutorial', 'youngBlueTheme', 'visions', 'aiPrompts', 'promptDesign', 'promptExec');
  692. $config->disabledFeatures = '';
  693. $config->closedFeatures = '';
  694. $config->pipelineTypeList = array('gitlab', 'gogs', 'gitea', 'jenkins', 'sonarqube');
  695. $config->mysqlDriverList = array('mysql', 'oceanbase');
  696. $config->pgsqlDriverList = array('postgres', 'highgo', 'kingbase');
  697. /* Program privs.*/
  698. $config->programPriv = new stdclass();
  699. $config->programPriv->noSprint = array('task', 'story', 'requirement', 'epic', 'productplan', 'tree', 'project', 'execution', 'projectbuild', 'bug', 'testcase', 'testtask', 'testreport', 'doc', 'repo', 'stakeholder', 'projectrelease', 'issue', 'risk', 'opportunity', 'meeting', 'pssp', 'auditplan', 'nc', 'review', 'reviewissue', 'weekly', 'projectdeliverable', 'build', 'testcase', 'approval');
  700. $config->programPriv->scrum = array('task', 'story', 'requirement', 'epic', 'productplan', 'tree', 'projectplan', 'projectstory', 'projectrelease', 'project', 'execution', 'projectbuild', 'bug', 'testcase', 'testreport', 'doc', 'repo', 'meeting', 'pssp', 'stakeholder', 'testtask', 'issue', 'risk', 'opportunity', 'weekly', 'review', 'reviewissue', 'report', 'mr', 'projectdeliverable', 'build', 'testcase', 'approval');
  701. $config->programPriv->waterfall = array_merge($config->programPriv->scrum, array('workestimation', 'durationestimation', 'budget', 'programplan', 'cm', 'projectchange', 'milestone', 'design', 'measrecord', 'auditplan', 'nc', 'trainplan', 'gapanalysis', 'pssp', 'researchplan', 'researchreport', 'report', 'mr'));
  702. $config->programPriv->agileplus = $config->programPriv->scrum;
  703. $config->programPriv->waterfallplus = $config->programPriv->waterfall;
  704. $config->programPriv->ipd = $config->programPriv->waterfall;
  705. $config->safeFileTimeout = 3600;
  706. $config->waterfallModules = array('workestimation', 'durationestimation', 'budget', 'programplan', 'review', 'reviewissue', 'weekly', 'cm', 'milestone', 'design', 'auditplan', 'trainplan', 'gapanalysis', 'pssp', 'researchplan', 'researchreport');
  707. $config->showMainMenu = true;
  708. $config->maxPriValue = '256';
  709. $config->importWhiteList = array('user', 'task', 'epic', 'requirement', 'story', 'bug', 'testcase', 'feedback', 'ticket');
  710. $config->dtable = new stdclass();
  711. $config->dtable->colVars = array('width', 'minWidth', 'type', 'flex', 'fixed', 'sortType', 'checkbox', 'nestedToggle', 'statusMap', 'actionsMap', 'group');
  712. $config->featureGroup = new stdclass();
  713. $config->featureGroup->my = array('score');
  714. $config->featureGroup->product = array('roadmap', 'track', 'UR', 'ER');
  715. $config->featureGroup->project = array();
  716. $config->featureGroup->qa = array('testsuite', 'automated', 'caselib');
  717. $config->featureGroup->assetlib = array();
  718. $config->featureGroup->other = array('program', 'devops', 'kanban', 'setCode', 'AI', 'BI');
  719. $config->db->sqliteBlacklist = array('sqlite_queue', 'cron');
  720. $config->hasDropmenuApps = array('program', 'project', 'product', 'execution', 'qa', 'admin', 'bi', 'feedback', 'demandpool');
  721. $config->hasBranchMenuModules = array('product', 'story', 'release', 'bug', 'testcase', 'testtask', 'branch', 'tree', 'workflowgroup', 'deliverable', 'process', 'activity', 'review', 'reviewcl', 'stage', 'auditcl');
  722. $config->excludeBranchMenu = array('product-dashboard', 'product-view', 'product-whitelist', 'product-addwhitelist', 'branch-manage', 'branch-batchedit');
  723. $config->excludeDropmenuList = array('program-browse', 'program-productview', 'program-kanban', 'product-all', 'product-index', 'product-kanban', 'project-kanban', 'execution-all', 'execution-executionkanban', 'project-browse', 'project-template', 'project-createtemplate', 'project-batchedit', 'product-batchedit', 'admin-index', 'product-create', 'project-create', 'execution-create', 'program-create', 'execution-batchedit', 'metric-preview', 'metric-browse', 'metric-view', 'metriclib-browse', 'qa-index', 'caselib-create', 'feedback-batchedit', 'feedback-batchclose', 'feedback-showimport', 'dimension-browse', 'dataview-browse', 'dataview-create', 'dataview-query', 'ticket-batchedit', 'ticket-batchfinish', 'ticket-batchactivate', 'ticket-showimport', 'file-download');
  724. $config->excludeDropmenuModules = array('reporttemplate');
  725. $config->hasSwitcherModules = array('design');
  726. $config->hasSwitcherMethods = array('project-bug', 'project-testcase', 'execution-bug', 'execution-testcase', 'testtask-cases', 'testtask-view', 'testtask-report', 'testtask-groupcase', 'testtask-linkcase');
  727. $config->excludeSwitcherList = array();
  728. $config->hasMainNavBar = array();