Commit Graph
7218 Commits
Author SHA1 Message Date
liugang a253a09cab + [refac] Add a method to get database charset and collation. 2025-11-20 18:16:33 +08:00
liugang dc3fa3bdac + [refac] Add a method to get the server charset and collation. 2025-11-20 18:16:33 +08:00
liugang 3d56851172 * [refac] Improve charset encoding validation in dbh constructor. 2025-11-20 18:16:33 +08:00
sunhao 14cc90f974 * [bug #67050] fix ai prompts menu show in api-view. 2025-11-20 17:14:10 +08:00
朱金勇 c41f796c52 * [highgo] Fix exception. 2025-11-20 16:40:54 +08:00
daitingting 9669375c45 * [bug#66785,done,3h] Check estimate required. 2025-11-20 16:18:14 +08:00
liugang 14096dcfa7 * [misc] Reinstall the Spout and PhpSpreadsheet libraries using Composer to apply the patch. 2025-11-19 11:00:03 +08:00
liugang b0990ca34a * [misc] Replace strict return types with ReturnTypeWillChange attribute for PHP compatibility
- Update Box/Spout iterator return types to use #[\ReturnTypeWillChange] instead of strict typing
- Update PhpSpreadsheet iterator return types to use #[\ReturnTypeWillChange] instead of strict typing
- Improve compatibility across PHP 7.4-8.4 by using more flexible return type annotations
2025-11-19 11:00:03 +08:00
朱金勇 f2601880e8 * [highgo] Fix bug #66774. 2025-11-19 09:51:22 +08:00
刘刚 ad73532a2b Merge branch release/21.7.7 of zentao/zentaopms (#12412) 2025-11-19 08:54:59 +08:00
朱金勇 e4885a3c19 * [highgo] Remove comment. 2025-11-19 08:44:34 +08:00
sunhao 787c40242d * [bug #66435] fix zentao list url in doc with diffence rquest type. 2025-11-18 19:22:37 +08:00
liugang 8c1b9dd5e8 * [refac] Improve PHPExcel class with better error handling and type checking. 2025-11-18 15:19:25 +08:00
liugang 8ff59d8ffe * [refac] Optimize performance by caching argument count in delegate class. 2025-11-18 15:03:23 +08:00
liugang 72fa47f3ee * [misc] Parameter names can only contain letters and numbers. 2025-11-18 14:58:09 +08:00
liugang 2c66a07457 * [misc] Move the open curly brace to the beginning of next line. 2025-11-18 14:38:18 +08:00
liugang 48de97b681 * [misc] Use "static" keyword instead of "self". 2025-11-18 14:38:18 +08:00
liugang 6046750236 * [misc] Set default config when constructor parameter is empty. 2025-11-18 14:38:18 +08:00
liugang 1172119ef1 * [misc] Reinstall the third-party libraries by composer. 2025-11-18 14:38:18 +08:00
liugang bfd0d7015e * [misc] Fix non-numeric value encountered error by patch of the PclZip library. 2025-11-18 14:38:18 +08:00
liugang aad0765407 * [misc] Fix return type declarations for iterator methods to ensure compatibility with PHP 8+ strict typing requirements. 2025-11-18 14:38:18 +08:00
tianshujie 5481f02e68 * [bug#67174,done,0.2h] remove fromBug field under the lite vision. 2025-11-18 11:46:03 +08:00
刘刚 43c6a9358e Merge branch release/21.7.7 of zentao/zentaopms (#12388) 2025-11-18 09:01:06 +08:00
朱金勇 d72fcc90cb - [highgo] Remove default value. 2025-11-18 08:59:08 +08:00
wangyuting 56472b29c1 * [task#149681,done,0.1h,0h] Finish testtask view. 2025-11-18 08:31:32 +08:00
wangyuting 0376f39959 * [task#149680,done,4h,0h] Finish joint testtask browse. 2025-11-18 08:31:32 +08:00
liugang 89d59cdc6a * [misc] Extend PHP 8 compatibility patches for iterator return types
- Complete box-spout PHP 8 compatibility by adding return type declarations for CSV, ODS iterator classes
- Extend phpspreadsheet iterator patch to include RowCellIterator, RowIterator, ColumnCellIterator, and ColumnIterator classes
- Add mixed return type for current() and key() methods to comply with PHP 8.1+ Iterator interface requirements
- Add void return type for rewind() and next() methods
- Add bool return type for valid() method

These patches ensure full PHP 8 compatibility for third-party spreadsheet libraries used in ZenTao PMS.
2025-11-14 16:12:11 +08:00
liugang 064a828d39 * [misc] Fix the error "Trying to access array offset on value of type int" by patch of the phpspreadsheet library. 2025-11-14 16:12:11 +08:00
liugang 93312a7341 * [misc] Fix the error "Trying to access array offset on value of type null" by patch of the phpspreadsheet library. 2025-11-14 16:12:11 +08:00
liugang a6a2c940f2 - [misc] Remove useless libraries. 2025-11-12 11:54:17 +08:00
liugang 55015236f5 * [misc] Add return type declarations by patch of the spout library. 2025-11-12 10:14:41 +08:00
刘刚 bdbfa8f10d Merge branch release/21.7.7 of zentao/zentaopms (#12262) 2025-11-11 11:16:16 +08:00
朱金勇 8168995563 * [highgo] Fix bug #67106. 2025-11-11 09:16:26 +08:00
sunhao 0d9dee533e * [misc] support for setting initial content to zen-editor by attribute. 2025-11-11 08:51:22 +08:00
刘刚 bcf319433b Merge branch release/21.7.7 of zentao/zentaopms (#12256) 2025-11-11 08:50:05 +08:00
朱金勇 261b54dfed * [highgo] Fix exception. 2025-11-10 18:23:17 +08:00
朱金勇 eec2195017 * [highgo] Change private to protected getUniqueIndexes. 2025-11-10 17:04:53 +08:00
sunhao cf88ca1cac * [refac] refactor and fix disabled property undefined. 2025-11-10 16:53:30 +08:00
sunhao 190e449015 * [bug #67090] fix page not update as expected in install steps. 2025-11-10 16:26:29 +08:00
朱金勇 46527acc16 * [highgo] Fix table like 't1.id' 2025-11-08 23:04:51 +08:00
tianshujie bf13568a14 * [misc] Compatible with zen unit test. 2025-11-07 15:34:20 +08:00
liugang 8c61aa93b8 * [misc] Fix the deprecated implicitly nullable parameter types. 2025-11-07 15:18:27 +08:00
sunhao a99c33cb7c * [misc] fix backend data leak vulnerability, only support getting data in allow-list for logoned user. 2025-11-07 11:50:22 +08:00
liugang d1831af7c6 * [misc] Remove the rector library and phpstan library. 2025-11-07 11:27:55 +08:00
tianshujie 2fa92b3fb7 * [bug#67031,done,0.2h] fix module tree active error. 2025-11-07 10:52:02 +08:00
朱金勇 5f61972baa * [highgo] Format attr. 2025-11-07 09:52:55 +08:00
liugang 423bc7284c * [misc] Update the rector library. 2025-11-06 16:46:33 +08:00
liugang 91238269c3 * [misc] Fix libxml php8 compatibility by patch of the phpspreadsheet library. 2025-11-06 16:46:33 +08:00
liugang f319d1c424 * [misc] Add javascript sdk for zentao client. 2025-11-06 16:20:56 +08:00
朱金勇 183db59e36 * [highgo] replace iqchar 2025-11-06 16:04:30 +08:00