[obs-commits] [openSUSE/open-build-service] 6a85f7: [webui] Allow to use 'filelimit' parameter for pac...

Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 6a85f728312dcf03e429ffbb4778c924ac771010 https://github.com/openSUSE/open-build-service/commit/6a85f728312dcf03e429ff... Author: Manuel Schnitzer <mschnitzer@suse.com> Date: 2017-12-20 (Wed, 20 Dec 2017) Changed paths: M src/api/lib/backend/api/sources/package.rb Log Message: ----------- [webui] Allow to use 'filelimit' parameter for package source diffs There is the 'filelimit' parameter which is supported by the backend. Commit: ca78df2b02022c0c476202482171c0d39d0d84c9 https://github.com/openSUSE/open-build-service/commit/ca78df2b02022c0c476202... Author: Manuel Schnitzer <mschnitzer@suse.com> Date: 2017-12-20 (Wed, 20 Dec 2017) Changed paths: M src/api/app/assets/stylesheets/webui/application.css.erb A src/api/app/assets/stylesheets/webui/application/box-extensions.scss A src/api/app/assets/stylesheets/webui/application/flash.scss M src/api/app/assets/stylesheets/webui/application/style.scss M src/api/app/controllers/webui/package_controller.rb M src/api/app/controllers/webui/request_controller.rb M src/api/app/mixins/request_source_diff.rb M src/api/app/models/bs_request.rb M src/api/app/models/bs_request_action.rb M src/api/app/views/webui/package/rdiff.html.erb M src/api/app/views/webui/request/show.html.erb A src/api/app/views/webui/shared/_truncated_diff_hint.html.erb M src/api/lib/backend/api/sources/package.rb R src/api/spec/cassettes/Webui_PackageController/GET_rdiff/when_an_empty_revision_is_provided/1_11_2_1.yml R src/api/spec/cassettes/Webui_PackageController/GET_rdiff/when_an_empty_revision_is_provided/1_11_2_2.yml R src/api/spec/cassettes/Webui_PackageController/GET_rdiff/when_an_empty_revision_is_provided/1_12_2_1.yml R src/api/spec/cassettes/Webui_PackageController/GET_rdiff/when_an_empty_revision_is_provided/1_12_2_2.yml M src/api/spec/cassettes/Webui_PackageController/GET_rdiff/when_an_empty_revision_is_provided/1_13_2_1.yml M src/api/spec/cassettes/Webui_PackageController/GET_rdiff/when_an_empty_revision_is_provided/1_13_2_2.yml R src/api/spec/cassettes/Webui_PackageController/GET_rdiff/when_no_difference_in_sources_diff_is_empty/1_11_1_1.yml R src/api/spec/cassettes/Webui_PackageController/GET_rdiff/when_no_difference_in_sources_diff_is_empty/1_12_1_1.yml M src/api/spec/cassettes/Webui_PackageController/GET_rdiff/when_no_difference_in_sources_diff_is_empty/1_13_1_1.yml A src/api/spec/cassettes/Webui_PackageController/GET_rdiff/with_diff_truncation/full_diff_not_requested/for_ASCII_files/shows_the_truncated_diff.yml A src/api/spec/cassettes/Webui_PackageController/GET_rdiff/with_diff_truncation/full_diff_not_requested/for_archives/shows_the_truncated_diff.yml A src/api/spec/cassettes/Webui_PackageController/GET_rdiff/with_diff_truncation/full_diff_not_requested/shows_a_hint.yml A src/api/spec/cassettes/Webui_PackageController/GET_rdiff/with_diff_truncation/full_diff_requested/does_not_show_a_hint.yml A src/api/spec/cassettes/Webui_PackageController/GET_rdiff/with_diff_truncation/full_diff_requested/for_ASCII_files/shows_the_complete_diff.yml A src/api/spec/cassettes/Webui_PackageController/GET_rdiff/with_diff_truncation/full_diff_requested/for_archives/shows_the_complete_diff.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/unchanged_sources/1_1_9_1.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/unchanged_sources/1_1_9_2.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/unchanged_sources/1_1_9_3.yml A src/api/spec/cassettes/Webui_RequestController/GET_show/as_nobody/assigns_bs_request.yml A src/api/spec/cassettes/Webui_RequestController/GET_show/as_nobody/responds_successfully.yml A src/api/spec/cassettes/Webui_RequestController/GET_show/full_diff_not_requested/for_ASCII_files/behaves_like_a_full_diff_not_requested_for/shows_a_hint.yml A src/api/spec/cassettes/Webui_RequestController/GET_show/full_diff_not_requested/for_ASCII_files/behaves_like_a_full_diff_not_requested_for/shows_the_truncated_diff.yml A src/api/spec/cassettes/Webui_RequestController/GET_show/full_diff_not_requested/for_archives/behaves_like_a_full_diff_not_requested_for/shows_a_hint.yml A src/api/spec/cassettes/Webui_RequestController/GET_show/full_diff_not_requested/for_archives/behaves_like_a_full_diff_not_requested_for/shows_the_truncated_diff.yml A src/api/spec/cassettes/Webui_RequestController/GET_show/full_diff_requested/for_ASCII_files/behaves_like_a_full_diff_requested_for/does_not_show_a_hint.yml A src/api/spec/cassettes/Webui_RequestController/GET_show/full_diff_requested/for_ASCII_files/behaves_like_a_full_diff_requested_for/shows_the_complete_diff.yml A src/api/spec/cassettes/Webui_RequestController/GET_show/full_diff_requested/for_archives/behaves_like_a_full_diff_requested_for/does_not_show_a_hint.yml A src/api/spec/cassettes/Webui_RequestController/GET_show/full_diff_requested/for_archives/behaves_like_a_full_diff_requested_for/shows_the_complete_diff.yml M src/api/spec/cassettes/Webui_RequestController/GET_show/when_there_are_no_package_maintainers/does_not_show_a_hint_to_project_maintainers_by_default.yml M src/api/spec/cassettes/Webui_RequestController/GET_show/when_there_are_package_maintainers/shows_a_hint_to_project_maintainers.yml M src/api/spec/controllers/webui/package_controller_spec.rb M src/api/spec/controllers/webui/request_controller_spec.rb M src/api/spec/factories/packages.rb A src/api/spec/support/files/bigfile_archive.tar.gz A src/api/spec/support/files/bigfile_archive_2.tar.gz Log Message: ----------- [webui] Allow users to show the full diff of large diffs The user will see a message if in a request there are diffs which were truncated by the backend. If this is the case, they have to option to load the full diff. Certain cassettes were needed to be recreated: - RequestController GET_show - PackageController GET_rdiff - PackageController POST_submit_request unchanged_sources Commit: 9ce4b357990e67884af726af30f4501a8ead4ef9 https://github.com/openSUSE/open-build-service/commit/9ce4b357990e67884af726... Author: Eduardo Navarro <enavarro@suse.com> Date: 2017-12-20 (Wed, 20 Dec 2017) Changed paths: R src/api/spec/cassettes/Webui_RequestController/GET_show/does_not_show_a_hint_to_project_maintainers_if_the_target_package_has_no_maintainers.yml R src/api/spec/cassettes/Webui_RequestController/GET_show/shows_a_hint_to_project_maintainers_when_there_are_package_maintainers.yml Log Message: ----------- [ci] Remove cassettes not used any more Commit: a409fc90f912ae95b193b009ddf170bcfb110a32 https://github.com/openSUSE/open-build-service/commit/a409fc90f912ae95b193b0... Author: David Kang <dkang@suse.com> Date: 2017-12-21 (Thu, 21 Dec 2017) Changed paths: M src/api/app/assets/stylesheets/webui/application.css.erb A src/api/app/assets/stylesheets/webui/application/box-extensions.scss A src/api/app/assets/stylesheets/webui/application/flash.scss M src/api/app/assets/stylesheets/webui/application/style.scss M src/api/app/controllers/webui/package_controller.rb M src/api/app/controllers/webui/request_controller.rb M src/api/app/mixins/request_source_diff.rb M src/api/app/models/bs_request.rb M src/api/app/models/bs_request_action.rb M src/api/app/views/webui/package/rdiff.html.erb M src/api/app/views/webui/request/show.html.erb A src/api/app/views/webui/shared/_truncated_diff_hint.html.erb M src/api/lib/backend/api/sources/package.rb R src/api/spec/cassettes/Webui_PackageController/GET_rdiff/when_an_empty_revision_is_provided/1_11_2_1.yml R src/api/spec/cassettes/Webui_PackageController/GET_rdiff/when_an_empty_revision_is_provided/1_11_2_2.yml R src/api/spec/cassettes/Webui_PackageController/GET_rdiff/when_an_empty_revision_is_provided/1_12_2_1.yml R src/api/spec/cassettes/Webui_PackageController/GET_rdiff/when_an_empty_revision_is_provided/1_12_2_2.yml M src/api/spec/cassettes/Webui_PackageController/GET_rdiff/when_an_empty_revision_is_provided/1_13_2_1.yml M src/api/spec/cassettes/Webui_PackageController/GET_rdiff/when_an_empty_revision_is_provided/1_13_2_2.yml R src/api/spec/cassettes/Webui_PackageController/GET_rdiff/when_no_difference_in_sources_diff_is_empty/1_11_1_1.yml R src/api/spec/cassettes/Webui_PackageController/GET_rdiff/when_no_difference_in_sources_diff_is_empty/1_12_1_1.yml M src/api/spec/cassettes/Webui_PackageController/GET_rdiff/when_no_difference_in_sources_diff_is_empty/1_13_1_1.yml A src/api/spec/cassettes/Webui_PackageController/GET_rdiff/with_diff_truncation/full_diff_not_requested/for_ASCII_files/shows_the_truncated_diff.yml A src/api/spec/cassettes/Webui_PackageController/GET_rdiff/with_diff_truncation/full_diff_not_requested/for_archives/shows_the_truncated_diff.yml A src/api/spec/cassettes/Webui_PackageController/GET_rdiff/with_diff_truncation/full_diff_not_requested/shows_a_hint.yml A src/api/spec/cassettes/Webui_PackageController/GET_rdiff/with_diff_truncation/full_diff_requested/does_not_show_a_hint.yml A src/api/spec/cassettes/Webui_PackageController/GET_rdiff/with_diff_truncation/full_diff_requested/for_ASCII_files/shows_the_complete_diff.yml A src/api/spec/cassettes/Webui_PackageController/GET_rdiff/with_diff_truncation/full_diff_requested/for_archives/shows_the_complete_diff.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/unchanged_sources/1_1_9_1.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/unchanged_sources/1_1_9_2.yml M src/api/spec/cassettes/Webui_PackageController/POST_submit_request/unchanged_sources/1_1_9_3.yml A src/api/spec/cassettes/Webui_RequestController/GET_show/as_nobody/assigns_bs_request.yml A src/api/spec/cassettes/Webui_RequestController/GET_show/as_nobody/responds_successfully.yml R src/api/spec/cassettes/Webui_RequestController/GET_show/does_not_show_a_hint_to_project_maintainers_if_the_target_package_has_no_maintainers.yml A src/api/spec/cassettes/Webui_RequestController/GET_show/full_diff_not_requested/for_ASCII_files/behaves_like_a_full_diff_not_requested_for/shows_a_hint.yml A src/api/spec/cassettes/Webui_RequestController/GET_show/full_diff_not_requested/for_ASCII_files/behaves_like_a_full_diff_not_requested_for/shows_the_truncated_diff.yml A src/api/spec/cassettes/Webui_RequestController/GET_show/full_diff_not_requested/for_archives/behaves_like_a_full_diff_not_requested_for/shows_a_hint.yml A src/api/spec/cassettes/Webui_RequestController/GET_show/full_diff_not_requested/for_archives/behaves_like_a_full_diff_not_requested_for/shows_the_truncated_diff.yml A src/api/spec/cassettes/Webui_RequestController/GET_show/full_diff_requested/for_ASCII_files/behaves_like_a_full_diff_requested_for/does_not_show_a_hint.yml A src/api/spec/cassettes/Webui_RequestController/GET_show/full_diff_requested/for_ASCII_files/behaves_like_a_full_diff_requested_for/shows_the_complete_diff.yml A src/api/spec/cassettes/Webui_RequestController/GET_show/full_diff_requested/for_archives/behaves_like_a_full_diff_requested_for/does_not_show_a_hint.yml A src/api/spec/cassettes/Webui_RequestController/GET_show/full_diff_requested/for_archives/behaves_like_a_full_diff_requested_for/shows_the_complete_diff.yml R src/api/spec/cassettes/Webui_RequestController/GET_show/shows_a_hint_to_project_maintainers_when_there_are_package_maintainers.yml M src/api/spec/cassettes/Webui_RequestController/GET_show/when_there_are_no_package_maintainers/does_not_show_a_hint_to_project_maintainers_by_default.yml M src/api/spec/cassettes/Webui_RequestController/GET_show/when_there_are_package_maintainers/shows_a_hint_to_project_maintainers.yml M src/api/spec/controllers/webui/package_controller_spec.rb M src/api/spec/controllers/webui/request_controller_spec.rb M src/api/spec/factories/packages.rb A src/api/spec/support/files/bigfile_archive.tar.gz A src/api/spec/support/files/bigfile_archive_2.tar.gz Log Message: ----------- Merge pull request #4262 from eduardoj/fulldiff_feature Allow users to show the full diff of large diffs Compare: https://github.com/openSUSE/open-build-service/compare/3033476082dd...a409fc...
participants (1)
-
David Kang