Compare commits

..

1469 Commits

Author SHA1 Message Date
wangyidong
befa7343c7 + add 4.2.beta tag. 2013-07-08 06:18:50 +00:00
wangyidong
9e1a902ffb * revert for search. 2013-07-08 06:15:54 +00:00
wangyidong
d6d2087d65 + add 4.2.beta tag. 2013-07-08 05:53:28 +00:00
chencongzhi520@gmail.com
b688079505 * small qrcode image. 2013-07-08 05:51:37 +00:00
zhujinyong
18fe046b86 * fix a bug : if version <= 4.1, only get modules of its type. 2013-07-08 05:22:46 +00:00
wangyidong
a92333f7e5 + changelog for 4.2.beta. 2013-07-08 03:32:32 +00:00
wangyidong
0953f39e18 * change version to 4.2.beta. 2013-07-08 02:41:22 +00:00
zhujinyong
919378dc3c * fix syntax bug. 2013-07-08 02:09:10 +00:00
zhujinyong
88005d1506 + add note for getTaskTreeMenu. 2013-07-08 01:56:11 +00:00
wangyidong
4b9c71fbf3 * code for task #1441. 2013-07-08 01:24:35 +00:00
chencongzhi520@gmail.com
07f9a58782 * adjust the code. 2013-07-08 00:47:04 +00:00
chencongzhi520@gmail.com
0dae02fecd * change noMatchedProduct|noMatchedProject to noMatched.
* adjust the lang prompt.
2013-07-08 00:43:17 +00:00
chencongzhi520@gmail.com
33b345087b * move the createProductLink and createProjectLink to model from control.
* code for dropmenu.
2013-07-08 00:38:56 +00:00
wangyidong
fd66566d50 * change for zh-tw lang. 2013-07-08 00:27:56 +00:00
wangyidong
df28b82706 * chang back button for story and todo. 2013-07-06 09:31:17 +00:00
chencongzhi520@gmail.com
1c5c39e04b * adjust the back logic. 2013-07-06 09:19:55 +00:00
chencongzhi520@gmail.com
fb1a69f8dc * replace js:locate instead $this->locate. 2013-07-06 09:15:26 +00:00
chencongzhi520@gmail.com
af02603fd5 * fix bug: when click backbutton not work. 2013-07-06 09:13:51 +00:00
zhujinyong
d4a1af56b4 * note for getEstimateById. 2013-07-06 08:52:01 +00:00
wangyidong
491671603c * change responser to response. 2013-07-06 08:31:25 +00:00
wangyidong
e834636be9 * select all.js and css by debug. 2013-07-06 08:29:33 +00:00
wangyidong
f32fdcf51c * adjust code for user. 2013-07-06 08:17:37 +00:00
wangyidong
055ab21947 * Reduce redundant. 2013-07-06 08:15:52 +00:00
wangyidong
14adee735b * add note for closeColorbox. 2013-07-06 08:13:07 +00:00
wangyidong
c1f3ef9b44 * change prefix to viewPrefix. 2013-07-06 08:12:10 +00:00
wangyidong
48c44f932a - remove useless code. 2013-07-06 08:10:18 +00:00
wangyidong
34de0eb8af * minify for mobile js and css. 2013-07-06 08:09:06 +00:00
chencongzhi520@gmail.com
60250e6b1d * adjust the border-bottom of navBar. 2013-07-06 07:54:03 +00:00
chencongzhi520@gmail.com
bfb79c5fe1 * add hr for last object.
* adjust the style of hr in m.action.html.php.
2013-07-06 07:43:53 +00:00
zhujinyong
5d272108f6 * change 'sons' to 'children'. 2013-07-06 07:04:40 +00:00
chencongzhi520@gmail.com
e04ad62f1d * change ciqrcode to qrcode. 2013-07-06 06:26:05 +00:00
zhujinyong
7400331f1e - remove '<p>' tag. 2013-07-06 06:34:21 +00:00
zhujinyong
2aec696204 * change 'consumed' to 'consumedNumber'. 2013-07-06 06:33:15 +00:00
zhujinyong
89ae7e4035 * m.sendmail.html.php include sendmail.html.php. 2013-07-06 06:25:30 +00:00
zhujinyong
ef41ff1285 * change 'consumed' to 'consumedNumber'. 2013-07-06 06:22:18 +00:00
zhujinyong
e8e1726bdc * change '0' to 'zero'. 2013-07-06 06:06:33 +00:00
zhujinyong
5d8faf1edc * correct en lang of tree browse. 2013-07-06 06:02:30 +00:00
zhujinyong
f480b346cb * format code of task estimate. 2013-07-06 05:46:32 +00:00
wangyidong
5f25a13cc0 * change the way for check mobile. 2013-07-06 05:26:44 +00:00
wangyidong
37b5c3d95f * adjust code. 2013-07-06 05:21:58 +00:00
wangyidong
364256607f * add note for setMobileMenu
* change array_key_exists to isset.
2013-07-06 03:41:45 +00:00
chencongzhi520@gmail.com
acfc6f237e * change $users instead $members. 2013-07-06 03:24:37 +00:00
chencongzhi520@gmail.com
ff235f4cd5 * set the orderBy='code' for product and project. 2013-07-06 03:21:43 +00:00
zhujinyong
2a264ff2c6 + add note for getEstimateById. 2013-07-06 03:16:59 +00:00
zhujinyong
e7e4387a56 * revert error_reporting. 2013-07-06 03:07:03 +00:00
chencongzhi520@gmail.com
bcf35c4b7b * adjust the code. 2013-07-06 03:00:01 +00:00
wangyidong
8386fa93a7 * remove useless param. 2013-07-06 02:59:41 +00:00
wangyidong
3b0fc6c32b * change company index. 2013-07-06 02:57:42 +00:00
chencongzhi520@gmail.com
ade8be2b66 * change the theme of button for web app. 2013-07-05 07:33:42 +00:00
chencongzhi520@gmail.com
c767e3fbbc * remove the lang: showAll and hideClosed. 2013-07-05 07:23:48 +00:00
chencongzhi520@gmail.com
d4944de830 * code for dropMenu. 2013-07-05 07:13:12 +00:00
chencongzhi520@gmail.com
d77747cd64 * adjust the lang of mobile login. 2013-07-05 06:51:46 +00:00
chencongzhi520@gmail.com
782dfabd8e * adjust the prompt. 2013-07-05 06:50:39 +00:00
chencongzhi520@gmail.com
8ef5b5df7f * adjust the dropmenu. 2013-07-05 05:26:14 +00:00
wangyidong
2b38881864 * change the number of recPerPage for mobile. 2013-07-05 02:03:26 +00:00
wangyidong
968f81b49c * add return value. 2013-07-05 02:02:31 +00:00
wangyidong
619e702373 * adjust for pjax for mobile. 2013-07-05 02:01:46 +00:00
wangyidong
9bbc388e13 * remove company for zt_effort. 2013-07-05 02:00:25 +00:00
zhujinyong
313322f1ad * code for task#1481. 2013-07-04 07:17:31 +00:00
chencongzhi520@gmail.com
a031637a64 * small action buttons. 2013-07-04 07:15:26 +00:00
chencongzhi520@gmail.com
0be1be7679 * add pager for my bug list. 2013-07-04 07:02:39 +00:00
wangyidong
2a7ebdbea9 * fix a bug for browse project and product in mobile. 2013-07-04 06:56:02 +00:00
wangyidong
fa9b8ad2a6 * fix a bug for do not locate when no project and product in mobile. 2013-07-04 06:45:39 +00:00
wangyidong
178c3f2dee * fix a bug for no project and product. 2013-07-04 06:44:33 +00:00
zhujinyong
9c0c366153 * code for task#1481. 2013-07-04 05:50:33 +00:00
zhujinyong
e08129dde5 * adjust pager for mobile. 2013-07-04 05:41:56 +00:00
wangyidong
b5113aaa53 * change zentao.sql to 4.2 2013-07-04 05:40:27 +00:00
wangyidong
acba807b6c * change for upgrade. 2013-07-04 01:14:34 +00:00
wangyidong
49f3bf69fa * finish task #1468. 2013-07-03 08:52:21 +00:00
chencongzhi520@gmail.com
5d8358246c * code for task#1487. 2013-07-03 08:39:11 +00:00
wangyidong
6a7917ffba * change note. 2013-07-03 08:29:02 +00:00
wangyidong
2093b5f421 * code for task #1483. 2013-07-03 08:27:51 +00:00
chencongzhi520@gmail.com
d183a1a25f * code for task#1487. 2013-07-03 08:25:39 +00:00
chencongzhi520@gmail.com
83a516fa9d * code for task#1487. 2013-07-03 08:22:13 +00:00
chencongzhi520@gmail.com
af0bf604a9 * code for task#1487. 2013-07-03 08:20:57 +00:00
chencongzhi520@gmail.com
204ab284a5 * code for task#1487. 2013-07-03 08:14:47 +00:00
wangyidong
c24ba92c5d * adjust login for mobile. 2013-07-03 08:06:05 +00:00
wangyidong
331e0f9b04 * finish task #1447. 2013-07-03 08:03:58 +00:00
wangyidong
957f01c7ed * Do not use colorbox when pager is in colorbox. 2013-07-03 07:54:05 +00:00
chencongzhi520@gmail.com
edf0f2da82 * code for task#1487. 2013-07-03 07:40:47 +00:00
chencongzhi520@gmail.com
34e8546577 * code for task#1487. 2013-07-03 07:34:41 +00:00
chencongzhi520@gmail.com
ffdcd41f6e * code for task#1487. 2013-07-03 07:27:01 +00:00
chencongzhi520@gmail.com
1e9a8043de * code for task$1487. 2013-07-03 07:21:59 +00:00
chencongzhi520@gmail.com
1a9765dc02 * code for task#1487. 2013-07-03 07:18:37 +00:00
wangyidong
46f14183f2 + finish task #1496. 2013-07-03 07:15:45 +00:00
zhujinyong
e4e04d46bc * code for task#1479. 2013-07-03 07:05:45 +00:00
chencongzhi520@gmail.com
3be8ff4a9b * code for task#1487.
* adjust the assign of users.
2013-07-03 06:51:08 +00:00
zhujinyong
db9a49eef6 * code for task#1478. 2013-07-03 06:15:37 +00:00
zhujinyong
1abc0b6546 * code for task#1477. 2013-07-03 05:59:04 +00:00
wangyidong
8746544e5b * finish task #1465. 2013-07-03 05:10:00 +00:00
wangyidong
0ea9b0420c * finish task #1463. 2013-07-03 03:35:02 +00:00
zhujinyong
8ea77a0215 * code for task#1477. 2013-07-03 02:34:05 +00:00
chencongzhi520@gmail.com
3360589ade * finish task#1506. 2013-07-03 02:22:57 +00:00
wangyidong
ea6d3274af * adjust code. 2013-07-03 02:15:49 +00:00
wangyidong
8c4809e15a * finish task #1444. 2013-07-03 02:05:50 +00:00
wangyidong
56b2d02b9e * code for task #1483. 2013-07-03 01:18:37 +00:00
chencongzhi520@gmail.com
684b355af0 * finish task#1476. 2013-07-03 00:27:14 +00:00
chencongzhi520@gmail.com
2d0b26df15 * finish task#1475. 2013-07-02 08:33:44 +00:00
wangyidong
5f8bfb7743 * finish task #1483. 2013-07-02 08:15:31 +00:00
zhujinyong
b6670b7724 * ignore strict error. 2013-07-02 08:10:45 +00:00
zhujinyong
ae8d0bc086 * fix a bug : webapp menu error. 2013-07-02 07:41:37 +00:00
wangyidong
b9ab6cedb3 * hide import button when todo is today. 2013-07-02 07:03:57 +00:00
zhujinyong
51f71311c1 * use 127.0.0.1 as default when connect db. 2013-07-02 06:50:10 +00:00
zhujinyong
99e1148a59 * code for task#1455. 2013-07-02 06:20:40 +00:00
wangyidong
2716c0fad9 * finish task #1503. 2013-07-02 05:58:11 +00:00
wangyidong
6dad6801bd * change the footer of todo in mobile. 2013-07-02 05:57:12 +00:00
chencongzhi520@gmail.com
10af545c10 * finish task#1505. 2013-07-02 05:43:11 +00:00
zhujinyong
9ab8414c3c * code for task#1448. 2013-07-02 03:07:17 +00:00
wangyidong
d34d49e75a * finish task #1466. 2013-07-02 02:59:25 +00:00
wangyidong
0ef541ea94 * change button for moblie.
* adjust for locate.
2013-07-02 02:46:46 +00:00
wangyidong
05762e84d8 * change zentao.js for jqueryForm. 2013-07-02 02:42:33 +00:00
wangyidong
c835dd562b * finish task #1484. 2013-07-02 02:37:21 +00:00
wangyidong
5a1cb7ea79 * finish task #1491. 2013-07-02 02:25:52 +00:00
chencongzhi520@gmail.com
afa0907613 * finish task#1469. 2013-07-02 02:21:55 +00:00
zhujinyong
88eff28588 * code for task#1493. 2013-07-02 02:16:59 +00:00
wangyidong
27ba009607 * finish task #1488. 2013-07-02 02:16:37 +00:00
wangyidong
ac1c910864 * finish task #1473. 2013-07-02 02:14:02 +00:00
chencongzhi520@gmail.com
aad4354fdf * finish task#1458. 2013-07-02 02:11:41 +00:00
wangyidong
230553e0b0 * finish task #1501. 2013-07-02 02:07:54 +00:00
chencongzhi520@gmail.com
00373ffeee * finish task#1504. 2013-07-02 01:47:21 +00:00
zhujinyong
b52eb3ea78 * code for task #1480. 2013-07-02 01:39:50 +00:00
chencongzhi520@gmail.com
461eb3e010 * finish task#1456. 2013-07-02 01:29:23 +00:00
chencongzhi520@gmail.com
baa36ac7d5 * finish task#1451. 2013-07-02 01:14:58 +00:00
chencongzhi520@gmail.com
8224033bc1 * finish task#1464. 2013-07-02 00:49:12 +00:00
chencongzhi520@gmail.com
fbeb8af489 * finish task#1472. 2013-07-01 08:40:25 +00:00
zhujinyong
293f93dd48 * fix a bug : empty can't use the return of trim. 2013-07-01 07:51:45 +00:00
zhujinyong
7d1aaccedc * if trim condition is empty, condition is '1=1'. 2013-07-01 07:47:58 +00:00
chencongzhi520@gmail.com
862865b8f6 * finish task#1502. 2013-07-01 07:45:00 +00:00
chencongzhi520@gmail.com
a51164bbc2 * finish task#1494. 2013-07-01 07:31:28 +00:00
zhujinyong
50d0ed0d62 * if the module is deleted, module of objects will be moved parent. 2013-07-01 07:00:32 +00:00
zhujinyong
2564e60038 * adjust m.recordestimate.html. 2013-07-01 06:46:14 +00:00
wangyidong
358138e9f2 * ajdust highlight for mobile's mainMenu. 2013-06-28 02:43:27 +00:00
wangyidong
78a2f85b21 * change for my-story use ajax
* add title for project-index and product-index.
2013-06-28 02:27:23 +00:00
zhujinyong
871bc69eff + add backButton for task views. 2013-06-28 01:57:53 +00:00
zhujinyong
d3a9935652 * fix bug in task m.view. 2013-06-28 01:45:53 +00:00
zhujinyong
16224d70a6 * adjust style of mobile task module. 2013-06-28 01:02:09 +00:00
wangyidong
8c2a2970b8 * add activate for my-story. 2013-06-27 09:13:01 +00:00
wangyidong
c53b1dfe75 * change to table. 2013-06-27 09:10:14 +00:00
chencongzhi520@gmail.com
899078c030 * code for task#1424. 2013-06-27 09:08:13 +00:00
chencongzhi520@gmail.com
d0bee531e6 * code for task#1424. 2013-06-27 08:57:54 +00:00
zhujinyong
182059772d * adjust active task. 2013-06-27 08:54:45 +00:00
chencongzhi520@gmail.com
0eeedbcc5c * code for task#1424. 2013-06-27 08:41:02 +00:00
chencongzhi520@gmail.com
ccafa40290 * code for task#1424. 2013-06-27 08:35:05 +00:00
wangyidong
619d22a8a5 * add style for table. 2013-06-27 08:01:37 +00:00
chencongzhi520@gmail.com
758cf28c28 * add comment. 2013-06-27 07:06:54 +00:00
chencongzhi520@gmail.com
ab8dfc3eeb * code for task#1424. 2013-06-27 07:03:27 +00:00
chencongzhi520@gmail.com
cd902d213a * remove the view of todo. 2013-06-27 06:44:31 +00:00
chencongzhi520@gmail.com
cec3412bbf * code for task#1424. 2013-06-27 05:28:20 +00:00
wangyidong
15b26f4ff2 * remove the param of onlybody. 2013-06-27 03:36:54 +00:00
wangyidong
7c2379e8aa * adjust code for ajaxForm. 2013-06-27 03:34:32 +00:00
wangyidong
c83fcf55ba * change loadColorbox to setModal4List for the function name. 2013-06-27 03:33:25 +00:00
wangyidong
5e4951250c * add null string. 2013-06-27 03:31:19 +00:00
chencongzhi520@gmail.com
97a6ddd46c * ajax get todo detail. 2013-06-27 02:36:58 +00:00
chencongzhi520@gmail.com
8bb4649dea * code for task#1424. 2013-06-27 02:28:28 +00:00
chencongzhi520@gmail.com
5b37b3b0bf * ajax get the task detail. 2013-06-27 02:23:04 +00:00
chencongzhi520@gmail.com
3fe6368478 * add ajax get the bug detail. 2013-06-27 02:05:39 +00:00
chencongzhi520@gmail.com
273c5061b2 * adjust my-bug list.
* goto my-bug list from bug-view.
 * ajax get the detail of bug.
2013-06-27 02:03:48 +00:00
zhujinyong
5368aaeec1 * go to tasks of project instead of view. 2013-06-27 01:57:59 +00:00
zhujinyong
5fff89dd49 * change style of task in mobile. 2013-06-27 01:43:15 +00:00
chencongzhi520@gmail.com
d2c4e9e4b9 * goto product browse in m.view.html.php. 2013-06-27 01:37:41 +00:00
chencongzhi520@gmail.com
77864751cb * add actions for story detail. 2013-06-27 01:23:22 +00:00
chencongzhi520@gmail.com
389c4759e5 * code for task#1424.
* add ajax for story list.
2013-06-27 01:10:17 +00:00
chencongzhi520@gmail.com
1dd52b143b * adjust the qrcode.
* remove the code of qrcode.html.php to control.php.
2013-06-27 00:56:52 +00:00
chencongzhi520@gmail.com
7823826e2a * code for qrcode. 2013-06-26 08:28:39 +00:00
chencongzhi520@gmail.com
a427e2c628 * code for qrcode. 2013-06-26 08:27:24 +00:00
chencongzhi520@gmail.com
ac1c3656e5 * add space. 2013-06-26 07:23:50 +00:00
chencongzhi520@gmail.com
860ce33544 * adjust the logic of init currentModule when call setMenu of product. 2013-06-26 07:19:58 +00:00
chencongzhi520@gmail.com
abea820b22 * adjust if isset $users.
* batchCreate not assign users.
2013-06-26 07:07:58 +00:00
chencongzhi520@gmail.com
3aec8948b1 * code for task#1427. 2013-06-26 06:34:36 +00:00
chencongzhi520@gmail.com
c0cb5aaed3 * finish task#1425.
* finish task#1426.
 * finish task#1427.
 * finish task#1428.
2013-06-26 06:27:16 +00:00
wangyidong
d9a4efdf23 * finish task #1438. 2013-06-26 05:37:45 +00:00
wangyidong
eabde4a7fe * finish task #1437. 2013-06-26 05:32:59 +00:00
wangyidong
0538291a19 * finish task #1436. 2013-06-26 05:25:58 +00:00
wangyidong
b3104ce424 * finish task #1435. 2013-06-26 03:43:26 +00:00
wangyidong
a0c3627b8c + finish task #1433. 2013-06-26 03:42:13 +00:00
wangyidong
c43eec4a20 * convert int to string in the function js::set(). 2013-06-26 03:39:36 +00:00
chencongzhi520@gmail.com
6e558f73ba * remove the goback link. 2013-06-26 01:34:33 +00:00
wangyidong
485e7bed9f * change to function js::set(). 2013-06-26 01:13:16 +00:00
wangyidong
f96ac18298 * finish task #1432. 2013-06-25 01:33:05 +00:00
wangyidong
5caeb06c9c + finish task #1431. 2013-06-25 01:31:43 +00:00
wangyidong
6518a19c40 + finish task #1430. 2013-06-25 01:28:39 +00:00
wangyidong
776dccf2a2 * finish task #1429. 2013-06-25 01:25:26 +00:00
wangyidong
670ec60f6c + add the function of loadColorbox. 2013-06-25 00:54:45 +00:00
wangyidong
1d08f9c094 + add function of closeColorbox. 2013-06-25 00:51:45 +00:00
zhujinyong
750d75a0b8 * fix a bug: createCaseLink is error. 2013-06-24 06:59:58 +00:00
wangyidong
4eee8fd538 * fix a bug. 2013-06-24 01:46:21 +00:00
wangyidong
d21c4187d2 + add m.login.js 2013-06-24 01:39:38 +00:00
wangyidong
a855c053b7 * change style for bug in mobile. 2013-06-21 09:03:53 +00:00
zhujinyong
006c53bfe7 + add js for mobi. 2013-06-21 09:02:58 +00:00
zhujinyong
0669d616e7 * code for task#1408. 2013-06-21 09:01:58 +00:00
zhujinyong
e711c5c856 *code for task#1409. 2013-06-21 09:01:26 +00:00
zhujinyong
8f1aebca68 * code for task#1411. 2013-06-21 09:00:47 +00:00
zhujinyong
6a1237563a + add send mail for mobile. 2013-06-21 09:00:10 +00:00
wangyidong
13c28ff95e * change style for mobile. 2013-06-21 08:59:35 +00:00
zhujinyong
6735e05438 * code for task#1408. 2013-06-21 08:59:22 +00:00
zhujinyong
fd02974737 * code for task#1407. 2013-06-21 08:55:03 +00:00
zhujinyong
e90cb4e144 * code for task#1407. 2013-06-21 08:52:37 +00:00
wangyidong
3c4699fc29 * remove script. 2013-06-21 08:11:01 +00:00
chencongzhi520@gmail.com
fb446e28f3 * code for task#1395. 2013-06-21 08:11:00 +00:00
wangyidong
c450324c8a * make button to center. 2013-06-21 07:28:58 +00:00
chencongzhi520@gmail.com
05fb878d0a * code for task#1424. 2013-06-21 07:24:48 +00:00
wangyidong
7ebcdb3503 + finish task #1400. 2013-06-21 06:32:56 +00:00
wangyidong
e31e41f47e * finish task #1398. 2013-06-21 06:31:34 +00:00
wangyidong
2d8c05eb11 + finish task #1404. 2013-06-21 06:28:47 +00:00
chencongzhi520@gmail.com
cdaf02b6c3 * code for task#1405. 2013-06-21 06:23:23 +00:00
chencongzhi520@gmail.com
de61bd2795 * code for task#1424. 2013-06-21 06:08:33 +00:00
chencongzhi520@gmail.com
ece5ec80c9 * code for task#1424. 2013-06-21 05:56:00 +00:00
chencongzhi520@gmail.com
1a810adf3b * code for task#1414. 2013-06-21 05:48:06 +00:00
chencongzhi520@gmail.com
5bf849379a * finish task#1413. 2013-06-21 05:38:12 +00:00
chencongzhi520@gmail.com
f74a78511f * code for task#1412. 2013-06-21 05:35:35 +00:00
chencongzhi520@gmail.com
b835d6413a * code for task#1416. 2013-06-21 05:26:00 +00:00
chencongzhi520@gmail.com
749f293efc * code for task#1415. 2013-06-21 05:25:29 +00:00
chencongzhi520@gmail.com
c6d8069293 * code for task#1416. 2013-06-21 05:23:38 +00:00
chencongzhi520@gmail.com
60a07641e0 * finish task#1415. 2013-06-21 05:21:31 +00:00
wangyidong
2c509e2da5 * finish task #1401. 2013-06-21 03:44:23 +00:00
chencongzhi520@gmail.com
a3d786e517 * add iframe for footer. 2013-06-21 02:23:42 +00:00
chencongzhi520@gmail.com
43da589538 * finish task#1416. 2013-06-21 02:20:33 +00:00
zhujinyong
69d622c41f * code for task#1402. 2013-06-21 01:54:39 +00:00
zhujinyong
1ea7e50eb5 * code for task#1407. 2013-06-21 01:53:20 +00:00
zhujinyong
2170d63b1f * code for task#1402. 2013-06-21 01:49:58 +00:00
zhujinyong
5feabd7aba * code for task#1399. 2013-06-21 01:49:29 +00:00
chencongzhi520@gmail.com
440e10b1e6 * adjust the printIcon function for web app. 2013-06-21 01:46:35 +00:00
wangyidong
093283d405 * add back button for todo-batchcreate. 2013-06-20 09:01:09 +00:00
wangyidong
efa8eeb3b9 * finish task #1419. 2013-06-20 08:47:51 +00:00
wangyidong
f2d86d3b41 * code for view todo. 2013-06-20 08:23:08 +00:00
chencongzhi520@gmail.com
abb4e55b32 * code for task#1392. 2013-06-20 08:10:40 +00:00
chencongzhi520@gmail.com
dbba8f333b * code for task#1392. 2013-06-20 08:03:26 +00:00
chencongzhi520@gmail.com
b9db8d168d * code for task#1392. 2013-06-20 06:53:01 +00:00
wangyidong
1dcf7de935 + finish task #1397. 2013-06-20 06:11:05 +00:00
zhujinyong
c1a4deabad * code for task#1399. 2013-06-20 05:47:03 +00:00
wangchunsheng
f3a2683d75 * when js::excute, no html head. 2013-06-20 05:29:36 +00:00
chencongzhi520@gmail.com
ed27f1671e * finish task#1395. 2013-06-20 05:27:04 +00:00
wangyidong
782520e7b7 * finish task #1394. 2013-06-20 03:16:07 +00:00
wangyidong
fdc7eddce1 * supply task #1393. 2013-06-20 02:06:58 +00:00
wangyidong
97b2ebc892 * finish task #1393. 2013-06-20 02:04:35 +00:00
wangyidong
a7ad94ae99 * finish task @1396. 2013-06-20 01:51:49 +00:00
wangyidong
6238c83e9e * fix a bug for header. 2013-06-19 07:28:16 +00:00
wangyidong
435557012c + finish task #1392. 2013-06-19 07:21:15 +00:00
zhujinyong
359c927510 * fix a bug : add language of manageWebappChild. 2013-06-19 05:39:40 +00:00
zhujinyong
7c7928cae6 * code for task#1383. 2013-06-19 03:17:02 +00:00
zhujinyong
5c50476f75 * code for task#1382. 2013-06-19 03:16:29 +00:00
chencongzhi520@gmail.com
dd03e4dd57 * code for task#1423. 2013-06-19 02:48:45 +00:00
chencongzhi520@gmail.com
276f616253 * code for task#1423. 2013-06-19 02:11:05 +00:00
zhujinyong
7d756c2473 * improve subMenu. 2013-06-19 01:38:44 +00:00
chencongzhi520@gmail.com
79eae99f5c * finish task#1366. 2013-06-19 01:33:57 +00:00
chencongzhi520@gmail.com
7875620dc8 * code for task#1381. 2013-06-19 01:32:21 +00:00
zhujinyong
3d51362133 * code for task#1386. 2013-06-19 01:16:48 +00:00
chencongzhi520@gmail.com
e66c02dabe * finish task#1381. 2013-06-19 01:13:27 +00:00
chencongzhi520@gmail.com
7641514769 * code for task#1377. 2013-06-19 01:05:49 +00:00
chencongzhi520@gmail.com
16b97af26f * code for task#1377. 2013-06-19 01:05:11 +00:00
wangyidong
73366cc2fd + finish task #1391. 2013-06-18 08:44:23 +00:00
wangyidong
b6903c51a5 * add pager for login in mobile. 2013-06-18 08:42:48 +00:00
chencongzhi520@gmail.com
5438b838bf * code for task#1377. 2013-06-18 08:33:43 +00:00
chencongzhi520@gmail.com
17563eae27 * code for task#1377. 2013-06-18 08:26:45 +00:00
chencongzhi520@gmail.com
52eaccd025 * code for task#1377. 2013-06-18 08:24:26 +00:00
zhujinyong
739c264ebf * update zentao version. 2013-06-18 06:16:43 +00:00
wangyidong
8eb2a3fc68 + add images for jquery mobile. 2013-06-18 06:03:29 +00:00
zhujinyong
739819d3b7 * code for task#1374. 2013-06-18 05:45:59 +00:00
wangyidong
802b63a5bd + add jquery mobile. 2013-06-18 02:48:22 +00:00
wangyidong
7d535a10cc * finish task #1406. 2013-06-18 02:44:36 +00:00
wangyidong
f443892df5 + finish task #1390. 2013-06-18 01:49:58 +00:00
zhujinyong
20e39052f8 * code for task#1374. 2013-06-17 09:21:38 +00:00
zhujinyong
d0b136f43e * fix a bug of task#1374. 2013-06-17 08:16:44 +00:00
zhujinyong
2f12f4a366 * code for task#1374. 2013-06-17 08:12:58 +00:00
zhujinyong
8bdeb310f0 * code for task#1374. 2013-06-17 07:37:51 +00:00
zhujinyong
e00cffaa1f * code for task#1374. 2013-06-17 06:03:36 +00:00
zhujinyong
15f720464c * code for task#1376. 2013-06-17 05:48:13 +00:00
zhujinyong
fbfa983537 * code for task#1375. 2013-06-14 06:48:54 +00:00
zhujinyong
a7b92bcd60 * code for task#1373. 2013-06-14 03:08:45 +00:00
wangyidong
5e2be87236 * fix a bug for plan's order in roadmap. 2013-06-14 01:26:52 +00:00
zhujinyong
b8119bde70 + add smaller style. 2013-06-13 11:35:32 +00:00
zhujinyong
1e9d7163f5 * fix option menu of edit. 2013-06-13 11:17:14 +00:00
wangyidong
5211fb037d * fix a bug for ls in nginx. 2013-06-13 07:35:51 +00:00
zhujinyong
99e9616476 * code for task#1374. 2013-06-13 05:11:38 +00:00
wangyidong
30fcf64bc5 * fix a bug when sql is empty in session. 2013-06-08 08:09:54 +00:00
zhujinyong
f2a8a0f874 * unfold multi-treeView. 2013-06-06 06:23:59 +00:00
zhujinyong
c01ddb9b9a - remove project side. 2013-06-06 06:18:59 +00:00
zhujinyong
dc9b725fe6 * fix bug : root is int. 2013-06-06 06:06:34 +00:00
zhujinyong
76f2c77cf9 * code for task#1368. 2013-06-06 02:21:59 +00:00
zhujinyong
c43c3aebcd * code for task#1368. 2013-06-04 05:59:58 +00:00
zhujinyong
51257be1b0 * code for task#1367. 2013-06-04 02:57:34 +00:00
zhujinyong
a273345631 * code for task#1385. 2013-06-04 02:56:57 +00:00
zhujinyong
8aee025076 * code for task#1368. 2013-06-04 02:51:14 +00:00
chencongzhi520@gmail.com
b0c61ffca1 * code for task#1379.
* code for task#1380.
2013-06-03 09:15:19 +00:00
wangchunsheng
1e0ff8aa86 * set the margin of p tags in comments. 2013-06-03 05:39:01 +00:00
zhujinyong
74aef4a45c + add update4.1.sql. 2013-06-03 02:56:51 +00:00
chencongzhi520@gmail.com
455f31aa24 * fix bug: adjust the code the delete a user's priviledge when edit a user profile. 2013-05-20 05:36:11 +00:00
chencongzhi520@gmail.com
69b04a2b9a * fix bug#431. 2013-05-10 01:07:59 +00:00
wangyidong
590353e4c5 * fix bug #429. 2013-05-10 01:07:48 +00:00
wangchunsheng
be06e9f1ff * when confirm, set default assignedTo value. 2013-05-09 00:57:24 +00:00
wangchunsheng
e5a3bdfa6b * fix the comment error. 2013-05-05 10:12:32 +00:00
wangchunsheng
371e89bdfb * rewrite the processFlow() method. 2013-05-05 10:03:06 +00:00
wangchunsheng
f6e737f81b * when delete items, set autoCompany to false. 2013-05-05 10:01:46 +00:00
chencongzhi520@gmail.com
06d27e3cdf * add empty index.css for old version. 2013-05-05 09:45:25 +00:00
wangchunsheng
53bdeaf44a * add changelog for version 4.1. 2013-05-05 09:05:34 +00:00
chencongzhi520@gmail.com
a3c9d2ca78 * fix bug for upgrade to zentaopro.
* for version#4700.
2013-05-05 08:35:29 +00:00
chencongzhi520@gmail.com
e07b48aeb7 * adjust the colspan. 2013-05-05 08:25:49 +00:00
chencongzhi520@gmail.com
28633fef92 * revert it. 2013-05-05 08:20:15 +00:00
wangchunsheng
875924fee2 * fix the error of msn for demo data. 2013-05-05 07:53:23 +00:00
wangchunsheng
111754e178 * adjust the default priv. 2013-05-05 07:52:50 +00:00
chencongzhi520@gmail.com
d46ff350fd * code for user-story user-task user-bug. 2013-05-05 07:41:02 +00:00
wangchunsheng
d3b707fb38 * check priv when print the register link. 2013-05-05 07:25:50 +00:00
wangchunsheng
599afcf1f0 * judge the priv when print the link button. 2013-05-05 07:24:21 +00:00
wangchunsheng
94f552e7c4 * convert zh-tw lang. 2013-05-05 06:13:52 +00:00
wangchunsheng
eab52cd33d * adjust the lang item of checkDB. 2013-05-05 06:10:13 +00:00
wangchunsheng
b26226189e * adjust the lang item of testtask. 2013-05-05 06:07:25 +00:00
wangchunsheng
0e4cda9fcc * use @ to aviod the warnning message. 2013-05-05 06:06:42 +00:00
chencongzhi520@gmail.com
96e3572576 * change the define. 2013-05-05 04:07:04 +00:00
chencongzhi520@gmail.com
17bfd1003c * code for user-test. 2013-05-05 04:06:22 +00:00
chencongzhi520@gmail.com
16ca79d7d9 * code for user-story user-task user-bug. 2013-05-05 03:52:53 +00:00
chencongzhi520@gmail.com
6479c56288 * code for task#1241. 2013-05-05 03:36:13 +00:00
wangchunsheng
024ea87516 * change msn to skype. 2013-05-05 02:51:31 +00:00
chencongzhi520@gmail.com
3f7aaf6220 * code for upgrade. 2013-05-05 02:36:31 +00:00
wangchunsheng
9a205f6de0 * convert the tw language. 2013-05-05 02:34:43 +00:00
chencongzhi520@gmail.com
b33b32bb8f * code for export charset list. 2013-05-05 02:35:02 +00:00
wangchunsheng
71598c875e * adjust the smtp error messages. 2013-05-05 02:29:51 +00:00
wangchunsheng
2e3944d315 * fix the error of the label for product priviledge. 2013-05-05 02:28:46 +00:00
wangchunsheng
44fea92190 + add tips. 2013-05-05 02:26:17 +00:00
wangchunsheng
ab4520283d * display the debug info directly.
* add tips.
 * add title and position.
