From: GitHub <no...@gi...> - 2012-09-10 13:29:42
|
Branch: refs/heads/master-1.2.x Home: https://github.com/mantisbt/mantisbt Commit: 7aa07d86f2fa721e67ffd17839c373c4d81a3fea https://github.com/mantisbt/mantisbt/commit/7aa07d86f2fa721e67ffd17839c373c4d81a3fea Author: JGuilbaud <gi...@la...> Date: 2012-09-10 (Mon, 10 Sep 2012) Changed paths: M manage_proj_edit_page.php Log Message: ----------- Hide file upload path on project edit page if storage is DB The upload_file_path config option is not needed when attachments are stored in DB, and displaying it is confusing to user. Fixes #14700 Original patch updated to comply with coding guidelines Signed-off-by: Damien Regad <dam...@me...> Commit: e536cbcd159856b39a80ccb31489fa712e87f304 https://github.com/mantisbt/mantisbt/commit/e536cbcd159856b39a80ccb31489fa712e87f304 Author: Damien Regad <dam...@me...> Date: 2012-09-10 (Mon, 10 Sep 2012) Changed paths: M manage_proj_edit_page.php Log Message: ----------- Missing project override in project edit page This is causing the config_get() calls to return the option for the default project instead of the one being edited, which is potentially incorrect. Fixes #14701 Commit: b1a1bbaeb690b7611899ae8075586d655155d18c https://github.com/mantisbt/mantisbt/commit/b1a1bbaeb690b7611899ae8075586d655155d18c Author: Damien Regad <dam...@me...> Date: 2012-09-10 (Mon, 10 Sep 2012) Changed paths: M account_prefs_inc.php M core/html_api.php Log Message: ----------- User with access to single project defaults to it, not all projects Since 1.2, if a user has access to only one project, the project selection box at top right isn't shown. This was causing issues as new users accounts have 'All projects' as their default: - user can't report issues (no link for all projects) - categories displayed are prefixed with [project] Until this commit, users had to define their (single) project as default using preferences to work around the problem; this is no longer needed. Function html_login_info() now sets the current project as appropriate if user has only access to a single one, and also defines that as the default. The account preferences page has also been modified to only include 'All projects' in the selection list when user has more than one project available. Fixes #9826, #14268 Compare: https://github.com/mantisbt/mantisbt/compare/27b4f79fa531...b1a1bbaeb690 |