From: GitHub <no...@gi...> - 2012-09-10 13:29:56
|
Branch: refs/heads/master Home: https://github.com/mantisbt/mantisbt Commit: b6e90223837f52cdac4c476c1ac16eaf2a63f797 https://github.com/mantisbt/mantisbt/commit/b6e90223837f52cdac4c476c1ac16eaf2a63f797 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: 87c74234552a5de07c6ae0e5ac220001ff84dbdb https://github.com/mantisbt/mantisbt/commit/87c74234552a5de07c6ae0e5ac220001ff84dbdb 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: cfa022bc1c7dd61d52ed22a8811811f14fbab5ae https://github.com/mantisbt/mantisbt/commit/cfa022bc1c7dd61d52ed22a8811811f14fbab5ae 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/ac7effb4aa59...cfa022bc1c7d |