2013-05-05 02:24:36 +00:00
wangchunsheng
63ae1adcfa * use $this->post->turnon instead of $this->config->mail->turnon. 2013-05-05 02:20:30 +00:00
chencongzhi520@gmail.com
6f71f86181 * set the charset of export same as mail configuration. 2013-05-05 00:29:24 +00:00
chencongzhi520@gmail.com
52c2beecbe * code for task#1259. 2013-05-05 00:22:53 +00:00
chencongzhi520@gmail.com
6b78acb6ac * upgrade code. 2013-05-04 08:36:03 +00:00
chencongzhi520@gmail.com
3f560e9ae6 * update it. 2013-05-04 08:25:05 +00:00
chencongzhi520@gmail.com
a9906a806f * replace msn instead skype. 2013-05-04 08:09:10 +00:00
chencongzhi520@gmail.com
2aaf51fb97 * code for task#1281. 2013-05-04 04:23:44 +00:00
chencongzhi520@gmail.com
b79fac4039 * fix bug#414. 2013-05-04 03:23:42 +00:00
wangyidong
87639b4c7f * fix a bug for link error. 2013-05-04 02:41:05 +00:00
chencongzhi520@gmail.com
6d41bfbe02 * fix bug#246. 2013-05-04 02:39:21 +00:00
chencongzhi520@gmail.com
bad1a104e6 * fix bug#403. 2013-05-04 02:30:30 +00:00
wangyidong
7b4003465c * fix bug#404. 2013-05-04 01:54:07 +00:00
chencongzhi520@gmail.com
82a29b1a57 * fix bug#407. 2013-05-04 01:01:42 +00:00
chencongzhi520@gmail.com
23c572cab7 * fix bug#410. 2013-05-04 00:52:40 +00:00
chencongzhi520@gmail.com
9d584c21f6 * fix bug#411. 2013-05-04 00:37:33 +00:00
chencongzhi520@gmail.com
07149f944d * fix bug#408. 2013-05-03 08:35:23 +00:00
chencongzhi520@gmail.com
10789510ae * remove comment. 2013-05-03 08:30:57 +00:00
chencongzhi520@gmail.com
2ccb64fd25 * adjust the code style. 2013-05-03 08:30:02 +00:00
chencongzhi520@gmail.com
536bc788aa * fix bug#413. 2013-05-03 08:20:44 +00:00
chencongzhi520@gmail.com
7ea6a14c3c * add fixed. 2013-05-03 08:20:11 +00:00
chencongzhi520@gmail.com
731a5a7070 * fix bug#416. 2013-05-03 08:08:35 +00:00
chencongzhi520@gmail.com
9f93e6c838 * fix bug#419. 2013-05-03 08:03:08 +00:00
chencongzhi520@gmail.com
388c3eb7a9 * fix bug#420. 2013-05-03 07:56:28 +00:00
chencongzhi520@gmail.com
8eaae25cf5 * fix bug#423. 2013-05-03 07:53:55 +00:00
chencongzhi520@gmail.com
0e1c1ff13c * code for task#1227. 2013-05-03 06:14:34 +00:00
chencongzhi520@gmail.com
bd9ae47e24 * code for task#1227. 2013-05-03 06:11:00 +00:00
chencongzhi520@gmail.com
4f88d135aa * code for task#1363. 2013-05-03 05:51:27 +00:00
chencongzhi520@gmail.com
d6754d029e * fix bug: replace case instead testcase. 2013-05-03 05:49:55 +00:00
chencongzhi520@gmail.com
1f24029853 * add fixed. 2013-05-03 05:20:27 +00:00
chencongzhi520@gmail.com
e93a666c7d * code for task#1215. 2013-05-03 05:19:29 +00:00
chencongzhi520@gmail.com
f842a0f81a * code for task#1306. 2013-05-03 05:14:13 +00:00
chencongzhi520@gmail.com
b62c0606f8 * adjust the code style. 2013-05-03 05:08:35 +00:00
chencongzhi520@gmail.com
4f56e0e060 * adjust the code style. 2013-05-03 05:07:13 +00:00
chencongzhi520@gmail.com
0f329f8de6 * code for task#1292. 2013-05-03 02:20:28 +00:00
wangyidong
c0a22f2ea1 * change for process flow. 2013-05-03 02:14:51 +00:00
wangyidong
a781fe6e7e * change for new icon picture. 2013-05-03 00:56:29 +00:00
chencongzhi520@gmail.com
e47bc2fe8d * adjust the border of uploaded image. 2013-05-02 09:02:43 +00:00
wangyidong
7e63678faa * code for custom size in webapp. 2013-05-02 09:00:19 +00:00
chencongzhi520@gmail.com
8a28758a6a * finish task@1212. 2013-05-02 08:10:58 +00:00
chencongzhi520@gmail.com
5ee5387d82 * adjust the colorbox. 2013-05-02 08:04:38 +00:00
wangyidong
ee778e6e7e * fix a bug for #517. 2013-05-02 07:55:43 +00:00
chencongzhi520@gmail.com
4329f4b005 * code for task#1281. 2013-05-02 07:55:27 +00:00
chencongzhi520@gmail.com
d2546c6e63 * code for task#1281. 2013-05-02 07:52:36 +00:00
chencongzhi520@gmail.com
7fc19c37a3 * remove the icon of action-trash. 2013-05-02 07:49:49 +00:00
chencongzhi520@gmail.com
21caabf85b * if user is deleted show the account. 2013-05-02 07:01:26 +00:00
chencongzhi520@gmail.com
f24894c3b8 * remove the link of productplan id. 2013-05-02 06:57:41 +00:00
chencongzhi520@gmail.com
a865ac9442 * code for task#1271. 2013-05-02 06:54:16 +00:00
chencongzhi520@gmail.com
f4438fedc1 * code for task#1195. 2013-05-02 06:48:31 +00:00
chencongzhi520@gmail.com
82f3dcb599 * remove the css of editGroup. 2013-05-02 06:32:54 +00:00
chencongzhi520@gmail.com
98748b2ef1 * add title for the task. 2013-05-02 06:27:37 +00:00
chencongzhi520@gmail.com
62eb535307 * adjust the order of status. 2013-05-02 06:25:24 +00:00
chencongzhi520@gmail.com
b2a10d0072 * add a-left for closedReason. 2013-05-02 06:10:32 +00:00
wangyidong
f4c2efbf9b * fix a bug for upgrade to zentaopro. 2013-05-02 06:04:02 +00:00
wangyidong
cc597b4633 * fix code. 2013-05-02 06:01:01 +00:00
wangyidong
cb8dd5f497 * change for user-todo menu. 2013-05-02 05:59:02 +00:00
chencongzhi520@gmail.com
a400bdc058 * code for task#1323. 2013-05-02 05:32:51 +00:00
chencongzhi520@gmail.com
78a58a1f0b * code for task#1281. 2013-05-02 05:08:46 +00:00
chencongzhi520@gmail.com
4671a93a50 * finish task#1342. 2013-05-02 02:49:20 +00:00
chencongzhi520@gmail.com
c38a1cea71 * code for task#1323. 2013-05-02 01:40:54 +00:00
wangchunsheng
ac9fb632ae * upgrade the version.
* adjust code format.
2013-04-29 13:41:57 +00:00
chencongzhi520@gmail.com
78e7a70d10 * finish task#1259. 2013-04-29 09:06:34 +00:00
chencongzhi520@gmail.com
813a7ae8d7 * finish task#1357. 2013-04-29 08:15:43 +00:00
chencongzhi520@gmail.com
7e287be2ef * finish task#1281. 2013-04-29 03:30:48 +00:00
wangyidong
76fdadde8e * finish task #1313. 2013-04-28 02:09:46 +00:00
wangchunsheng
3a92b7fa4c * adjust code format, add comments. 2013-04-28 01:59:23 +00:00
chencongzhi520@gmail.com
8132507a48 * finish task#1197. 2013-04-28 01:47:02 +00:00
chencongzhi520@gmail.com
54500438a7 * add title for testtask-batchRun. 2013-04-27 06:43:11 +00:00
chencongzhi520@gmail.com
2607d921ac * finish task#1215. 2013-04-27 06:10:23 +00:00
chencongzhi520@gmail.com
1bf3e2ad35 * code for task#1200. 2013-04-27 05:49:28 +00:00
chencongzhi520@gmail.com
2dabae4f6c * finish task#1229. 2013-04-27 05:08:48 +00:00
chencongzhi520@gmail.com
943642f97f * finish task#1312. 2013-04-27 05:07:28 +00:00
chencongzhi520@gmail.com
d0bb42f98b * finish task#1305. 2013-04-26 08:02:28 +00:00
chencongzhi520@gmail.com
cf739ac72b * fix bug#426. 2013-04-26 08:01:10 +00:00
chencongzhi520@gmail.com
a94335af2f * finish task#1300. 2013-04-26 06:36:10 +00:00
chencongzhi520@gmail.com
42578da1df * finish task#1280. 2013-04-26 06:31:05 +00:00
chencongzhi520@gmail.com
0368fe7056 * finish task#1273. 2013-04-26 06:23:58 +00:00
chencongzhi520@gmail.com
c614ed81be * finish task#1209. 2013-04-26 06:08:23 +00:00
chencongzhi520@gmail.com
73571ead2b * code for task#1241. 2013-04-23 08:51:02 +00:00
chencongzhi520@gmail.com
40464d01af * finish task#1292. 2013-04-23 08:42:35 +00:00
chencongzhi520@gmail.com
ac76f3fb30 * finish task#1306. 2013-04-23 07:33:37 +00:00
chencongzhi520@gmail.com
2837b10fe4 * finish task#1245. 2013-04-23 07:10:33 +00:00
chencongzhi520@gmail.com
0163a5f18e * finish task#1262. 2013-04-23 07:04:22 +00:00
chencongzhi520@gmail.com
96cf9949e5 * finish task#1214. 2013-04-23 07:01:24 +00:00
chencongzhi520@gmail.com
4c5ecf5101 * finish task#1309. 2013-04-23 02:28:08 +00:00
chencongzhi520@gmail.com
64f1743484 * finish task#1251. 2013-04-23 02:15:49 +00:00
chencongzhi520@gmail.com
5c8a581250 * finish task#1264. 2013-04-18 08:34:36 +00:00
chencongzhi520@gmail.com
3d4045481a * finish task#1252. 2013-04-18 08:28:03 +00:00
chencongzhi520@gmail.com
7d3355b911 * code for task#1279. 2013-04-18 08:26:36 +00:00
chencongzhi520@gmail.com
52fc5004a9 i * finish task#1241. 2013-04-18 08:05:12 +00:00
chencongzhi520@gmail.com
9a77b9b6a2 * finish task#1221. 2013-04-18 02:36:27 +00:00
chencongzhi520@gmail.com
3f5ac11c33 * fix bug: don't show the deleted member. 2013-04-18 02:34:33 +00:00
chencongzhi520@gmail.com
31dcfb2325 * finish task#1189. 2013-04-18 02:01:39 +00:00
chencongzhi520@gmail.com
243aa368cf * finish task#1196.
* finish task#1279.
2013-04-17 08:22:02 +00:00
chencongzhi520@gmail.com
c31a78e23b * finish task#1251. 2013-04-17 06:45:08 +00:00
chencongzhi520@gmail.com
fe82eb02f1 * fix bug. 2013-04-17 04:27:16 +00:00
chencongzhi520@gmail.com
0f315457f4 * finish task#1326. 2013-04-17 02:01:26 +00:00
chencongzhi520@gmail.com
08a6ef16f4 * finish task#1363. 2013-04-16 07:35:07 +00:00
chencongzhi520@gmail.com
b33f99f6e1 * code for task#1362. 2013-04-15 09:08:31 +00:00
chencongzhi520@gmail.com
09edd94b49 * finish task#1211. 2013-04-15 09:07:27 +00:00
chencongzhi520@gmail.com
6bf0f5edbb * finish task#1298. 2013-04-15 07:28:23 +00:00
chencongzhi520@gmail.com
8a616cfd0b * finish task#1303. 2013-04-15 06:59:38 +00:00
chencongzhi520@gmail.com
95d7c89466 * finish task#1321. 2013-04-15 06:17:19 +00:00
chencongzhi520@gmail.com
88fbed7683 * finish task#1362. 2013-04-15 05:30:50 +00:00
chencongzhi520@gmail.com
48afd4c726 * finish task#1318. 2013-04-15 03:00:10 +00:00
chencongzhi520@gmail.com
dd383e1a65 * finish task#1271.
* code for task@1323.
2013-04-15 02:45:49 +00:00
chencongzhi520@gmail.com
862c73cf1e * finish task#1203.
* code for task#1323.
2013-04-15 02:13:22 +00:00
chencongzhi520@gmail.com
63ef3df46b * finish task#1323. 2013-04-15 01:32:52 +00:00
chencongzhi520@gmail.com
921a09eef0 * finish task#1190. 2013-04-11 08:32:09 +00:00
chencongzhi520@gmail.com
f5867097f4 * finish task#1323. 2013-04-11 07:15:43 +00:00
chencongzhi520@gmail.com
1a0473ef84 * finish task#1227. 2013-04-11 06:16:31 +00:00
chencongzhi520@gmail.com
ee8dcf9d64 * finish task#1261. 2013-04-11 05:38:37 +00:00
wangyidong
be0e494a0d * finish task #1139. 2013-04-11 03:44:52 +00:00
chencongzhi520@gmail.com
a14b01dcd9 * finish task#1238. 2013-04-11 02:12:32 +00:00
chencongzhi520@gmail.com
1564169216 * finish task#1220. 2013-04-11 02:06:35 +00:00
chencongzhi520@gmail.com
514d77f0b6 * finish task#1212. 2013-04-11 02:04:10 +00:00
chencongzhi520@gmail.com
80600809b3 * code for task#1194. 2013-04-11 02:03:16 +00:00
chencongzhi520@gmail.com
05fe520c84 * finish task#1200. 2013-04-11 01:15:31 +00:00
chencongzhi520@gmail.com
16ed492bda * finish task#1204. 2013-04-10 08:07:28 +00:00
chencongzhi520@gmail.com
7e8354c6ca * finish task#1194. 2013-04-10 08:03:14 +00:00
chencongzhi520@gmail.com
7a275dbeae * finish task#1263. 2013-04-10 07:07:58 +00:00
chencongzhi520@gmail.com
a4ec9958f0 * code for task#1328. 2013-04-10 07:01:41 +00:00
chencongzhi520@gmail.com
3aa889862c * finish task#1328. 2013-04-10 06:52:24 +00:00
chencongzhi520@gmail.com
b8a6dd275f * finish task#1324.
* set transition=none for colorbox of file-edit.
2013-04-10 05:54:08 +00:00
chencongzhi520@gmail.com
c166bd3332 * finish task#1329. 2013-04-10 05:47:56 +00:00
chencongzhi520@gmail.com
656c1b6fcf * finish task#1337. 2013-04-10 05:46:39 +00:00
chencongzhi520@gmail.com
06e1b6f87f * finish task#1246. 2013-04-10 05:42:20 +00:00
chencongzhi520@gmail.com
70f144d242 * finish task#1218. 2013-04-10 05:34:36 +00:00
chencongzhi520@gmail.com
4708c33b39 * finish task#1217. 2013-04-10 03:09:32 +00:00
chencongzhi520@gmail.com
965109b6ac * update these. 2013-03-28 01:53:04 +00:00
chencongzhi520@gmail.com
1f0ad18adf * adjust the code. 2013-03-28 01:09:02 +00:00
wangyidong
35767f1c6f * change for show max upload filesize. 2013-03-27 02:26:38 +00:00
wangyidong
6bc70c9666 * fix for refresh pager when close colorbox. 2013-03-20 09:34:07 +00:00
wangyidong
04f23e3772 * add title for extension-obtain. 2013-03-20 09:18:35 +00:00
wangyidong
959b43bec4 * fix for check account in batchCreate and batchEdit. 2013-03-20 09:15:09 +00:00
wangyidong
4997abffb3 * change for lang of upgrade. 2013-03-18 08:24:21 +00:00
wangchunsheng
d62915837b * task#1180. 2013-03-18 08:02:26 +00:00
wangyidong
8751897e81 * adjust get notice in Makefile. 2013-03-18 07:58:13 +00:00
wangchunsheng
3af46269c9 + task#1179. 2013-03-18 07:46:16 +00:00
wangyidong
a9f928b4e6 * adjust save query logic. 2013-03-18 05:48:28 +00:00
wangyidong
b27c1ec855 * change for zh-tw lang. 2013-03-18 01:34:39 +00:00
wangyidong
cba1a14452 * change for 4.0.1 version upgrade. 2013-03-18 01:29:18 +00:00
wangyidong
66e6803478 * adjust for order module. 2013-03-15 02:46:52 +00:00
wangyidong
8987de71b7 + add sql for 4.0.1. 2013-03-15 02:09:41 +00:00
wangyidong
3925f5b477 * adjust for project search. 2013-03-15 02:04:36 +00:00
wangyidong
3d035e4610 * change checkbox for label. 2013-03-15 02:02:20 +00:00
wangyidong
27e1603f68 * fix a bug for search with product. 2013-03-14 09:29:21 +00:00
wangyidong
93e4430596 * finish task #1182. 2013-03-14 08:29:30 +00:00
wangyidong
ddb12a7413 * finisht task #1181. 2013-03-14 03:20:04 +00:00
wangyidong
1185ede020 * adjust checkAll postition. 2013-03-14 03:06:41 +00:00
wangyidong
faadff0e5f * finish task #1177. 2013-03-14 03:01:34 +00:00
wangyidong
dc456c6765 * finish task #1176. 2013-03-14 01:14:13 +00:00
wangyidong
e9b68c0d51 * fix for no database selected. 2013-03-13 13:46:01 +00:00
wangyidong
f070ec2cba * revert robots.txt. 2013-03-13 11:18:59 +00:00
wangyidong
0719791431 * add return value. 2013-03-13 11:14:47 +00:00
wangyidong
7dd83ab978 * finish task #1174. 2013-03-13 06:28:28 +00:00
wangyidong
edf9a3490a * finish task #1175. 2013-03-13 06:16:02 +00:00
wangyidong
e174135198 * finish task #1173. 2013-03-13 06:12:10 +00:00
wangyidong
faf7b82c59 * finish task #1171. 2013-03-13 05:55:21 +00:00
wangyidong
abbe7d1e4b * finish task #1166. 2013-03-13 04:18:27 +00:00
wangyidong
149e3b11a1 * finish task #1165. 2013-03-13 02:55:33 +00:00
wangyidong
d442df5df2 * finish task #1164. 2013-03-13 02:35:15 +00:00
wangyidong
c24164b3a5 * fix some bugs. 2013-03-13 02:06:45 +00:00
wangyidong
4962843783 * finish task #1163. 2013-03-13 02:05:08 +00:00
chencongzhi520@gmail.com
a2616f7ca3 * add is_string judge for js::set method. 2013-03-08 05:23:50 +00:00
zhujinyong
990e5fdedd + add js and css ext of common methods. 2013-03-07 03:09:52 +00:00
wangyidong
e4720ad90b * fix a bug for set flow in sql. 2013-03-05 08:54:07 +00:00
wangyidong
626e151a23 * revert update4.0.beta2.sql. 2013-03-05 07:00:33 +00:00
wangyidong
3e6f1f350a * fix bug for edit story. 2013-03-05 06:56:35 +00:00
wangyidong
701201ae2e * fix bug for colorbox error in view.html.php. 2013-03-05 01:41:55 +00:00
wangyidong
f4cf1b14fc * fix bug for no data when batchEdit user.
--This line, and th se below, will be ignored--

M    control.php
2013-03-05 01:41:16 +00:00
zhujinyong
75a7383ff2 * fix bug : record.js should be renamed. 2013-03-03 05:39:49 +00:00
wangyidong
22eb655f00 * add for insert group data. 2013-03-03 04:12:29 +00:00
chencongzhi520@gmail.com
82dc069ea6 * revert the change. 2013-03-03 02:56:10 +00:00
wangchunsheng
1884b6f56a * change the group priviledges. 2013-03-03 02:37:52 +00:00
wangchunsheng
cbdfc4b076 * when no working hours, show the table header to avoid empty page. 2013-03-03 02:32:02 +00:00
zhujinyong
3f7b9d6b90 * fix bug : consumed is error. 2013-03-03 02:24:34 +00:00
zhujinyong
0d51012ff4 * fix bug : change 'record' to 'recordEstimate'. 2013-03-03 02:10:12 +00:00
wangchunsheng
d6ffd38a9f * convert zh-tw lang. 2013-03-03 02:01:15 +00:00
wangchunsheng
3c37b7424e * adjust ui. 2013-03-03 01:55:19 +00:00
zhujinyong
28112fb8e4 * if left is 0, change status of task to done. 2013-03-03 01:45:28 +00:00
wangchunsheng
c22b9ed320 * adjust lang items for estimate feature. 2013-03-03 01:24:04 +00:00
wangchunsheng
305d36d298 * adjust the layout of recore estimate page. 2013-03-03 01:19:50 +00:00
wangchunsheng
0160c9b1ba * include footer.lite.html.php instead. 2013-03-03 01:16:44 +00:00
zhujinyong
9f024fbdc4 * if status of task is not wait and doing, can't record estimate. 2013-03-03 01:06:48 +00:00
zhujinyong
c7ead516a6 * if status of task is wait, recording estimate will change status. 2013-03-03 01:03:54 +00:00
wangyidong
67b4e1d74f * fix a hug for init object in remind. 2013-03-03 00:52:39 +00:00
zhujinyong
c6ad20487b + add work field. 2013-03-03 00:49:56 +00:00
zhujinyong
c34e90d9e9 * change label of edit estimate. 2013-03-03 00:39:40 +00:00
zhujinyong
7581d12cb7 + add changes of edit and delete estimate. 2013-03-03 00:36:25 +00:00
wangchunsheng
ac39ce3dca * adjust the notice for daily report. 2013-03-03 00:33:34 +00:00
wangyidong
11d72d123c * adjust webapp colorbox height. 2013-03-03 00:25:07 +00:00
zhujinyong
cb6baded87 * if finish task and consumed is not changed, don't record. 2013-03-02 15:16:17 +00:00
zhujinyong
4f94ab2485 * fix a bug : oldEstimate is not defined. 2013-03-02 15:03:21 +00:00
zhujinyong
e351051239 * change 'record' to 'recordestimate'. 2013-03-02 14:57:24 +00:00
zhujinyong
3f60ff4665 * short 'record estimate' to 'record'. 2013-03-02 14:55:28 +00:00
zhujinyong
4f425f4340 * change style. 2013-03-02 14:49:10 +00:00
zhujinyong
ea9aff8425 * change record to recordEstimate. 2013-03-02 14:44:53 +00:00
zhujinyong
ae197d30da * change record to recordEstimate. 2013-03-02 14:43:15 +00:00
zhujinyong
1a9ded8ff1 * change 'record' to 'recordEstimate'. 2013-03-02 14:32:44 +00:00
zhujinyong
24e534655d * compute consumed and left when delete estimate. 2013-03-02 14:29:07 +00:00
zhujinyong
eb89b01f2b * add priv of edit estimate. 2013-03-02 14:24:16 +00:00
zhujinyong
7cf689bc82 * if users have priv of edit task, they can edit estimate. 2013-03-02 14:19:44 +00:00
wangchunsheng
7b5a6aea39 * adjust the lang item for bug->convertCase. 2013-03-02 14:05:21 +00:00
zhujinyong
85987eee80 * change 'record' to 'recordEstimate'. 2013-03-02 14:04:28 +00:00
zhujinyong
abe4779cf0 + add record, edit and delete estimate. 2013-03-02 13:58:47 +00:00
wangchunsheng
3c9654de23 * adjust the lang item when convert bug to testcase. 2013-03-02 13:39:37 +00:00
zhujinyong
1e24cb4a12 * if task is wati or doing, display edit and delete link. 2013-03-02 13:21:27 +00:00
wangchunsheng
2f12e3b0f6 * convert the zh-tw lang. 2013-03-02 13:17:37 +00:00
wangchunsheng
7e928b89b7 - remove the totalConsumed item. 2013-03-02 13:16:54 +00:00
wangchunsheng
56c89ce488 * adjust the lang items. 2013-03-02 13:14:11 +00:00
wangchunsheng
4903c2273a * when batchedit, show consumed field. 2013-03-02 13:12:52 +00:00
zhujinyong
b82f924376 * change 'deleteEstimate' to 'delEstimate'.
* change priv of task record.
2013-03-02 13:03:43 +00:00
zhujinyong
74206ad32a + add work field. 2013-03-02 12:37:27 +00:00
zhujinyong
2501750773 * change 'consumed' to 'totalConsumed' when finish task.
* use work field instead of comment.
2013-03-02 12:35:07 +00:00
zhujinyong
b6fba0c421 * fix a bug : browse tasks by module is error. 2013-03-02 11:20:15 +00:00
wangchunsheng
0f2f3d50a3 * check modules exists or not when assign module in task->batchEdit page. 2013-03-02 10:37:39 +00:00
chencongzhi520@gmail.com
bfde41b4fa * add menuOrder for story-batchEdit. 2013-03-02 09:10:16 +00:00
wangyidong
792d809157 * delete search link for groupTask pager. 2013-03-02 09:08:25 +00:00
chencongzhi520@gmail.com
2610f97fc0 * adjust the zh-cn lang of consumedThisTime. 2013-03-02 08:56:47 +00:00
zhujinyong
ee052401f8 + add estimate class. 2013-03-02 08:28:53 +00:00
chencongzhi520@gmail.com
6462a0f326 * adjust the code style. 2013-03-02 08:25:24 +00:00
wangyidong
3e18a9a101 * fix a bug for batchrun when case's step is empty. 2013-03-02 08:18:12 +00:00
wangchunsheng
476f9fcc7b + add the feature of change port for my.php and phpmyadmin. 2013-03-02 08:05:31 +00:00
chencongzhi520@gmail.com
7362960476 * finish task#1137. 2013-03-02 07:42:01 +00:00
wangchunsheng
3ae092a5d0 * change ports for phpmyadmin in linux one package. 2013-03-02 07:13:22 +00:00
wangyidong
118ffd6ad4 * delete icon in view pager. 2013-03-02 07:00:43 +00:00
wangchunsheng
20adae2a30 * fix the title error when create a case. 2013-03-02 06:46:34 +00:00
wangyidong
0f68785a73 * adjust webapp style. 2013-03-02 06:45:29 +00:00
zhujinyong
28966eb38c * adjust code. 2013-03-02 06:42:59 +00:00
zhujinyong
240677671d * fix bug : batchcreate location. 2013-03-02 06:27:12 +00:00
chencongzhi520@gmail.com
a50933ae1a * add port config. 2013-03-02 06:25:39 +00:00
wangyidong
540c9d6618 * fix a bug when module root is 0. 2013-03-02 05:28:19 +00:00
chencongzhi520@gmail.com
43c897c6c8 * add port for serverName config for controlPanel. 2013-03-01 11:17:41 +00:00
wangyidong
3117402e7b * fix notice for class. 2013-03-01 09:53:27 +00:00
wangyidong
9e93f14550 * fix a bug for load lang. 2013-03-01 07:27:54 +00:00
wangyidong
6e5468b8c0 * remove deleted task by search. 2013-03-01 03:23:52 +00:00
wangyidong
f2ecbaf38f * fix a bug for batch create user. 2013-03-01 01:57:08 +00:00
wangyidong
259b898b36 * fix bug for createLInk error. 2013-03-01 01:56:26 +00:00
wangyidong
4f8b2c7e8b * adjust webapp. 2013-02-28 02:28:45 +00:00
zhujinyong
34b7462bca - remove consumed info. 2013-02-28 02:26:37 +00:00
wangchunsheng
5e5d9042f8 * add changelog for 4.0.stable. 2013-02-28 01:56:52 +00:00
wangyidong
73c5234b8c + 4.0.beta2 version for upgrade. 2013-02-28 00:56:31 +00:00
wangyidong
16056e12ef * zh-cn to zh-tw for lang. 2013-02-28 00:52:05 +00:00
zhujinyong
b09e6a8ee0 * fix bug : if no record, left is 0. 2013-02-28 00:43:03 +00:00
wangyidong
df225e41f7 * change sql for zt_group. 2013-02-27 08:30:09 +00:00
wangyidong
66bad09528 * add new priv for new version. 2013-02-27 08:25:45 +00:00
zhujinyong
8e065ebad7 - remove transition. 2013-02-27 07:42:17 +00:00
zhujinyong
ad0d88ec1d * adjust datepicker. 2013-02-27 06:43:54 +00:00
zhujinyong
6490992b00 - remove transition. 2013-02-27 06:05:03 +00:00
zhujinyong
0a1a44ecd5 * code for task#1142. 2013-02-27 03:35:41 +00:00
wangyidong
aac3545320 * finish task #1140. 2013-02-27 03:27:05 +00:00
zhujinyong
04fc7a1419 * adjust lang. 2013-02-27 03:01:03 +00:00
chencongzhi520@gmail.com
f6b4c30fd3 * finish task#1127. 2013-02-27 02:54:49 +00:00
wangyidong
614e3312d9 * finish task # 1139. 2013-02-27 02:53:25 +00:00
zhujinyong
059e3e8a29 + add record link in edit.html.php. 2013-02-27 02:47:26 +00:00
wangyidong
32aad3b862 * finish task #1144. 2013-02-27 02:47:01 +00:00
chencongzhi520@gmail.com
705697a305 * finish task#1120.
* refactory the task-batchCreate.
2013-02-27 02:24:43 +00:00
zhujinyong
4252f0ef8d * check if ':' exists. 2013-02-27 02:21:35 +00:00
wangyidong
274298ccd7 * finish task #1135. 2013-02-27 02:21:18 +00:00
wangyidong
6d9b310cb9 * finish task #1138. 2013-02-27 02:20:43 +00:00
wangyidong
a4f2484333 * code for task#1072.
* undelete the marked lang define.
2013-02-27 01:57:22 +00:00
zhujinyong
8560d8d39e + upgrade estimate priv. 2013-02-27 01:53:42 +00:00
wangyidong
7c7ec70572 * finish task #1130. 2013-02-27 01:51:51 +00:00
chencongzhi520@gmail.com
50106ccfaf * finish task#1128. 2013-02-27 01:23:40 +00:00
zhujinyong
b79c183609 * add priv of edit and delete estimate. 2013-02-27 01:13:16 +00:00
wangyidong
754d636b20 * finish task #1113. 2013-02-27 01:12:11 +00:00
chencongzhi520@gmail.com
b9e6a848b9 * finish task#1122. 2013-02-27 01:09:39 +00:00
chencongzhi520@gmail.com
266c12421e * finish task#1145. 2013-02-27 01:00:52 +00:00
zhujinyong
8cb3cd7965 * compute consumed and left when delete estimate. 2013-02-27 00:58:19 +00:00
chencongzhi520@gmail.com
7e41cf5888 * finish task#1141. 2013-02-27 00:58:19 +00:00
chencongzhi520@gmail.com
86932b9401 * finish task#1129. 2013-02-27 00:54:49 +00:00
wangyidong
3e70268958 * change sql for webapp. 2013-02-27 00:46:41 +00:00
chencongzhi520@gmail.com
70b0e9bbd5 * finish task#1134. 2013-02-27 00:41:02 +00:00
wangchunsheng
ceda2557d4 * fix the error of warning. 2013-02-27 00:28:50 +00:00
wangchunsheng
c3826287c3 * change the log of default webapp. 2013-02-27 00:28:16 +00:00
wangchunsheng
f4104bd565 * fix the error of zt_webApp, should be zt_webapp. 2013-02-26 07:38:36 +00:00
wangchunsheng
991aabac6f * change the lang item of noModule of webapp. 2013-02-26 07:37:04 +00:00
wangchunsheng
ac758ace63 * fix the error of webapp's default icon. 2013-02-26 07:36:11 +00:00
wangchunsheng
cc678aec81 * adjust code format. 2013-02-26 06:10:59 +00:00
chencongzhi520@gmail.com
3b308030cb * adjust ->clearDataSucceed lang defined instead ->clearDataSuccessfully. 2013-02-26 02:28:02 +00:00
chencongzhi520@gmail.com
46a34634b1 * adjust the project's tree: remove the the product branch that without project. 2013-02-26 02:22:49 +00:00
chencongzhi520@gmail.com
7f8670d244 * adjust the task-batchCreate. 2013-02-26 02:12:02 +00:00
wangyidong
757b9c220a * add priv changelog for new version. 2013-02-26 01:59:23 +00:00
zhujinyong
8eb0e35ddc + add note. 2013-02-26 01:42:29 +00:00
zhujinyong
248a8d33ad * fix for colorbox. 2013-02-26 01:37:26 +00:00
zhujinyong
a0148bdc73 * refresh when close colorbox. 2013-02-26 01:23:27 +00:00
zhujinyong
ff62397579 * adjust task record style. 2013-02-26 01:00:42 +00:00
chencongzhi520@gmail.com
756d436eec * add red for type of task-batchedit. 2013-02-26 00:54:28 +00:00
wangchunsheng
85b89300ab * change bugassign to bugAssign. 2013-02-25 08:47:21 +00:00
wangchunsheng
c1b2c21431 - remove the setHelpLink() method. 2013-02-25 08:41:19 +00:00
wangyidong
4081020178 * adjust pre pager for get webapp by api. 2013-02-25 06:13:42 +00:00
wangyidong
60175e661e * fix a bug for view app by api. 2013-02-25 06:06:27 +00:00
zhujinyong
34d024ed0d * fix a bug : task consumed error. 2013-02-25 06:01:54 +00:00
zhujinyong
8a7ba33735 * compute task estimate. 2013-02-25 05:59:38 +00:00
wangyidong
b46581f4c1 * adjust webapp. 2013-02-25 05:59:11 +00:00
wangchunsheng
9df65ddda0 * adjust batchCreate item to 10 for todo. 2013-02-25 01:49:35 +00:00
wangchunsheng
589d3f0db5 * adjust the file export page. 2013-02-25 01:45:03 +00:00
wangchunsheng
39afa71386 * adjust the lang->bug->common for zh-cn. 2013-02-23 02:23:20 +00:00
wangchunsheng
d129d82629 * adjust the dynamic, when login, logout, remove the objectLabel. 2013-02-23 02:21:52 +00:00
wangchunsheng
e5e9668e36 * fix the error of debugwin. 2013-02-23 02:12:51 +00:00
wangchunsheng
a9d6569bb5 * adjust the fields of product info in index page. 2013-02-23 02:03:17 +00:00
wangchunsheng
dfa8415ca0 * adjust the fields of company table for English. 2013-02-23 02:02:11 +00:00
wangchunsheng
5701112583 * adjust the defination for task's type field. 2013-02-23 01:41:45 +00:00
wangchunsheng
01e10ad515 * adjust the notes for type field.
* adjust the width for projectTree and moduleTree.
 * adjust the width of actions.
