From: GitHub <no...@gi...> - 2013-04-16 21:02:59
|
Branch: refs/heads/master Home: https://github.com/mantisbt/mantisbt Commit: 6dbc35266b507390704b2b8c9758b466700ef390 https://github.com/mantisbt/mantisbt/commit/6dbc35266b507390704b2b8c9758b466700ef390 Author: Damien Regad <dam...@me...> Date: 2013-04-16 (Tue, 16 Apr 2013) Changed paths: M core/project_api.php Log Message: ----------- Removed unused API function project_file_is_name_unique() Commit: 360ffc0f2b6128212eec4044d4bb76db58db5519 https://github.com/mantisbt/mantisbt/commit/360ffc0f2b6128212eec4044d4bb76db58db5519 Author: Damien Regad <dam...@me...> Date: 2013-04-16 (Tue, 16 Apr 2013) Changed paths: M core/file_api.php Log Message: ----------- Modify file_is_name_unique() API to work for project files also Previously this function would only work for bug attachments, and another API function project_file_is_name_unique() would take care of projects. The latter was removed as it was not used, and this one amended in case it's ever required to check for uniqueness of a project file. It also makes sense to regroup file-related functions in file_api.php. Issue #15572 Commit: 65c4ce7b5647bdca45852b859f85f741fbb5b913 https://github.com/mantisbt/mantisbt/commit/65c4ce7b5647bdca45852b859f85f741fbb5b913 Author: Damien Regad <dam...@me...> Date: 2013-04-16 (Tue, 16 Apr 2013) Changed paths: M core/file_api.php Log Message: ----------- Revise and improve diskfile_is_name_unique() Prior to this, the API would only check for a file's uniqueness by looking up the bug_file table, and did not actually checking the file system for an existing file. This causes 2 potential issues: - we could have a duplicate in the file system and therefore unwittingly overwrite it with a new file - it was not possible to use the function for for project docs Fixes #15572 Commit: 8259623fafd83380caaa79e7a079c60d1f84a76d https://github.com/mantisbt/mantisbt/commit/8259623fafd83380caaa79e7a079c60d1f84a76d Author: Damien Regad <dam...@me...> Date: 2013-04-16 (Tue, 16 Apr 2013) Changed paths: M core/file_api.php Log Message: ----------- PHPdoc updates Commit: 8b29d42ba4ad4526b34ff4e0c98ffdd0ef9c7d5e https://github.com/mantisbt/mantisbt/commit/8b29d42ba4ad4526b34ff4e0c98ffdd0ef9c7d5e Author: Damien Regad <dam...@me...> Date: 2013-04-16 (Tue, 16 Apr 2013) Changed paths: A admin/move_attachments.php A admin/move_attachments_page.php R admin/move_db2disk.php M admin/system_utils.php M core/file_api.php M core/project_api.php Log Message: ----------- Full rewrite the Move Attachments admin page The old move_db2disk.php program was completely outdated and did not work properly. This commit introduces completely new page, with dissociated page to select which attachments to move, and action page to actually move the files from DB to disk Fixes #15496 Conflicts on cherry-pick from master-1.2.x: admin/move_db2disk.php admin/system_utils.php Commit: 2f3baa33cac08fe6c0d04472ee1eeb19747f4acc https://github.com/mantisbt/mantisbt/commit/2f3baa33cac08fe6c0d04472ee1eeb19747f4acc Author: Damien Regad <dam...@me...> Date: 2013-04-16 (Tue, 16 Apr 2013) Changed paths: M admin/move_attachments.php Log Message: ----------- Fix redirection to system utils page after moving attachments Compare: https://github.com/mantisbt/mantisbt/compare/fe90bbeca62d...2f3baa33cac0 |