[obs-commits] [openSUSE/open-build-service] 64b7ce: [webui] Hide the trigger services link
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 64b7ceb5b87b200c687c76774e8b998c1b61c7f2 https://github.com/openSUSE/open-build-service/commit/64b7ceb5b87b200c687c76... Author: Ana María Martínez Gómez <ammartinez@suse.com> Date: 2016-10-05 (Wed, 05 Oct 2016) Changed paths: M src/api/app/controllers/webui/package_controller.rb M src/api/app/views/webui/package/show.html.erb M src/api/spec/cassettes/Packages/behaves_like_user_tab/group_roles/Add_group_to_package_/_project.yml M src/api/spec/cassettes/Packages/behaves_like_user_tab/group_roles/Add_role_to_group.yml M src/api/spec/cassettes/Packages/behaves_like_user_tab/group_roles/Remove_role_from_group.yml M src/api/spec/cassettes/Packages/behaves_like_user_tab/group_roles/Viewing_group_roles.yml M src/api/spec/cassettes/Packages/behaves_like_user_tab/user_roles/Add_role_to_user.yml M src/api/spec/cassettes/Packages/behaves_like_user_tab/user_roles/Add_user_to_package_/_project.yml M src/api/spec/cassettes/Packages/behaves_like_user_tab/user_roles/Remove_role_from_user.yml M src/api/spec/cassettes/Packages/behaves_like_user_tab/user_roles/Viewing_user_roles.yml M src/api/spec/cassettes/Packages/branching_a_package/from_another_user_s_project.yml M src/api/spec/cassettes/Packages/changing_the_package_s_devel_project.yml M src/api/spec/cassettes/Packages/deleting_a_package.yml M src/api/spec/cassettes/Packages/editing_package_files/editing_an_existing_file.yml M src/api/spec/cassettes/Packages/requesting_package_deletion.yml M src/api/spec/cassettes/Packages/triggering_package_rebuild/via_binaries_view.yml M src/api/spec/cassettes/Packages/triggering_package_rebuild/via_live_build_log.yml M src/api/spec/cassettes/Projects/branching/an_existing_package.yml M src/api/spec/cassettes/Projects/branching/an_existing_package_but_chose_a_different_target_package_name.yml M src/api/spec/cassettes/Projects/branching/an_existing_package_were_the_target_package_already_exists.yml M src/api/spec/cassettes/Projects/creating_packages_in_projects_not_owned_by_user_eg_global_namespace/as_admin.yml M src/api/spec/cassettes/Projects/creating_packages_in_projects_owned_by_user_eg_home_projects/with_valid_data.yml M src/api/spec/cassettes/Requests/for_role_addition/for_packages/can_be_submitted.yml M src/api/spec/cassettes/Requests/superseed/other_requests.yml A src/api/spec/cassettes/Webui_PackageController/DELETE_remove_file/calls_delete_file_method.yml A src/api/spec/cassettes/Webui_PackageController/DELETE_remove_file/with_not_successful_backend_call/1_8_2_1.yml A src/api/spec/cassettes/Webui_PackageController/DELETE_remove_file/with_successful_backend_call/1_8_1_1.yml A src/api/spec/cassettes/Webui_PackageController/DELETE_remove_file/with_successful_backend_call/1_8_1_2.yml A src/api/spec/cassettes/Webui_PackageController/DELETE_remove_file/with_successful_backend_call/1_8_1_3.yml A src/api/spec/cassettes/Webui_PackageController/DELETE_remove_file/with_successful_backend_call/1_8_1_4.yml A src/api/spec/cassettes/Webui_PackageController/DELETE_remove_file/without_filename_parameter/renders_404.yml M src/api/spec/cassettes/Webui_PackageController/GET_binaries/with_a_failure_in_the_backend/1_5_1_1.yml M src/api/spec/cassettes/Webui_PackageController/GET_binaries/with_a_failure_in_the_backend/1_5_1_2.yml M src/api/spec/cassettes/Webui_PackageController/GET_binaries/with_build_results_and_binaries/1_5_4_1.yml M src/api/spec/cassettes/Webui_PackageController/GET_binaries/with_build_results_and_binaries/1_5_4_2.yml A src/api/spec/cassettes/Webui_PackageController/GET_binaries/with_build_results_and_binaries/1_5_4_3.yml A src/api/spec/cassettes/Webui_PackageController/GET_binaries/with_build_results_and_binaries/1_5_4_4.yml A src/api/spec/cassettes/Webui_PackageController/GET_binaries/with_build_results_and_binaries/1_5_4_5.yml M src/api/spec/cassettes/Webui_PackageController/GET_binaries/with_build_results_and_no_binaries/1_5_3_1.yml M src/api/spec/cassettes/Webui_PackageController/GET_binaries/with_build_results_and_no_binaries/1_5_3_2.yml M src/api/spec/cassettes/Webui_PackageController/GET_binaries/without_build_results/1_5_2_1.yml M src/api/spec/cassettes/Webui_PackageController/GET_binaries/without_build_results/1_5_2_2.yml A src/api/spec/cassettes/Webui_PackageController/GET_show/require_package_before_action/with_an_invalid_package/redirects_to_project_show_path.yml A src/api/spec/cassettes/Webui_PackageController/GET_show/require_package_before_action/with_an_invalid_package/returns_302_status.yml A src/api/spec/cassettes/Webui_PackageController/GET_show/require_package_before_action/with_an_invalid_package/shows_error_flash_message.yml M src/api/spec/cassettes/Webui_PackageController/GET_show/with_a_valid_package/assigns_package.yml A src/api/spec/cassettes/Webui_PackageController/POST_remove/a_package/1_4_2_1.yml A src/api/spec/cassettes/Webui_PackageController/POST_remove/a_package/1_4_2_2.yml A src/api/spec/cassettes/Webui_PackageController/POST_remove/a_package/deletes_the_package.yml A src/api/spec/cassettes/Webui_PackageController/POST_remove/a_package_with_dependencies/does_not_delete_the_package_and_shows_an_error_message.yml A src/api/spec/cassettes/Webui_PackageController/POST_remove/a_package_with_dependencies/forcing_the_deletion/deletes_the_package.yml A src/api/spec/cassettes/Webui_PackageController/POST_remove/authentification/allows_admins_to_delete_other_user_s_packages.yml A src/api/spec/cassettes/Webui_PackageController/POST_remove/authentification/does_not_allow_other_users_than_the_owner_to_delete_a_package.yml A src/api/spec/cassettes/Webui_PackageController/POST_save/1_2_1.yml A src/api/spec/cassettes/Webui_PackageController/POST_save/1_2_2.yml A src/api/spec/cassettes/Webui_PackageController/POST_save/1_2_3.yml A src/api/spec/cassettes/Webui_PackageController/POST_save/1_2_4.yml M src/api/spec/cassettes/Webui_PackageController/POST_save_file/adding_a_file_that_doesn_t_exist_yet/1_6_3_1.yml M src/api/spec/cassettes/Webui_PackageController/POST_save_file/adding_a_file_that_doesn_t_exist_yet/1_6_3_2.yml M src/api/spec/cassettes/Webui_PackageController/POST_save_file/adding_a_file_that_doesn_t_exist_yet/1_6_3_3.yml M src/api/spec/cassettes/Webui_PackageController/POST_save_file/uploading_a_file_from_remote_URL/1_6_5_1.yml M src/api/spec/cassettes/Webui_PackageController/POST_save_file/uploading_a_file_from_remote_URL/1_6_5_2.yml M src/api/spec/cassettes/Webui_PackageController/POST_save_file/uploading_a_file_from_remote_URL/creates_a_valid_service_file.yml M src/api/spec/cassettes/Webui_PackageController/POST_save_file/uploading_a_utf-8_file/1_6_4_1.yml M src/api/spec/cassettes/Webui_PackageController/POST_save_file/uploading_a_utf-8_file/1_6_4_2.yml M src/api/spec/cassettes/Webui_PackageController/POST_save_file/uploading_a_utf-8_file/creates_the_file.yml M src/api/spec/cassettes/Webui_PackageController/POST_save_file/uploading_a_valid_special_file__aggregate_/1_6_6_1.yml M src/api/spec/cassettes/Webui_PackageController/POST_save_file/uploading_a_valid_special_file__aggregate_/1_6_6_2.yml M src/api/spec/cassettes/Webui_PackageController/POST_save_file/uploading_a_valid_special_file__aggregate_/create_the__aggregate_file.yml M src/api/spec/cassettes/Webui_PackageController/POST_save_file/uploading_an_invalid_special_file__link_/1_6_7_1.yml M src/api/spec/cassettes/Webui_PackageController/POST_save_file/uploading_an_invalid_special_file__link_/1_6_7_2.yml M src/api/spec/cassettes/Webui_PackageController/POST_save_file/uploading_an_invalid_special_file__link_/does_not_create_a__link_file.yml M src/api/spec/cassettes/Webui_PackageController/POST_save_file/with_an_invalid_filename/fails_with_a_backend_error_message.yml M src/api/spec/cassettes/Webui_PackageController/POST_save_file/without_any_uploaded_file_data/fails_with_an_error_message.yml A src/api/spec/cassettes/Webui_PackageController/POST_save_new_link/shows_an_error_if_source_package_doesn_t_exist.yml A src/api/spec/cassettes/Webui_PackageController/POST_save_new_link/shows_an_error_if_source_project_doesn_t_exist.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/a_submit_request_that_fails_due_to_validation_errors/1_1_4_1.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/a_submit_request_that_fails_due_to_validation_errors/1_1_4_2.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/a_submit_request_that_fails_due_to_validation_errors/1_1_4_3.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/having_whitespaces_in_parameters/it_should_behave_like_a_response_of_a_successful_submit_request/1_1_2_1_1.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/having_whitespaces_in_parameters/it_should_behave_like_a_response_of_a_successful_submit_request/1_1_2_1_2.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/having_whitespaces_in_parameters/it_should_behave_like_a_response_of_a_successful_submit_request/1_1_2_1_3.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/invalid_request_missing_parameters_/1_1_6_1.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/invalid_request_missing_parameters_/1_1_6_2.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/invalid_request_missing_parameters_/1_1_6_3.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/not_successful/1_1_3_1.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/not_successful/1_1_3_2.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/not_successful/1_1_3_3.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/sending_a_valid_submit_request/it_should_behave_like_a_response_of_a_successful_submit_request/1_1_1_1_1.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/sending_a_valid_submit_request/it_should_behave_like_a_response_of_a_successful_submit_request/1_1_1_1_2.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/sending_a_valid_submit_request/it_should_behave_like_a_response_of_a_successful_submit_request/1_1_1_1_3.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/unchanged_sources/1_1_5_1.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/unchanged_sources/1_1_5_2.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/unchanged_sources/1_1_5_3.yml Log Message: ----------- [webui] Hide the trigger services link Hide the trigger services link if there is no _service file. Commit: 4114e0724b6665cb4e7a02ceda5f8aa471d067ff https://github.com/openSUSE/open-build-service/commit/4114e0724b6665cb4e7a02... Author: Björn Geuken <bgeuken@suse.de> Date: 2016-10-05 (Wed, 05 Oct 2016) Changed paths: M src/api/app/controllers/webui/package_controller.rb M src/api/app/views/webui/package/show.html.erb M src/api/spec/cassettes/Packages/behaves_like_user_tab/group_roles/Add_group_to_package_/_project.yml M src/api/spec/cassettes/Packages/behaves_like_user_tab/group_roles/Add_role_to_group.yml M src/api/spec/cassettes/Packages/behaves_like_user_tab/group_roles/Remove_role_from_group.yml M src/api/spec/cassettes/Packages/behaves_like_user_tab/group_roles/Viewing_group_roles.yml M src/api/spec/cassettes/Packages/behaves_like_user_tab/user_roles/Add_role_to_user.yml M src/api/spec/cassettes/Packages/behaves_like_user_tab/user_roles/Add_user_to_package_/_project.yml M src/api/spec/cassettes/Packages/behaves_like_user_tab/user_roles/Remove_role_from_user.yml M src/api/spec/cassettes/Packages/behaves_like_user_tab/user_roles/Viewing_user_roles.yml M src/api/spec/cassettes/Packages/branching_a_package/from_another_user_s_project.yml M src/api/spec/cassettes/Packages/changing_the_package_s_devel_project.yml M src/api/spec/cassettes/Packages/deleting_a_package.yml M src/api/spec/cassettes/Packages/editing_package_files/editing_an_existing_file.yml M src/api/spec/cassettes/Packages/requesting_package_deletion.yml M src/api/spec/cassettes/Packages/triggering_package_rebuild/via_binaries_view.yml M src/api/spec/cassettes/Packages/triggering_package_rebuild/via_live_build_log.yml M src/api/spec/cassettes/Projects/branching/an_existing_package.yml M src/api/spec/cassettes/Projects/branching/an_existing_package_but_chose_a_different_target_package_name.yml M src/api/spec/cassettes/Projects/branching/an_existing_package_were_the_target_package_already_exists.yml M src/api/spec/cassettes/Projects/creating_packages_in_projects_not_owned_by_user_eg_global_namespace/as_admin.yml M src/api/spec/cassettes/Projects/creating_packages_in_projects_owned_by_user_eg_home_projects/with_valid_data.yml M src/api/spec/cassettes/Requests/for_role_addition/for_packages/can_be_submitted.yml M src/api/spec/cassettes/Requests/superseed/other_requests.yml A src/api/spec/cassettes/Webui_PackageController/DELETE_remove_file/calls_delete_file_method.yml A src/api/spec/cassettes/Webui_PackageController/DELETE_remove_file/with_not_successful_backend_call/1_8_2_1.yml A src/api/spec/cassettes/Webui_PackageController/DELETE_remove_file/with_successful_backend_call/1_8_1_1.yml A src/api/spec/cassettes/Webui_PackageController/DELETE_remove_file/with_successful_backend_call/1_8_1_2.yml A src/api/spec/cassettes/Webui_PackageController/DELETE_remove_file/with_successful_backend_call/1_8_1_3.yml A src/api/spec/cassettes/Webui_PackageController/DELETE_remove_file/with_successful_backend_call/1_8_1_4.yml A src/api/spec/cassettes/Webui_PackageController/DELETE_remove_file/without_filename_parameter/renders_404.yml M src/api/spec/cassettes/Webui_PackageController/GET_binaries/with_a_failure_in_the_backend/1_5_1_1.yml M src/api/spec/cassettes/Webui_PackageController/GET_binaries/with_a_failure_in_the_backend/1_5_1_2.yml M src/api/spec/cassettes/Webui_PackageController/GET_binaries/with_build_results_and_binaries/1_5_4_1.yml M src/api/spec/cassettes/Webui_PackageController/GET_binaries/with_build_results_and_binaries/1_5_4_2.yml A src/api/spec/cassettes/Webui_PackageController/GET_binaries/with_build_results_and_binaries/1_5_4_3.yml A src/api/spec/cassettes/Webui_PackageController/GET_binaries/with_build_results_and_binaries/1_5_4_4.yml A src/api/spec/cassettes/Webui_PackageController/GET_binaries/with_build_results_and_binaries/1_5_4_5.yml M src/api/spec/cassettes/Webui_PackageController/GET_binaries/with_build_results_and_no_binaries/1_5_3_1.yml M src/api/spec/cassettes/Webui_PackageController/GET_binaries/with_build_results_and_no_binaries/1_5_3_2.yml M src/api/spec/cassettes/Webui_PackageController/GET_binaries/without_build_results/1_5_2_1.yml M src/api/spec/cassettes/Webui_PackageController/GET_binaries/without_build_results/1_5_2_2.yml A src/api/spec/cassettes/Webui_PackageController/GET_show/require_package_before_action/with_an_invalid_package/redirects_to_project_show_path.yml A src/api/spec/cassettes/Webui_PackageController/GET_show/require_package_before_action/with_an_invalid_package/returns_302_status.yml A src/api/spec/cassettes/Webui_PackageController/GET_show/require_package_before_action/with_an_invalid_package/shows_error_flash_message.yml M src/api/spec/cassettes/Webui_PackageController/GET_show/with_a_valid_package/assigns_package.yml A src/api/spec/cassettes/Webui_PackageController/POST_remove/a_package/1_4_2_1.yml A src/api/spec/cassettes/Webui_PackageController/POST_remove/a_package/1_4_2_2.yml A src/api/spec/cassettes/Webui_PackageController/POST_remove/a_package/deletes_the_package.yml A src/api/spec/cassettes/Webui_PackageController/POST_remove/a_package_with_dependencies/does_not_delete_the_package_and_shows_an_error_message.yml A src/api/spec/cassettes/Webui_PackageController/POST_remove/a_package_with_dependencies/forcing_the_deletion/deletes_the_package.yml A src/api/spec/cassettes/Webui_PackageController/POST_remove/authentification/allows_admins_to_delete_other_user_s_packages.yml A src/api/spec/cassettes/Webui_PackageController/POST_remove/authentification/does_not_allow_other_users_than_the_owner_to_delete_a_package.yml A src/api/spec/cassettes/Webui_PackageController/POST_save/1_2_1.yml A src/api/spec/cassettes/Webui_PackageController/POST_save/1_2_2.yml A src/api/spec/cassettes/Webui_PackageController/POST_save/1_2_3.yml A src/api/spec/cassettes/Webui_PackageController/POST_save/1_2_4.yml M src/api/spec/cassettes/Webui_PackageController/POST_save_file/adding_a_file_that_doesn_t_exist_yet/1_6_3_1.yml M src/api/spec/cassettes/Webui_PackageController/POST_save_file/adding_a_file_that_doesn_t_exist_yet/1_6_3_2.yml M src/api/spec/cassettes/Webui_PackageController/POST_save_file/adding_a_file_that_doesn_t_exist_yet/1_6_3_3.yml M src/api/spec/cassettes/Webui_PackageController/POST_save_file/uploading_a_file_from_remote_URL/1_6_5_1.yml M src/api/spec/cassettes/Webui_PackageController/POST_save_file/uploading_a_file_from_remote_URL/1_6_5_2.yml M src/api/spec/cassettes/Webui_PackageController/POST_save_file/uploading_a_file_from_remote_URL/creates_a_valid_service_file.yml M src/api/spec/cassettes/Webui_PackageController/POST_save_file/uploading_a_utf-8_file/1_6_4_1.yml M src/api/spec/cassettes/Webui_PackageController/POST_save_file/uploading_a_utf-8_file/1_6_4_2.yml M src/api/spec/cassettes/Webui_PackageController/POST_save_file/uploading_a_utf-8_file/creates_the_file.yml M src/api/spec/cassettes/Webui_PackageController/POST_save_file/uploading_a_valid_special_file__aggregate_/1_6_6_1.yml M src/api/spec/cassettes/Webui_PackageController/POST_save_file/uploading_a_valid_special_file__aggregate_/1_6_6_2.yml M src/api/spec/cassettes/Webui_PackageController/POST_save_file/uploading_a_valid_special_file__aggregate_/create_the__aggregate_file.yml M src/api/spec/cassettes/Webui_PackageController/POST_save_file/uploading_an_invalid_special_file__link_/1_6_7_1.yml M src/api/spec/cassettes/Webui_PackageController/POST_save_file/uploading_an_invalid_special_file__link_/1_6_7_2.yml M src/api/spec/cassettes/Webui_PackageController/POST_save_file/uploading_an_invalid_special_file__link_/does_not_create_a__link_file.yml M src/api/spec/cassettes/Webui_PackageController/POST_save_file/with_an_invalid_filename/fails_with_a_backend_error_message.yml M src/api/spec/cassettes/Webui_PackageController/POST_save_file/without_any_uploaded_file_data/fails_with_an_error_message.yml A src/api/spec/cassettes/Webui_PackageController/POST_save_new_link/shows_an_error_if_source_package_doesn_t_exist.yml A src/api/spec/cassettes/Webui_PackageController/POST_save_new_link/shows_an_error_if_source_project_doesn_t_exist.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/a_submit_request_that_fails_due_to_validation_errors/1_1_4_1.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/a_submit_request_that_fails_due_to_validation_errors/1_1_4_2.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/a_submit_request_that_fails_due_to_validation_errors/1_1_4_3.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/having_whitespaces_in_parameters/it_should_behave_like_a_response_of_a_successful_submit_request/1_1_2_1_1.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/having_whitespaces_in_parameters/it_should_behave_like_a_response_of_a_successful_submit_request/1_1_2_1_2.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/having_whitespaces_in_parameters/it_should_behave_like_a_response_of_a_successful_submit_request/1_1_2_1_3.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/invalid_request_missing_parameters_/1_1_6_1.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/invalid_request_missing_parameters_/1_1_6_2.yml A src/api/spec/cassettes/Webui_PackageController/POST_submit_request/invalid_request_missing_parameters_/1_1_6_3.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/not_successful/1_1_3_1.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/not_successful/1_1_3_2.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/not_successful/1_1_3_3.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/sending_a_valid_submit_request/it_should_behave_like_a_response_of_a_successful_submit_request/1_1_1_1_1.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/sending_a_valid_submit_request/it_should_behave_like_a_response_of_a_successful_submit_request/1_1_1_1_2.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/sending_a_valid_submit_request/it_should_behave_like_a_response_of_a_successful_submit_request/1_1_1_1_3.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/unchanged_sources/1_1_5_1.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/unchanged_sources/1_1_5_2.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/unchanged_sources/1_1_5_3.yml Log Message: ----------- Merge pull request #2196 from Ana06/service-improve [webui] Hide the trigger services link Compare: https://github.com/openSUSE/open-build-service/compare/d0ad4ed9d74b...4114e0...
participants (1)
-
Björn Geuken