2013-02-23 01:40:51 +00:00
wangchunsheng
23fac5c207 * adjust the showAll and hideClosed label. 2013-02-23 01:21:20 +00:00
wangchunsheng
5e4d5ef318 * adjust the UI for Egnlish. 2013-02-23 00:55:40 +00:00
wangyidong
cef1f7c10a * adjust webapp style. 2013-02-22 08:08:26 +00:00
wangyidong
16586d1f29 * fix a bug for tree order. 2013-02-22 08:06:31 +00:00
wangyidong
f20fd74b68 * change for webapp module. 2013-02-22 07:26:35 +00:00
zhujinyong
e21c460bf1 * move display from js to html. 2013-02-22 06:51:40 +00:00
wangchunsheng
1b36b4dc3a * adjust englisth lang for web app. 2013-02-22 06:43:07 +00:00
wangchunsheng
5ad6935746 * change the readme.txt for windows one package. 2013-02-22 06:14:14 +00:00
wangchunsheng
1eaf070881 * add the port checking and setting feature for windows xampp package. 2013-02-22 06:09:41 +00:00
wangyidong
88aae7b06b * change data for group priv. 2013-02-22 03:37:57 +00:00
wangyidong
8154437a3c * add priv in resource. 2013-02-22 03:25:33 +00:00
wangyidong
1b2ff051d0 * finish task #1111,1112. 2013-02-22 03:19:24 +00:00
wangyidong
621e7b7c70 * add report-remind to writeList. 2013-02-22 03:17:10 +00:00
zhujinyong
44284531d7 * code for task#1110. 2013-02-22 02:57:42 +00:00
wangyidong
f1d81b1fd1 * change group priv. 2013-02-22 02:55:31 +00:00
zhujinyong
a6c666485b * code for task#1102. 2013-02-22 02:54:23 +00:00
zhujinyong
df0774f931 + add title. 2013-02-22 02:48:46 +00:00
zhujinyong
0458e4aa82 + add title. 2013-02-22 02:35:58 +00:00
wangchunsheng
a2a018e42d * pass pmsRoot to init.sh auto. 2013-02-22 02:24:43 +00:00
zhujinyong
ba7d0cd9fc * if type of project is sprint, remove module. 2013-02-22 01:45:01 +00:00
zhujinyong
460ad95f4f * change 'baseUrl' to 'pmsRoot'. 2013-02-22 01:33:12 +00:00
zhujinyong
75c082e475 * change 'baseUrl' to 'pmsRoot'.
* adjust param check.
2013-02-22 01:29:57 +00:00
wangyidong
4c7ed2a6bf * finish task #1097. 2013-02-22 01:19:42 +00:00
chencongzhi520@gmail.com
c5b0382c25 * adjust the colorbox of project-tips. 2013-02-22 01:18:19 +00:00
chencongzhi520@gmail.com
b9cd90323e * fix bug: linkCase instead linCase. 2013-02-22 00:56:04 +00:00
wangyidong
846c174d7b * fix a bug for no init object. 2013-02-21 09:44:35 +00:00
zhujinyong
eeb7ab4736 * adjust position of project button. 2013-02-21 08:50:44 +00:00
zhujinyong
ca428419c2 * clean baseUrl. 2013-02-21 07:47:28 +00:00
zhujinyong
43d1bb2f16 * clean baseurl. 2013-02-21 03:05:19 +00:00
wangyidong
a5e6e37fb3 * change new database sql for zentao 4.0. 2013-02-21 02:48:40 +00:00
wangyidong
b6f3f93ff8 + add tests about getwebroot method. 2013-02-21 01:22:52 +00:00
wangyidong
b8d97728b0 * fix a bug for get webroot in shell. 2013-02-21 01:21:26 +00:00
chencongzhi520@gmail.com
9a448451bc * finish task#1093. 2013-02-20 09:04:00 +00:00
chencongzhi520@gmail.com
4586f3cb2c * code for task#1089. 2013-02-20 09:03:12 +00:00
wangyidong
92114527a8 * fix for sql notice. 2013-02-20 07:14:56 +00:00
zhujinyong
d9045c47d3 + add zentao url. 2013-02-20 06:51:06 +00:00
wangyidong
fef2eb33e5 * change flow sql. 2013-02-20 06:39:48 +00:00
zhujinyong
3e997ec833 + add zentao url. 2013-02-20 06:04:00 +00:00
wangyidong
dbb10ba028 * change version to 4.0 2013-02-20 05:35:55 +00:00
chencongzhi520@gmail.com
7cd8dabd22 * code for task#1096. 2013-02-20 03:16:06 +00:00
chencongzhi520@gmail.com
a99bc96a49 * finish task#1089. 2013-02-20 02:42:10 +00:00
zhujinyong
8d5db001b3 * adjust project sidebar. 2013-02-20 02:34:00 +00:00
wangyidong
58132a7e2a + add dailyreminder to zentao. 2013-02-20 01:39:44 +00:00
zhujinyong
634d78b3bb + add upgrade 4.0.beta2. 2013-02-20 01:31:08 +00:00
chencongzhi520@gmail.com
40065bfc2d * finish task#1095. 2013-02-20 00:36:56 +00:00
wangchunsheng
e600b135fc * rewrite the readme.txt for windows one package. 2013-02-19 12:18:24 +00:00
wangyidong
2d5bb923ae * fix a bug for action hide priv. 2013-02-19 08:23:45 +00:00
chencongzhi520@gmail.com
560267bc52 * update delete icon. 2013-02-19 08:19:42 +00:00
wangchunsheng
6de9e8a3b1 * adjust the items for flow chosen. 2013-02-19 07:51:04 +00:00
chencongzhi520@gmail.com
10818ccdff * set onlybody=true in colorbox. 2013-02-19 07:37:45 +00:00
chencongzhi520@gmail.com
7427704392 * finish task#1078. 2013-02-19 07:23:06 +00:00
wangyidong
3315c3ce9e * add onlybody param for createLink. 2013-02-19 07:17:11 +00:00
wangyidong
4df2a31d02 * change for add dailyminder extension. 2013-02-19 07:03:34 +00:00
zhujinyong
0744d1c9c6 * fix a bug in batchedit tasks. 2013-02-19 06:29:09 +00:00
wangyidong
8b4018f4bd * fix a bug for colorbox size. 2013-02-19 06:23:57 +00:00
chencongzhi520@gmail.com
81c4e31385 * finish task#1079. 2013-02-19 05:53:05 +00:00
zhujinyong
d1b9891812 + add dailyreminder to cron. 2013-02-19 05:45:59 +00:00
wangyidong
8fa8a5462e * finish task #1088. 2013-02-19 05:41:32 +00:00
chencongzhi520@gmail.com
6d0550772b * code for task#1087.
* remove the useless image:search.gif.
 * remove the useless css.
2013-02-19 03:38:28 +00:00
chencongzhi520@gmail.com
9e4b3cce4d * remove the useless images. 2013-02-19 03:19:21 +00:00
chencongzhi520@gmail.com
e342282497 * code for task#1087.
* update zt-icons.png.
 * remove the useless images.
2013-02-19 03:14:01 +00:00
zhujinyong
a909bf6858 * code for task#1076. 2013-02-19 02:32:40 +00:00
zhujinyong
37676cb51d * save session when browse users. 2013-02-19 02:31:01 +00:00
wangyidong
c598612884 * fix bug for task #1090. 2013-02-19 02:28:46 +00:00
zhujinyong
8bdb5ecd01 * save session when browse users. 2013-02-19 02:20:41 +00:00
wangyidong
9c85150e93 * finish task #1094. 2013-02-19 02:16:41 +00:00
wangyidong
f152d32002 * finish task #1080. 2013-02-19 01:49:01 +00:00
wangyidong
af6c4a4ee8 * finish task #1074. 2013-02-19 01:47:57 +00:00
chencongzhi520@gmail.com
044c8fd6a8 * code for task#1087.
* remove the www/theme/index.css to module/my/css/index.css.
 * replace the noProjectTips instead createProject.
 * replace the noProductTips instead createProduct.
2013-02-19 01:47:10 +00:00
zhujinyong
0f4b864f90 + add unplanned story. 2013-02-19 01:44:52 +00:00
chencongzhi520@gmail.com
ef486899e3 * remove the useless css. 2013-02-19 01:10:30 +00:00
wangyidong
f595d7b95d * finish task #1073. 2013-02-19 00:36:09 +00:00
wangchunsheng
510c001b30 * adjust the init script for testing. 2013-02-18 23:51:51 +00:00
wangchunsheng
16760ca94c - remove it. 2013-02-18 23:47:47 +00:00
wangchunsheng
d8b594b3c2 + add the first test case for zentaopms. 2013-02-18 23:47:03 +00:00
wangchunsheng
498b5a95d0 * when edit company, add http to it's backyard and website fields. 2013-02-18 23:41:34 +00:00
wangchunsheng
222d7f2fcb * when edit company, reload the page again. 2013-02-18 23:40:50 +00:00
wangchunsheng
5d808c7eeb * adjust the style for type field. 2013-02-18 23:39:41 +00:00
wangchunsheng
1732bf6389 * fix the error of warning. 2013-02-18 23:38:40 +00:00
wangchunsheng
97da61f526 + add a threelevel case. 2013-02-18 23:33:31 +00:00
wangyidong
423b0d3f95 * fix a bug for iframe when no clicked. 2013-02-18 10:00:06 +00:00
wangyidong
f0149dbf19 * fix a bug for action.html.php. 2013-02-18 09:18:08 +00:00
wangyidong
2780dc200b * adjust task estimate for start and finish. 2013-02-18 09:16:31 +00:00
wangchunsheng
a11b5e7da7 * adjust the classblug style. 2013-02-18 03:06:23 +00:00
wangchunsheng
a3b4584623 * remove the chdir logic.
* init $app->user.
2013-02-18 03:05:21 +00:00
wangchunsheng
59356e22df * when comine the css of other style, change the path of the background images. 2013-02-18 03:02:55 +00:00
zhujinyong
da6816b494 * fix workhour record. 2013-02-18 02:44:32 +00:00
wangchunsheng
2df192332a - remove the css file for ko and ja. 2013-02-18 02:34:20 +00:00
wangchunsheng
7a0466f16b * change max file upload size to 50M. 2013-02-18 02:13:01 +00:00
wangchunsheng
0161901df1 + add the testing scripts for helper::setMember() method. 2013-02-18 01:25:33 +00:00
wangchunsheng
1ea570ad51 * readjust the linux package. 2013-02-06 07:32:18 +00:00
wangchunsheng
e5d7f02956 * fix the error of warning. 2013-02-06 04:10:55 +00:00
wangchunsheng
846e679ea0 * remove the myisamchk.exe from the windows package. 2013-02-06 03:20:58 +00:00
zhujinyong
71920088d0 * fix a bug. 2013-02-05 02:46:10 +00:00
wangyidong
513d5049e2 * close html tag for testtask. 2013-02-04 08:07:10 +00:00
wangyidong
ed2cedb0f3 * adjust consumed of batch edit. 2013-02-04 08:05:16 +00:00
zhujinyong
ecc0ff7ee1 * fix a bug : fix setAfter. 2013-02-04 07:55:12 +00:00
wangchunsheng
10e7e90ca3 * when detect mysqldump, trim the result. 2013-02-02 05:33:27 +00:00
wangchunsheng
d49503f2d6 + add the syncsvn.sh. 2013-02-02 05:20:53 +00:00
wangchunsheng
2b97b00e8a * adjust the log format for cli mode. 2013-02-02 03:02:50 +00:00
wangchunsheng
3a3c1ac687 + create syncsvn.bat and put it in cron. 2013-02-02 02:42:47 +00:00
wangchunsheng
a8ef102906 * adjust getMySQLDump() method, auto detect for other environment. 2013-02-02 02:37:39 +00:00
wangchunsheng
609060e02c * fix the error of warning. 2013-02-02 01:03:54 +00:00
chencongzhi520@gmail.com
1488762c45 * adjust the code. 2013-01-30 08:32:37 +00:00
wangchunsheng
a9f9abff91 * fix the error of zentaoRoot when download notify package. 2013-01-30 07:33:40 +00:00
wangchunsheng
4fd49494a2 * fix the error of warnning when install. 2013-01-30 07:01:35 +00:00
wangchunsheng
2d6b9df67c * adjust the build scripts for linux. 2013-01-30 06:18:29 +00:00
wangchunsheng
b4b94c6227 * adjust the include path.
* set time zone.
2013-01-30 06:08:35 +00:00
wangchunsheng
e57a66b18a * adjust code, add comments. 2013-01-30 05:32:46 +00:00
wangchunsheng
d875876e33 * when parsed crons, print them.
+ add feature of re parse.
 * adjust the log format and save path.
2013-01-30 05:28:51 +00:00
wangchunsheng
884dfdaafa * adjust code.
* fix the error of sys.cron.
 * use absolute path when create sys.cron.
2013-01-30 05:21:13 +00:00
wangchunsheng
4bdfa9701e * change the link of zentao.net. 2013-01-30 05:20:04 +00:00
wangchunsheng
4fd482a276 * set the file upload size as 50M. 2013-01-30 05:13:20 +00:00
chencongzhi520@gmail.com
9844fbabd4 * add icons for testastk-start and testtask-close. 2013-01-30 02:35:30 +00:00
chencongzhi520@gmail.com
38493f1486 * add close-icon for product. 2013-01-30 02:34:23 +00:00
chencongzhi520@gmail.com
0e5713deed * add icon for bug-activate. 2013-01-30 02:25:38 +00:00
wangchunsheng
92c64e2a3f * change the copyright info. 2013-01-30 02:19:38 +00:00
wangchunsheng
d98e595b7b * use " instead of ' to quote the url. 2013-01-30 01:33:22 +00:00
wangchunsheng
c31b33654d * turn off the E_STRICT error. 2013-01-30 01:32:03 +00:00
wangchunsheng
0437d2bc66 * rewrite the build.php. 2013-01-29 06:45:21 +00:00
chencongzhi520@gmail.com
f64c9e7031 * change show project as default setting.
* update show project and hide project icon.
2013-01-29 06:33:18 +00:00
wangchunsheng
6f1d979a7d * fix the warnning error. 2013-01-29 06:20:59 +00:00
wangchunsheng
eaccf44cc3 * change the log file for apache.
* set the access priviledge for virtual host.
2013-01-29 06:18:05 +00:00
wangchunsheng
c283a5076a * change the svn.php config.
- remove the syncsvn.bat.
2013-01-29 05:43:35 +00:00
chencongzhi520@gmail.com
3d779b02ed * add icons for show projects and hide projects. 2013-01-29 05:22:30 +00:00
wangchunsheng
2cd99c51cc * when turn on virtualhost, set the access priviledge。 2013-01-29 03:39:05 +00:00
wangchunsheng
96a923e0ca * when install service, set the path for php and mysql. 2013-01-29 03:31:44 +00:00
wangchunsheng
d20d043523 * move the phpmyadmin.php to windows directory. 2013-01-29 03:31:14 +00:00
zhujinyong
3384846bd7 * change style of productplan view. 2013-01-29 03:03:32 +00:00
wangchunsheng
4396b5e7c4 * change to dos format. 2013-01-28 13:18:46 +00:00
wangchunsheng
8d55854ca7 * rewrite the build tools for windows package. 2013-01-28 13:01:46 +00:00
zhujinyong
bccde8019c * adjust code. 2013-01-28 09:03:56 +00:00
zhujinyong
2bb9e4ec3b * change en lang. 2013-01-28 08:56:56 +00:00
zhujinyong
cc84bba6b5 + add cron.bat. 2013-01-28 05:14:34 +00:00
zhujinyong
07c0e40ad2 * fix a bug : check priv of no productProjects. 2013-01-28 02:56:52 +00:00
zhujinyong
49d2eb1642 * adjust date function. 2013-01-28 01:49:33 +00:00
wangchunsheng
e370b0287e - remove this bin directory, using the init.bat instead. 2013-01-28 00:58:08 +00:00
wangchunsheng
5a9f21c9f6 + add support for windows in getMySQLDump() method. 2013-01-27 08:42:11 +00:00
wangchunsheng
0d290291e5 * when install, try to detech the mysqldump auto. 2013-01-27 07:51:45 +00:00
wangchunsheng
6b9a4418d9 * fix the error of index.php of xampp package. 2013-01-27 07:50:53 +00:00
wangchunsheng
7ce066ea1d * revert the update4.0.beta2.sql. 2013-01-27 06:18:50 +00:00
wangchunsheng
21b03191a9 * turn on the scripts for linux building. 2013-01-27 06:14:35 +00:00
wangchunsheng
c414cf91aa * adjust the buildxampp.sh. 2013-01-27 06:09:31 +00:00
wangchunsheng
16a1437eec * rewrite the start scripts, add the judge of /opt/lampp directory and init scripts. 2013-01-27 06:08:29 +00:00
zhujinyong
d554cdec43 * adjust init.sh. 2013-01-27 05:32:43 +00:00
wangyidong
f502948597 * adjust js::reload. 2013-01-27 01:17:52 +00:00
wangyidong
572cd0700b * add check for bizext. 2013-01-25 08:43:21 +00:00
zhujinyong
6ad37ee631 * echo log. 2013-01-25 08:40:21 +00:00
wangyidong
3358df71a4 * don't set sn in install. 2013-01-25 08:11:04 +00:00
wangchunsheng
6cdab986bf * set title when install success. 2013-01-25 08:04:17 +00:00
wangchunsheng
db6020c7ac * fix the error when build zip package. 2013-01-25 07:49:46 +00:00
wangchunsheng
1191c76d21 * rewrite the linux build shell. 2013-01-25 07:47:52 +00:00
wangchunsheng
d47aac3dd9 * set the propset execute. 2013-01-25 07:23:46 +00:00
zhujinyong
dba3a629ff + add cron. 2013-01-25 07:20:51 +00:00
zhujinyong
750610f3a7 - remove cron. 2013-01-25 07:08:54 +00:00
zhujinyong
6851c53ec4 * loop to check phpcli exists or not. 2013-01-25 07:02:04 +00:00
zhujinyong
cefa766413 * adjust init.bat. 2013-01-25 06:44:52 +00:00
zhujinyong
3eb72e27f9 + add init.bat. 2013-01-25 06:14:28 +00:00
zhujinyong
0c8c1bb68d - remvoe ztcli.bat. 2013-01-25 06:07:13 +00:00
zhujinyong
f74e25efd9 - rm bat.
- rm shell.
2013-01-25 05:57:28 +00:00
zhujinyong
72d4504007 - remove computeburn.
- remove checkdb.
2013-01-25 05:48:22 +00:00
zhujinyong
f521748dd7 * change computeburn. 2013-01-25 05:45:31 +00:00
zhujinyong
e04a801b6c - remove ztcli.sh. 2013-01-25 05:43:42 +00:00
wangyidong
d7c1abd5f7 * change for webapp. 2013-01-25 05:31:11 +00:00
chencongzhi520@gmail.com
cb85992f14 * add icons for webapp. 2013-01-25 02:08:11 +00:00
chencongzhi520@gmail.com
84c7fd2c49 * remove the ui-green ui-gray ui-blue instead zt-icons. 2013-01-25 01:28:28 +00:00
wangyidong
835b3757ec * fix for header title. 2013-01-24 09:30:50 +00:00
wangchunsheng
6d3706edbd * adjust the code for notify.zip.
* remove the code of .htaccess for linux one package.
2013-01-24 09:26:20 +00:00
zhujinyong
8ad302037b * adjust init.sh. 2013-01-24 09:20:59 +00:00
chencongzhi520@gmail.com
f7d578bcaf * remove the .outer's border of colorbox. 2013-01-24 09:14:56 +00:00
zhujinyong
14db5f51e8 + add init.sh. 2013-01-24 09:11:48 +00:00
zhujinyong
ea2bcb1eae * remove transition of task. 2013-01-24 08:51:37 +00:00
zhujinyong
c8ab182045 * fix a bug : add task consumed. 2013-01-24 08:50:46 +00:00
chencongzhi520@gmail.com
3915ac5c4d * add padding-bottom for caption. 2013-01-24 08:48:56 +00:00
wangyidong
54e99a39d3 * adjust colorbox padding-bottom. 2013-01-24 07:33:22 +00:00
chencongzhi520@gmail.com
ec98a9dec0 * hide clear data link. 2013-01-24 07:05:52 +00:00
wangyidong
fe0817a681 * change for js:set. 2013-01-24 05:49:40 +00:00
wangyidong
00ef79be41 * adjust js logic. 2013-01-24 05:48:05 +00:00
wangyidong
7edea52a4e * adjust function js::set. 2013-01-24 05:31:47 +00:00
wangchunsheng
00f8d9392b * fix the error of doxygen. 2013-01-24 05:27:01 +00:00
chencongzhi520@gmail.com
99881763e2 * adjust the lang of clearData. 2013-01-24 02:48:31 +00:00
zhujinyong
5ef1e56458 * fix a bug : if there is no project, display error. 2013-01-24 02:44:32 +00:00
wangchunsheng
76b00987e5 * fix the bug of member management. 2013-01-24 01:13:05 +00:00
wangchunsheng
b604ac93b7 - remove it. 2013-01-23 09:53:17 +00:00
wangchunsheng
a13a34cc7a * rename mobile app. 2013-01-23 09:52:17 +00:00
wangchunsheng
ccf464f9af * rewrite the Makefile. 2013-01-23 09:50:52 +00:00
zhujinyong
4444e501be - remove init.php. 2013-01-23 09:07:09 +00:00
zhujinyong
1a2da635d2 + add init.php. 2013-01-23 08:49:26 +00:00
wangyidong
9578331adb * adjust flow style. 2013-01-23 08:33:54 +00:00
chencongzhi520@gmail.com
c87180211a * code for task#808. 2013-01-23 08:31:54 +00:00
wangyidong
166560f243 * adjust for choose flow. 2013-01-23 08:22:46 +00:00
wangchunsheng
dfb35fbde2 * add the define of config class and getWebRoot() function. 2013-01-23 08:22:43 +00:00
zhujinyong
0c5150921f * change 'default' to 'sys'. 2013-01-23 08:16:10 +00:00
zhujinyong
a4258cde55 * rebuild crond.php. 2013-01-23 07:55:28 +00:00
wangchunsheng
fa2a901f90 * add role field for zt_group table. 2013-01-23 07:02:42 +00:00
wangchunsheng
807c0104c4 * move them to doc directory. 2013-01-23 06:45:43 +00:00
wangchunsheng
fd7f8160df - rename it to windows. 2013-01-23 06:25:15 +00:00
wangchunsheng
6844e8d6c0 - delete it. 2013-01-23 06:24:30 +00:00
wangchunsheng
5f47dbc2b4 - move it to up directory. 2013-01-23 06:23:01 +00:00
wangchunsheng
39224c7c0a - remove sae. 2013-01-23 06:21:52 +00:00
wangchunsheng
74a71d5c2f * move bin/build to build/tools. 2013-01-23 05:44:48 +00:00
wangchunsheng
f839e2b487 * adjust the cron directory. 2013-01-23 05:40:25 +00:00
wangchunsheng
b9bc314662 - remove it. 2013-01-23 05:22:55 +00:00
wangchunsheng
db6eda8670 * adjust the ztcli. 2013-01-23 02:50:40 +00:00
wangchunsheng
068f5cba9c * change ZenTaoPMS to zentaoPMS. 2013-01-23 02:49:28 +00:00
wangchunsheng
3fde66bb88 * fix the error of doc table border setting. 2013-01-23 02:47:53 +00:00
zhujinyong
43ab996a8a - remove back button. 2013-01-23 00:49:12 +00:00
zhujinyong
04fe67bc6f * record time when start or finish. 2013-01-22 09:18:50 +00:00
zhujinyong
357565fc5a * check left is 0. 2013-01-22 09:17:03 +00:00
zhujinyong
d4fb426dc1 - remove estimate filed. 2013-01-22 09:15:05 +00:00
zhujinyong
ff8880fc5c * open in colorbox. 2013-01-22 09:13:18 +00:00
zhujinyong
77194dad77 * move checkLeft to common.js. 2013-01-22 09:12:10 +00:00
zhujinyong
acb911e1fa * return to parent. 2013-01-22 09:11:13 +00:00
zhujinyong
9c608f7e56 * consumed of task can not be edited. 2013-01-22 09:08:35 +00:00
wangchunsheng
b30722c489 * adjust the todo menu in user-todo page.
* sort the data on server side.
2013-01-22 07:55:28 +00:00
wangchunsheng
b29c436fae * rewrite the todo guider menu in my-todo page. 2013-01-22 07:26:33 +00:00
zhujinyong
b9e5cf4861 * change lang of projectTasks. 2013-01-22 06:18:58 +00:00
zhujinyong
ea5881ffef * move noProduct projects to bottom. 2013-01-22 06:16:11 +00:00
chencongzhi520@gmail.com
d006a8f88b * adjust the export icon for opera browser. 2013-01-22 05:57:28 +00:00
zhujinyong
9823289d2c * move 'byProjects' to left bar. 2013-01-22 05:48:34 +00:00
chencongzhi520@gmail.com
01f3d287fb * remove it. 2013-01-22 05:46:57 +00:00
chencongzhi520@gmail.com
4aaa033b0b * adjust the icons. 2013-01-22 05:27:42 +00:00
chencongzhi520@gmail.com
a29ddf1ec5 * replace icon-doing instead icon-task. 2013-01-22 05:25:12 +00:00
chencongzhi520@gmail.com
87c8450144 * add icons for wbs and batch wbs of project-story. 2013-01-22 05:17:58 +00:00
zhujinyong
ddbf5f862c * change tree id to class. 2013-01-22 01:09:42 +00:00
zhujinyong
c5f1477d39 * change tree id to class. 2013-01-22 01:06:12 +00:00
zhujinyong
a553410b8e * change 'noPrdProjects' to 'noProducts'. 2013-01-21 09:01:33 +00:00
zhujinyong
76d45d5467 * move no product projects to bottom. 2013-01-21 08:55:46 +00:00
zhujinyong
890e80a8a0 * adjust project task. 2013-01-21 08:11:03 +00:00
chencongzhi520@gmail.com
d6ecb98406 * change the height of task and story chosen. 2013-01-21 07:19:04 +00:00
chencongzhi520@gmail.com
bce17e9513 * add class:select-1 for task-edit's module select html. 2013-01-21 07:18:18 +00:00
chencongzhi520@gmail.com
e1c03dfb23 * replace the /theme instead theme. 2013-01-21 05:50:07 +00:00
chencongzhi520@gmail.com
9dfd005b29 * code for task#1072. 2013-01-21 05:43:35 +00:00
wangyidong
7e72c9e8ee * fix a bug for record. 2013-01-21 05:32:40 +00:00
wangyidong
844dc2ae10 * adjust check onlybody.
* adjust task-record.
2013-01-21 05:26:47 +00:00
chencongzhi520@gmail.com
89951d5400 * finish task#1072. 2013-01-21 02:43:08 +00:00
zhujinyong
d654b08e66 + add type of project. 2013-01-21 02:06:26 +00:00
chencongzhi520@gmail.com
fe729868bd * adjust the task-create icon of project-story. 2013-01-21 01:59:37 +00:00
chencongzhi520@gmail.com
d60d17e5cf * adjust my-index. 2013-01-21 01:58:41 +00:00
zhujinyong
c83221c5c9 * change type of project. 2013-01-21 01:44:15 +00:00
chencongzhi520@gmail.com
499273f6d1 * adjust the icons of my-index. 2013-01-21 01:22:28 +00:00
chencongzhi520@gmail.com
e70b52feb4 * remove the icons: icon-help icon-title icon-notice. 2013-01-21 01:18:50 +00:00
chencongzhi520@gmail.com
9ce05a71fc * adjust the size of actions td. 2013-01-20 10:09:59 +00:00
wangchunsheng
d8aa1c1ea3 * change the warnning error. 2013-01-20 10:06:16 +00:00
wangchunsheng
770c1e235b * change the title assign method. 2013-01-20 09:59:47 +00:00
chencongzhi520@gmail.com
fce2b8b9ff * adjust the popup way of colorbox. 2013-01-20 09:59:31 +00:00
wangchunsheng
f933c7b13a * change the title assign method. 2013-01-20 09:54:37 +00:00
wangchunsheng
18e0c28ac9 * change the title assign method. 2013-01-20 09:53:01 +00:00
wangchunsheng
5005685c02 * change the title assign method. 2013-01-20 09:50:41 +00:00
wangchunsheng
73af12ee77 * change the title assign method. 2013-01-20 09:47:51 +00:00
chencongzhi520@gmail.com
7a412bd469 * adjust the width of actions td. 2013-01-20 09:46:09 +00:00
chencongzhi520@gmail.com
18b5cc2f3b * adjust the size of colorbox. 2013-01-20 09:45:34 +00:00
wangchunsheng
f0a9cad84b * change the title assign method. 2013-01-20 09:45:26 +00:00
chencongzhi520@gmail.com
a7545b786c * fix bug: runCase and results and popup colorbox. 2013-01-20 09:44:32 +00:00
wangchunsheng
e5db5f813d * change the title assign method. 2013-01-20 09:41:11 +00:00
wangchunsheng
7385b064d4 * adjust the title assign method. 2013-01-20 09:37:14 +00:00
wangchunsheng
82f3efc526 * change the title assign method. 2013-01-20 09:34:04 +00:00
wangchunsheng
278eb7aebd * change the title assign method. 2013-01-20 09:32:11 +00:00
wangchunsheng
2605fa9bdc * change the title assign method. 2013-01-20 09:28:46 +00:00
chencongzhi520@gmail.com
4ce1774689 * finish task#823. 2013-01-20 09:27:58 +00:00
chencongzhi520@gmail.com
c13dd13ce8 * adjust the icons. 2013-01-20 09:25:20 +00:00
chencongzhi520@gmail.com
f3bafc949b * adjust icons. 2013-01-20 09:23:06 +00:00
chencongzhi520@gmail.com
9a3363fda5 * adjust the size of colorbox of customfiled. 2013-01-20 09:22:34 +00:00
wangchunsheng
8135f0b5b3 * change the title assign method. 2013-01-20 09:15:24 +00:00
wangchunsheng
0d3b5afe40 * change the title assign method. 2013-01-20 09:11:48 +00:00
wangchunsheng
61850c11c9 * change the title assign method. 2013-01-20 09:10:57 +00:00
wangchunsheng
ac9db9e5a2 * adjust the title assign method. 2013-01-20 09:08:08 +00:00
chencongzhi520@gmail.com
9fdf227d5c * adjust the icon of project-unlinkmember. 2013-01-20 09:00:25 +00:00
chencongzhi520@gmail.com
f2fc95a037 * adjust the icons of project. 2013-01-20 08:57:20 +00:00
wangchunsheng
1613167603 * change the title assign method. 2013-01-20 08:31:51 +00:00
wangchunsheng
fb8d55ec27 - remove the help module. 2013-01-20 08:29:19 +00:00
wangchunsheng
4aa7bcab3a - remove the help module. 2013-01-20 08:27:55 +00:00
wangchunsheng
a0d15a199c * adjust the title assign method. 2013-01-20 08:11:33 +00:00
chencongzhi520@gmail.com
bf0ddec7d1 * replace table of bug's steps instead div.
* add icon for bug-buildtemplate.
2013-01-20 07:49:16 +00:00
chencongzhi520@gmail.com
43b935966c * adjust the border color of file input.
* fix bug: icon-del instead icon-delete.
2013-01-20 07:47:13 +00:00
wangchunsheng
0e94f33b30 * change the title assign method. 2013-01-20 07:42:49 +00:00
wangchunsheng
6e7e298359 * adjust the title assign method. 2013-01-20 07:36:13 +00:00
wangchunsheng
4992525323 * adjust the title assign method. 2013-01-20 07:11:36 +00:00
wangchunsheng
5d1ad311b5 * adjust the title assign method.
* adjust the dept-browse page.
2013-01-20 07:09:42 +00:00
wangchunsheng
8df31557a1 * change the title assign method. 2013-01-20 06:56:13 +00:00
wangchunsheng
2ce3941615 * change the title assign method. 2013-01-20 06:53:35 +00:00
wangchunsheng
36ba1f2a1d * adjust the titlte assign method. 2013-01-20 06:49:06 +00:00
wangchunsheng
8ed6c922d1 * adjust the title assign method. 2013-01-20 06:46:41 +00:00
wangchunsheng
0e0887fb5a - remove the file icon and title. 2013-01-20 06:38:12 +00:00
wangchunsheng
a1ed0dee83 * fix the error of html::titlte(). 2013-01-20 05:48:34 +00:00
wangchunsheng
1fa949ffec * add the feature of hideAll(). 2013-01-20 05:46:47 +00:00
wangchunsheng
0168fb63bf * remove the undelete method to action module. 2013-01-20 01:36:20 +00:00
zhujinyong
0648fe3560 + add close lang. 2013-01-18 08:50:15 +00:00
zhujinyong
240394264f * change 'delay' to 'putoff'. 2013-01-18 08:47:50 +00:00
zhujinyong
7ea61a8c29 * change 'delay' to 'put off'. 2013-01-18 08:41:32 +00:00
wangchunsheng
e04296deed * add target param to linkButton() method. 2013-01-18 08:28:03 +00:00
zhujinyong
730f64f4db + add new methods. 2013-01-18 07:52:52 +00:00
wangyidong
6e0513ad62 * refactory the logic: hasPriv then html::a instead common::printLink. 2013-01-18 07:01:06 +00:00
zhujinyong
7d375914e2 + add report of testtask. 2013-01-18 06:16:00 +00:00
zhujinyong
c28c7386c5 * add report of testtask. 2013-01-18 06:15:13 +00:00
zhujinyong
ee231c529c * add alias of testtask. 2013-01-18 05:48:12 +00:00
zhujinyong
7323683405 * add actions of testtask. 2013-01-18 05:43:47 +00:00
wangyidong
5d0b629775 * add icons for bug custom page. 2013-01-18 05:22:45 +00:00
wangchunsheng
826b549da8 * change ZenTaoPMS to zentaoPMS. 2013-01-18 05:13:14 +00:00
wangchunsheng
8aa9a4cfb6 * add report field to create diff. 2013-01-18 03:31:52 +00:00
wangyidong
be062d7850 * add icon. 2013-01-18 02:59:45 +00:00
wangchunsheng
1661213e2d * adjust the title assign. 2013-01-18 02:38:59 +00:00
wangyidong
740e82af5c * fix bug: show the max upload size of php setting. 2013-01-18 02:31:42 +00:00
wangchunsheng
c6066a60e1 * convert to unix format. 2013-01-18 02:30:05 +00:00
wangchunsheng
048dd586ba * convert to unix format. 2013-01-18 02:24:44 +00:00
wangchunsheng
a47628eba5 - remove uniserver. 2013-01-18 02:20:10 +00:00
wangchunsheng
8f0d651d9c * convert to unix format. 2013-01-18 01:58:14 +00:00
wangchunsheng
acf877aeb8 * adjust the assign view methods. 2013-01-18 01:47:42 +00:00
wangyidong
b54b942703 * add icons for doc-create and group-create. 2013-01-18 01:45:10 +00:00
wangchunsheng
96177a314c * change $lang->ZenTaoPMS to $lang->zentaopms. 2013-01-18 01:42:14 +00:00
wangchunsheng
48d43cb5e1 * change copyright time. 2013-01-18 01:18:58 +00:00
wangyidong
2f3e8f2c70 * fix bug: the wrong link of icon.
* adjust the style of page.
 * change the url of reload.
