Commit Graph
1332 Commits
Author SHA1 Message Date
wangyuting 57444c7de0 * [misc] Optimize code. 2024-06-17 19:53:22 +08:00
wangyuting 24d1833415 * [misc] Add comments. 2024-06-17 19:53:22 +08:00
wangyuting 605e29745a * [misc] Fix workflow table is does not exist error. 2024-06-17 19:42:55 +08:00
liugang 77aa239f7f + [story#57368] if debug is not enabled, but the user is logged in and X-ZIN-DEBUG is in the request header, enable debug mode. 2024-06-17 19:08:52 +08:00
wangyuting 9f5c1467da * [misc] Optimize check installed and check serving. 2024-06-17 18:25:23 +08:00
wangyuting fbbc060ed0 * [misc] Fix errors during installation. 2024-06-17 18:25:23 +08:00
wangyuting c4958b368b * [bug#51149,done,3h,0h] Merge workflow mainNav before setOpenAdd function. 2024-06-17 16:41:00 +08:00
wangzemei edb660cbcc + [task#120474] add handling of array object and add comments. 2024-06-17 10:05:51 +08:00
wangzemei cd2138b57b + [task#120474] add the addPrefixToField for the framework. 2024-06-17 10:05:51 +08:00
wangyidong cf5fbd878f * [perf bug #50860] ignore fetch flow when upgrade or install. 2024-06-11 16:49:23 +08:00
liugang c8b4eef8db * helper: move the function to a static method of helper class. 2024-06-04 14:20:12 +08:00
liugang 7c4ace6b65 + helper: add a function to check if apcu is enabled. 2024-06-04 14:20:12 +08:00
tianshujie 34da9d3ddc * [bug#50551,done,0.2h] change the mode of alert. 2024-06-03 15:42:28 +08:00
caoyanyi 72b8b9826f * [misc,0.2h] adjust installed check logic for quicon system. 2024-06-03 10:08:47 +08:00
wangyidong 3af10d14d6 * Fix bug #50499. 2024-06-03 10:08:47 +08:00
wangyidong 2778cd3c04 * Fix bug #50499. 2024-06-03 08:35:56 +08:00
wangyidong 9d4158807e * Fix bug #50499. 2024-06-03 08:35:52 +08:00
liugang 331b0fab35 * router: fix error of calling undeinfed static property. 2024-05-31 10:20:20 +08:00
liugang 3669841406 - baseRouter: load cache config after installation. 2024-05-31 10:04:16 +08:00
liugang 1283792666 * baseControl: don't encode multi-byte unicode character. 2024-05-24 16:18:08 +08:00
liugang 902a83794f * baseControl: don't encode output by urlencode or rawurlencode function. 2024-05-24 16:18:08 +08:00
caoyanyi d2df28f35f * Move checkInstalled method to base router. 2024-05-23 14:22:15 +08:00
liugang 0c6ff7c5bd * baseRouter: fix error of calling fetch method on bool. 2024-05-23 14:22:15 +08:00
liugang a5ffb58c5e * framework: enable cache if the mode is running. 2024-05-23 14:22:15 +08:00
liugang 869f5c5b32 + baseRouter: add a method to load cache configuration from database. 2024-05-23 14:22:14 +08:00
liugang d8544d4f1b Revert "* Rename cache configuration item."
This reverts commit 7c826e1c3d.
2024-05-23 14:22:14 +08:00
liugang 361c7e011f * Rename cache configuration item. 2024-05-23 14:22:13 +08:00
wangyuting 96812a0fc7 * Adjust login timeout link. 2024-05-17 14:41:40 +08:00
wangyuting 45eca1b0ec * Adjust login timeout link. bug #49079. 2024-05-17 14:13:14 +08:00
dingguodong b93c055ec3 * Simplify the code, use the rawurlencode and rawurldecode. 2024-05-17 12:17:48 +08:00
dingguodong 760fe9fcff * Use the rawurlencode instead of urlencode. 2024-05-17 12:17:41 +08:00
liugang b5db281c03 * baseControl: refactor the method to set response header. 2024-05-17 11:15:01 +08:00
liugang e26b5c1d3e + baseControl: use client cache before render html. 2024-05-17 11:15:01 +08:00
liugang 2f434f9fc3 + baseRouter: fetch client cache time from http header. 2024-05-17 11:15:01 +08:00
liugang 359efe3016 + baseRouter: add variables of client cache. 2024-05-17 11:15:01 +08:00
liumengyi 2bc137839a + Fix bug #49142, get workflow module name. 2024-05-16 15:36:51 +08:00
tianshujie 0094d12bae * Add $app non-null judgment. 2024-05-14 16:54:50 +08:00
liugang 7eb23e1dad * Fix the vulnerability that induces users to click on links with sessionID to bypass authentication. 2024-05-13 16:58:29 +08:00
liugang 4aabd1ac68 - router: remove code to reset product common lang by custom setting. 2024-05-10 16:33:02 +08:00
caoyanyi 08e7542ee7 * Merge code from branch 18.x. 2024-05-09 15:18:43 +08:00
dingguodong bfc2f1cae2 * Optimize and fix the issue when zentaopms hides behind the proxy server. 2024-05-09 11:32:12 +08:00
caoyanyi dca8cfd4f1 * Adjust installed check logic. 2024-05-07 13:09:58 +08:00
caoyanyi acc26ba24d Merge remote-tracking branch 'remotes/origin/release-20.0'
# Conflicts:
#	db/update20.0.beta2.sql
#	lib/zin/func.php
#	lib/zin/wg/fileselector/v1.php
#	lib/zin/wg/upload/v1.php
#	module/action/model.php
#	module/backup/js/index.ui.js
#	module/block/lang/vi.php
#	module/block/ui/recentprojectblock.html.php
#	module/block/zen.php
#	module/common/lang/vi.php
#	module/custom/lang/vi.php
#	module/execution/js/kanban.ui.js
#	module/execution/ui/story.html.php
#	module/kanban/js/view.ui.js
#	module/metric/test/calc/project/hour/ac_of_weekly_all_in_waterfall.php
#	module/metric/test/calc/project/rate/cv_in_waterfall.php
#	module/metric/test/calc/project/rate/cv_weekly_in_waterfall.php
#	module/mr/control.php
#	module/mr/ui/browsebyexecution.html.php
#	module/product/zen.php
#	module/programplan/zen.php
#	module/project/model.php
#	module/repo/lang/de.php
#	module/repo/lang/en.php
#	module/repo/lang/fr.php
#	module/repo/lang/zh-cn.php
#	module/space/ui/createapplication.html.php
#	module/testcase/ui/view.html.php
#	module/upgrade/model.php
#	www/js/zui3/zen-editor/p-0aaccc7e.js
#	www/js/zui3/zen-editor/p-276dd30f.js
#	www/js/zui3/zen-editor/p-2b13cc9a.js
#	www/js/zui3/zen-editor/p-38d18c5d.js
#	www/js/zui3/zen-editor/p-3f6cad83.js
#	www/js/zui3/zen-editor/p-51e3a048.js
#	www/js/zui3/zen-editor/p-617d463f.js
#	www/js/zui3/zen-editor/p-62c0132e.js
#	www/js/zui3/zen-editor/p-6d22490c.js
#	www/js/zui3/zen-editor/p-a563f50b.js
#	www/js/zui3/zen-editor/p-bf31230c.js
#	www/js/zui3/zen-editor/p-c6c95773.js
#	www/js/zui3/zen-editor/p-d83dd3f0.js
#	www/js/zui3/zen-editor/p-d8bedd14.js
#	www/js/zui3/zen-editor/p-eaaa4129.js
#	www/js/zui3/zen-editor/zen-editor.esm.js
#	www/js/zui3/zui.zentao.css
#	www/js/zui3/zui.zentao.js
2024-05-06 09:17:49 +08:00
王怡栋 08d7aa945c * Fix bug #46895. 2024-04-28 13:08:35 +08:00
liugang 1ed615f0bd * router: sort code. 2024-04-26 17:24:45 +08:00
liugang d13ef4cf6b * router: use isset instead of in_array. 2024-04-26 17:24:03 +08:00
liugang a65ce41ef7 + framework: return if the module's config has been loaded. 2024-04-26 17:23:26 +08:00
liugang e7d4092c6a * baseRouter: use isset instead of in_array. 2024-04-26 17:19:07 +08:00
liugang b2e661bd43 * baseRouter: use loadedLangs instead of loadedModules. 2024-04-26 17:17:26 +08:00
liugang 3606e41798 * baseRouter: assign the $loadedTargets variable as global. 2024-04-26 17:13:41 +08:00