2013-01-18 01:07:31 +00:00
wangyidong
641876898a * adjust the logic of including footer.html.php. 2013-01-18 00:51:29 +00:00
wangyidong
0f755938b4 * adjust icon of qa. 2013-01-17 09:50:38 +00:00
zhujinyong
436c2e7bbc * red font if necessary. 2013-01-17 08:29:37 +00:00
wangyidong
8ed7a0bf95 * save session condition for browse by needconfirm. 2013-01-17 08:03:28 +00:00
wangchunsheng
55fed43318 * move the notify link to common model. 2013-01-17 07:10:46 +00:00
zhujinyong
9e468efa69 - remove some links. 2013-01-17 07:05:53 +00:00
wangyidong
655edbee20 * adjust the icons for my-blockprojects my-blockproducts. 2013-01-17 06:52:43 +00:00
wangyidong
056f99d27d * adjust the icons of project views.
* add onlybody params for helper::createLink.
2013-01-17 06:44:33 +00:00
zhujinyong
77fa35b9b8 * adjust style of caption. 2013-01-17 06:33:15 +00:00
chencongzhi520@gmail.com
b846a00b4e * update icons. 2013-01-17 06:27:56 +00:00
wangchunsheng
cf7f63904e * rname zset to zget. 2013-01-17 06:00:36 +00:00
zhujinyong
c1b0ca3146 - remove status. 2013-01-17 05:48:07 +00:00
zhujinyong
7e355c1250 * change lang. 2013-01-17 05:47:21 +00:00
wangyidong
05fbfd3eba * code for task icons. 2013-01-17 05:38:48 +00:00
wangchunsheng
0a521082a5 * fix the error of warnning. 2013-01-17 05:38:48 +00:00
wangchunsheng
30312e3ba1 * fix the error of warnning. 2013-01-17 05:17:54 +00:00
wangyidong
76d82831a1 * update webapp image. 2013-01-17 05:17:39 +00:00
wangyidong
7c8b6fbbd8 * replace button instead span. 2013-01-17 05:17:02 +00:00
wangyidong
36bff9359d * fix bug: wrong chinese lang. 2013-01-17 05:14:37 +00:00
zhujinyong
c7b4a27fea - remove some code. 2013-01-17 02:54:22 +00:00
zhujinyong
e22e3a3b7f * add actions of product. 2013-01-17 02:51:47 +00:00
zhujinyong
bd9b503eba * change 'allProject' to 'all'. 2013-01-17 02:01:36 +00:00
zhujinyong
68bdefd3a4 * display all projects default. 2013-01-17 01:57:53 +00:00
zhujinyong
afa2224320 * display all defaultly. 2013-01-17 01:48:41 +00:00
wangyidong
be1ccca5e5 * adjust the code logic of view page for isClickable function. 2013-01-17 01:31:59 +00:00
zhujinyong
c3e3ba6f13 + add default status of project. 2013-01-17 01:31:17 +00:00
zhujinyong
984f2987bf fix locked time error. 2013-01-17 01:25:46 +00:00
zhujinyong
d681e56cac * adjust status of project. 2013-01-17 01:24:01 +00:00
zhujinyong
98537901a4 * add alias of edit submenu. 2013-01-17 00:54:39 +00:00
zhujinyong
2d840a6cea * edit doc library in colorbox. 2013-01-17 00:48:49 +00:00
zhujinyong
731b1a2a30 * add delayed and suspended actions. 2013-01-17 00:42:57 +00:00
zhujinyong
89008a2442 * exclude suspended project. 2013-01-17 00:41:43 +00:00
wangyidong
d26d99d413 * adjust the icons of product view. 2013-01-16 08:57:04 +00:00
zhujinyong
0335303944 * add suspend status. 2013-01-16 08:22:31 +00:00
wangyidong
ecefc7c8e1 * add link for qq. 2013-01-16 08:11:50 +00:00
zhujinyong
2e34380354 * add actions of project. 2013-01-16 07:06:53 +00:00
chencongzhi520@gmail.com
d05c63b9b6 * adjust the icons. 2013-01-16 06:18:56 +00:00
zhujinyong
68e0c85aaa * add actions of project. 2013-01-16 02:35:13 +00:00
wangyidong
c93ddd5336 * adjust for colorbox size.
* fix a bug for click export.
2013-01-16 01:49:31 +00:00
zhujinyong
853e56a2ab * view todo in colorbox. 2013-01-16 00:21:46 +00:00
zhujinyong
bd7b2082f2 * view todo in colorbox. 2013-01-15 09:11:01 +00:00
zhujinyong
d0b404b494 * fix a bug : remove undefined value. 2013-01-15 07:11:29 +00:00
zhujinyong
466af5a135 * fix a bug : change date error in my todo. 2013-01-15 02:00:29 +00:00
zhujinyong
8bacd4094b * fix a bug : empty value error. 2013-01-14 07:42:22 +00:00
zhujinyong
2cf0508c40 * adjust location of cron log. 2013-01-14 06:38:32 +00:00
zhujinyong
b0dca27b2a * code for cron. 2013-01-14 06:07:29 +00:00
zhujinyong
e815e1a311 * code for cron. 2013-01-14 05:50:43 +00:00
zhujinyong
beda81c1b0 * code for cron. 2013-01-14 03:18:51 +00:00
zhujinyong
88c08b455c * code for cron. 2013-01-14 03:15:50 +00:00
wangchunsheng
6b1194307d * when manage team, set roles auto. 2013-01-11 08:21:56 +00:00
wangchunsheng
8fff23ba16 + add lua env. 2013-01-11 08:17:23 +00:00
wangchunsheng
7b1b024562 + add execute attribute. 2013-01-11 08:08:15 +00:00
zhujinyong
fa08af8576 - remove inof.php. 2013-01-11 07:53:33 +00:00
zhujinyong
9a9def578e * avoid init class error. 2013-01-11 07:49:35 +00:00
zhujinyong
f512689c9d * include config.php instead of my.php.
* init object use stdClass.
2013-01-11 07:16:26 +00:00
wangyidong
6caa66da38 * adjust for get config from db. 2013-01-11 06:45:59 +00:00
zhujinyong
4476d1d7ac * fix zentao root. 2013-01-11 06:26:54 +00:00
zhujinyong
34c001b00c * code for task#1025. 2013-01-11 06:25:36 +00:00
zhujinyong
dc200ec395 + add crontab class. 2013-01-11 06:15:12 +00:00
zhujinyong
3f612c2af5 - remove '/'. 2013-01-11 06:12:13 +00:00
zhujinyong
4565fd0980 + add linux shells. 2013-01-11 05:36:52 +00:00
zhujinyong
71bfcceb8d + add mailExist function. 2013-01-11 05:32:54 +00:00
wangyidong
05ff202810 * fix a bug for power. 2013-01-11 04:08:32 +00:00
wangchunsheng
92cb1c6b70 * rewrite the mail setting logic, save config to database. 2013-01-11 03:12:52 +00:00
wangchunsheng
1e3adbf41a * fix the error of setItems(). 2013-01-11 03:11:44 +00:00
zhujinyong
e702209015 * fix a bug: webRoot is error. 2013-01-11 03:10:30 +00:00
zhujinyong
af83f26ba3 + add getWebRoot function. 2013-01-11 03:08:19 +00:00
wangyidong
7b63bcbf61 * adjust webapp style. 2013-01-11 02:04:51 +00:00
wangyidong
d52e498017 * adjust for new set item. 2013-01-11 01:55:15 +00:00
wangchunsheng
0a874903e8 * adjust the getItems logic, use in() for all fields. 2013-01-11 01:38:25 +00:00
wangchunsheng
fc83f4c963 + add the function of zset(). 2013-01-10 15:16:34 +00:00
wangchunsheng
d902ffe641 * rewrite the code since setting module rewrite. 2013-01-10 15:15:59 +00:00
wangchunsheng
fd6fddc16a * fix the error of setItem(). 2013-01-10 15:15:10 +00:00
wangchunsheng
2b773f2013 * rewrite the setting module. 2013-01-10 14:48:46 +00:00
wangchunsheng
6dfb0bb5ed * adjust the menu items. 2013-01-10 14:43:14 +00:00
wangchunsheng
ce8e4840cd * adjust the var name, the var after foreach should be $key, not order. 2013-01-10 14:41:50 +00:00
wangyidong
ec635056fa * hide toBug link for view case when case is not fail. 2013-01-10 08:30:24 +00:00
wangyidong
4e9082f590 * fix for link of go back. 2013-01-10 08:29:14 +00:00
chencongzhi520@gmail.com
208f6df857 * code for icons.
* remove icon-add1 instead icon-add.
2013-01-10 07:19:27 +00:00
wangchunsheng
246203b281 * allways loadConfigFromDB(), even not login. 2013-01-10 07:16:46 +00:00
chencongzhi520@gmail.com
51c7dac0fa * code for icons.
* adjust the add-icon.
 * change the icon-addProduct instead icon-add.
 * change the icon-addProject instead icon-project.
 * change the icon-allProduct.
 * change the icon-allProject.
2013-01-10 07:14:21 +00:00
wangyidong
a3860ca367 * adjust flow. 2013-01-10 07:13:51 +00:00
wangchunsheng
0578c49150 * adjust code format. 2013-01-10 07:12:20 +00:00
wangchunsheng
c5f3a5fe3f - remove the sn when comapny equal 1. 2013-01-10 07:10:22 +00:00
chencongzhi520@gmail.com
6023852e7f * revert the button-search css. 2013-01-10 06:49:30 +00:00
chencongzhi520@gmail.com
7f7d11d2c8 * code for icons.
* adjust the icons of my-index.
2013-01-10 06:42:39 +00:00
chencongzhi520@gmail.com
3eff65eeb0 * code for icons.
* add icon for unlock a user.
2013-01-10 06:26:41 +00:00
wangyidong
461e311fd6 * adjust for highlight. 2013-01-10 06:18:45 +00:00
wangyidong
3e30398b9c * fix a bug for can not copy module in bug and case. 2013-01-10 06:03:32 +00:00
wangchunsheng
b7e0796310 * adjust the records of zt_config table. 2013-01-10 05:37:10 +00:00
wangchunsheng
c8498e86d0 * adjust the logic of sn and demoUser. 2013-01-10 05:09:59 +00:00
wangyidong
fed918ab79 * adjust hide selectAll button when no cases. 2013-01-10 03:28:05 +00:00
wangyidong
247cdf8616 * adjust the page of bug. 2013-01-10 03:05:51 +00:00
chencongzhi520@gmail.com
80743e0d62 * adjust the rule that get the css sprite. 2013-01-10 02:53:59 +00:00
wangyidong
abc51784ce * adjust include ext config. 2013-01-10 02:27:35 +00:00
wangyidong
b45de1cd46 * fix a bug for create config object. 2013-01-10 02:24:38 +00:00
zhujinyong
06e8e9b2f9 * format. 2013-01-10 02:08:22 +00:00
wangchunsheng
ec17e09341 * fix the error of warning under 5.4. 2013-01-10 01:11:49 +00:00
zhujinyong
8b8b3eddb9 * code for task#1091. 2013-01-10 01:07:19 +00:00
zhujinyong
6bb73aa24f * fix a bug : datepicker error when edit project. 2013-01-09 08:20:32 +00:00
wangyidong
7f884f56e5 * add $config->objectTables['testcase'] = TABLE_CASE; 2013-01-09 08:15:00 +00:00
zhujinyong
8a043173fb * code for task#1024. 2013-01-09 08:14:31 +00:00
wangyidong
21a9c67de7 * code for task#1046. 2013-01-09 07:53:02 +00:00
wangyidong
67ca479090 * adjust the page link of click save button.
* goto productplan-view instead productplan-browse.
2013-01-09 07:50:38 +00:00
wangyidong
1a806aaa58 * remove the post value: delta. 2013-01-09 07:11:18 +00:00
wangyidong
9592035362 * adjust the setComment method for firefox. 2013-01-09 06:46:21 +00:00
zhujinyong
5b45e00639 * adjust license. 2013-01-09 06:39:56 +00:00
zhujinyong
ae9da000b1 * code for task#1030. 2013-01-09 06:35:02 +00:00
zhujinyong
0951df0cbd * code for task#1030. 2013-01-09 06:33:44 +00:00
wangyidong
cc02b2ef8d * adjust the lang define of max size of upload. 2013-01-09 06:14:10 +00:00
wangyidong
323a00b4f0 * fix a bug for no init value. 2013-01-09 05:59:42 +00:00
zhujinyong
ebf524c7e5 * change left and consumed field. 2013-01-09 05:56:57 +00:00
wangyidong
04266928b2 * adjust trush to reload. 2013-01-09 05:30:57 +00:00
wangchunsheng
ddae04422b * adjust the footer.html.php. 2013-01-09 05:28:47 +00:00
wangyidong
0cb29714fd * fix a bug for select talbe by module. 2013-01-09 05:26:08 +00:00
wangyidong
6842cbc41f * change colorbox flow to my module.
* adjust export checked item.
2013-01-09 04:22:56 +00:00
zhujinyong
dd765793c2 * code for task#1030. 2013-01-09 03:21:29 +00:00
wangchunsheng
4ca79b465e * adjust footer.html.php. 2013-01-09 03:16:48 +00:00
wangyidong
5d44a35bfc * change setpath.sh for set ztcli.sh. 2013-01-09 03:09:42 +00:00
wangchunsheng
647a422fdc * adjust the code. 2013-01-09 03:08:27 +00:00
wangyidong
2ebd814ed2 * change setpath for bat and shell. 2013-01-09 03:06:52 +00:00
wangchunsheng
bfd459d4e9 * fix the error of varname. 2013-01-09 03:03:27 +00:00
zhujinyong
33a6cf0aac * fix a bug in createChanges. 2013-01-09 02:55:06 +00:00
wangchunsheng
ef2c4cb87b * change the js::set for placeholders. 2013-01-09 02:35:07 +00:00
wangchunsheng
7e10192cbf * change the taskestimate instead taskEstimate. 2013-01-09 02:33:04 +00:00
wangchunsheng
206285ba70 * use js::set() to rewrite the js var setting.
* adjust the privew code.
2013-01-09 02:17:42 +00:00
wangchunsheng
66960dc273 * add type param to js::set() method. 2013-01-09 02:15:03 +00:00
wangchunsheng
2eb5ef9b74 * fix the error of warning under php5.4. 2013-01-09 01:08:30 +00:00
wangchunsheng
4cef8e0281 * merge checkDemoData.php to check.php. 2013-01-09 01:06:49 +00:00
wangchunsheng
5355b7715f * rename it to setpath. 2013-01-09 00:47:38 +00:00
zhujinyong
2acce5a486 * change date. 2013-01-08 09:02:32 +00:00
zhujinyong
24fb9a6236 * change estimate to left. 2013-01-08 08:37:17 +00:00
wangyidong
8ea3c3b1db * refactory.
* mv objectTables to config/config.php from action/config.php.
2013-01-08 08:03:02 +00:00
wangyidong
848f20cd1f * refactory action-trash. 2013-01-08 08:00:36 +00:00
zhujinyong
9d9de72cf6 * change table task_estimate. 2013-01-08 07:13:54 +00:00
zhujinyong
a70e90d458 * code for task#1037. 2013-01-08 07:06:19 +00:00
wangyidong
3f41b340a0 * refactory action-trash. 2013-01-08 05:39:51 +00:00
wangyidong
f5b2bec05a * fix for guest login. 2013-01-08 05:38:35 +00:00
wangchunsheng
64ca57031f - delete getbugs.bat and todo.bat.
* move changepath.bat to setpath.bat.
2013-01-08 05:36:29 +00:00
wangchunsheng
7bdec4db76 + add execute propset. 2013-01-08 05:33:48 +00:00
wangchunsheng
53ae669b53 * move ztcli to bin directory. 2013-01-08 05:26:04 +00:00
zhujinyong
a2ae7a0d93 + add role content. 2013-01-08 03:23:54 +00:00
wangchunsheng
fe76401e29 * move ztcli* to bin/ 2013-01-08 03:04:29 +00:00
wangchunsheng
474c4f6bd7 * change the errror porting level. 2013-01-08 02:59:39 +00:00
zhujinyong
996ba7889a - remove group and role. 2013-01-08 02:30:59 +00:00
wangchunsheng
6da59d199a * adjust the backup.php. 2013-01-08 01:46:27 +00:00
wangchunsheng
6ab362aa75 * move these build tools to build directory. 2013-01-08 01:08:13 +00:00
wangchunsheng
ba02584ae1 - remove them. 2013-01-08 01:00:44 +00:00
wangchunsheng
210e7a2216 - remove build.php
* move getbugs and todo to api.
2013-01-08 00:53:17 +00:00
wangyidong
2dd1aa2f2d * finish task #1059. 2013-01-07 08:39:27 +00:00
zhujinyong
34cc956878 * remove first letter of account. 2013-01-07 07:00:20 +00:00
zhujinyong
8c7ae82f2e * fix a bug : display user link. 2013-01-07 06:55:03 +00:00
zhujinyong
5176f5d77f + add date class. 2013-01-07 05:50:18 +00:00
zhujinyong
11a6ba063b * code for task#1066. 2013-01-07 05:34:34 +00:00
zhujinyong
e0fef0c0a6 * need not dates. 2013-01-07 03:34:48 +00:00
wangyidong
833f89610d * fix a bug for group byModule. 2013-01-07 03:16:43 +00:00
zhujinyong
ed79e81862 - rm date module. 2013-01-07 03:14:14 +00:00
wangyidong
d9807f865c * finish task #1042. 2013-01-07 02:18:35 +00:00
zhujinyong
3d28cac4ad * code for task#1056. 2013-01-07 01:41:50 +00:00
zhujinyong
d282e93c25 * code for task#1056. 2013-01-07 01:31:25 +00:00
zhujinyong
c6c37a65e0 * code for task#1056. 2013-01-07 01:28:48 +00:00
zhujinyong
dda32ab871 * code for task#1056. 2013-01-07 01:23:28 +00:00
zhujinyong
7d925e3693 * code for task#1056. 2013-01-07 01:21:37 +00:00
zhujinyong
6e67f0cf8b * code for task#1056. 2013-01-07 01:15:24 +00:00
zhujinyong
c475af16a2 * code for task #1056. 2013-01-07 01:08:54 +00:00
zhujinyong
3094d44047 * code for task#1056. 2013-01-07 01:07:14 +00:00
zhujinyong
eff243f629 * code for task#1056. 2013-01-07 01:02:35 +00:00
zhujinyong
fd08ff4a4d * code for task#1056. 2013-01-07 00:59:53 +00:00
zhujinyong
8630b224c0 * code for task#1056. 2013-01-07 00:54:48 +00:00
zhujinyong
41b7f69c79 * code for task#1056. 2013-01-07 00:51:52 +00:00
zhujinyong
5af8b54dd6 * code for task#1056. 2013-01-07 00:43:37 +00:00
zhujinyong
1cfc9b220d * code for task#1056. 2013-01-07 00:41:04 +00:00
zhujinyong
c5611b7016 * code for task#1057. 2013-01-06 08:37:34 +00:00
zhujinyong
b6da64af0e * code for task#1066. 2013-01-06 08:12:41 +00:00
wangyidong
0c1b21dd4d * adjust for task #1045. 2013-01-06 07:09:21 +00:00
wangyidong
8c80183c28 * finish task #1062. 2013-01-06 05:34:21 +00:00
zhujinyong
36318acbfa * code for task#1043. 2013-01-06 05:24:44 +00:00
zhujinyong
3f8c141dd4 * code for task#1043. 2013-01-06 05:19:00 +00:00
zhujinyong
7454437d5e * code for task#1043. 2013-01-06 03:34:12 +00:00
zhujinyong
35ffa07dce * code for task#1043. 2013-01-06 03:18:40 +00:00
zhujinyong
f5259d3ec0 * code for task#1043. 2013-01-06 03:11:16 +00:00
zhujinyong
4f23bc92db * code for task#1043. 2013-01-06 03:03:10 +00:00
zhujinyong
3b9ede6473 * code for task#1043. 2013-01-06 02:44:52 +00:00
zhujinyong
b073f1f57f * code for task#1043. 2013-01-06 02:43:45 +00:00
zhujinyong
3d0dffd995 * code for task#1043. 2013-01-06 02:03:30 +00:00
zhujinyong
0a7bad1def * code for task#1043. 2013-01-06 01:57:35 +00:00
zhujinyong
8ac9e393dd * code for task#1055. 2013-01-05 08:33:20 +00:00
chencongzhi520@gmail.com
b3b63c5063 * finish task#1070. 2013-01-05 07:24:29 +00:00
zhujinyong
17d4f9069c * code for task#1029. 2013-01-05 07:17:17 +00:00
chencongzhi520@gmail.com
672a462453 * finish task#1046. 2013-01-05 06:51:43 +00:00
zhujinyong
1a94f54b26 * code for task#1029. 2013-01-05 06:19:43 +00:00
zhujinyong
fa7c8ad846 + add role field. 2013-01-05 05:51:16 +00:00
zhujinyong
35bf23cac2 * code for task#1060. 2013-01-05 03:16:38 +00:00
chencongzhi520@gmail.com
8feafd6fbb * finish task#1038. 2013-01-05 02:42:06 +00:00
zhujinyong
d1d0b901e4 * code for task #1031. 2013-01-05 02:36:54 +00:00
chencongzhi520@gmail.com
c3fd3b8c47 * finish task#1063. 2013-01-05 02:04:58 +00:00
zhujinyong
b1cccb035a * code for task#1052. 2013-01-05 01:52:09 +00:00
chencongzhi520@gmail.com
73609e2512 * finish task#1053. 2013-01-05 00:55:15 +00:00
chencongzhi520@gmail.com
6a5180863e * finish task#1032. 2013-01-05 00:49:08 +00:00
zhujinyong
160a702965 * finish task#897. 2013-01-04 08:46:14 +00:00
zhujinyong
10ef9328d2 * code for task#1025. 2013-01-04 07:58:45 +00:00
chencongzhi520@gmail.com
587cb3a918 * finish task#1023. 2013-01-04 07:52:39 +00:00
wangyidong
42bce933a8 * finish task #1069. 2013-01-04 07:47:18 +00:00
wangyidong
143c902e8b * finish task #1050. 2013-01-04 07:13:49 +00:00
chencongzhi520@gmail.com
f922a8a2fd * finish task#1061. 2013-01-04 07:03:07 +00:00
wangyidong
26f2ccb1d5 * finish task #1040. 2013-01-04 06:58:38 +00:00
chencongzhi520@gmail.com
a1b6828dc2 * finish task#1065. 2013-01-04 06:45:27 +00:00
wangyidong
24b8613408 * finish task #1034. 2013-01-04 05:56:30 +00:00
chencongzhi520@gmail.com
2cf8710a16 * finish task#1036. 2013-01-04 05:31:44 +00:00
chencongzhi520@gmail.com
f00b31cd59 * adjust the isOpenMethod method. 2012-12-29 02:13:09 +00:00
chencongzhi520@gmail.com
92a4e7f612 * open the auth of downNofity method. 2012-12-29 02:00:09 +00:00
wangyidong
819f94f54c * fix some bugs. 2012-12-28 03:39:51 +00:00
zhujinyong
d5ea39e03f * fix a bug : if the project of task is closed, project is not list. 2012-12-28 03:26:42 +00:00
wangyidong
e9535c219b * fix a bug for module of doc. 2012-12-27 01:27:35 +00:00
wangyidong
bb6a211100 * fix a bug for init variable. 2012-12-26 08:02:28 +00:00
wangyidong
c32c7acd69 * fix a bug for preAndNext. 2012-12-26 06:27:20 +00:00
zhujinyong
121bbb81dc * fix a bug : word error. 2012-12-26 06:00:00 +00:00
wangyidong
785f7baa46 * rename for compute burn. 2012-12-25 07:25:18 +00:00
wangchunsheng
7c2b36a0b2 * change die to return. 2012-12-25 06:44:32 +00:00
wangchunsheng
4410853c5e * adjust the padding of mainmenu. 2012-12-25 06:44:02 +00:00
wangchunsheng
6615f026e0 * set debug to true. 2012-12-25 06:43:23 +00:00
wangchunsheng
5d89a0f751 * revert the including of colorize.html.php. 2012-12-25 06:42:39 +00:00
zhujinyong
88b170dd5d * guest user has no priv of ajax functions. 2012-12-25 03:31:08 +00:00
wangchunsheng
1f96375f21 * adjust code format. 2012-12-25 02:49:07 +00:00
wangchunsheng
5881a8050d * rename computeburn.bat.
* adjust the notice.
2012-12-25 02:26:14 +00:00
wangyidong
c6ddb8dcdb * change for win to unix. 2012-12-25 02:08:58 +00:00
wangyidong
de267d6d8d * fix a bug for short tags. 2012-12-25 01:36:06 +00:00
zhujinyong
4cc60dc51f * fix a bug: get preAndNexObject error. 2012-12-25 01:18:05 +00:00
wangchunsheng
f1bb2bb4e1 * add change log since 3.3. 2012-12-25 01:17:29 +00:00
zhujinyong
f174a220cd * finish task#1002. 2012-12-25 01:12:20 +00:00
wangyidong
354b2cce04 * fix a bug for upgrade. 2012-12-25 01:09:51 +00:00
wangchunsheng
d28a555b83 * fix the warnning error. 2012-12-25 01:06:31 +00:00
wangyidong
d4797d951e * change for zh-tw for user. 2012-12-25 00:56:04 +00:00
wangchunsheng
d768ae5471 * convert zh-tw language. 2012-12-24 10:17:18 +00:00
wangchunsheng
b494d305ec + add contact actions to group-resource. 2012-12-24 10:16:44 +00:00
wangchunsheng
2425918f34 + add contact list feature to story, task and bug. 2012-12-24 10:06:50 +00:00
wangyidong
abbcc2a5ca * fix for check zentao errors. 2012-12-24 09:12:25 +00:00
wangchunsheng
88bf2ed394 + add the feature to manage user contacts. 2012-12-24 08:55:41 +00:00
wangyidong
24cc7f43e3 * change for notify.zip. 2012-12-24 08:53:55 +00:00
wangyidong
6e992a3a9f * adjust style for user. 2012-12-24 08:16:22 +00:00
zhujinyong
78e5c03bdf * finish task#1008. 2012-12-24 07:20:10 +00:00
wangyidong
d344752244 * change for new priv. 2012-12-24 07:17:19 +00:00
wangyidong
6c13c99074 * adjust demo.sql for 4.0.beta2. 2012-12-24 06:45:36 +00:00
wangyidong
ff1bd9352f * change for group name . 2012-12-24 06:24:54 +00:00
zhujinyong
ed656ec09e * fix a bug : if param is date default, dynamic date error. 2012-12-24 03:34:59 +00:00
zhujinyong
7f0bf4140e * change date sort. 2012-12-24 03:16:45 +00:00
wangyidong
08f86b68f9 * fix style for show action in firefox browser. 2012-12-24 01:38:11 +00:00
wangyidong
bc59ffa8f1 * fix style for action. 2012-12-24 01:30:08 +00:00
wangchunsheng
5f7282aa6a * adjust user list order. 2012-12-24 01:01:12 +00:00
zhujinyong
27dbf21c0b * finish task#1007. 2012-12-24 00:53:01 +00:00
zhujinyong
229d651476 * finish task #1011. 2012-12-24 00:50:43 +00:00
chencongzhi520@gmail.com
934a7ba293 * fix bug#169. 2012-12-21 07:38:31 +00:00
wangyidong
a73e19a558 * ajdust webapp style for task #972. 2012-12-21 06:31:31 +00:00
chencongzhi520@gmail.com
5d807f9325 * refatory the search page.
* code for task#953.
2012-12-21 06:26:07 +00:00
chencongzhi520@gmail.com
67014fc6b7 * code for bug#360. 2012-12-21 06:09:46 +00:00
chencongzhi520@gmail.com
df2f22fcd6 * fix bug#360. 2012-12-21 05:55:51 +00:00
chencongzhi520@gmail.com
0c5b8888ad * code for task#980. 2012-12-21 02:37:37 +00:00
chencongzhi520@gmail.com
b071b1d962 * code for task#962. 2012-12-21 02:26:55 +00:00
wangyidong
cd4915729d * adjust style. 2012-12-20 08:00:07 +00:00
zhujinyong
7c69fc9b5a * finish task#1006. 2012-12-20 07:49:45 +00:00
zhujinyong
09f045fd69 * finish task#996. 2012-12-20 06:16:19 +00:00
zhujinyong
84e60732d3 * finish task#997. 2012-12-20 05:49:15 +00:00
wangyidong
d56cfd1da6 * finish task #983. 2012-12-19 10:08:20 +00:00
zhujinyong
12d1bce624 * code for task#386. 2012-12-19 08:29:23 +00:00
wangyidong
27c8372f87 * change for order by data in server. 2012-12-19 08:16:17 +00:00
zhujinyong
93d1eba0f8 * finish task #994. 2012-12-19 08:05:30 +00:00
wangyidong
c0bddae881 * add for batch edit user. 2012-12-19 07:50:54 +00:00
zhujinyong
73a332d847 * fix bug#992. 2012-12-19 07:29:46 +00:00
zhujinyong
a8f8a6e09b * fix bug#388. 2012-12-19 06:31:07 +00:00
wangyidong
ec216f73b7 * finish task #961. 2012-12-19 05:41:11 +00:00
zhujinyong
b3a162c98a * fix a bug : display title. 2012-12-19 03:20:14 +00:00
zhujinyong
421e3e9578 * fix a bug : display title. 2012-12-19 03:18:34 +00:00
zhujinyong
69467ac85b * code for task #951. 2012-12-19 02:39:20 +00:00
zhujinyong
d333ca1698 * code for task#951. 2012-12-19 02:35:03 +00:00
zhujinyong
c2e912af0a * code for task#951. 2012-12-19 02:33:31 +00:00
chencongzhi520@gmail.com
01d58609fd * fix bug: testcase can't batch edit. 2012-12-19 01:05:15 +00:00
wangchunsheng
cc409aaff9 * when create testtask, place qa users at first. 2012-12-18 12:37:39 +00:00
wangchunsheng
21d3dad18a * fix the error of warnnin. 2012-12-18 12:30:35 +00:00
wangchunsheng
e9f357731b * when first load, make sure dev users at first.
* when a project selected, make sure members of this project at first.
2012-12-18 12:28:45 +00:00
wangchunsheng
9a4993d97d * adjust code foramt. 2012-12-18 12:26:29 +00:00
wangchunsheng
12a6c8fc3a * fix the error when create kindeditor. 2012-12-18 12:23:18 +00:00
zhujinyong
8e574ffc3b * code for task #951. 2012-12-18 07:50:48 +00:00
zhujinyong
f26c417d64 * code for task#951. 2012-12-18 07:47:20 +00:00
zhujinyong
28b9f8de22 * code for task#951.
* add time for date.
2012-12-18 07:46:26 +00:00
zhujinyong
4667dfb163 * code for task #951. 2012-12-18 07:41:23 +00:00
wangyidong
83c6c5dfd2 * change for upgrade to 4.0.beta2. 2012-12-18 03:05:26 +00:00
chencongzhi520@gmail.com
0dbce5cb8f * code for task#947. 2012-12-18 00:42:32 +00:00
wangchunsheng
e6f2057f4d * when manage a team, can select one project to copy.
* adjust the edit page.
2012-12-17 10:26:50 +00:00
wangchunsheng
711938a9dd * adjust the getUserPairs() param. 2012-12-17 10:21:31 +00:00
chencongzhi520@gmail.com
280fe761f5 * code for task#957. 2012-12-17 09:06:33 +00:00
wangchunsheng
1a4b28ca77 * change burndownchart to burndown. 2012-12-17 08:14:18 +00:00
wangchunsheng
9d73e6dfdd * adjust the menu of company and admin module. 2012-12-17 08:01:34 +00:00
wangyidong
d65b6c8625 * adjust for task #925. 2012-12-17 07:40:00 +00:00
chencongzhi520@gmail.com
1cdd994dc0 * remove class file instead zfile. 2012-12-17 07:34:31 +00:00
wangchunsheng
658e7af227 * change QM to QD, RM to RD. 2012-12-17 07:15:34 +00:00
wangchunsheng
6bba4db67f * change RM to RD, QM to QD. 2012-12-17 07:14:42 +00:00
wangchunsheng
3523642713 * change QM to QD. 2012-12-17 07:11:59 +00:00
wangchunsheng
3f7260fb8b + add pdfirst and qdfirst. 2012-12-17 07:09:42 +00:00
wangchunsheng
318b9f450c * change QM to QD. 2012-12-17 07:08:53 +00:00
wangchunsheng
10524d52df * revert the RM field and rename it to RD. 2012-12-17 07:06:29 +00:00
wangchunsheng
ecad94a7de * adjust the project-view page. 2012-12-17 06:09:31 +00:00
wangyidong
335c8e5159 * finish task #938. 2012-12-17 02:59:04 +00:00
chencongzhi520@gmail.com
8129d17611 * rename 'testtask' instead 'testTask'. 2012-12-17 01:40:06 +00:00
wangyidong
45a948c2af * adjust line color for burn. 2012-12-17 01:25:52 +00:00
zhujinyong
15ea157a2c * code for task #949. 2012-12-17 01:19:18 +00:00
zhujinyong
1ce56970e9 * code for task#949. 2012-12-17 01:16:30 +00:00
wangchunsheng
ef97b1c248 * change QM to QD.
* adjust the view page of product.
 * set productList session when browse all products.
2012-12-17 01:11:40 +00:00
zhujinyong
6376670b55 * code for task #949. 2012-12-17 01:03:11 +00:00
zhujinyong
dd4fc9f01f * code for task#949. 2012-12-17 01:01:05 +00:00
wangchunsheng
4e8a6151bf * task#980, add more roles. 2012-12-16 03:17:47 +00:00
wangchunsheng
ff0fbc2a3e * task#980, add more roles. 2012-12-16 03:12:29 +00:00
wangchunsheng
4129e897d4 * task#980, add more roles. 2012-12-16 03:11:14 +00:00
wangchunsheng
cae5417f18 * when check, avoid the ajax methods. 2012-12-16 03:09:58 +00:00
wangchunsheng
c9bb6bc9f0 * task#980, when change and edit a story, place product owners at first. 2012-12-16 01:46:51 +00:00
wangchunsheng
04d5809cfe * task#980, when create story, sort the po at the first. 2012-12-15 13:20:52 +00:00
wangchunsheng
f833a8a606 - remove the colorbox code for all projects and all products. 2012-12-15 06:01:34 +00:00
wangchunsheng
a2720b5fe0 * adjust the all projects page. 2012-12-15 01:34:09 +00:00
wangchunsheng
dc0a46bb3a * adjust the display style of product's projects page and all products page. 2012-12-15 01:14:50 +00:00
wangchunsheng
1148b028c3 * adjust the save button of tree-browse page. 2012-12-15 01:01:55 +00:00
wangchunsheng
a815c6eee4 * adjust code format. 2012-12-15 00:34:24 +00:00
zhujinyong
613d7d72b7 * code for task#949. 2012-12-14 07:46:43 +00:00
zhujinyong
7d5fa4f494 * code for task#949. 2012-12-14 07:34:27 +00:00
wangyidong
653b197912 + finish task #939. 2012-12-14 07:34:07 +00:00
wangyidong
d0041a5abb * finish task #963. 2012-12-14 05:53:35 +00:00
zhujinyong
152b5921b2 * code for task#949. 2012-12-14 03:14:56 +00:00
wangchunsheng
e3f0659ea7 * adjust menu items.
* adjust menu order according to the user's role.
2012-12-13 08:44:08 +00:00
wangyidong
e04956fb65 * fix a bug for search in link story. 2012-12-13 08:25:33 +00:00
wangyidong
76200fb633 * recall right code. 2012-12-13 08:24:11 +00:00
wangyidong
7f1652b1b2 * adjust for ajax get search form. 2012-12-13 08:07:07 +00:00
wangyidong
78e6472bb7 * finish task #971. 2012-12-13 06:34:30 +00:00
zhujinyong
7b06b0811a * code for task#936. 2012-12-13 06:13:02 +00:00
wangchunsheng
1d1da6da8f * task#980, add role field to user table. 2012-12-13 05:27:14 +00:00
wangchunsheng
582bba412d - delete user-view.html.php because locate to todo page. 2012-12-13 05:11:34 +00:00
zhujinyong
45c4e3c0f8 - remove this code. 2012-12-13 03:22:48 +00:00
zhujinyong
4777d6a239 * code for task#964. 2012-12-13 03:21:12 +00:00
zhujinyong
185338c26d * code for task#964. 2012-12-13 03:09:10 +00:00
zhujinyong
5f8ca55c08 * code for task#926. 2012-12-13 03:05:09 +00:00
zhujinyong
54f0be49c2 * code for task#926. 2012-12-13 02:45:52 +00:00
wangyidong
66c1ad0038 * adust for task #928. 2012-12-13 02:27:58 +00:00
zhujinyong
94e3c1bbb2 - remove redundant code. 2012-12-12 09:30:52 +00:00
wangchunsheng
272897c294 * task#982, mail module. 2012-12-12 09:16:41 +00:00
wangyidong
a1d9487933 * finish task #976. 2012-12-12 07:33:06 +00:00
wangchunsheng
7f7d61426f * task#982, editor module. 2012-12-12 07:26:19 +00:00
wangchunsheng
21dccf0994 * task#982, misc module. 2012-12-12 06:47:54 +00:00
wangchunsheng
dc4346cdfd * task#982, fix the warning for report model. 2012-12-12 06:47:28 +00:00
wangchunsheng
7fc12a0268 * task#982. 2012-12-12 06:46:01 +00:00
wangchunsheng
4dd49e4479 * if not defined $config->$moduleName, init it auto. 2012-12-12 06:43:42 +00:00
zhujinyong
b993ad7ac1 * code for task#973. 2012-12-12 03:24:41 +00:00
zhujinyong
c7b06ce453 * add pri of testtask. 2012-12-12 03:08:03 +00:00
wangyidong
17d432f6d5 * finish task #821. 2012-12-12 03:07:36 +00:00
wangchunsheng
0f963343f6 * task#982. 2012-12-12 02:18:16 +00:00
zhujinyong
e9f11a3287 * code for task #981. 2012-12-12 01:40:52 +00:00
zhujinyong
9823320500 * code for task#981. 2012-12-12 01:40:19 +00:00
zhujinyong
bbe7892dbc * code for task#981. 2012-12-12 01:37:26 +00:00
zhujinyong
1bb978909d * code for task#981. 2012-12-12 00:44:35 +00:00
wangyidong
ef70f537e5 * finish task #970. 2012-12-11 08:40:52 +00:00
wangyidong
6030b6218e * finish task #965. 2012-12-11 08:33:24 +00:00
wangyidong
de7ae1f6e3 * change for task #925. 2012-12-11 08:28:42 +00:00
wangyidong
e718c39537 * adjust judge decode. 2012-12-11 07:54:15 +00:00
wangyidong
f68b255509 * finish task #962. 2012-12-11 07:40:07 +00:00
zhujinyong
32ff8ff4a6 * code for task#978. 2012-12-11 07:39:36 +00:00
zhujinyong
50bb37bd31 * code for task#978. 2012-12-11 07:23:16 +00:00
zhujinyong
60ef357bec * code for task#978. 2012-12-11 07:21:54 +00:00
wangchunsheng
506f9bc72f * task#982, company module. 2012-12-11 07:02:10 +00:00
wangchunsheng
3dd8e2b550 * task#982, common model. 2012-12-11 07:00:57 +00:00
wangchunsheng
3145632e61 * task#982, task module. 2012-12-11 06:58:28 +00:00
wangchunsheng
743507cd50 * task#982, project module. 2012-12-11 06:24:12 +00:00
wangchunsheng
45f2955136 * task#982, my module. 2012-12-11 06:05:36 +00:00
wangchunsheng
97117ded14 * task#982, action mdoule. 2012-12-11 05:59:06 +00:00
wangchunsheng
ca6cb09270 * task#982, todo module. 2012-12-11 05:51:16 +00:00
zhujinyong
489eeffde8 * code for task#968. 2012-12-11 05:43:45 +00:00
zhujinyong
8ea6eb39ea * code for task#968. 2012-12-11 05:41:33 +00:00
wangyidong
58fe311258 * finish task #984. 2012-12-11 05:13:40 +00:00
wangyidong
b592eecd68 * finish task #985. 2012-12-11 03:32:37 +00:00
wangyidong
1a95b47c7a * finish task #960. 2012-12-11 02:17:46 +00:00
zhujinyong
aaac1ec998 * display realname instead of account. 2012-12-11 02:09:36 +00:00
zhujinyong
48e7be6765 * finish task#958. 2012-12-11 01:43:46 +00:00
wangyidong
3c04a1671c * finish task #959. 2012-12-11 01:14:57 +00:00
wangyidong
53101768d9 * finish task #967. 2012-12-11 00:26:50 +00:00
wangyidong
575eadc073 * finish task #953. 2012-12-10 09:02:11 +00:00
wangchunsheng
1252eb0fc4 * task#982, admin module. 2012-12-10 08:41:09 +00:00
wangchunsheng
e84eb450d0 * task#982, install module. 2012-12-10 08:40:13 +00:00
wangchunsheng
7e9fb8335c * task#982, control.class.php 2012-12-10 08:39:16 +00:00
wangchunsheng
a523fe8d3f * task#982, front.class.php 2012-12-10 08:38:23 +00:00
chencongzhi520@gmail.com
fc501eca9e * code for task#933.
* move todoBatchEdit for open source version to pro version.
2012-12-10 08:28:49 +00:00
wangchunsheng
52279e1cb4 * adjust code format. 2012-12-10 08:21:12 +00:00
wangchunsheng
4e7f6e5f81 * task#982, user module. 2012-12-10 08:20:09 +00:00
wangchunsheng
a9fb847163 * adjust the check.php. 2012-12-10 08:16:26 +00:00
wangchunsheng
b9f4899214 * task#982, control.class.php. 2012-12-10 08:15:28 +00:00
wangchunsheng
4c971aeeec * task#982, common module. 2012-12-10 08:13:40 +00:00
chencongzhi520@gmail.com
a00647131e * code for task#933.
* move storyBatchEdit from open source version to pro version.
2012-12-10 07:54:11 +00:00
wangchunsheng
354eed2ec9 * task#982, install module. 2012-12-10 07:53:54 +00:00
chencongzhi520@gmail.com
a6e0c1bcff * code for task#933.
* move caseBatchEdit for open source version to pro version.
2012-12-10 07:18:58 +00:00
chencongzhi520@gmail.com
6d2ba0712b * code for task#933. 2012-12-10 06:59:00 +00:00
chencongzhi520@gmail.com
ec22ffa252 * code for task#933.
* move bugBatchEdit for openSource version to pro version.
2012-12-10 06:38:45 +00:00
zhujinyong
91c38f01e2 * finish task#955. 2012-12-10 06:08:53 +00:00
wangyidong
6f0cf77d47 * fix a bug for sql annotation. 2012-12-07 01:11:24 +00:00
wangyidong
edf9c7eac8 + add win to unix sql. 2012-12-05 06:21:11 +00:00
zhujinyong
66cb7ee3d3 * correct a word. 2012-12-05 06:01:30 +00:00
zhujinyong
46c5ef0ff0 * fix bug#364. 2012-12-05 01:59:33 +00:00
zhujinyong
fb3f376a68 * adjust style for ie6, ie7. 2012-12-05 01:58:17 +00:00
wangyidong
fece3b8265 * add company column for webapp table. 2012-12-05 01:23:53 +00:00
zhujinyong
83efbed6f5 * fix bug#371. 2012-12-05 00:41:28 +00:00
zhujinyong
af5b62a922 * fix bug#371. 2012-12-05 00:39:40 +00:00
zhujinyong
891c1065ce * fix bug #371. 2012-12-05 00:38:33 +00:00
zhujinyong
e900722d23 * fix bug#371. 2012-12-05 00:37:07 +00:00
zhujinyong
399f5cbe76 * fix bug #375. 2012-12-04 08:18:58 +00:00
zhujinyong
8624379f6f * fix bug #375. 2012-12-04 07:35:27 +00:00
wangyidong
9087f1b6ca * add two dll file for apache in xampp. 2012-12-04 05:32:18 +00:00
zhujinyong
5065ba7ef5 * fix bug #359. 2012-12-04 01:58:47 +00:00
zhujinyong
920db9783e * fix bug#366. 2012-12-03 08:00:04 +00:00
zhujinyong
d9ce269db4 * fix bug #370. 2012-12-03 07:17:08 +00:00
zhujinyong
a9d4474b7b * fix bug #373. 2012-12-03 05:43:12 +00:00
zhujinyong
41010ad011 * fix bug#374. 2012-12-03 05:22:48 +00:00
zhujinyong
daed2afae7 * fix a bug #378. 2012-12-03 02:46:58 +00:00
wangyidong
ac8324d66e - remove useless code. 2012-12-03 02:32:13 +00:00
zhujinyong
42325b0d3a * fix bug#380. 2012-12-03 02:15:42 +00:00
wangyidong
980a1ebbde * fix a bug for sql file. 2012-12-03 01:45:42 +00:00
wangyidong
f9b9e92e0b * change zentao.sql. 2012-12-03 01:25:07 +00:00
wangyidong
a65c1c249e * change for zh-tw lang file. 2012-12-02 11:05:14 +00:00
zhujinyong
a5140d41aa + add priv check of batch create users. 2012-12-02 10:59:36 +00:00
wangchunsheng
be7fe4eff7 * hightlight the doc menu when view, create or edit a doc. 2012-12-02 10:41:38 +00:00
wangyidong
52da190347 * set action read column to 1. 2012-12-02 10:41:43 +00:00
wangchunsheng
9c30cf55c8 * adjust the table id. 2012-12-02 10:39:13 +00:00
zhujinyong
e3e41ca8ba * code for task#952. 2012-12-02 09:14:31 +00:00
wangyidong
732a020e3a * fix a bug for search box. 2012-12-02 09:11:31 +00:00
zhujinyong
8df260352a * code for task #952. 2012-12-02 09:09:00 +00:00
wangyidong
3525f166bb * fix a bug for keep login. 2012-12-02 07:54:23 +00:00
chencongzhi520@gmail.com
f58b5362bd * code for task#943. 2012-12-02 05:54:07 +00:00
wangchunsheng
f86e04590d * add support of the table border. 2012-12-02 03:15:12 +00:00
wangyidong
787e16d810 * fix bug for no project when unset this project. 2012-12-02 02:54:31 +00:00
zhujinyong
07588583fc * adjust style of p tag. 2012-12-02 02:44:04 +00:00
wangyidong
6ced79b6b6 * remove webapp in group module. 2012-12-02 02:33:18 +00:00
wangyidong
4a66546239 * set default value in flow list. 2012-12-02 02:28:23 +00:00
chencongzhi520@gmail.com
ef8f35fe9f * code for task#913. 2012-12-02 02:24:20 +00:00
wangyidong
63e3d733a0 * add zentaotask zentaotest zentaostory extension in Makefile. 2012-12-02 02:10:28 +00:00
zhujinyong
a8f8823f17 * linux need not check session_save_path. 2012-12-02 01:51:33 +00:00
wangchunsheng
5c60b09b12 * rewrite the doc-view page. 2012-12-02 01:37:19 +00:00
wangyidong
fd5b777517 * upgrade 3.3 to 4.0.beta1. 2012-12-02 01:14:35 +00:00
wangchunsheng
6804084642 + add support of doc when get previous and next records. 2012-12-02 01:06:56 +00:00
wangyidong
4725de8b1b * change for zentao flow. 2012-12-02 00:55:24 +00:00
wangchunsheng
1316901b23 * adjust the tool items of kindeditor.
* adjust the kindeditor path.
2012-12-02 00:29:52 +00:00
wangyidong
9302afa5f1 * remove webapp menu. 2012-12-02 00:29:27 +00:00
wangchunsheng
9d953a4654 * fix the error of sel at 2733. 2012-12-01 09:35:45 +00:00
wangchunsheng
822a2ad5ae * readjust the image upload page's logic. 2012-12-01 08:15:42 +00:00
wangchunsheng
9f969c4662 * adjust the tab index of upload image image.
* fix the css style of image upload page.
2012-12-01 07:45:35 +00:00
wangchunsheng
211b7a3ce3 * adjust the code created by kindeditor. 2012-12-01 06:42:03 +00:00
wangchunsheng
cc5b96591c - move it to /js/ 2012-12-01 02:31:49 +00:00
wangchunsheng
e6f5751828 * move ke to www/js/ 2012-12-01 02:30:45 +00:00
wangyidong
cd4d7b660a * add null size for webapp. 2012-11-30 10:51:48 +00:00
wangyidong
51f50fad77 * adjust webapp lang. 2012-11-30 09:34:53 +00:00
chencongzhi520@gmail.com
7f7ef475f7 * code for task#948. 2012-11-30 09:08:38 +00:00
wangyidong
8610f6b0f1 + add webapp module. 2012-11-30 06:06:33 +00:00
wangchunsheng
fe9cdd4b2a * when upgrade or install, turn off the debug feature. 2012-11-30 03:25:35 +00:00
wangchunsheng
4388b63352 * fix the error of the update3.3.sql. 2012-11-30 03:10:47 +00:00
wangchunsheng
eb4f44e64c * after packging, remove the zentaopm directory. 2012-11-30 03:10:05 +00:00
wangchunsheng
a057e9c9dc * upgrade the version. 2012-11-30 02:24:24 +00:00
wangchunsheng
7bbfbd3bda + add help links. 2012-11-29 08:17:58 +00:00
wangchunsheng
cbb164aac4 * adjust the documents. 2012-11-29 06:54:51 +00:00
wangchunsheng
395c0739e1 * adjust the THANKS document. 2012-11-29 06:51:28 +00:00
wangchunsheng
74193029d0 * adjust the readme documents. 2012-11-29 05:54:04 +00:00
wangchunsheng
08eee9e31e * adjust the install documents. 2012-11-29 05:52:22 +00:00
wangchunsheng
f5ee2e90f2 * when start, change the port of apache and mysql. 2012-11-29 03:34:57 +00:00
wangchunsheng
a04a6b2e79 * rename lampp to lamppctrl. 2012-11-29 02:37:16 +00:00
wangchunsheng
ed3fc47c73 * when packing, copy the modified lampp script. 2012-11-29 02:26:05 +00:00
wangyidong
a5921184a4 * chang name to win2unix. 2012-11-28 07:35:43 +00:00
wangchunsheng
8299741019 * add .bat files to bin.
* keep doc directory.
2012-11-28 07:14:52 +00:00
chencongzhi520@gmail.com
f143a7aa22 * code for task#948. 2012-11-28 06:55:35 +00:00
chencongzhi520@gmail.com
47029366a6 * code for task#948.
* code for notify client.
2012-11-28 06:07:49 +00:00
wangchunsheng
43c2361779 - remove the lampp when clean. 2012-11-28 05:48:57 +00:00
wangchunsheng
96d82b71bc - remove the phpmyadmin in xampp, use the latest version instead. 2012-11-28 05:41:18 +00:00
wangchunsheng
09c5edeaee * upgrade the package for new xampp version. 2012-11-28 05:28:21 +00:00
chencongzhi520@gmail.com
9eca15241e * code for task#948. 2012-11-28 03:10:20 +00:00
chencongzhi520@gmail.com
218f90adfd * delete update4.0.beta1.sql.
* update 3.3.sql.
2012-11-28 03:08:12 +00:00
wangyidong
4e663ff1fe * change renametable of function name to win2unit. 2012-11-28 02:43:33 +00:00
wangchunsheng
10dc55f150 * replace the ioncube loader to 5.4 version. 2012-11-27 14:10:34 +00:00
chencongzhi520@gmail.com
fecb3abb85 * code for task#932. 2012-11-27 06:34:36 +00:00
wangyidong
8f1b6f2ab4 + add bak in windows. 2012-11-26 09:30:54 +00:00
zhujinyong
2903b59fbc * code for task #950. 2012-11-26 09:09:38 +00:00
zhujinyong
f1e02d712e * code for task #950. 2012-11-26 09:05:11 +00:00
zhujinyong
a9b8126f12 * code for task #950. 2012-11-26 09:03:59 +00:00
wangchunsheng
182c3a1d60 * add the link of this two js plugins. 2012-11-26 08:49:14 +00:00
wangyidong
3cdddc61bd * finish task #934. 2012-11-26 08:12:49 +00:00
wangyidong
30c1499d06 * adjust judge delay. 2012-11-26 06:51:08 +00:00
wangyidong
3910229e1d * finish task #901. 2012-11-26 05:34:50 +00:00
wangyidong
7cf9a89178 * finish task #908. 2012-11-26 05:26:15 +00:00
wangchunsheng
4ebb86bdd3 * adjust the mkdir() params. 2012-11-23 11:00:51 +00:00
wangchunsheng
3d6cf4044f + add sliksvn.
* ajust the build.php.
2012-11-23 10:58:29 +00:00
wangchunsheng
2d8e72f92c * adjust the build script for latest xampp version. 2012-11-22 10:22:11 +00:00
wangyidong
9f9969a2bb * change for get config params. 2012-11-22 07:48:20 +00:00
wangyidong
6108ca5439 * change for task #947. 2012-11-22 03:56:56 +00:00
wangyidong
482d9649e5 * finish task #947. 2012-11-22 03:51:15 +00:00
wangyidong
bc17d2b5e6 * finish task #945. 2012-11-22 01:43:24 +00:00
wangyidong
12769523c2 * change priv for task #919. 2012-11-22 01:42:35 +00:00
wangyidong
4aad9ef7bc * finish task #919. 2012-11-22 01:41:37 +00:00
chencongzhi520@gmail.com
b5de8a7d75 * finish task#917. 2012-11-22 00:29:02 +00:00
wangyidong
c395e5c095 * add renametable.php script. 2012-11-21 09:16:52 +00:00
wangyidong
541d8835f8 * finish task #946. 2012-11-21 07:54:52 +00:00
wangyidong
fa743d05d4 * finish task #924. 2012-11-21 03:23:51 +00:00
wangyidong
e74d0a9825 * finish task #927. 2012-11-21 03:21:23 +00:00
wangyidong
c8f8246732 * finish task #922. 2012-11-21 02:35:06 +00:00
wangyidong
c290f08bbe * finish task #902. 2012-11-21 02:27:42 +00:00
chencongzhi520@gmail.com
c31392fdad * finish task#911. 2012-11-21 00:55:46 +00:00
chencongzhi520@gmail.com
af3bda62e2 * finish task#943. 2012-11-21 00:32:02 +00:00
wangyidong
b08073b807 * finish task #914. 2012-11-20 09:16:55 +00:00
chencongzhi520@gmail.com
42905c61ed * finish task#932. 2012-11-20 09:15:28 +00:00
chencongzhi520@gmail.com
68f73144df * refactory the code.
* rename icon-addFile instead icon-add.
 * rename icon-delFile instead icon-delete.
2012-11-20 08:55:35 +00:00
zhujinyong
ed2ad7306d + add session.save_path check.
* adjust align of checking title.
2012-11-20 08:49:28 +00:00
wangyidong
0264aff0d2 * finish task #791. 2012-11-20 08:46:25 +00:00
chencongzhi520@gmail.com
8e0c27ee03 * finish task#931. 2012-11-20 08:24:29 +00:00
chencongzhi520@gmail.com
0d2ce19510 * finish task#921. 2012-11-20 08:04:56 +00:00
wangyidong
7a2642bc8d * finish task #15. 2012-11-20 07:50:57 +00:00
chencongzhi520@gmail.com
c585fb83e5 * finish task#913. 2012-11-20 03:23:45 +00:00
chencongzhi520@gmail.com
b255513ac3 * finis task#910. 2012-11-20 03:00:01 +00:00
chencongzhi520@gmail.com
21dd59fe3b * finish task#909. 2012-11-20 02:49:30 +00:00
wangyidong
cd44d63ec6 * finish for costom zentao type. 2012-11-16 02:27:15 +00:00
zhujinyong
cf5250b0a0 * fix bug #240. 2012-11-15 06:13:57 +00:00
zhujinyong
9e91037cc5 - remove testcase.js. 2012-11-15 02:38:33 +00:00
wangyidong
ef2de0d352 * delete var i in js. 2012-11-09 06:40:42 +00:00
wangyidong
2154615281 * fix a bug for get default param. 2012-11-07 07:40:17 +00:00
wangyidong
593a9f12c1 * revert update1.1.sql. 2012-11-05 08:57:50 +00:00
zhujinyong
3aca2a5416 * change date('Y-m-j') to date('Y-m-d'). 2012-11-02 00:35:42 +00:00
wangyidong
a910d345ae * adjust lang. 2012-11-01 09:15:30 +00:00
zhujinyong
e944f28168 * fix a bug : change date('Y-m-j') to date('Y-m-d'). 2012-11-01 09:12:36 +00:00
zhujinyong
348c12b564 * if date equal today or yesterday, highlight. 2012-10-31 05:35:58 +00:00
zhujinyong
c4f689c7b5 * fix a bug : only type = bydate, check date whether is today. 2012-10-30 08:18:31 +00:00
chencongzhi520@gmail.com
40b8b967e8 * code for bug#358. 2012-10-30 07:04:28 +00:00
zhujinyong
08467d7d97 * fix a bug in ie8: button too small. 2012-10-30 05:43:21 +00:00
chencongzhi520@gmail.com
6cb6fc4599 * code for bug:358.
* refactory syncProduct and syncProject.
2012-10-30 02:47:37 +00:00
chencongzhi520@gmail.com
756a0c2879 * fix bug#358. 2012-10-30 01:48:39 +00:00
zhujinyong
e4aed95dbe * fix bug #350. 2012-10-29 08:07:59 +00:00
chencongzhi520@gmail.com
b1bde8cac5 * fix bug#332. 2012-10-29 07:34:36 +00:00
chencongzhi520@gmail.com
d544ef476a * fix bug#201. 2012-10-29 06:51:19 +00:00
chencongzhi520@gmail.com
1b2630244e * fix bug#356. 2012-10-29 05:43:56 +00:00
1665 changed files with 50336 additions and 61065 deletions

128
Makefile
View File

@@ -1,9 +1,6 @@
VERSION=$(shell head -n 1 VERSION)
all: tgz
sae: tgz build4sina build4sae
syun: tgz build4sina build4yunshangdian
edu: tgz build4edu
linux: tgz build4linux
clean:
@@ -12,35 +9,35 @@ clean:
rm -fr *.zip
rm -fr api*
rm -fr build/linux/lampp
rm -fr sae
rm -fr syun
rm -fr lampp
tgz:
# make the directories.
mkdir -p zentaopms/lib
mkdir -p zentaopms/db
mkdir -p zentaopms/bin
mkdir -p zentaopms/config
mkdir -p zentaopms/www/data/upload
# copy files.
cp -fr framework zentaopms/
cp -fr lib/ zentaopms/
cp -fr config/config.php zentaopms/config/
cp -fr module zentaopms/
cp -fr www/*.ico www/fusioncharts www/*.php www/js www/*.txt www/theme www/.htaccess www/.ztaccess zentaopms/www
cp bin/ztc* bin/computeburn.php bin/getbugs.php bin/initext.php bin/todo.php bin/backup.php bin/checkdb.php bin/minifyfront.php zentaopms/bin
mkdir zentaopms
cp -fr bin zentaopms/
cp -fr config zentaopms/ && rm -fr zentaopms/config/my.php
cp -fr db zentaopms/
cp -fr doc/* zentaopms/
cp -fr tmp zentaopms/
cp -fr doc zentaopms/ && rm -fr zentaopms/doc/phpdoc && rm -fr zentaopms/doc/doxygen
cp -fr framework zentaopms/
cp -fr lib zentaopms/
cp -fr module zentaopms/
cp -fr www zentaopms && rm -fr zentaopms/www/data/ && mkdir -p zentaopms/www/data/upload
cp -fr tmp zentaopms
rm -fr zentaopms/tmp/cache/*
rm -fr zentaopms/tmp/extension/*
rm -fr zentaopms/tmp/log/*
rm -fr zentaopms/tmp/model/*
cp VERSION zentaopms/
# combine js and css files.
cd zentaopms/bin/ && php ./minifyfront.php
mkdir -p zentaopms/build/tools && cp build/tools/minifyfront.php zentaopms/build/tools/
cd zentaopms/build/tools/ && php ./minifyfront.php
rm -fr zentaopms/build
# create the restart file for svn.
touch zentaopms/module/svn/restart
# touch the front.class.php to make it's mtime to new.
touch zentaopms/lib/front/front.class.php
# touch zentaopms/module/svn/restart
# delee the unused files.
find zentaopms -name .svn |xargs rm -fr
find zentaopms -name tests |xargs rm -fr
# notify.zip.
mkdir zentaopms/www/data/notify/
wget http://192.168.1.99/release/notify.zip -O zentaopms/www/data/notify/notify.zip
# change mode.
chmod 777 -R zentaopms/tmp/
chmod 777 -R zentaopms/www/data
@@ -48,81 +45,29 @@ tgz:
chmod 777 zentaopms/module
chmod a+rx zentaopms/bin/*
find zentaopms/ -name ext |xargs chmod -R 777
# add zentaotest zentaotask zentaostory extension.
svn export https://svn.cnezsoft.com/easysoft/trunk/zentaoext/zentaotest
svn export https://svn.cnezsoft.com/easysoft/trunk/zentaoext/zentaotask
svn export https://svn.cnezsoft.com/easysoft/trunk/zentaoext/zentaostory
zip -rm -9 zentaotest.zip zentaotest
zip -rm -9 zentaotask.zip zentaotask
zip -rm -9 zentaostory.zip zentaostory
mv zentaotest.zip zentaopms/tmp/extension
mv zentaostory.zip zentaopms/tmp/extension
mv zentaotask.zip zentaopms/tmp/extension
# zip it.
zip -r -9 ZenTaoPMS.$(VERSION).zip zentaopms
rm -fr zentaopms
patchphpdoc:
sudo cp misc/doc/phpdoc/*.tpl /usr/share/php/data/PhpDocumentor/phpDocumentor/Converters/HTML/frames/templates/phphtmllib/templates/
phpdoc:
phpdoc -d bin,framework,config,lib,module,www -t api -o HTML:frames:phphtmllib -ti ZenTaoPMSAPI<50>ο<EFBFBD><CEBF>ֲ<EFBFBD> -s on -pp on -i *test*
phpdoc -d bin,framework,config,lib,module,www -t api.chm -o chm:default:default -ti ZenTaoPMSAPI<50>ο<EFBFBD><CEBF>ֲ<EFBFBD> -s on -pp on -i *test*
doxygen:
doxygen misc/doc/doxygen/doxygen.conf
build4sina:
# unzip the zentaopms packae.
unzip ZenTaoPMS.$(VERSION).zip
rm -fr ZenTaoPMS.$(VERSION).zip
# move the files under www to zentaopms/
mv zentaopms/www/* zentaopms
# replace the directory of index.php, install.php, upgrade.php.
sed -e 's/..\/framework/framework/g' zentaopms/index.php |sed -e "s/dirname(//" |sed -e 's/)))/))/' >zentaopms/index.php.new
sed -e 's/..\/framework/framework/g' zentaopms/install.php |sed -e "s/dirname(//" |sed -e 's/)))/))/' >zentaopms/install.php.new
grep -v myConfig zentaopms/upgrade.php | grep -v '{' | grep -v '}' | grep -v 'exit' | grep -v checkUpgradeStatus | grep -v debug> zentaopms/upgrade.php.new # remove the checking of myConfig.
sed -e 's/..\/framework/framework/g' zentaopms/upgrade.php.new | sed -e "s/dirname(//" |sed -e 's/)))/))/' > zentaopms/upgrade.php.new
mv zentaopms/index.php.new zentaopms/index.php
mv zentaopms/upgrade.php.new zentaopms/upgrade.php
build4sae:
# remove the data and tmp directory for sae.
rm -fr zentaopms/data zentaopms/www zentaopms/tmp
# process the install.php.
cat zentaopms/install.php.new |grep -v 'setDebug' > zentaopms/install.php
rm -fr zentaopms/install.php.new
# replace the error_log to sae_debug
sed -e 's/error_log/sae_debug/g' zentaopms/framework/router.class.php | sed -e "s/saveSQL/saveSQL4SAE/" >zentaopms/framework/router.class.php.new
mv zentaopms/framework/router.class.php.new zentaopms/framework/router.class.php
# append the savesql.php.
cat build/sae/savesql.php >> zentaopms/framework/helper.class.php
# change the logic of merge model file in helper.class.php.
sed -e 's/\$$app->getTmpRoot/"saemc:\/\/" . \$$app\-\>getTmpRoot/g' zentaopms/framework/helper.class.php >zentaopms/framework/helper.class.new
mv zentaopms/framework/helper.class.new zentaopms/framework/helper.class.php
cp build/sae/mysae.php zentaopms/config/my.php
cp build/sae/sae_app_wizard.xml zentaopms/
# get the extension files.
svn export https://svn.cnezsoft.com/easysoft/trunk/zentaoext/sae
mv sae/lib/saestorage zentaopms/lib/
cp -fr sae/* zentaopms/module/
# create the package.
cp build/sae/config.yaml zentaopms/
cd zentaopms && zip -r -9 ../ZenTaoPMS.$(VERSION).sae.zip * && cd -
rm -fr sae
rm -fr zentaopms
build4yunshangdian:
# rename the install.php.
mv zentaopms/install.php.new zentaopms/install.php
# move the .htaccess to zentaopms/
mv zentaopms/www/.htaccess zentaopms/htaccess
# remove tmp, www, data, init them in my.php
rm -fr zentaopms/www
rm -fr zentaopms/tmp
rm -fr zentaopms/data
# copy the my.php
mkdir zentaopms/config/ext
cp build/sae/mysyun.php zentaopms/config/ext/syun.php
# copy the wizard.xml.
grep -v 'Storage' build/sae/sae_app_wizard.xml | grep -v 'Memcache' > zentaopms/sae_app_wizard.xml
# get the extension files.
svn export https://svn.cnezsoft.com/easysoft/trunk/zentaoext/syun
cp -fr syun/* zentaopms/module/
# create the package.
cd zentaopms && zip -r -9 ../ZenTaoPMS.$(VERSION).syun.zip * && cd -
#rm -fr syun
#rm -fr zentaopms
doxygen doc/doxygen/doxygen.conf
build4linux:
unzip ZenTaoPMS.$(VERSION).zip
rm -fr ZenTaoPMS.$(VERSION).zip
sed -e 's/index.php/\/zentao\/index.php/g' zentaopms/www/.htaccess >zentaopms/www/.htaccess.new
mv zentaopms/www/.htaccess.new zentaopms/www/.htaccess
# build xmapp.
cd ./build/linux/ && ./buildxmapp.sh $(xampp)
mv ./build/linux/lampp ./
@@ -134,12 +79,3 @@ saas:
chmod 777 backup
chmod 777 -R tmp
chmod 777 -R www/data
build4edu:
unzip ZenTaoPMS.$(VERSION).zip
rm -fr ZenTaoPMS.$(VERSION).zip
# get the extension files.
svn export https://svn.cnezsoft.com/easysoft/trunk/zentaoext/edu
cp -fr edu/* zentaopms/
# create the package.
zip -rm -9 ZenTaoPMS.$(VERSION).edu.zip zentaopms
rm -fr edu

View File

@@ -1 +1 @@
3.3.stable
4.2.beta

View File

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

View File

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 7.5 KiB

View File

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

View File

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

View File

Before

Width:  |  Height:  |  Size: 122 KiB

After

Width:  |  Height:  |  Size: 122 KiB

View File

@@ -1,45 +0,0 @@
<?php
/**
1. 修改zentaophp中的version number打tag。
2. 修改ZenTaoPMS中的version
config.php中的version.
install中的version。
3. 修改升级程序。(版本列表。)
4. 打包ZenTaoPMS。
5. 合并目录。
6. 修改www/index.php中的包含路径。
7. 导出新的数据库。 grep -v '\-\-' /mnt/c/zentao.sql |grep -v ^$ |sed "s/DROP/\-\- DROP/" >zentao.sql
8. zip包。
9. windows包。
10. 上传文件。
11. 撰写升级声明。
*/
$phpURL = 'http://zentaophp.googlecode.com/svn/tags/';
$pmsURL = 'http://ZenTaoPMS.googlecode.com/svn/tags/';
$phpTag = getLatestTag($phpURL);
$pmsTag = getLatestTag($pmsURL);
$phpTagURL = $phpURL . $phpTag;
$pmsTagURL = $pmsURL . $pmsTag;
echo $phpTag . "'\t" . $pmsTag . "\n";
chdir('../release/');
echo `svn export $phpTagURL`;
echo `svn export $pmsTagURL`;
/* Get the latest tag under a url. */
function getLatestTag($url)
{
$lines = file($url);
$latestTag = '';
foreach($lines as $line)
{
if(strpos($line, '<li>') !== false) $latestTag = $line;
}
$latestTag = explode('"', $latestTag);
$latestTag = $latestTag[1];
return $latestTag;
}

View File

@@ -1,14 +0,0 @@
<?php
include("../config/my.php");
$demoSql = file("../db/demo.sql");
$output = '';
foreach($demoSql as $sql)
{
if(strpos($sql, 'INSERT') !== false and
strpos($sql, $config->db->prefix . 'config') === false and
strpos($sql, $config->db->prefix . 'company') === false and
strpos($sql, $config->db->prefix . 'group') === false
) $output .= $sql;
}
file_put_contents("../db/demo.sql", $output);

View File

@@ -1,16 +0,0 @@
<?php
include dirname(dirname(__FILE__)) . "/config/my.php";
if($config->requestType == 'PATH_INFO')
{
system('php ztcli "http://localhost/admin-checkdb"', $requestVar);
}
elseif($config->requestType == 'GET')
{
system('php ztcli "http://localhost/?m=admin&f=checkdb"', $requestVar);
}
if(!$requestVar)
{
echo "Check DataBase successfully!\n";
}

View File

@@ -1,49 +0,0 @@
#!/usr/bin/env php
<?php
include dirname(dirname(__FILE__)) . '/lib/api/api.class.php';
$config->zentao->root = ""; // 禅道访问的完整路径包括后面的斜线。比如http://pms.zentao.net/
$config->zentao->account = ""; // 可以访问禅道的帐号需要有超级model调用接口的访问权限。
$config->zentao->password = ""; // 密码。
class computeburn
{
public $config; // the config var.
public $zentao; // the zentao client.
public function __construct($config)
{
$this->initConfig($config);
$this->initZenTao();
}
/* run. */
public function run()
{
$result = $this->zentao->fetchModel('project', 'computeburn');
if(empty($result)) return;
foreach($result as $burns)
{
echo $burns->project . "\t";
echo $burns->projectName . "\t";
echo $burns->date . "\t";
echo $burns->left . "\n";
}
}
/* Init the config. */
private function initConfig($config)
{
$this->config = $config;
}
/* Init the client of zentao api. */
private function initZenTao()
{
$this->zentao = new ztclient($this->config->zentao->root, $this->config->zentao->account, $this->config->zentao->password);
}
}
$computeburn = new computeburn($config);
$computeburn->run();
?>

View File

@@ -1,77 +0,0 @@
#!/usr/bin/env php
<?php
/* 包含http客户端类snoopy。在禅道lib/snoopy里面可以找到。*/
include dirname(dirname(__FILE__)) . '/lib/snoopy/snoopy.class.php';
/* 用来登录的地址,用户名和密码。*/
$zentaoRoot = "http://demo.zentao.net/"; // 请根据实际的情况进行修改。
$account = "demo";
$password = "123456";
$requestType = 'PATH_INFO'; // 可选值: GET|PATH_INFO。
/* 设置API地址。*/
if($requestType == 'GET')
{
/* API地址以GET方式为例。*/
$loginAPI = $zentaoRoot . "?m=user&f=login";
$sessionAPI = $zentaoRoot . "?m=api&f=getSessionID&t=json";
$myBugAPI = $zentaoRoot . "?m=my&f=bug&t=json";
$superMyBugAPI = $zentaoRoot . "?m=api&f=getModel&module=bug&methodName=getUserBugPairs&params=account=$account";
}
elseif($requestType == 'PATH_INFO')
{
/* API地址以PATH_INFO方式为例。*/
$loginAPI = $zentaoRoot . "user-login.json?a=1";
$sessionAPI = $zentaoRoot . "api-getsessionid.json?a=1";
$myBugAPI = $zentaoRoot . "my-bug.json?a=1";
$superMyBugAPI = $zentaoRoot . "api-getmodel-bug-getUserBugPairs-account=$account.json?a=1";
}
/* 获取session. */
$snoopy = new Snoopy;
$snoopy->fetch($sessionAPI);
$session = json_decode($snoopy->results);
$session = json_decode($session->data);
/*用户登录*/
$authHash = md5(md5($password) . $session->rand);
$submitVars["account"] = $account;
$submitVars["password"] = $authHash;
$snoopy->cookies[$session->sessionName] = $session->sessionID;
$snoopy->submit($loginAPI, $submitVars);
/* 直接调用my模块的bugs页面。*/
$snoopy->fetch($myBugAPI . "&$session->sessionName=$session->sessionID");
$result = json_decode($snoopy->results);
if($result->status == 'success' && md5($result->data) == $result->md5)
{
$bugs = json_decode($result->data)->bugs;
}
else
{
echo "called failed or transfered not complete.";
exit;
}
if($bugs)
{
foreach($bugs as $bug) echo $bug->id . "\t" . $bug->title . "\n";
}
else
{
echo 'no bugs' . "\n";
}
/* 通过超级model调用。*/
$snoopy->fetch($superMyBugAPI . "&$session->sessionName=$session->sessionID");
$result = json_decode($snoopy->results);
if(is_object($result))
{
foreach($result as $id=>$bug) echo $id . "\t" . $bug . "\n";
}
else
{
echo 'no bugs' . "\n";
}
?>

92
bin/init.bat Normal file
View File

@@ -0,0 +1,92 @@
@ECHO OFF
SET PATH=%systemRoot%;%systemRoot%\system32;%PATH%
SET lastDir=%cd%
SET baseDir=%~dp0
SET cronDir=%baseDir%cron\
set sysCron=%cronDir%sys.cron
:: get phpcli and pmsRoot
SET phpcli=%1
SET pmsRoot=%2
:input_php
IF "%1"=="" SET /P phpcli="Please input your php path:(example: c:\windows\php.exe)"
if not exist %phpcli% (
echo php path is error
goto input_php
)
:input_url
IF "%2"=="" SET /P pmsRoot="Please input zentao url:(example: http://localhost or http://127.0.0.1:88)"
if %pmsRoot% == '' (
echo zentao url is error
goto input_url
)
:: get pmsRoot
if %pmsRoot:~-1% == / SET pmsRoot=%pmsRoot:~0,-1%
:: get requestType
SET requestType= 'PATH_INFO'
for /f "tokens=3" %%f in ('find /c "'PATH_INFO'" "%baseDir%..\config\my.php"') do set count=%%f
if %count% == 0 SET requestType='GET'
:: create ztcli
SET ztcli= %phpcli% %baseDir%ztcli %*
echo %ztcli% > %baseDir%ztcli.bat
echo ztcli.bat ok
:: create backup.bat
SET backup= %phpcli% %baseDir%php\backup.php
echo %backup% > %baseDir%backup.bat
echo backup.bat ok
:: create dailyreminder.bat
if %requestType% == 'PATH_INFO' (
SET computeburn= %phpcli% %baseDir%ztcli "%pmsRoot%/report-remind"
)else (
SET computeburn= %phpcli% %baseDir%ztcli "%pmsRoot%/?m=report&f=remind"
)
echo %computeburn% > %baseDir%dailyreminder.bat
echo dailyreminder.bat ok
:: create computeburn.bat
if %requestType% == 'PATH_INFO' (
SET computeburn= %phpcli% %baseDir%ztcli "%pmsRoot%/project-computeburn"
)else (
SET computeburn= %phpcli% %baseDir%ztcli "%pmsRoot%/?m=project&f=computeburn"
)
echo %computeburn% > %baseDir%computeburn.bat
echo computeburn.bat ok
:: create checkdb.bat
if %requestType% == 'PATH_INFO' (
SET checkdb= %phpcli% %baseDir%ztcli "%pmsRoot%/admin-checkdb"
)else (
SET checkdb= %phpcli% %baseDir%ztcli "%pmsRoot%/?m=admin&f=checkdb"
)
echo %checkdb% > %baseDir%checkdb.bat
echo checkdb.bat ok
:: create syncsvn.bat
if %requestType% == 'PATH_INFO' (
SET svnrun= %phpcli% %baseDir%ztcli "%pmsRoot%/svn-run"
)else (
SET svnrun= %phpcli% %baseDir%ztcli "%pmsRoot%/?m=svn&f=run"
)
echo %svnrun% > %baseDir%svnrun.bat
echo svnrun.bat ok
:: create crond.bat
SET cron= %phpcli% %baseDir%php\crond.php
echo %cron% > %baseDir%crond.bat
echo crond.bat ok
:: create system cron.
if not exist %cronDir% md %cronDir%
echo # system cron. > %sysCron%
echo #min hour day month week command. >> %sysCron%
echo 0 1 * * * %baseDir%dailyreminder.bat # daily reminder. >> %sysCron%
echo 1 1 * * * %baseDir%backup.bat # backup database and file. >> %sysCron%
echo 1 23 * * * %baseDir%computeburn.bat # compute burndown chart. >> %sysCron%
echo 1-59/2 * * * * %baseDir%svnrun.bat # sync subversion. >> %sysCron%
:: return 0 when success.
exit /b 0

101
bin/init.sh Executable file
View File

@@ -0,0 +1,101 @@
#!/bin/bash
# usage: ./init.sh /usr/bin/php http://localhost
phpcli=$1
pmsRoot=$2
basePath=$(cd "$(dirname "$0")"; pwd)
if [ ! -n "$1" ]; then
while :; do
echo "Please input your php path:(example: /usr/bin/php)"
read phpcli
if [ ! -f $phpcli ]; then
echo "php path is error";
elif [ "$phpcli"x != ""x ]; then
break;
fi
done
fi
if [ ! -n "$2" ]; then
while :; do
echo "Please input zentao url:(example: http://localhost:88/zentao or http://localhost)"
read pmsRoot
if [ -z "$pmsRoot" ]; then
echo "zentao url is error";
else
break;
fi
done
fi
pmsRoot=`echo "$pmsRoot" | sed 's/[/]$//g'`
cat $basePath/../config/my.php |awk '$1!~/^\/\//&& $1~/\$config\->requestType/{requestType = $0} END{print requestType}'| grep -c 'PATH_INFO' > ./init.tmp
if [ "`cat ./init.tmp`" != 0 ];then
requestType='PATH_INFO';
else
requestType='GET';
fi
rm ./init.tmp
# ztcli
ztcli="$phpcli $basePath/ztcli \$*"
echo $ztcli > $basePath/ztcli.sh
echo "ztcli.sh ok"
# backup database
backup="$phpcli $basePath/php/backup.php"
echo $backup > $basePath/backup.sh
echo "backup.sh ok"
# computeburn
if [ $requestType == 'PATH_INFO' ]; then
computeburn="$phpcli $basePath/ztcli '$pmsRoot/project-computeburn'";
else
computeburn="$phpcli $basePath/ztcli '$pmsRoot/?m=project&f=computeburn'";
fi
echo $computeburn > $basePath/computeburn.sh
echo "computeburn.sh ok"
# daily remind
if [ $requestType == 'PATH_INFO' ]; then
checkdb="$phpcli $basePath/ztcli '$pmsRoot/report-remind'";
else
checkdb="$phpcli $basePath/ztcli '$pmsRoot/?m=report&f=remind'";
fi
echo $checkdb > $basePath/dailyreminder.sh
echo "dailyreminder.sh ok"
# check database
if [ $requestType == 'PATH_INFO' ]; then
checkdb="$phpcli $basePath/ztcli '$pmsRoot/admin-checkdb'";
else
checkdb="$phpcli $basePath/ztcli '$pmsRoot/?m=admin&f=checkdb'";
fi
echo $checkdb > $basePath/checkdb.sh
echo "checkdb.sh ok"
# syncsvn.
if [ $requestType == 'PATH_INFO' ]; then
syncsvn="$phpcli $basePath/ztcli '$pmsRoot/svn-run'";
else
syncsvn="$phpcli $basePath/ztcli '$pmsRoot/?m=svn&f=run'";
fi
echo $syncsvn > $basePath/syncsvn.sh
echo "syncsvn.sh ok"
# cron
if [ ! -d "$basePath/cron" ]; then
mkdir $basePath/cron
fi
echo "# system cron." > $basePath/cron/sys.cron
echo "#min hour day month week command." >> $basePath/cron/sys.cron
echo "0 1 * * * $basePath/dailyreminder.sh # dailyreminder." >> $basePath/cron/sys.cron
echo "1 1 * * * $basePath/backup.sh # backup database and file." >> $basePath/cron/sys.cron
echo "1 23 * * * $basePath/computeburn.sh # compute burndown chart." >> $basePath/cron/sys.cron
echo "1-59/2 * * * * $basePath/syncsvn.sh # sync subversion." >> $basePath/cron/sys.cron
cron="$phpcli $basePath/php/crond.php"
echo $cron > $basePath/cron.sh
echo "cron.sh ok"
chmod 755 $basePath/*.sh
exit 0

View File

@@ -1,16 +1,19 @@
<?php
/* Backup the db. */
error_reporting(E_ERROR);
error_reporting(E_ALL ^ E_NOTICE);
/* Include my.php and pclzip class. */
$pmsRoot = dirname(dirname(__FILE__));
include $pmsRoot . '/config/my.php';
include $pmsRoot . '/lib/pclzip/pclzip.class.php';
/* Include config.php and pclzip class. */
$pmsRoot = dirname(dirname(dirname(__FILE__)));
$myConfig = $pmsRoot . '/config/config.php';
$zipClass = $pmsRoot . '/lib/pclzip/pclzip.class.php';
include $myConfig;
include $zipClass;
/* Judge mysqldump cmd setted or not. */
if(!isset($config->mysqldump))
if(empty($config->mysqldump))
{
echo "Please set the mysqldump in my.php:\n";
echo "Please set the mysqldump path in $myConfig:\n";
echo "Just like: \n";
echo '$config->mysqldump = \'/usr/bin/mysqldump\'; for linux' . "\n";
echo '$config->mysqldump = \'D:\xampp\mysql\bin\mysqldump.exe\'; for windows' . "\n";
@@ -26,20 +29,16 @@ if(!file_exists($destDir)) mkdir($destDir, 0777);
/* Backup database. */
$dbRawFile = "db." . date('Ymd') . ".sql";
if($config->db->password)
{
$command = "{$config->mysqldump} -u{$config->db->user} -p{$config->db->password} -P {$config->db->port} {$config->db->name} > {$dbRawFile}";
}
else
{
$command = "{$config->mysqldump} -u{$config->db->user} -P {$config->db->port} {$config->db->name} > {$dbRawFile}";
}
$password = $config->db->password ? "-p{$config->db->password}" : ' ';
$command = "\"{$config->mysqldump}\" -u{$config->db->user} $password -P {$config->db->port} {$config->db->name} > {$dbRawFile}";
echo "Backuping database,";
system($command, $return);
if(!$return)
if($return == 0)
{
$dbZipFile = $destDir . "/" . str_replace("sql", "zip", $dbRawFile);
$archive = new pclzip($dbZipFile);
$archive = new pclzip($dbZipFile);
if($archive->create($dbRawFile))
{
unlink($dbRawFile);
@@ -55,12 +54,12 @@ else
echo "Failed to backup database!\n";
}
/* Backup the data. */
chdir(dirname(dirname(__FILE__)) . "/www");
/* Backup the attachments. */
chdir(dirname(dirname(dirname(__FILE__))) . "/www");
if(!is_dir('data/upload')) die(" No files needed backup.\n");
$dataFile = $destDir . "/" . "file." . date('Ymd', time()) . ".zip";
$archive = new pclzip($dataFile);
echo "Backuping files,";
if($archive->create("data/upload", PCLZIP_OPT_REMOVE_PATH, "data")) die(" successfully saved to $dataFile\n");
$attachFile = $destDir . "/" . "file." . date('Ymd', time()) . ".zip";
$archive = new pclzip($attachFile);
if($archive->create("data/upload", PCLZIP_OPT_REMOVE_PATH, "data")) die(" successfully saved to $attachFile\n");
die("Error : ".$archive->errorInfo(true));

2
bin/checkyaml.php → bin/php/checkyaml.php Normal file → Executable file
View File

@@ -3,7 +3,7 @@
if(count($argv) != 2) die("please set the yaml file.\n");
$filename = $argv[1];
if(!is_file($filename)) die("the yaml file doesn't exit\n");
include '../lib/spyc/spyc.class.php';
include '../../lib/spyc/spyc.class.php';
$extension = Spyc::YAMLLoadString(file_get_contents($filename));
/* Basic info checking. */

121
bin/php/crond.php Executable file
View File

@@ -0,0 +1,121 @@
<?php
/**
* 禅道计划任务服务程序。
* The crond for zentao.
*
* @copyright Copyright 2009-2013 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @license LGPL (http://www.gnu.org/licenses/lgpl.html)
* @author jinyong zhu <zhujinyong@cnezsoft.com>
* @package bin
* @version $Id$
* @link http://www.zentao.net
*/
/* Set pathes and timezone. */
$zentaoPath = dirname(dirname(dirname(__FILE__))) . "/";
$cronPath = $zentaoPath . 'bin/cron';
include $zentaoPath . 'config/config.php';
include $zentaoPath . 'lib/crontab/crontab.class.php';
date_default_timezone_set($config->timezone);
/* Parase crons. */
$crons = parseCron($cronPath);
$lastParsed = time();
printCrons($crons);
/* Start the cron demon. */
while(true)
{
/* If need parse again, re parse the cron files. */
if(needParseAgain($cronPath, $lastParsed))
{
echo "\ncron files changed, re parse them...";
$crons = parseCron($cronPath);
$lastParsed = time();
printCrons($crons);
}
$now = new datetime('now');
foreach($crons as $key => $cron)
{
if($now > $cron['time'])
{
$crons[$key]['time'] = $cron['cron']->getNextRunDate();
$output = array();
$log = '';
exec($cron['command'], $output, $return);
$time = $now->format('G:i:s');
foreach($output as $out) $log .= $out . "\n";
$log = "$time task " . ($key + 1) . " executed,\ncommand: $cron[command].\nreturn : $return.\noutput : $log\n";
echo $log;
logCron($log);
}
}
sleep(40);
}
/* Parse cron file. */
function parseCron($path)
{
chdir($path);
$crons = array();
$files = glob('*');
foreach($files as $file)
{
$rows = file($file);
foreach($rows as $row)
{
$row = preg_replace("/[ \t]+/", ' ', trim($row, " \t\n"));
$row = preg_replace("/#.*/", '', $row);
if($row)
{
preg_match_all('/(\S+\s+){5}|.*/', $row, $matchs);
if($matchs[0])
{
$cron = array();
$cron['schema'] = trim($matchs[0][0]);
$cron['command'] = trim($matchs[0][1]);
$cron['cron'] = CronExpression::factory($cron['schema']);
$cron['time'] = $cron['cron']->getNextRunDate();
$crons[] = $cron;
}
}
}
}
return $crons;
}
/* Print crons. */
function printCrons($crons)
{
echo "\n";
echo 'total ' . count($crons) . " tasks found.\n\n";
foreach($crons as $id => $cron)
{
echo ($id + 1) . "\t$cron[schema]\t$cron[command]\n";
}
}
/* Log cron results. */
function logCron($log)
{
$path = dirname(dirname(dirname(__FILE__))) . '/tmp/log/';
$file = $path . 'cron.' . date('Ymd') . '.log';
$fp = fopen($file, "a");
fwrite($fp, $log);
fclose ($fp);
}
/* Need parse cron files again? */
function needParseAgain($cronPath, $lastParsed)
{
clearstatcache();
chdir($cronPath);
$files = glob('*');
foreach($files as $file) if(filemtime($file) > $lastParsed) return true;
return false;
}

11
bin/php/win2unix.php Executable file
View File

@@ -0,0 +1,11 @@
<?php
include dirname(dirname(dirname(__FILE__))) . "/config/config.php";
if($config->requestType == 'PATH_INFO')
{
system('php ztcli "http://localhost/admin-win2Unix"');
}
elseif($config->requestType == 'GET')
{
system('php ztcli "http://localhost/?m=admin&f=win2Unix"');
}

View File

@@ -1,72 +0,0 @@
#!/usr/bin/env php
<?php
/* 包含http客户端类snoopy。在禅道lib/snoopy里面可以找到。*/
include dirname(dirname(__FILE__)) . '/lib/snoopy/snoopy.class.php';
/* 用来登录的地址,用户名和密码。*/
$zentaoRoot = "http://pms.easysoft.com/";
$account = ""; // 需要设置用户名和密码。
$password = "";
$requestType = "PATH_INFO"; // 禅道系统访问方式,请根据实际的配置进行修改。
if($account == '' and $password == '') die("Must set account and password.\n");
/* 设置API地址。*/
if($requestType == 'GET')
{
/* API地址以GET方式为例。*/
$loginAPI = $zentaoRoot . "?m=user&f=login";
$sessionAPI = $zentaoRoot . "?m=api&f=getSessionID&t=json";
$myTodoAPI = $zentaoRoot . "?m=my&f=todo&t=json";
}
elseif($requestType == 'PATH_INFO')
{
/* API地址以PATH_INFO方式为例。*/
$loginAPI = $zentaoRoot . "user-login.json?a=1";
$sessionAPI = $zentaoRoot . "api-getsessionid.json?a=1";
$myTodoAPI = $zentaoRoot . "my-todo.json?a=1";
}
/* 获取session。 */
$snoopy = new Snoopy;
$snoopy->fetch($sessionAPI);
$session = json_decode($snoopy->results);
$session = json_decode($session->data);
/*用户登录,加密验证。*/
$authHash = md5(md5($password) . $session->rand);
$submitVars["account"] = $account;
$submitVars["password"] = $authHash;
$snoopy->cookies[$session->sessionName] = $session->sessionID;
$snoopy->submit($loginAPI, $submitVars);
/* 直接调用my模块的todo页面。*/
$snoopy->fetch($myTodoAPI . "&$session->sessionName=$session->sessionID");
$result = json_decode($snoopy->results);
if($result->status == 'success' && md5($result->data) == $result->md5)
{
$todos = json_decode($result->data)->todos;
}
else
{
echo "called failed or transfered not complete.";
exit;
}
if($todos)
{
foreach($todos as $todo)
{
echo $todo->id . "\t" .
$todo->type . "\t" .
$todo->pri . "\t" .
$todo->name . "\t" .
$todo->status . "\n";
}
}
else
{
echo "no todos.\n";
}
?>

View File

@@ -1,16 +1,17 @@
#!/usr/bin/env php
<?php
/**
* 禅道系统命令行访问入口。使用方法http://www.zentao.net/help-read-78899.html
* The cli router file of zentaopms.
*
* @copyright Copyright 2009-2012 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @copyright Copyright 2009-2013 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @license LGPL (http://www.gnu.org/licenses/lgpl.html)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package bin
* @version $Id$
* @link http://www.ZenTaoPMS.com
* @link http://www.zentao.net
*/
//error_reporting(0);
error_reporting(E_ALL ^ E_NOTICE ^ E_STRICT);
define('IN_SHELL', true);
/* Judge the args. */
@@ -21,16 +22,36 @@ $request = parse_url(trim($argv[1]));
$_SERVER['HTTP_HOST'] = $request['host'];
/* Load the framework. */
chdir(dirname(__FILE__));
include '../framework/router.class.php';
include '../framework/control.class.php';
include '../framework/model.class.php';
include '../framework/helper.class.php';
include '../config/config.php';
chdir(dirname(dirname(__FILE__)));
include './framework/router.class.php';
include './framework/control.class.php';
include './framework/model.class.php';
include './framework/helper.class.php';
include './config/config.php';
/* Set the PATH_INFO variable. */
if($config->requestType == 'PATH_INFO')
{
$_SERVER['PATH_INFO'] = str_replace($config->webRoot, '', $request['path']);
$path = pathinfo($request['path']);
/* url like http://pms.zentao.net/zentao/my-todo.html, PATH_INFO is 'my-todo.html'. */
if(strpos($path['basename'], $config->requestFix))
{
$_SERVER['PATH_INFO'] = $path['basename'];
}
else
{
/* url like http://pms.zentao.net/zentao/my/, PATH_INFO is 'my'. */
if(is_dir('./module/' . $path['basename']))
{
$_SERVER['PATH_INFO'] = $path['basename'];
}
/* url like http://pms.zentao.net/zentao/, PATH_INFO is '/'. */
else
{
$_SERVER['PATH_INFO'] = '/';
}
}
}
else
{

View File

@@ -1 +0,0 @@
php ztcli %*

View File

@@ -1 +0,0 @@
php ztcli $*

4
build/linux/adduser.sh Executable file
View File

@@ -0,0 +1,4 @@
echo "This tool is used to add user to access phpmyadmin.";
read -p "Account: " account
read -s -p "Password: " password
../bin/htpasswd -b users $account $password

View File

@@ -5,11 +5,13 @@ cd lampp
rm -fr RELEASENOTES
rm -fr error
rm -fr icons
rm -fr licenses
rm -fr logs/*
rm -fr htdocs/*
rm -fr phpmyadmin
rm -fr cgi-bin
rm -fr libexec
rm -fr phpmyadmin
rm -fr php
rm -fr tmp/*
chmod -R 777 tmp
@@ -26,85 +28,24 @@ rm -fr etc/original
rm -fr etc/httpd.conf.bak
rm -fr etc/lampp/startftp
rm -fr etc/ssl*
rm -fr etc/extra/httpd-dav.conf
rm -fr etc/extra/httpd-info.conf
rm -fr etc/extra/httpd-manual.conf
rm -fr etc/extra/httpd-ssl.conf
rm -fr etc/extra/httpd-manual.conf
rm -fr etc/extra/httpd-userdir.conf
rm -fr etc/extra/httpd-multilang-errordoc.conf
rm -fr etc/lampp/startssl
rm -fr etc/extra
rm -fr etc/magic
rm -fr etc/locales.conf
# process httpd conf
grep -v '#' etc/httpd.conf | \
grep -v '^$' | \
grep -v 'mod_actions.so' | \
grep -v 'authn_dbm' | \
grep -v 'authn_anon' | \
grep -v 'authn_dbd' | \
grep -v 'authn_default' | \
grep -v 'authz_groupfile' | \
grep -v 'authz_dbm' | \
grep -v 'authz_owner' | \
grep -v 'authnz_ldap' | \
grep -v 'authz_default' | \
grep -v 'auth_digest_module' | \
grep -v 'cache.so' | \
grep -v 'mod_bucketeer' | \
grep -v 'mod_dumpio' | \
grep -v 'mod_echo' | \
grep -v 'mod_case*' | \
grep -v 'mod_ext_filter*' | \
grep -v 'mod_include' | \
grep -v 'mod_filter' | \
grep -v 'mod_charset_lite' | \
grep -v 'mod_ldap' | \
grep -v 'mod_log_config' | \
grep -v 'mod_logio' | \
grep -v 'mod_cern_meta' | \
grep -v 'mod_headers' | \
grep -v 'mod_ident' | \
grep -v 'mod_usertrack' | \
grep -v 'mod_unique_id' | \
grep -v 'mod_proxy*' | \
grep -v 'mod_dav*' | \
grep -v 'mod_status' | \
grep -v 'mod_asis' | \
grep -v 'mod_info' | \
grep -v 'mod_suexec' | \
grep -v 'mod_cgi*' | \
grep -v 'mod_negotiation' | \
grep -v 'mod_imagemap' | \
grep -v 'mod_speling' | \
grep -v 'mod_userdir' | \
grep -v 'mod_apreq2' | \
grep -v 'mod_ssl' | \
grep -v 'multilang-errordoc' > etc/httpd.conf.lite
mv etc/httpd.conf.lite etc/httpd.conf
cp ../httpd.conf etc/httpd.conf
# process my.cnf
grep -v '^innodb' etc/my.cnf| \
sed -e 's/#skip-innodb/default-storage-engine=MyISAM\nskip-innodb/' | \
grep -v '^#' | \
grep -v '^$' > etc/my.cnf.new
mv etc/my.cnf.new etc/my.cnf
cp ../my.cnf etc/my.cnf
# process php.ini
echo 'zend_extension = /opt/lampp/lib/php/extensions/no-debug-non-zts-20090626/ioncube_loader_lin_5.3.so' > etc/php.ini.new
grep -v '^;' etc/php.ini |\
grep -v '^$' |\
grep -v 'sqlite.so' |\
grep -v 'radius.so' |\
grep -v 'pgsql.so' |\
grep -v 'ming.so' |\
grep -v 'ncurses.so' >> etc/php.ini.new
mv etc/php.ini.new etc/php.ini
cp ../php.ini etc/php.ini
# rm useless binaries.
mv bin bin.bak
mkdir bin
cd bin.bak
cp htpasswd apachectl apxs my_print_defaults mysql mysql.server mysqld_safe mysqldump php php-config phpize httpd ../bin/
cp htpasswd apachectl my_print_defaults mysql mysql.server mysqld_safe mysqldump php php-config phpize httpd ../bin/
cd ../
rm -fr bin.bak
@@ -132,58 +73,44 @@ touch share/lampp/alladdons
chmod a+rx share/lampp/alladdons
# process lib directory.
mv lib/php/extensions lib/phpextensions
rm -fr lib/php
mkdir lib/php
mv lib/phpextensions lib/php/extensions
rm -fr lib/php/extensions/no-debug-non-zts-20090626/interbase.so
rm -fr lib/php/extensions/no-debug-non-zts-20090626/ming.so
rm -fr lib/php/extensions/no-debug-non-zts-20090626/ncurses.so
rm -fr lib/php/extensions/no-debug-non-zts-20090626/oci8.so
rm -fr lib/php/extensions/no-debug-non-zts-20090626/pgsql.so
rm -fr lib/php/extensions/no-debug-non-zts-20090626/radius.so
rm -fr lib/php/extensions/no-debug-non-zts-20090626/sqlite.so
rm -fr lib/perl5
rm -fr lib/proftpd
rm -fr lib/fonts
rm -fr apr-util-1
rm -fr apr.exp
rm -fr aprutil.exp
rm -fr engines
rm -fr fips_premain.c
rm -fr fips_premain.c.sha1
rm -fr gettext
rm -fr icu
rm -fr libapr-1*
rm -fr libapreq2*
rm -fr libdb.so.3
rm -fr libform.so*
rm -fr libicule.so*
rm -fr libiculx.*
rm -fr libicutu.*
rm -fr liblber*
rm -fr libldap_r*
rm -fr libmcrypt
rm -fr libmenu.so*
rm -fr libming.so*
rm -fr libmysqlclient.*
rm -fr libncurses.so*
rm -fr libpanel.so*
rm -fr libpbmscl.so*
rm -fr libpng.so*
rm -fr libsablot.so*
rm -fr libsqlite*
rm -fr libtds.so*
rm -fr libtdssrv.so*
rm -fr libxslt-plugins
rm -fr libzzip-0*
rm -fr libzzipwrap*
rm -fr pkgconfig
rm -fr plugin
rm -fr stjR6sfX
rm -fr terminfo
rm -fr xml2Conf.sh
rm -fr xsltConf.sh
mkdir libnew
cp lib/VERSION libnew/
cp lib/ioncube.so libnew/
cp lib/libapr-1.so.0 libnew/
cp lib/libaprutil-1.so.0 libnew/
cp lib/libc-client.so libnew/
cp lib/libcrypto.so.1.0.0 libnew/
cp lib/libct.so.3 libnew/
cp lib/libcurl.so.4 libnew/
cp lib/libexpat.so.0 libnew/
cp lib/libexslt.so.0 libnew/
cp lib/libfreetype.so.6 libnew/
cp lib/libgcc_s.so.1 libnew/
cp lib/libgdbm.so.2 libnew/
cp lib/libiconv.so.2 libnew/
cp lib/libicudata.so.42 libnew/
cp lib/libicui18n.so.42 libnew/
cp lib/libicuio.so.42 libnew/
cp lib/libicuuc.so.42 libnew/
cp lib/libintl.so.2 libnew/
cp lib/libjpeg.so.62 libnew/
cp lib/liblber-2.4.so.2 libnew/
cp lib/libldap-2.4.so.2 libnew/
cp lib/libmcrypt.so.4 libnew/
cp lib/libncurses.so.5 libnew/
cp lib/libpcre.so.0 libnew/
cp lib/libpng12.so.0 libnew/
cp lib/libpq.so.4 libnew/
cp lib/libsqlite3.so.0 libnew/
cp lib/libssl.so.1.0.0 libnew/
cp lib/libstdc++.so.5 libnew/
cp lib/libsybdb.so.5 libnew/
cp lib/libxml2.so.2 libnew/
cp lib/libxslt.so.1 libnew/
cp lib/libz.so.1 libnew/
rm -fr lib
mv libnew lib
# process var directory.
rm -fr var/perl
@@ -191,13 +118,16 @@ rm -fr var/proftpd*
rm -fr var/mysql/cdcol
rm -fr var/mysql/*.err
rm -fr var/mysql/ib*
rm -fr var/mysql/phpmyadmin
rm -fr var/mysql/test
rm -fr var/mysql/phpmyadmin
rm -fr var/mysql/mysql_upgrade_info
chmod -R 777 var/mysql
# process modules directory.
rm -fr modules/httpd.exp
rm -fr modules/mod_perl.so
rm -fr modules/mod_actions.so
rm -fr modules/mod_allowmethods.so
rm -fr modules/mod_asis.so
rm -fr modules/mod_authn_dbm
rm -fr modules/mod_authn_anon
@@ -207,30 +137,49 @@ rm -fr modules/mod_authz_dbm.so
rm -fr modules/mod_authz_default.so
rm -fr modules/mod_authz_groupfile.so
rm -fr modules/mod_authz_owner.so
rm -fr modules/mod_auth_digest.so
rm -fr modules/mod_auth_form.so
rm -fr modules/mod_authn_anon.so
rm -fr modules/mod_authn_dbd.so
rm -fr modules/mod_authn_dbm.so
rm -fr modules/mod_authn_socache.so
rm -fr modules/mod_authnz_ldap.so
rm -fr modules/mod_authz_dbd.so
rm -fr modules/mod_bucketeer.so
rm -fr modules/mod_buffer.so
rm -fr modules/mod_cache*
rm -fr modules/mod_case**
rm -fr modules/mod_cern_meta.so
rm -fr modules/mod_cgi*
rm -fr modules/mod_charset_lite.so
rm -fr modules/mod_echo.so
rm -fr modules/mod_dav*.so
rm -fr modules/mod_dbd.so
rm -fr modules/mod_disk_cache.so
rm -fr modules/mod_dumpio.so
rm -fr modules/mod_ext_filter.so
rm -fr modules/mod_file_cache.so
rm -fr modules/mod_filter.so
rm -fr modules/mod_headers.so
rm -fr modules/mod_ident.so
rm -fr modules/mod_imagemap.so
rm -fr modules/mod_include.so
rm -fr modules/mod_info.so
rm -fr modules/mod_ldap.so
rm -fr modules/mod_log*.so
rm -fr modules/mod_log_debug.so
rm -fr modules/mod_logio.so
rm -fr modules/mod_lbmethod*
rm -fr modules/mod_mem_cache.so
rm -fr modules/mod_mime_magic.so
rm -fr modules/mod_negotiation.so
rm -fr modules/mod_proxy*
rm -fr modules/mod_reqtimeout.so
rm -fr modules/mod_ratelimit.so
rm -fr modules/mod_remoteip.so
rm -fr modules/mod_request.so
rm -fr modules/mod_sed.so
rm -fr modules/mod_sess*.so
rm -fr modules/mod_slotmem_shm.so
rm -fr modules/mod_socache*.so
rm -fr modules/mod_speling.so
rm -fr modules/mod_ssl.so
rm -fr modules/mod_status.so
@@ -240,9 +189,7 @@ rm -fr modules/mod_unique_id.so
rm -fr modules/mod_userdir.so
rm -fr modules/mod_usertrack.so
rm -fr modules/mod_version.so
# copy customized xmapp config to etc/extra
cp ../zentao.conf etc/extra/httpd-xampp.conf
rm -fr modules/mod_vhost_alias.so
# copy the zentao code.
mv ../../../zentaopms ./zentao
@@ -252,17 +199,28 @@ cp ../Makefile .
cp ../start .
cp ../start88 .
cp ../stop .
cp ../../windows/xampp/index.php htdocs/
# copy sqlbuddy.
mkdir admin
unzip $1/sqlbuddy.zip
mv sqlbuddy admin/
cp ../lamppctl ./lampp
cp ../../windows/index.php htdocs/
# make the auth file
mkdir auth
touch auth/users
echo 'use htpasswd users username password to add a new user.' > auth/readme
cp ../adduser.sh auth/
# process the phpmyadmin
7z x $1/phpmyadmin.7z
mv phpMyAdmin-3.5.5-all-languages phpmyadmin
mv phpmyadmin/locale phpmyadmin/locale.bak
mkdir phpmyadmin/locale
mv phpmyadmin/locale.bak/en_GB phpmyadmin/locale
mv phpmyadmin/locale.bak/zh_* phpmyadmin/locale
rm -fr phpmyadmin/locale.bak
cp ../../windows/phpmyadmin.php phpmyadmin/config.inc.php
rm -fr phpmyadmin/examples
rm -fr phpmyadmin/js/openlayers
rm -fr phpmyadmin/libraries/tcpdf
rm -fr phpmyadmin/Documentation*
rm -fr phpmyadmin/themes/original
# copy the ioncube loader.
cp ../ioncube_loader_lin_5.3.so lib/php/extensions/no-debug-non-zts-20090626/
cp ../ioncube_loader_lin_5.4.so lib/

109
build/linux/httpd.conf Normal file
View File

@@ -0,0 +1,109 @@
# server basic settings.
ServerRoot "/opt/lampp"
DocumentRoot "/opt/lampp/htdocs"
Listen 80
User nobody
Group nogroup
ServerAdmin zentao@localhost.net
ServerName localhost
EnableMMAP off
EnableSendfile off
TypesConfig etc/mime.types
# performance settings.
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 5
UseCanonicalName Off
HostnameLookups Off
# security.
AccessFileName .ztaccess
ServerTokens Prod
ServerSignature Off
# deflat.
AddType image/x-icon .ico
AddType image/gif .gif
AddType image/jpeg .jpg .jpeg
AddType image/png .png
AddType application/javascript .js
DeflateCompressionLevel 9
AddOutputFilterByType DEFLATE text/html text/css application/javascript
# modules.
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule access_compat_module modules/mod_access_compat.so
LoadModule alias_module modules/mod_alias.so
LoadModule authn_core_module modules/mod_authn_core.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule authz_core_module modules/mod_authz_core.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule dir_module modules/mod_dir.so
LoadModule env_module modules/mod_env.so
LoadModule expires_module modules/mod_expires.so
LoadModule filter_module modules/mod_filter.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule mime_module modules/mod_mime.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule unixd_module modules/mod_unixd.so
# php module.
LoadModule php5_module modules/libphp5.so
AddType application/x-httpd-php .php .php3 .php4
# directory settings.
DirectoryIndex index.html index.htm index.php
<Directory />
AllowOverride none
Require all denied
</Directory>
<Directory "/opt/lampp/htdocs">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
<Files ".zt*">
Require all denied
</Files>
# logs
ErrorLog "logs/error_log"
LogLevel warn
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
CustomLog "logs/access_log" combined
# If you want visit zentao like http://localhost/, uncomment these lines.
#<VirtualHost *:80>
# ServerAdmin zentao@local.net
# DocumentRoot "/opt/lampp/zentao/www"
# ServerName localhost
# <Directory />
# AllowOverride none
# Require all granted
# </Directory>
# ErrorLog "logs/error_log"
# CustomLog "logs/access_log" combind
#</VirtualHost>
# setting for zentao.
Alias /zentao "/opt/lampp/zentao/www/"
<Directory "/opt/lampp/zentao/www">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
# setting for admin
Alias /phpmyadmin "/opt/lampp/phpmyadmin"
<Directory "/opt/lampp/phpmyadmin">
AuthName 'zentao admin(run /opt/lampp/auth/adduser.sh to add user.)'
AuthType Basic
AuthUserFile /opt/lampp/auth/users
require valid-user
</Directory>

Binary file not shown.

600
build/linux/lamppctl Executable file
View File

@@ -0,0 +1,600 @@
#!/bin/bash
#
# For RedHat (thanks to Sudhaker Raj):
# chkconfig: 345 95 05
# description: Starts and stops the XAMPP \
# used to control Apache, MySQL, ProFTPD.
# For SuSE:
### BEGIN INIT INFO
# Provides: apache2 httpd2 xampp
# Required-Start: $local_fs $remote_fs $network
# Required-Stop: $local_fs $remote_fs $network
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
# Short-Description: XAMPP
# Description: Starts and stops XAMPP
### END INIT INFO
###############################################################################
# Copyright 2002-2005 by Kai 'Oswald' Seidler, oswald@apachefriends.org, GPL-licensed
function testport() {
if netstat -an | egrep ":$1 .*LISTEN" > /dev/null
then
return 0
else
return 1
fi
}
function testrun() {
if test -f $1
then
pid=`cat $1`
if ps ax 2>/dev/null | egrep "^ *$pid.*$2" > /dev/null
then
return 0
else
rm $1
return 1
fi
else
return 1
fi
}
function osguess() {
if test -f /etc/redhat-release
then
if egrep "9 " /etc/redhat-release > /dev/null
then
if egrep "Fedora" /etc/redhat-release > /dev/null
then
echo "unknown"
return 0
fi
echo "rh9"
return 0
fi
else
echo "unknown"
return 0
fi
}
de="false"
case $LANG in
de*) de="true";;
esac
# we need root to run
if test "`id -u`" -ne 0
then
$de && echo "XAMPP muss als root aufgerufen werden!"
$de || echo "You need to start XAMPP as root!"
exit
fi
# XAMPP is currently 32 bit only
case `uname -m` in
*_64)
if /opt/lampp/bin/php -v > /dev/null 2>&1
then
:
else
$de && echo "XAMPP gibt es zur Zeit nur als 32-Bit Applikation. Bitte verwende eine 32-Bit Kompatibilitaetsbibliothek fuer Dein System."
$de || echo "XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system."
$de || echo "For centos, rhel or fedora systems, please try 'sudo yum install glibc.i686 libgcc.i686 libstdc++.i686'."
$de || echo "For ubuntu, debian systems, please try 'sudo apt-get install 'sudo apt-get install ia32-libs'."
exit
fi
;;
esac
# do we have that new red hat linux 9 with posix native threads?
if test "`osguess`" = "rh9"
then
# for now disable PNTL. if PNTL gets more popular we will support it. - oswald [8apr3]
export LD_ASSUME_KERNEL=2.2.5
#echo "XAMPP: DISABLE PNTL..."
fi
# Thanks to drosenbe! - oswald [3sep10]
if test -z $LD_LIBRARY_PATH
then
export LD_LIBRARY_PATH=/opt/lampp/lib
else
export LD_LIBRARY_PATH=/opt/lampp/lib:$LD_LIBRARY_PATH
fi
# Do we use Oracle? If yes, add Oracle's lib directory to LD_LIBRARY_PATH - oswald [6jul5]
if test -f /opt/lampp/etc/lampp/oraclelib
then
export LD_LIBRARY_PATH=`cat /opt/lampp/etc/lampp/oraclelib`:$LD_LIBRARY_PATH
fi
iswebmin="false";
if test -d /opt/lampp/webmin
then
iswebmin="true";
fi
version=`cat /opt/lampp/lib/VERSION`
bon=""
boff=""
lc="/opt/lampp/etc/lampp"
# Hack to let XAMPP run with SELinux (for Fedora)
/opt/lampp/share/lampp/selinux
case $1 in
"start")
$de && echo "Starte XAMPP fuer Linux $version..."
$de || echo "Starting XAMPP for Linux $version..."
/opt/lampp/share/lampp/nogroupcheck
$0 startapache %
$0 startmysql %
$0 startftp %
$iswebmin && $0 startwebmin %
/opt/lampp/share/lampp/alladdons start
$de && echo "XAMPP fuer Linux gestartet."
$de || echo "XAMPP for Linux started."
;;
"reload")
$0 reloadapache
$0 reloadmysql
$0 reloadftp
/opt/lampp/share/lampp/alladdons reload
;;
"stopssl")
if test -f $lc/startssl
then
if test -f /opt/lampp/logs/httpd.pid
then
$0 stopapache
rm $lc/startssl
$0 startapache
else
$de && echo "XAMPP: XAMPP-Apache laeuft gar nicht."
$de || echo "XAMPP: XAMPP-Apache is not running."
rm $lc/startssl
fi
else
$de && echo "XAMPP: SSL laeuft nicht!"
$de || echo "XAMPP: SSL isn't running!"
fi
;;
"startssl")
if testrun /opt/lampp/logs/httpd.pid httpd
then
if test -f $lc/startssl
then
$de && echo "XAMPP: SSL laeuft bereits!"
$de || echo "XAMPP: SSL is already running!"
else
$0 stopapache
touch $lc/startssl
$0 startapache
fi
else
touch $lc/startssl
$0 startapache
fi
;;
"startapache")
if testrun /opt/lampp/logs/httpd.pid httpd
then
$de && echo "XAMPP: XAMPP-Apache laeuft bereits."
$de || echo "XAMPP: XAMPP-Apache is already running."
else
if testport 80
then
$de && echo "XAMPP: Ein anderer Webserver laeuft bereits."
$de || echo "XAMPP: Another web server daemon is already running."
else
case `$0 phpstatus` in
5*) xampp_apachedefine="$xampp_apachedefine -DPHP5"
$de && phpextra="(und PHP5)"
$de || phpextra="(and PHP5)"
;;
4*) xampp_apachedefine="$xampp_apachedefine -DPHP4"
$de && phpextra="(und PHP4)"
$de || phpextra="(and PHP4)"
;;
esac
if test -f $lc/startssl
then
if testport 443
then
$de && echo "XAMPP: Ein anderer Webserver mit SSL laeuft bereits."
$de || echo "XAMPP: Another web server daemon with SSL is already running."
else
$de && echo "XAMPP: Starte Apache mit SSL $phpextra..."
$de || echo "XAMPP: Starting Apache with SSL $phpextra..."
/opt/lampp/bin/apachectl -k start -DSSL $xampp_apachedefine -E /opt/lampp/logs/error_log
fi
else
$de && echo "XAMPP: Starte Apache..."
$de || echo "XAMPP: Starting Apache..."
/opt/lampp/bin/apachectl -k start $xampp_apachedefine -E /opt/lampp/logs/error_log
fi
error=$?
if test $error -gt 0
then
$de && echo "XAMPP: ${bon}Fehler $error beim Starten vom Apache!${boff}"
$de || echo "XAMPP: ${bon}Error $error! Couldn't start Apache!${boff}"
/opt/lampp/share/lampp/diagnose apache
fi
fi
fi
;;
"startmysql")
if testrun /opt/lampp/var/mysql/`/bin/hostname`.pid mysqld
then
$de && echo "XAMPP: XAMPP-MySQL laeuft bereits."
$de || echo "XAMPP: XAMPP-MySQL is already running."
else
if testport 3306
then
$de && echo "XAMPP: Ein anderer MySQL daemon laeuft bereits."
$de || echo "XAMPP: Another MySQL daemon is already running."
else
$de && echo "XAMPP: Starte MySQL..."
$de || echo "XAMPP: Starting MySQL..."
/opt/lampp/bin/mysql.server start > /dev/null
if test $? -ne 0
then
$de && echo "XAMPP: MySQL konnte nicht gestartet werden!"
$de || echo "XAMPP: Couldn't start MySQL!"
fi
fi
fi
;;
"startwebmin")
if $iswebmin
then
if test "$2" != "%"
then
touch $lc/startwebmin
fi
if test -f $lc/startwebmin
then
if testrun /opt/lampp/var/webmin/miniserv.pid miniserv
then
$de && echo "XAMPP: Webmin laeuft bereits."
$de || echo "XAMPP: Webmin is already running."
else
$de && echo "XAMPP: Starte Webmin..."
$de || echo "XAMPP: Starting Webmin..."
/opt/lampp/etc/webmin/start quiet
fi
fi
else
$de && echo "XAMPP: Webmin ist nicht installiert."
$de || echo "XAMPP: Webmin isn't installed."
fi
;;
"stopwebmin")
if $iswebmin
then
if test -f $lc/startwebmin
then
if testrun /opt/lampp/var/webmin/miniserv.pid miniserv
then
$de && echo "XAMPP: Stoppe Webmin..."
$de || echo "XAMPP: Stopping Webmin..."
/opt/lampp/etc/webmin/stop quiet
else
$de && echo "XAMPP: XAMPP-Webmin laeuft gar nicht."
$de || echo "XAMPP: XAMPP-Webmin is not running."
fi
if test "$2" != "%"
then
rm $lc/startwebmin 2> /dev/null
fi
fi
else
$de && echo "XAMPP: Webmin ist nicht installiert."
$de || echo "XAMPP: Webmin isn't installed."
fi
;;
"startftp")
if test "$2" != "%"
then
touch $lc/startftp
fi
if test -f $lc/startftp
then
if testrun /opt/lampp/var/proftpd.pid proftpd
then
$de && echo "XAMPP: XAMPP-ProFTPD laeuft bereits."
$de || echo "XAMPP: XAMPP-ProFTPD is already running."
else
if testport 21
then
$de && echo "XAMPP: Ein anderer FTP daemon laeuft bereits."
$de || echo "XAMPP: Another FTP daemon is already running."
else
$de && echo "XAMPP: Starte ProFTPD..."
$de || echo "XAMPP: Starting ProFTPD..."
/opt/lampp/sbin/proftpd > /opt/lampp/var/proftpd/start.err 2>&1
error=$?
if test $error -gt 0
then
echo "XAMPP: `cat /opt/lampp/var/proftpd/start.err`"
$de && echo "XAMPP: ${bon}Fehler $error beim Starten von ProFTPD!${boff}"
$de || echo "XAMPP: ${bon}Error $error! Couln't start ProFTPD!${boff}"
fi
fi
fi
fi
;;
"stop")
$de && echo "Stoppe XAMPP fuer Linux $version..."
$de || echo "Stopping XAMPP for Linux $version..."
$0 stopapache %
$0 stopmysql %
$0 stopftp %
$iswebmin && $0 stopwebmin %
/opt/lampp/share/lampp/alladdons stop
$de && echo "XAMPP beendet."
$de || echo "XAMPP stopped."
;;
"stopapache")
if test -f /opt/lampp/logs/httpd.pid
then
if test -f $lc/startssl
then
$de && echo "XAMPP: Stoppe Apache mit SSL..."
$de || echo "XAMPP: Stopping Apache with SSL..."
else
$de && echo "XAMPP: Stoppe Apache..."
$de || echo "XAMPP: Stopping Apache..."
fi
# Thanks to Emilio Paolini <ep@im-netz.de> for the next 12 lines - Oswald, 30sep04
case `$0 phpstatus` in
5*) xampp_apachedefine="$xampp_apachedefine -D PHP5"
$de && phpextra="(und PHP5)"
$de || phpextra="(and PHP5)"
;;
4*) xampp_apachedefine="$xampp_apachedefine -D PHP4"
$de && phpextra="(und PHP4)"
$de || phpextra="(and PHP4)"
;;
esac
/opt/lampp/bin/apachectl $xampp_apachedefine -k stop > /dev/null
sleep 2
#test -f /opt/lampp/logs/httpd.pid && rm /opt/lampp/logs/httpd.pid
else
$de && echo "XAMPP: XAMPP-Apache laeuft gar nicht."
$de || echo "XAMPP: XAMPP-Apache is not running."
fi
;;
"reloadapache")
if test -f /opt/lampp/logs/httpd.pid
then
kill -USR1 `cat /opt/lampp/logs/httpd.pid`
$de && echo "XAMPP: Aktualisiere Apache..."
$de || echo "XAMPP: Reload Apache..."
else
$de && echo "XAMPP: Apache laeuft nicht..."
$de || echo "XAMPP: Apache isn't running..."
fi
;;
"stopmysql")
if test -f /opt/lampp/var/mysql/`/bin/hostname`.pid
then
/opt/lampp/bin/mysql.server stop > /dev/null 2>&1 &
$de && echo "XAMPP: Stoppe MySQL..."
$de || echo "XAMPP: Stopping MySQL..."
sleep 2
test -f /opt/lampp/var/mysql/`/bin/hostname`.pid && rm /opt/lampp/var/mysql/`/bin/hostname`.pid
else
$de && echo "XAMPP: XAMPP-MySQL laeuft gar nicht."
$de || echo "XAMPP: XAMPP-MySQL is not running."
fi
;;
"reloadmysql")
if test -f /opt/lampp/var/mysql/`/bin/hostname`.pid
then
h="`/bin/hostname`"
kill -HUP `cat /opt/lampp/var/mysql/$h.pid`
$de && echo "XAMPP: Aktualisiere MySQL..."
$de || echo "XAMPP: Reload MySQL..."
else
$de && echo "XAMPP: MySQL laeuft nicht..."
$de || echo "XAMPP: MySQL isn't running..."
fi
;;
"stopftp")
if test -f /opt/lampp/var/proftpd.pid
then
kill `cat /opt/lampp/var/proftpd.pid`
$de && echo "XAMPP: Stoppe ProFTPD..."
$de || echo "XAMPP: Stopping ProFTPD..."
else
if test -f $lc/startftp
then
$de && echo "XAMPP: XAMPP-ProFTPD laeuft gar nicht."
$de || echo "XAMPP: XAMPP-ProFTPD is not running."
fi
fi
if test "$2" != "%"
then
rm $lc/startftp 2> /dev/null
fi
;;
"reloadftp")
if test -f /opt/lampp/var/proftpd.pid
then
kill -HUP `cat /opt/lampp/var/proftpd.pid`
$de && echo "XAMPP: Aktualisiere ProFTPD..."
$de || echo "XAMPP: Reload ProFTPD..."
else
$de && echo "XAMPP: ProFTPD laeuft gar nicht..."
$de || echo "XAMPP: ProFTPD isn't running..."
fi
;;
"wizard")
/opt/lampp/bin/php /opt/lampp/share/lampp/wizard.php
;;
"restartapache")
$0 stopapache
sleep 4
$0 startapache
;;
"restart")
$0 stop
sleep 4
$0 start
;;
"security")
/opt/lampp/share/lampp/checkall
;;
"oci8")
/opt/lampp/share/lampp/oci8install
;;
"backup")
/opt/lampp/share/lampp/backup $2
;;
"php4")
/opt/lampp/share/lampp/activatephp 4
;;
"php5")
/opt/lampp/share/lampp/activatephp 5.4.7
;;
"phpstatus")
/opt/lampp/share/lampp/phpstatus
;;
"panel")
exec /opt/lampp/share/xampp-control-panel/xampp-control-panel
;;
"status")
. /opt/lampp/share/lampp/status
;;
"statusraw")
. /opt/lampp/share/lampp/statusraw
;;
start*|stop*|reload*|status*|restart*)
/opt/lampp/share/lampp/addons $*
;;
"version")
$de && echo "Version: XAMPP fuer Linux $version"
$de || echo "Version: XAMPP for Linux $version"
;;
*) if $de
then
echo "Aufruf: $0 <Aktion>"
echo ""
echo " start Starte XAMPP (Apache, MySQL und evtl. weitere)"
echo " startapache Starte nur den Apache"
echo " startssl Starte nur die SSL-Unterstuetzung des Apache"
echo " startmysql Starte nur den MySQL"
echo " startftp Starte nur den ProFTPD"
$iswebmin && echo " startwebmin Starte nur Webmin"
echo ""
echo " stop Stoppe XAMPP (Apache, MySQL und evtl. weitere)"
echo " stopapache Stoppe nur den Apache"
echo " stopssl Stoppe nur die SSL-Unterstuetzung des Apache"
echo " stopmysql Stoppe nur den MySQL"
echo " stopftp Stoppe nur den ProFTPD"
$iswebmin && echo " stopwebmin Stoppe nur Webmin"
echo ""
echo " reload Aktualisiere XAMPP (Apache, MySQL und evtl. weitere)"
echo " reloadapache Aktualisiere nur den Apache"
echo " reloadmysql Aktualisiere nur den MySQL"
echo " reloadftp Aktualisiere nur den ProFTPD"
echo ""
echo " restart Stoppe und starte XAMPP"
echo " security <20>berpruefe XAMPPs Sicherheit"
echo ""
echo " php5 Aktiviere PHP5"
##echo " php4 Aktiviere PHP4"
echo " phpstatus Welches PHP ist aktiv?"
echo ""
echo " backup Backup der XAMPP-Konfig, Logs und Daten erstellen"
echo " panel Startet das grafische XAMPP control panel"
echo ""
else
echo "Usage: $0 <action>"
echo ""
echo " start Start XAMPP (Apache, MySQL and eventually others)"
echo " startapache Start only Apache"
echo " startssl Start only SSL support"
echo " startmysql Start only MySQL"
echo " startftp Start only ProFTPD"
$iswebmin && echo " startwebmin Start only Webmin"
echo ""
echo " stop Stop XAMPP (Apache, MySQL and eventually others)"
echo " stopapache Stop only Apache"
echo " stopssl Stop only SSL support"
echo " stopmysql Stop only MySQL"
echo " stopftp Stop only ProFTPD"
$iswebmin && echo " stopwebmin Stop only Webmin"
echo ""
echo " reload Reload XAMPP (Apache, MySQL and eventually others)"
echo " reloadapache Reload only Apache"
echo " reloadmysql Reload only MySQL"
echo " reloadftp Reload only ProFTPD"
echo ""
echo " restart Stop and start XAMPP"
echo " security Check XAMPP's security"
echo ""
echo " php5 Activate PHP5"
##echo " php4 Activate PHP4"
echo " phpstatus Which version of PHP is active?"
echo ""
echo " backup Make backup file of your XAMPP config, log and data files"
echo " panel Starts graphical XAMPP control panel"
echo ""
fi
;;
esac

45
build/linux/my.cnf Normal file
View File

@@ -0,0 +1,45 @@
[client]
port = 3306
socket = /opt/lampp/var/mysql/mysql.sock
[mysqld]
user = nobody
port = 3306
socket = /opt/lampp/var/mysql/mysql.sock
server-id = 1
key_buffer = 16M
max_allowed_packet = 1M
table_cache = 64
sort_buffer_size = 512K
net_buffer_length = 8K
read_buffer_size = 256K
read_rnd_buffer_size = 512K
myisam_sort_buffer_size = 8M
skip-innodb
default-storage-engine=MyISAM
skip-external-locking
[mysqldump]
quick
max_allowed_packet = 16M
[mysql]
no-auto-rehash
[isamchk]
key_buffer = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M
[myisamchk]
key_buffer = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M
[mysqlhotcopy]
interactive-timeout

129
build/linux/php.ini Normal file
View File

@@ -0,0 +1,129 @@
zend_extension = /opt/lampp/lib/ioncube_loader_lin_5.4.so
[PHP]
engine = On
short_open_tag = On
asp_tags = Off
precision = 14
y2k_compliance = On
output_buffering = 4096
zlib.output_compression = Off
implicit_flush = Off
unserialize_callback_func =
serialize_precision = 100
allow_call_time_pass_reference = Off
safe_mode = Off
safe_mode_gid = Off
safe_mode_include_dir =
safe_mode_exec_dir =
safe_mode_allowed_env_vars = PHP_
safe_mode_protected_env_vars = LD_LIBRARY_PATH
disable_functions =
disable_classes =
expose_php = Off
max_execution_time = 30
max_input_time = 60
memory_limit = 128M
error_reporting = E_ALL | E_STRICT
display_errors = On
display_startup_errors = On
log_errors = On
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
track_errors = On
html_errors = On
error_log = "/opt/lampp/logs/php_error_log"
variables_order = "GPCS"
request_order = "GP"
register_globals = Off
register_long_arrays = Off
register_argc_argv = Off
auto_globals_jit = On
post_max_size = 50M
magic_quotes_gpc = Off
magic_quotes_runtime = Off
magic_quotes_sybase = Off
auto_prepend_file =
auto_append_file =
default_mimetype = "text/html"
doc_root =
user_dir =
enable_dl = Off
file_uploads = On
upload_max_filesize = 50M
allow_url_fopen = On
allow_url_include = Off
default_socket_timeout = 60
[Date]
date.timezone = Europe/Berlin
[Pdo_mysql]
pdo_mysql.cache_size = 2000
pdo_mysql.default_socket=
[MySQL]
mysql.allow_local_infile = On
mysql.allow_persistent = On
mysql.cache_size = 2000
mysql.max_persistent = -1
mysql.max_links = -1
mysql.default_port =
mysql.default_socket =
mysql.default_host =
mysql.default_user =
mysql.default_password =
mysql.connect_timeout = 60
mysql.trace_mode = Off
[MySQLi]
mysqli.max_persistent = -1
mysqli.max_links = -1
mysqli.cache_size = 2000
mysqli.default_port = 3306
mysqli.default_socket =
mysqli.default_host =
mysqli.default_user =
mysqli.default_pw =
mysqli.reconnect = Off
[mysqlnd]
mysqlnd.collect_statistics = On
mysqlnd.collect_memory_statistics = On
[Session]
session.save_handler = files
session.use_cookies = 1
session.use_only_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.cookie_httponly =
session.serialize_handler = php
session.gc_probability = 1
session.gc_divisor = 1000
session.gc_maxlifetime = 1440
session.bug_compat_42 = On
session.bug_compat_warn = On
session.referer_check =
session.entropy_length = 0
session.entropy_file =
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 0
session.hash_function = 0
session.hash_bits_per_character = 5
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
[ldap]
ldap.max_links = -1

View File

@@ -1,24 +1,57 @@
#!/bin/bash
# This file is used to start apache at 80 port and mysql at 3306 port.
# check the directory, must at /opt/lampp.
pwd | grep ^/opt/lampp > /dev/null 2>&1 # check the pwd is /opt/lampp or not.
if [ $? -ne 0 ]
then
# if the pwd is not /opt/lampp, may be the /opt/lampp is a link, check /opt/lampp exists or not.
ls /opt/lampp > /dev/null 2>&1
if [ $? -ne 0 ]
then
echo "The lampp can only run at /opt/lampp"
fi
fi
# check the run user, must be root.
if test "`id -u`" -ne 0
then
echo "You need to start XAMPP as root!"
exit
fi
# replace ports.
sed -e 's/88/80/g' lampp | sed -e 's/3308/3306/g'> lampp.80
mv lampp.80 lampp
sed -e 's/88/80/g' etc/httpd.conf > etc/httpd.conf.80
mv etc/httpd.conf.80 etc/httpd.conf
sed -e 's/88/80/g' etc/extra/httpd-vhosts.conf > etc/extra/httpd-vhosts.conf.80
mv etc/extra/httpd-vhosts.conf.80 etc/extra/httpd-vhosts.conf
sed -e 's/3308/3306/g' etc/my.cnf > etc/my.cnf.3306
mv etc/my.cnf.3306 etc/my.cnf
sed -e 's/3308/3306/g' zentao/config/my.php > zentao/config/my.php.3306
mv zentao/config/my.php.3306 zentao/config/my.php
sed -e 's/3308/3306/g' phpmyadmin/config.inc.php > phpmyadmin/config.inc.php.3306
mv phpmyadmin/config.inc.php.3306 phpmyadmin/config.inc.php
# change directory permissions.
chmod a+rx lampp
chown nobody -R var/mysql
chmod 777 tmp
chmod a+rx -R zentao
chmod 777 -R zentao/tmp
chmod 777 -R zentao/www/data/upload
chmod 777 -R zentao/www/data
chmod 777 zentao/module
find zentao/ -name ext |xargs chmod -R 777
# init the shells in zentao/bin
if [ ! -f ./zentao/bin/backup.sh ]; then
ip=`ifconfig |grep inet|head -n 1 |awk -F':' '{print $2}' |awk -F ' ' '{print $1}'`
pmsRoot=http://$ip/zentao/
./zentao/bin/init.sh /opt/lampp/bin/php $pmsRoot > /dev/null 2>&1
fi
# start apache, mysql.
./lampp start

View File

@@ -1,24 +1,58 @@
#!/bin/bash
# This file is used to start apache at 88 port and mysql at 3308 port.
# check the directory, must at /opt/lampp.
pwd | grep ^/opt/lampp > /dev/null 2>&1 # check the pwd is /opt/lampp or not.
if [ $? -ne 0 ]
then
# if the pwd is not /opt/lampp, may be the /opt/lampp is a link, check /opt/lampp exists or not.
ls /opt/lampp > /dev/null 2>&1
if [ $? -ne 0 ]
then
echo "The lampp can only run at /opt/lampp"
fi
fi
# check the run user, must be root.
if test "`id -u`" -ne 0
then
echo "You need to start XAMPP as root!"
exit
fi
# replace ports.
sed -e 's/80/88/g' lampp | sed -e 's/3306/3308/g' > lampp.88
mv lampp.88 lampp
sed -e 's/80/88/g' etc/httpd.conf > etc/httpd.conf.88
mv etc/httpd.conf.88 etc/httpd.conf
sed -e 's/80/88/g' etc/extra/httpd-vhosts.conf > etc/extra/httpd-vhosts.conf.88
mv etc/extra/httpd-vhosts.conf.88 etc/extra/httpd-vhosts.conf
sed -e 's/3306/3308/g' etc/my.cnf > etc/my.cnf.3308
mv etc/my.cnf.3308 etc/my.cnf
sed -e 's/3306/3308/g' zentao/config/my.php > zentao/config/my.php.3308
mv zentao/config/my.php.3308 zentao/config/my.php
sed -e 's/3306/3308/g' phpmyadmin/config.inc.php > phpmyadmin/config.inc.php.3308
mv phpmyadmin/config.inc.php.3308 phpmyadmin/config.inc.php
# change directory permissions.
chmod a+rx lampp
chown nobody -R var/mysql
chmod 777 tmp
chmod a+rx -R zentao
chmod 777 -R zentao/tmp
chmod 777 -R zentao/www/data/upload
chmod 777 -R zentao/www/data
chmod 777 zentao/module
find zentao/ -name ext |xargs chmod -R 777
# init the shells in zentao/bin
# init the shells in zentao/bin
if [ ! -f ./zentao/bin/backup.sh ]; then
ip=`ifconfig |grep inet|head -n 1 |awk -F':' '{print $2}' |awk -F ' ' '{print $1}'`
pmsRoot=http://$ip:88/zentao/
./zentao/bin/init.sh /opt/lampp/bin/php $pmsRoot > /dev/null 2>&1
fi
# start apache, mysql.
./lampp start

0
build/linux/stop Normal file → Executable file
View File

View File

@@ -1,37 +0,0 @@
# add support for php.
LoadModule php5_module modules/libphp5.so
AddType application/x-httpd-php .php .php3 .php4
# adjust the mime settings.
AddType image/x-icon .ico
AddType image/gif .ico
AddType image/jpeg .jpg .jpeg
AddType image/png .png
AddType application/javascript .js
# setting for zentao.
Alias /zentao "/opt/lampp/zentao/www/"
<Directory "/opt/lampp/zentao/www">
Options Indexes FollowSymLinks ExecCGI Includes
AllowOverride All
</Directory>
# setting for admin
Alias /sqlbuddy "/opt/lampp/admin/sqlbuddy"
<Directory "/opt/lampp/admin">
#Order allow,deny
#Allow from 127.0.0.1
AuthName 'zentao admin'
AuthType Basic
AuthUserFile /opt/lampp/auth/users
require valid-user
</Directory>
# setting of gzip.
<IfModule mod_deflate.c>
DeflateCompressionLevel 9
AddOutputFilterByType DEFLATE text/html text/css application/javascript
</IfModule>
# turn off etag.
FileEtag none

View File

@@ -1,17 +0,0 @@
name: zentao
version: 1
cron:
- description: cron
url: project-computeburn-admin.html
schedule: every day of month 00:00
timezone: Beijing
handle:
- rewrite: if(!is_dir() && !is_file()) goto "index.php/%{REQUEST_URI}"
- compress: if(out_header["Content-Type"] ~ "text") compress
- compress: if(out_header["Content-Type"] ~ "javascript") compress
- expire: if(path ~ "\.js$") time 360000
- expire: if(path ~ "\.css$") time 360000
- expire: if(path ~ "\.gif$") time 360000
- expire: if(path ~ "\.png$") time 360000
- expire: if(path ~ "\.ico$") time 360000
- expire: if(path ~ "\.jpg$") time 360000

View File

@@ -1,31 +0,0 @@
<?php
$config->installed = false;
$config->debug = false;
$config->requestType = 'PATH_INFO';
$config->db->host = SAE_MYSQL_HOST_M;
$config->db->slaveHost = SAE_MYSQL_HOST_S;
$config->db->port = SAE_MYSQL_PORT;
$config->db->name = SAE_MYSQL_DB;
$config->db->user = SAE_MYSQL_USER;
$config->db->password = SAE_MYSQL_PASS;
$config->db->prefix = 'zt_';
$config->db->checkCentOS = false;
$config->slaveDB->host = SAE_MYSQL_HOST_S;
$config->slaveDB->port = SAE_MYSQL_PORT;
$config->slaveDB->name = SAE_MYSQL_DB;
$config->slaveDB->user = SAE_MYSQL_USER;
$config->slaveDB->password = SAE_MYSQL_PASS;
$config->slaveDB->checkCentOS = false;
$config->webRoot = '/';
$config->default->domain = $_SERVER['HTTP_HOST'];
$config->default->lang = 'zh-cn';
$config->sae->storage->domain = 'zentao';
$saeDB = new saemysql();
$saeSQL = "SELECT COUNT(`id`) FROM `" . $config->db->prefix . "config` WHERE 1 LIMIT 0,10";
if($saeDB->getData($saeSQL)) $config->installed = true;
$saeDB->closeDb();

View File

@@ -1,28 +0,0 @@
<?php
$appRoot = dirname(dirname(dirname(__FILE__))) . '/' ;
$sourceHtaccessFile = $appRoot . 'htaccess';
$targetHtaccessFile = $appRoot . '.htaccess';
if(file_exists($sourceHtaccessFile))
{
$targetHtaccessCode = str_replace('index.php', $config->webRoot . 'index.php', file_get_contents($sourceHtaccessFile));
file_put_contents($targetHtaccessFile, $targetHtaccessCode);
}
$tmpRoot = $appRoot . '/tmp/';
if(!is_dir($tmpRoot))
{
mkdir($tmpRoot, 0777);
mkdir($tmpRoot . 'cache', 0777);
mkdir($tmpRoot . 'extension', 0777);
mkdir($tmpRoot . 'log', 0777);
mkdir($tmpRoot . 'model', 0777);
mkdir($tmpRoot . 'svn', 0777);
}
$dataRoot = $appRoot . 'data/';
if(!is_dir($dataRoot))
{
mkdir($dataRoot, 0777);
mkdir($dataRoot . 'upload', 0777);
}

View File

@@ -1,47 +0,0 @@
<appwizard>
<introduction>
<name>禅道项目管理软件SAE版本</name>
<author>青岛易软天创网络科技有限公司</author>
<icon>default_app_icon</icon>
<homepage>http://www.zentao.net/</homepage>
<description>
<![CDATA[
<p>禅道项目管理软件(ZenTaoPMS)是一款国产的基于LGPL协议开源免费的项目管理软件它集产品管理、项目管理、测试管理于一体同时还包含了事务管理、组织管理等诸多功能是中小型企业项目管理的首选。禅道项目管理软件使用PHP + MySQL开发基于自主的PHP开发框架──ZenTaoPHP而成。第三方开发者或者企业可以非常方便的开发插件或者进行定制。</p>
]]>
</description>
</introduction>
<platform>
<services>
<service name="zentao" params="禅道数据存储">Storage</service>
<service size="12M">Memcache</service>
<service>Mysql</service>
</services>
<appconfig>
<tpl>
<![CDATA[
name: <<appname>>
version: <<version>>
cron:
- description: cron
url: project-computeburn-admin.html
schedule: every day of month 00:00
timezone: Beijing
handle:
- rewrite: if(!is_dir() && !is_file()) goto "index.php/%{REQUEST_URI}"
- compress: if(out_header["Content-Type"] ~ "text") compress
- compress: if(out_header["Content-Type"] ~ "javascript") compress
- expire: if(path ~ "\.js$") time 360000
- expire: if(path ~ "\.css$") time 360000
- expire: if(path ~ "\.gif$") time 360000
- expire: if(path ~ "\.png$") time 360000
- expire: if(path ~ "\.ico$") time 360000
- expire: if(path ~ "\.jpg$") time 360000
]]>
</tpl>
</appconfig>
</platform>
<code>
<initScript>index.php</initScript>
</code>
</appwizard>

View File

@@ -1,8 +0,0 @@
function saveSQL4SAE()
{
if(!class_exists('dao')) return;
global $app;
$log = date('Ymd H:i:s') . ": " . $app->getURI() . "; ";
foreach(dao::$querys as $query) $log .= $query . "; ";
sae_debug($log);
}

View File

@@ -6,12 +6,19 @@
class control {}
/* set module root path and included the resource of group module. */
$moduleRoot = '../module/';
$moduleRoot = '../../module/';
include $moduleRoot . '/group/lang/resource.php';
foreach(glob($moduleRoot . '/group/ext/lang/zh-cn/*.php') as $resourceFile)
{
include $resourceFile;
}
$whiteList[] = 'api-getsessionid';
$whiteList[] = 'admin-setflow';
$whiteList[] = 'admin-cleardata';
$whiteList[] = 'bug-buildtemplates';
$whiteList[] = 'bug-exportdata';
$whiteList[] = 'bug-sendmail';
$whiteList[] = 'board-managechild';
$whiteList[] = 'company-create';
$whiteList[] = 'company-delete';
$whiteList[] = 'file-buildform';
@@ -19,36 +26,33 @@ $whiteList[] = 'file-printfiles';
$whiteList[] = 'file-export2csv';
$whiteList[] = 'file-export2xml';
$whiteList[] = 'file-export2html';
$whiteList[] = 'file-export2excel';
$whiteList[] = 'file-export2word';
$whiteList[] = 'file-senddownheader';
$whiteList[] = 'help-field';
$whiteList[] = 'index-testext';
$whiteList[] = 'productplan-commonaction';
$whiteList[] = 'project-managechilds';
$whiteList[] = 'project-tips';
$whiteList[] = 'project-commonaction';
$whiteList[] = 'project-sendmail';
$whiteList[] = 'release-commonaction';
$whiteList[] = 'task-commonaction';
$whiteList[] = 'task-sendmail';
$whiteList[] = 'testtask-sendmail';
$whiteList[] = 'user-login';
$whiteList[] = 'user-deny';
$whiteList[] = 'user-logout';
$whiteList[] = 'mail-set';
$whiteList[] = 'mail-save';
$whiteList[] = 'user-setreferer';
$whiteList[] = 'svn-run';
$whiteList[] = 'admin-ignore';
$whiteList[] = 'admin-register';
$whiteList[] = 'admin-win2unix';
$whiteList[] = 'admin-bind';
$whiteList[] = 'admin-checkdb';
$whiteList[] = 'admin-cleardata';
$whiteList[] = 'bug-sendmail';
$whiteList[] = 'project-commonaction';
$whiteList[] = 'project-sendmail';
$whiteList[] = 'story-commonaction';
$whiteList[] = 'story-sendmail';
$whiteList[] = 'task-sendmail';
$whiteList[] = 'user-setreferer';
$whiteList[] = 'mail-index';
$whiteList[] = 'mail-detect';
$whiteList[] = 'mail-edit';
$whiteList[] = 'mail-test';
$whiteList[] = 'webapp-ajaxaddview';
$whiteList[] = 'report-remind';
/* checking actions of every module. */
echo '-------------action checking-----------------' . "\n";
@@ -71,6 +75,7 @@ foreach(glob($moduleRoot . '*') as $modulePath)
{
$methodName = $method->name;
if(in_array($moduleName . '-' . strtolower($method->name), $whiteList)) continue;
if(strpos($methodName, 'ajax') !== false) continue;
$exits = false;
foreach($lang->resource->$moduleName as $key => $label)
@@ -82,11 +87,32 @@ foreach(glob($moduleRoot . '*') as $modulePath)
}
}
}
/* Checking extension files. */
$extControlFiles = glob($modulePath . '/ext/control/*.php');
if($extControlFiles)
{
foreach($extControlFiles as $extControlFile)
{
$methodFile = substr($extControlFile, strrpos($extControlFile, '/') + 1);
$methodName = substr($methodFile, 0, strpos($methodFile, '.'));
if(in_array($moduleName . '-' . strtolower($methodName), $whiteList)) continue;
if(strpos($methodName, 'ajax') !== false) continue;
$exits = false;
foreach($lang->resource->$moduleName as $key => $label)
{
if(strtolower($methodName) == strtolower($key)) $exits = true;
}
if(!$exits) echo $moduleName . "\t" . $methodName . " not in the list. \n";
}
}
}
/* checking actions of every module. */
echo '-------------lang checking-----------------' . "\n";
include '../config/config.php';
include '../../module/common/lang/zh-cn.php';
include '../../config/config.php';
foreach(glob($moduleRoot . '*') as $modulePath)
{
unset($lang);
@@ -116,11 +142,71 @@ foreach(glob($moduleRoot . '*') as $modulePath)
$key = trim($key);
$lineNO = $lineNO + 1;
echo "module $moduleName need checking, command is:";
echo " vim -O +$lineNO ../module/$moduleName/lang/zh-cn.php +$lineNO ../module/$moduleName/lang/en.php \n";
echo " vim -O +$lineNO ../../module/$moduleName/lang/zh-cn.php +$lineNO ../../module/$moduleName/lang/en.php \n";
break;
}
}
}
}
foreach(glob($modulePath . '/ext/lang/zh-cn/*.php') as $extMainLangFile)
{
$extMainLines = file($extMainLangFile);
$extLangFile = basename($extMainLangFile);
$extEnFile = $modulePath . '/ext/lang/en/' . $extLangFile;
$extLines = file($extEnFile);
foreach($extMainLines as $lineNO => $line)
{
if(strpos($line, '$lang') === false)
{
//if($line != $lines[$lineNO]) echo $moduleName . ' ' . $langKey . ' ' . $lineNO . "\n";
}
else
{
list($mainKey, $mainValue) = explode('=', $line);
list($key, $value) = explode('=', $extLines[$lineNO]);
if(trim($mainKey) != trim($key))
{
$key = trim($key);
$lineNO = $lineNO + 1;
echo "module $moduleName need checking, command is:";
echo " vim -O +$lineNO ../../module/$moduleName/ext/lang/zh-cn/$extLangFile +$lineNO ../../module/$moduleName/ext/lang/en/$extLangFile \n";
break;
}
}
}
}
}
?>
echo '-------------php5.4 synatax checking-----------------' . "\n";
class app {function loadLang() {}}
$app = new app;
$lang = new stdclass();
error_reporting(E_WARNING | E_STRICT );
foreach(glob($moduleRoot . '*') as $modulePath)
{
$moduleName = basename($modulePath);
$cnLangFile = $modulePath . '/lang/zh-cn.php';
$enLangFile = $modulePath . '/lang/en.php';
$configFile = $modulePath . '/config.php';
if(!isset($lang->$moduleName)) $lang->$moduleName = new stdclass();
if(file_exists($cnLangFile)) include $cnLangFile;
if(file_exists($enLangFile)) include $enLangFile;
if(file_exists($configFile)) include $configFile;
}
echo '-------------demo data checking. -----------------' . "\n";
$demoSQL = file("../../db/demo.sql");
foreach($demoSQL as $line => $sql)
{
if(strpos($sql, 'INSERT') === false) continue;
if(strpos($sql, $config->db->prefix . 'config') !== false or
strpos($sql, $config->db->prefix . 'company') !== false or
strpos($sql, $config->db->prefix . 'group') !== false)
{
die('line ' . ($line + 1) . " has error\n");
}
}

2
bin/cn2tw.php → build/tools/cn2tw.php Normal file → Executable file
View File

@@ -3,7 +3,7 @@
$langType = 'zh-tw';
$langDesc = 'zh-tw';
if(empty($langType)) die('lang') . "\n";
foreach(glob('../module/*') as $moduleName)
foreach(glob('../../module/*') as $moduleName)
{
$moduleLangPath = realpath($moduleName) . '/lang/';
$defaultLangFile = $moduleLangPath . 'zh-cn.php';

View File

@@ -3,7 +3,7 @@
$langType = $argv[1];
$langDesc = $argv[2];
if(empty($langType)) die('lang') . "\n";
foreach(glob('../module/*') as $moduleName)
foreach(glob('../../module/*') as $moduleName)
{
$moduleLangPath = realpath($moduleName) . '/lang/';
$defaultLangFile = $moduleLangPath . 'zh-cn.php';

2
bin/getallcommon.php → build/tools/getallcommon.php Normal file → Executable file
View File

@@ -1,7 +1,7 @@
<?php
error_reporting(E_ALL);
$langType = empty($argv[1]) ? 'zh-cn' : $argv[1];
$modules = glob('../module/*');
$modules = glob('../../module/*');
$maxLength = 0;
foreach($modules as $modulePath)
{

6
bin/initext.php → build/tools/initext.php Normal file → Executable file
View File

@@ -2,17 +2,17 @@
/**
* The control file of common module of ZenTaoPMS.
*
* @copyright Copyright 2009-2012 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @copyright Copyright 2009-2013 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @license LGPL (http://www.gnu.org/licenses/lgpl.html)
* @author Chen congzhi <congzhi@cnezsoft.com>
* @package common
* @version $Id$
* @link http://www.zentao.net
*/
include '../config/config.php';
include '../../config/config.php';
$modules = array();
$moduleRoot = realpath('../module/') . '/';
$moduleRoot = realpath('../../module/') . '/';
if(is_dir($moduleRoot))
{

41
bin/minifyfront.php → build/tools/minifyfront.php Normal file → Executable file
View File

@@ -3,7 +3,7 @@
* This file is used to compress css and js files.
*/
$baseDir = dirname(dirname(__FILE__));
$baseDir = dirname(dirname(dirname(__FILE__)));
//--------------------------------- PROCESS JS FILES ------------------------------ //
@@ -31,6 +31,21 @@ file_put_contents($allJSFile, $jsCode);
/* Compress it. */
`java -jar ~/bin/yuicompressor/build/yuicompressor.jar --type js $allJSFile -o $allJSFile`;
/* Set mobile js files to combined. */
$mobileJsFiles[] = $jqueryRoot . 'mobile/jquery-1.10.1.min.js';
$mobileJsFiles[] = $jsRoot . 'm.my.full.js';
$mobileJsFiles[] = $jqueryRoot . 'mobile/jquery.mobile.min.js';
$mobileJsFiles[] = $jqueryRoot . 'jquery.pjax.js';
/* Combine these js files. */
$allJSFile = $jsRoot . 'm.all.js';
$jsCode = '';
foreach($mobileJsFiles as $jsFile) $jsCode .= "\n". file_get_contents($jsFile);
file_put_contents($allJSFile, $jsCode);
/* Compress it. */
`java -jar ~/bin/yuicompressor/build/yuicompressor.jar --type js $allJSFile -o $allJSFile`;
//-------------------------------- PROCESS CSS FILES ------------------------------ //
/* Define the themeRoot. */
@@ -58,7 +73,11 @@ foreach($langs as $lang)
/* Css file for current lang and current them. */
$cssCode .= file_get_contents($themeRoot . "lang/$lang.css");
if($theme != 'default') $cssCode .= file_get_contents($themeRoot . $theme . '/style.css');
if($theme != 'default')
{
$themCode = file_get_contents($themeRoot . $theme . '/style.css');
$cssCode .= str_replace('./images', "../$theme/images", $themCode);
}
/* Combine them. */
$cssFile = $themeRoot . "default/$lang.$theme.css";
@@ -68,3 +87,21 @@ foreach($langs as $lang)
`java -jar ~/bin/yuicompressor/build/yuicompressor.jar --type css $cssFile -o $cssFile`;
}
}
/* Create css files for every them and every lang. */
foreach($langs as $lang)
{
/* Common css files. */
$cssCode = file_get_contents($themeRoot . 'default/jquery.mobile.css');
$cssCode .= file_get_contents($themeRoot . 'default/m.style.css');
/* Css file for current lang and current them. */
$cssCode .= file_get_contents($themeRoot . "lang/$lang.css");
/* Combine them. */
$cssFile = $themeRoot . "default/m.$lang.default.css";
file_put_contents($cssFile, $cssCode);
/* Compress it. */
`java -jar ~/bin/yuicompressor/build/yuicompressor.jar --type css $cssFile -o $cssFile`;
}

2
bin/preparetest.php → build/tools/preparetest.php Normal file → Executable file
View File

@@ -1,5 +1,5 @@
<?php
include '../config/config.php';
include '../../config/config.php';
connectDB();
$databases[] = 'zentao_03';

2
bin/syncext.php → build/tools/syncext.php Normal file → Executable file
View File

@@ -43,7 +43,7 @@ function getFiles($dir, $exceptions = array())
foreach($entries as $entry)
{
if($entry == '.' or $entry == '..' or $entry == '.svn') continue;
if($entry == '.' or $entry == '..' or $entry == '.svn' or $entry == 'db') continue;
if(in_array($entry, $exceptions)) continue;
$fullEntry = $dir . $entry;

0
bin/tags.php → build/tools/tags.php Normal file → Executable file
View File

247
build/windows/build.php Normal file
View File

@@ -0,0 +1,247 @@
<?php
$buildDir = dirname(__FILE__);
chdir($buildDir);
/* include the file class. */
include '../../lib/zfile/zfile.class.php';
$file = new zfile();
/* set xampp package and 7-zip command. */
if(count($argv) != 4) die("php build.php xampp.7z 7zip output.\n");
$xampp = $argv[1] . '\xampp.7z';
$phpmyadmin = $argv[1] . '\phpmyadmin.7z';
$sevenz = $argv[2];
$output = $argv[3];
chdir($output);
/* extract the xampp package. */
echo "extracting xampp package ...";
echo `$sevenz x -y $xampp`;
echo `$sevenz x -y $phpmyadmin`;
/* rm useless files. */
error_reporting(E_ALL);
$file->removeDir('./xampp/cgi-bin');
$file->removeDir('./xampp/contrib');
$file->removeDir('./xampp/install');
$file->removeDir('./xampp/licenses');
$file->removeDir('./xampp/locale');
$file->removeDir('./xampp/mailoutput');
$file->removeDir('./xampp/mailtodisk');
$file->removeDir('./xampp/perl');
$file->removeDir('./xampp/sendmail');
$file->removeDir('./xampp/security');
$file->batchRemoveFile('./xampp/tmp/*');
$file->removeDir('./xampp/webdav');
$file->batchRemoveFile('./xampp/*.txt');
$file->batchRemoveFile('./xampp/*.bat');
$file->batchRemoveFile('./xampp/*.exe');
$file->batchRemoveFile('./xampp/*.ini');
/* Process apache module. */
$file->batchRemoveFile('./xampp/apache/*.txt');
$file->batchRemoveFile('./xampp/apache/*.bat');
$file->rename('./xampp/apache/modules', './xampp/apache/modulesold');
$file->mkdir('./xampp/apache/modules');
$file->copyFile('./xampp/apache/modulesold/mod_access_compat.so', './xampp/apache/modules/mod_access_compat.so');
$file->copyFile('./xampp/apache/modulesold/mod_auth_basic.so', './xampp/apache/modules/mod_auth_basic.so');
$file->copyFile('./xampp/apache/modulesold/mod_auth_basic.so', './xampp/apache/modules/mod_auth_basic.so');
$file->copyFile('./xampp/apache/modulesold/mod_authz_core.so', './xampp/apache/modules/mod_authz_core.so');
$file->copyFile('./xampp/apache/modulesold/mod_mime.so', './xampp/apache/modules/mod_mime.so');
$file->copyFile('./xampp/apache/modulesold/mod_expires.so', './xampp/apache/modules/mod_expires.so');
$file->copyFile('./xampp/apache/modulesold/mod_env.so', './xampp/apache/modules/mod_env.so');
$file->copyFile('./xampp/apache/modulesold/mod_rewrite.so', './xampp/apache/modules/mod_rewrite.so');
$file->copyFile('./xampp/apache/modulesold/mod_setenvif.so', './xampp/apache/modules/mod_setenvif.so');
$file->copyFile('./xampp/apache/modulesold/mod_autoindex.so', './xampp/apache/modules/mod_autoindex.so');
$file->copyFile('./xampp/apache/modulesold/mod_authz_user.so', './xampp/apache/modules/mod_authz_user.so');
$file->copyFile('./xampp/apache/modulesold/mod_authz_host.so', './xampp/apache/modules/mod_authz_host.so');
$file->copyFile('./xampp/apache/modulesold/mod_alias.so', './xampp/apache/modules/mod_alias.so');
$file->copyFile('./xampp/apache/modulesold/mod_dir.so', './xampp/apache/modules/mod_dir.so');
$file->copyFile('./xampp/apache/modulesold/mod_deflate.so', './xampp/apache/modules/mod_deflate.so');
$file->copyFile('./xampp/apache/modulesold/mod_filter.so', './xampp/apache/modules/mod_filter.so');
$file->copyFile('./xampp/apache/modulesold/mod_log_config.so', './xampp/apache/modules/mod_log_config.so');
$file->removeDir('./xampp/apache/modulesold');
/* Remove apache's error, icons, include, lib, logs directory. */
$file->removeDir('./xampp/apache/cgi-bin');
$file->removeDir('./xampp/apache/error');
$file->removeDir('./xampp/apache/icons');
$file->removeDir('./xampp/apache/include');
$file->removeDir('./xampp/apache/lib');
$file->removeDir('./xampp/apache/conf/extra');
$file->batchRemoveFile('./xampp/apache/logs/*.log');
$file->batchRemoveFile('./xampp/apache/*.pl');
$file->removeDir('./xampp/apache/manual');
$file->rename('./xampp/apache/bin', './xampp/apache/binold');
$file->mkdir('./xampp/apache/bin');
$file->copyFile('./xampp/apache/binold/htpasswd.exe', './xampp/apache/bin/htpasswd.exe');
$file->copyFile('./xampp/apache/binold/httpd.exe', './xampp/apache/bin/httpd.exe');
$file->copyFile('./xampp/apache/binold/libapr-1.dll', './xampp/apache/bin/libapr-1.dll');
$file->copyFile('./xampp/apache/binold/libapriconv-1.dll', './xampp/apache/bin/libapriconv-1.dll');
$file->copyFile('./xampp/apache/binold/libaprutil-1.dll', './xampp/apache/bin/libaprutil-1.dll');
$file->copyFile('./xampp/apache/binold/libhttpd.dll', './xampp/apache/bin/libhttpd.dll');
$file->copyFile('./xampp/apache/binold/zlib1.dll', './xampp/apache/bin/zlib1.dll');
$file->copyFile('./xampp/apache/binold/pv.exe', './xampp/apache/bin/pv.exe');
$file->copyFile('./xampp/apache/binold/libeay32.dll', './xampp/apache/bin/libeay32.dll');
$file->copyFile('./xampp/apache/binold/ssleay32.dll', './xampp/apache/bin/ssleay32.dll');
$file->copyFile('./xampp/apache/binold/pcre.dll', './xampp/apache/bin/pcre.dll');
$file->copyFile('./xampp/apache/binold/msvcr100.dll', './xampp/apache/bin/msvcr100.dll');
$file->removeDir('./xampp/apache/binold');
/* Process the apache's config file. */
$file->copyFile($buildDir . '/httpd.conf', './xampp/apache/conf/httpd.conf');
/* Remove useless config files. */
$file->removeDir('./xampp/apache/conf/ssl.crl');
$file->removeDir('./xampp/apache/conf/ssl.crt');
$file->removeDir('./xampp/apache/conf/ssl.csr');
$file->removeDir('./xampp/apache/conf/ssl.key');
$file->removeFile('./xampp/apache/conf/magic');
$file->removeFile('./xampp/apache/conf/charset.conv');
/* Empty the htdocs directory. */
$file->removeDir('./xampp/htdocs');
$file->mkdir('./xampp/htdocs');
/* Process mysql. */
$file->removeDir('./xampp/mysql/backup');
$file->removeDir('./xampp/mysql/include');
$file->removeDir('./xampp/mysql/lib');
$file->removeDir('./xampp/mysql/scripts');
$file->removeDir('./xampp/mysql/sql-bench');
/* Process mysql's bin directory. */
$file->rename('./xampp/mysql/bin', './xampp/mysql/binold');
$file->mkdir('./xampp/mysql/bin');
$file->copyFile('./xampp/mysql/binold/mysql.exe', './xampp/mysql/bin/mysql.exe');
$file->copyFile('./xampp/mysql/binold/mysqld.exe', './xampp/mysql/bin/mysqld.exe');
$file->copyFile('./xampp/mysql/binold/mysqldump.exe', './xampp/mysql/bin/mysqldump.exe');
$file->removeFile('./xampp/mysql/binold/my.ini');
$file->removeDir('./xampp/mysql/binold');
/* Process mysql's share diectory. */
$file->rename('./xampp/mysql/share', './xampp/mysql/shareold');
$file->mkdir('./xampp/mysql/share');
$file->mkdir('./xampp/mysql/share/english');
$file->copyFile('./xampp/mysql/shareold/english/errmsg.sys', './xampp/mysql/share/english/errmsg.sys');
$file->removeDir('./xampp/mysql/shareold');
$file->removeFile('./xampp/mysql/resetroot.bat');
/* Process mysql's data directory. */
$file->removeDir('./xampp/mysql/data/test');
$file->removeDir('./xampp/mysql/data/webauth');
$file->removeDir('./xampp/mysql/data/cdcol');
$file->removeDir('./xampp/mysql/data/phpmyadmin');
$file->batchRemoveFile('./xampp/mysql/data/ib*');
$file->batchRemoveFile('./xampp/mysql/data/mysql*');
/* Remove mysql's useless config files. */
$file->batchRemoveFile('./xampp/mysql/my-*');
$file->removeFile('./xampp/mysql/README');
$file->removeFile('./xampp/mysql/COPYING');
/* Process mysql's conf file. */
$file->copyFile($buildDir . '/my.ini', './xampp/mysql/my.ini');
/* Processing php. */
$file->removeDir('./xampp/php/cfg');
$file->removeDir('./xampp/php/extras');
$file->removeDir('./xampp/php/data');
$file->removeDir('./xampp/php/DB');
$file->removeDir('./xampp/php/dev');
$file->removeDir('./xampp/php/docs');
$file->removeDir('./xampp/php/PEAR');
$file->removeDir('./xampp/php/tests');
$file->removeDir('./xampp/php/Text');
$file->removeDir('./xampp/php/tmp');
$file->removeDir('./xampp/php/www');
$file->removeDir('./xampp/php/scripts');
$file->batchRemoveFile('./xampp/php/dbunit*');
$file->batchRemoveFile('./xampp/php/*.bat');
$file->batchRemoveFile('./xampp/php/*.txt');
$file->batchRemoveFile('./xampp/php/php.ini-*');
$file->batchRemoveFile('./xampp/php/*.reg');
$file->batchRemoveFile('./xampp/php/pci*');
$file->batchRemoveFile('./xampp/php/*.phar');
$file->batchRemoveFile('./xampp/php/php-*.exe');
$file->batchRemoveFile('./xampp/php/phpcov');
$file->batchRemoveFile('./xampp/php/phptok');
$file->batchRemoveFile('./xampp/php/phpunit');
$file->batchRemoveFile('./xampp/php/*.php');
$file->batchRemoveFile('./xampp/php/phpcs');
$file->batchRemoveFile('./xampp/php/phpdoc');
$file->batchRemoveFile('./xampp/php/phpuml');
$file->batchRemoveFile('./xampp/php/*.sh');
$file->batchRemoveFile('./xampp/php/logs/*');
$file->batchRemoveFile('./xampp/php/php5embed.lib');
$file->rename('./xampp/php/php5apache2_4.dll', './xampp/php/php5apache2_4.bak');
$file->rename('./xampp/php/php5ts.dll', './xampp/php/php5ts.bak');
$file->rename('./xampp/php/ssleay32.dll', './xampp/php/ssleay32.dll.bak');
$file->rename('./xampp/php/libeay32.dll', './xampp/php/libeay32.dll.bak');
$file->rename('./xampp/php/libsasl.dll', './xampp/php/libsasl.dll.bak');
$file->batchRemoveFile('./xampp/php/*.dll');
$file->rename('./xampp/php/php5apache2_4.bak', './xampp/php/php5apache2_4.dll');
$file->rename('./xampp/php/php5ts.bak', './xampp/php/php5ts.dll');
$file->rename('./xampp/php/ssleay32.dll.bak', './xampp/php/ssleay32.dll');
$file->rename('./xampp/php/libeay32.dll.bak', './xampp/php/libeay32.dll');
$file->copyFile('./xampp/php/libsasl.dll.bak', './xampp/apache/bin/libsasl.dll');
$file->rename('./xampp/php/libsasl.dll.bak', './xampp/php/libsasl.dll');
/* Process php ini file. */
$file->copyFile($buildDir . '/php.ini', './xampp/php/php.ini');
/* Process php's ext directory. */
$file->rename('./xampp/php/ext', './xampp/php/extold');
$file->mkdir('./xampp/php/ext');
$file->copyFile('./xampp/php/extold/php_bz2.dll', './xampp/php/ext/php_bz2.dll');
$file->copyFile('./xampp/php/extold/php_gd2.dll', './xampp/php/ext/php_gd2.dll');
$file->copyFile('./xampp/php/extold/php_imap.dll', './xampp/php/ext/php_imap.dll');
$file->copyFile('./xampp/php/extold/php_mbstring.dll', './xampp/php/ext/php_mbstring.dll');
$file->copyFile('./xampp/php/extold/php_mysql.dll', './xampp/php/ext/php_mysql.dll');
$file->copyFile('./xampp/php/extold/php_mysqli.dll', './xampp/php/ext/php_mysqli.dll');
$file->copyFile('./xampp/php/extold/php_pdo_mysql.dll', './xampp/php/ext/php_pdo_mysql.dll');
$file->copyFile('./xampp/php/extold/php_sockets.dll', './xampp/php/ext/php_sockets.dll');
$file->copyFile('./xampp/php/extold/php_openssl.dll', './xampp/php/ext/php_openssl.dll');
$file->copyFile('./xampp/php/extold/php_ldap.dll', './xampp/php/ext/php_ldap.dll');
$file->copyFile('./xampp/php/extold/php_curl.dll', './xampp/php/ext/php_curl.dll');
$file->removeDir('./xampp/php/extold');
/* Process phpmyadmin. */
$file->removeDir('./xampp/phpMyAdmin');
$file->copyDir('./phpMyAdmin-3.5.5-all-languages', './xampp/phpmyadmin/');
$file->mkdir('./xampp/phpmyadmin/locale.new');
$file->copyDir('./xampp/phpmyadmin/locale/zh_CN', './xampp/phpmyadmin/locale.new/zh_CN');
$file->copyDir('./xampp/phpmyadmin/locale/zh_TW', './xampp/phpmyadmin/locale.new/zh_TW');
$file->copyDir('./xampp/phpmyadmin/locale/en_GB', './xampp/phpmyadmin/locale.new/en_GB');
$file->removeDir('./xampp/phpmyadmin/locale');
$file->rename('./xampp/phpmyadmin/locale.new', './xampp/phpmyadmin/locale');
$file->copyFile($buildDir . '/phpmyadmin.php', './xampp/phpmyadmin/config.inc.php');
$file->removeDir('./xampp/phpmyadmin/themes/original/');
$file->removeDir('./xampp/phpmyadmin/examples/');
$file->removeDir('./xampp/phpmyadmin/js/openlayers/');
$file->removeDir('./xampp/phpmyadmin/libraries/tcpdf/');
$file->batchRemoveFile('./xampp/phpmyadmin/Documentation*');
/* Process the svn. */
$file->copyDir($buildDir . '/svn/silksvn/', './xampp/silksvn');
$file->mkdir('./xampp/zentao/module/svn/ext/config');
$file->copyFile($buildDir . '/svn/svn.php', './xampp/zentao/module/svn/ext/config/svn.php');
/* Copy index.php. */
$file->copyFile($buildDir . '/index.php', './xampp/htdocs/index.php');
/* Copy ioncube loader. */
$file->copyFile($buildDir . '/ioncube_loader_win_5.4.dll', './xampp/php/ext/ioncube_loader_win_5.4.dll');
/* Copy serive bat file. */
$file->copyDir($buildDir . '/services', './xampp/services');
/* Copy the readme.txt. */
$file->copyFile($buildDir . '/readme.txt', './xampp/readme.txt');

113
build/windows/httpd.conf Normal file
View File

@@ -0,0 +1,113 @@
# server basic settings.
ServerRoot "/xampp/apache"
DocumentRoot "/xampp/htdocs"
Listen 80
ServerAdmin zentao@localhost.net
ServerName localhost:80
PidFile "logs/httpd.pid"
# performance settings.
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 5
UseCanonicalName Off
HostnameLookups Off
ThreadsPerChild 150
MaxRequestsPerChild 0
#Win32DisableAcceptEx
# security
AccessFileName .ztaccess
ServerTokens Prod
ServerSignature Off
# deflat.
AcceptFilter http none
DeflateCompressionLevel 9
AddOutputFilterByType DEFLATE text/html text/css application/javascript
# modules
LoadModule access_compat_module modules/mod_access_compat.so
LoadModule alias_module modules/mod_alias.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule authz_core_module modules/mod_authz_core.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule dir_module modules/mod_dir.so
LoadModule env_module modules/mod_env.so
LoadModule expires_module modules/mod_expires.so
LoadModule filter_module modules/mod_filter.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule mime_module modules/mod_mime.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
# php module
LoadFile "/xampp/php/php5ts.dll"
LoadModule php5_module "/xampp/php/php5apache2_4.dll"
<FilesMatch "\.php$">
SetHandler application/x-httpd-php
</FilesMatch>
<IfModule php5_module>
PHPINIDir "/xampp/php"
</IfModule>
<IfModule mime_module>
AddType text/html .php .phps
</IfModule>
# directory settings.
DirectoryIndex index.html index.htm index.php
<Directory />
AllowOverride none
Require all denied
</Directory>
<Directory "/xampp/htdocs">
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
<Files ".zt*">
Require all denied
</Files>
# logs
ErrorLog "logs/error_log"
LogLevel warn
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
CustomLog "logs/access_log" combined
# If you want visit zentao like http://localhost/, uncomment these lines.
#<VirtualHost *:80>
# ServerAdmin zentao@local.net
# DocumentRoot "/xampp/zentao/www"
# ServerName localhost:80
# <Directory />
# AllowOverride none
# Require all granted
# </Directory>
# ErrorLog "logs/error_log"
# CustomLog "logs/access_log" combind
#</VirtualHost>
# setting for zentao.
Alias /zentao "/xampp/zentao/www/"
<Directory "/xampp/zentao/www">
Order deny,allow
Allow from all
AllowOverride All
Require all granted
</Directory>
# setting for admin
Alias /phpmyadmin "/xampp/phpmyadmin/"
<Directory "/xampp/phpmyadmin">
AllowOverride AuthConfig
Require all granted
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Directory>

View File

@@ -7,34 +7,40 @@ $config->langs['en'] = 'EN';
$lang->cn->title = '欢迎使用禅道集成运行环境!';
$lang->cn->poweredBy = "由<a href='http://www.apachefriends.org/' target='_blank'>xampp</a>精简而来";
$lang->cn->links['zentao']['link'] = '/zentao/';
$lang->cn->links['zentao']['text'] = '访问禅道';
$lang->cn->links['zentao']['target'] = '_self';
$lang->cn->links['official']['link'] = 'http://www.zentao.net/';
$lang->cn->links['official']['text'] = '禅道官网';
$lang->cn->links['official']['target'] = '_blank';
$lang->cn->links['sqlbudyy']['link'] = '/sqlbuddy/';
$lang->cn->links['sqlbudyy']['text'] = '数据库管理';
$lang->cn->links['sqlbudyy']['target'] = '_blank';
$lang->cn->links['phpinfo']['link'] = '?mode=phpinfo';
$lang->cn->links['phpinfo']['text'] = 'PHP信息';
$lang->cn->links['phpinfo']['target'] = '_blank';
$lang->cn->links['zentao']['link'] = '/zentao/';
$lang->cn->links['zentao']['text'] = '访问禅道';
$lang->cn->links['zentao']['target'] = '_self';
$lang->cn->links['official']['link'] = 'http://www.zentao.net/';
$lang->cn->links['official']['text'] = '禅道官网';
$lang->cn->links['official']['target'] = '_blank';
$lang->cn->links['phpmyadmin']['link'] = '/phpmyadmin/';
$lang->cn->links['phpmyadmin']['text'] = '数据库管理';
$lang->cn->links['phpmyadmin']['target'] = '_blank';
$lang->cn->links['phpinfo']['link'] = '?mode=phpinfo';
$lang->cn->links['phpinfo']['text'] = 'PHP信息';
$lang->cn->links['phpinfo']['target'] = '_blank';
$lang->en->title = 'Welcome to use zentao!';
$lang->en->poweredBy = "reduced from <a href='http://www.apachefriends.org/' target='_blank'>xampp</a>";
$lang->en->links['zentao']['link'] = '/zentao/';
$lang->en->links['zentao']['text'] = 'ZenTao';
$lang->en->links['zentao']['target'] = '_self';
$lang->en->links['official']['link'] = 'http://www.zentao.net/';
$lang->en->links['official']['text'] = 'Community';
$lang->en->links['official']['target'] = '_blank';
$lang->en->links['sqlbudyy']['link'] = '/sqlbuddy/';
$lang->en->links['sqlbudyy']['text'] = 'MySQL';
$lang->en->links['sqlbudyy']['target'] = '_blank';
$lang->en->links['phpinfo']['link'] = '?mode=phpinfo';
$lang->en->links['phpinfo']['text'] = 'PHP';
$lang->en->links['phpinfo']['target'] = '_blank';
$lang->en->links['zentao']['link'] = '/zentao/';
$lang->en->links['zentao']['text'] = 'ZenTao';
$lang->en->links['zentao']['target'] = '_self';
$lang->en->links['official']['link'] = 'http://www.zentao.net/';
$lang->en->links['official']['text'] = 'Community';
$lang->en->links['official']['target'] = '_blank';
$lang->en->links['phpmyadmin']['link'] = '/phpmyadmin/';
$lang->en->links['phpmyadmin']['text'] = 'MySQL';
$lang->en->links['phpmyadmin']['target'] = '_blank';
$lang->en->links['phpinfo']['link'] = '?mode=phpinfo';
$lang->en->links['phpinfo']['text'] = 'PHP';
$lang->en->links['phpinfo']['target'] = '_blank';
if(is_file('./my.php')) include './my.php';

Binary file not shown.

51
build/windows/my.ini Normal file
View File

@@ -0,0 +1,51 @@
[client]
port = 3306
socket = "/xampp/mysql/mysql.sock"
[mysqld]
server-id = 1
port = 3306
socket = "/xampp/mysql/mysql.sock"
basedir = "/xampp/mysql"
tmpdir = "/xampp/tmp"
datadir = "/xampp/mysql/data"
pid_file = "mysql.pid"
key_buffer = 16M
max_allowed_packet = 1M
table_cache = 64
sort_buffer_size = 512K
net_buffer_length = 8K
read_buffer_size = 256K
read_rnd_buffer_size = 512K
myisam_sort_buffer_size = 8M
plugin_dir = "/xampp/mysql/data/lib/plugin/"
skip-federated
skip-innodb
default-storage-engine=MyISAM
log_error = "mysql_error"
[mysqldump]
quick
max_allowed_packet = 16M
[mysql]
no-auto-rehash
[isamchk]
key_buffer = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M
[myisamchk]
key_buffer = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M
[mysqlhotcopy]
interactive-timeout

152
build/windows/php.ini Normal file
View File

@@ -0,0 +1,152 @@
zend_extension = "/xampp/php/ext/ioncube_loader_win_5.4.dll"
[PHP]
engine = On
short_open_tag = Off
asp_tags = Off
precision = 14
y2k_compliance = On
output_buffering = 4096
zlib.output_compression = Off
implicit_flush = Off
unserialize_callback_func =
serialize_precision = 100
allow_call_time_pass_reference = Off
safe_mode = Off
safe_mode_gid = Off
safe_mode_include_dir =
safe_mode_exec_dir =
safe_mode_allowed_env_vars = PHP_
safe_mode_protected_env_vars = LD_LIBRARY_PATH
disable_functions =
disable_classes =
zend.enable_gc = On
expose_php = Off
max_execution_time = 30
max_input_time = 60
memory_limit = 128M
error_reporting = E_ALL | E_STRICT
display_errors = On
display_startup_errors = On
log_errors = On
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
track_errors = On
html_errors = On
error_log = "logs/php_error"
variables_order = "GPCS"
request_order = "GP"
register_globals = Off
register_long_arrays = Off
register_argc_argv = Off
auto_globals_jit = On
post_max_size = 50M
magic_quotes_gpc = Off
magic_quotes_runtime = Off
auto_prepend_file =
auto_append_file =
default_mimetype = "text/html"
include_path = ".;/xampp/php/PEAR"
doc_root =
user_dir =
extension_dir = "/xampp/php/ext"
enable_dl = On
file_uploads = On
upload_tmp_dir = "/xampp/tmp"
upload_max_filesize = 50M
max_file_uploads = 20
allow_url_fopen = On
allow_url_include = Off
default_socket_timeout = 60
extension=php_bz2.dll
extension=php_curl.dll
extension=php_mbstring.dll
extension=php_gd2.dll
extension=php_mysql.dll
extension=php_mysqli.dll
extension=php_pdo_mysql.dll
extension=php_sockets.dll
extension=php_ldap.dll
extension=php_openssl.dll
[Date]
date.timezone = Asia/Shanghai
[Pdo_mysql]
pdo_mysql.cache_size = 2000
pdo_mysql.default_socket = "MySQL"
[MySQL]
mysql.allow_local_infile = On
mysql.allow_persistent = On
mysql.cache_size = 2000
mysql.max_persistent = -1
mysql.max_links = -1
mysql.default_port = 3306
mysql.default_socket = "MySQL"
mysql.default_host =
mysql.default_user =
mysql.default_password =
mysql.connect_timeout = 3
mysql.trace_mode = Off
[MySQLi]
mysqli.max_persistent = -1
mysqli.allow_local_infile = On
mysqli.allow_persistent = On
mysqli.max_links = -1
mysqli.cache_size = 2000
mysqli.default_port = 3306
mysqli.default_socket = "MySQL"
mysqli.default_host =
mysqli.default_user =
mysqli.default_pw =
mysqli.reconnect = Off
[mysqlnd]
mysqlnd.collect_statistics = On
mysqlnd.collect_memory_statistics = Off
[Session]
session.save_handler = files
session.save_path = "/xampp/tmp"
session.use_cookies = 1
session.use_only_cookies = 0
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.cookie_httponly =
session.serialize_handler = php
session.gc_probability = 1
session.gc_divisor = 1000
session.gc_maxlifetime = 1440
session.bug_compat_42 = On
session.bug_compat_warn = On
session.referer_check =
session.entropy_length = 0
session.entropy_file =
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 0
session.hash_function = 0
session.hash_bits_per_character = 5
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"

View File

@@ -0,0 +1,9 @@
<?php
$cfg['Servers'][1]['auth_type'] = 'config';
$cfg['Servers'][1]['user'] = 'root';
$cfg['Servers'][1]['password'] = '';
$cfg['Servers'][1]['port'] = '3306';
$cfg['Servers'][1]['host'] = 'localhost';
$cfg['Servers'][1]['connect_type'] = 'tcp';
$cfg['Servers'][1]['extension'] = 'mysqli';
$cfg['Servers'][1]['AllowNoPassword'] = true;

Some files were not shown because too many files have changed in this diff Show More