[obs-commits] [openSUSE/open-build-service] 091cfa: [webui] Workaround architecture validation when cr...
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 091cfabdcd5d7dd3ff20b0ab493e35d8da79359c https://github.com/openSUSE/open-build-service/commit/091cfabdcd5d7dd3ff20b0... Author: Björn Geuken <bgeuken@suse.de> Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M src/api/app/controllers/webui/download_on_demand_controller.rb Log Message: ----------- [webui] Workaround architecture validation when creating new DoD repositories When creating a new DownloadRepository via the webui we need to ensure that the repository also has the architecture of the new DownloadRepository. Since there is a validation that ensures this, we have to create the RepositoryArchitecture association outside of the transaction and clean up in case of exceptions. Commit: 925f68ccd98dafb17549832f40a6e921ba5e0c02 https://github.com/openSUSE/open-build-service/commit/925f68ccd98dafb1754983... Author: Björn Geuken <bgeuken@suse.de> Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M src/api/app/assets/javascripts/webui/application/repository_tab.js M src/api/app/views/webui/download_on_demand/_index.html.erb Log Message: ----------- [webui] Prevent screen from gliding up after click on remote js links http://api.jquery.com/event.preventDefault Commit: 7a4ee37f0be6645cf09cdad7591795791aee67ef https://github.com/openSUSE/open-build-service/commit/7a4ee37f0be6645cf09cda... Author: Björn Geuken <bgeuken@suse.de> Date: 2016-04-19 (Tue, 19 Apr 2016) Changed paths: M src/api/app/views/layouts/webui/_flash.html.erb M src/api/app/views/layouts/webui/webui.html.erb Log Message: ----------- [webui] Always have a div#flash-messages element in our html This makes it much easier to show error messages of ajax requests in the OBS ui. Commit: 4226e25f0d8d3569f85a682553010e4fbc205a13 https://github.com/openSUSE/open-build-service/commit/4226e25f0d8d3569f85a68... Author: Björn Geuken <bgeuken@suse.de> Date: 2016-04-25 (Mon, 25 Apr 2016) Changed paths: M src/api/app/assets/javascripts/webui/application/repository_tab.js M src/api/app/controllers/webui/download_on_demand_controller.rb M src/api/app/controllers/webui/project_controller.rb M src/api/app/models/repository.rb M src/api/app/views/webui/download_on_demand/_form.html.erb M src/api/app/views/webui/download_on_demand/_index.html.erb A src/api/app/views/webui/project/_dod_repository_form.haml M src/api/app/views/webui/project/_repository_entry.haml A src/api/app/views/webui/project/create_dod_repository.js.erb M src/api/app/views/webui/project/repositories.haml M src/api/config/routes.rb M src/api/spec/controllers/webui/download_on_demand_controller_spec.rb A src/api/test/fixtures/backend/download_on_demand/project_with_several_dod.xml M src/api/test/functional/webui/download_on_demand_controller_test.rb Log Message: ----------- [webui] Update DoD ui * UI now distinguishes between repositories and DoD repositories. * Architecture associations get created when new download element get's added * DB writes and backend syncs are done via transactions * Disallow removing of the last DownloadRepository of a DoD Repository * Implement adding multiple 'download' elements (= DownloadRepository) to a repository via the webui Commit: 84dcbce0ad1ca6836f70331d60d71bfddd133505 https://github.com/openSUSE/open-build-service/commit/84dcbce0ad1ca6836f7033... Author: Björn Geuken <bgeuken@suse.de> Date: 2016-04-25 (Mon, 25 Apr 2016) Changed paths: M src/api/app/controllers/webui/download_on_demand_controller.rb M src/api/spec/controllers/webui/download_on_demand_controller_spec.rb M src/api/spec/features/webui/projects_spec.rb M src/api/test/functional/webui/download_on_demand_controller_test.rb Log Message: ----------- [ci] Add rspec tests for DoD ui Commit: 0cb1a88f102ed954d6ab4f04170f97af0a7e7d7c https://github.com/openSUSE/open-build-service/commit/0cb1a88f102ed954d6ab4f... Author: Björn Geuken <bgeuken@suse.de> Date: 2016-04-25 (Mon, 25 Apr 2016) Changed paths: M src/api/app/controllers/webui/download_on_demand_controller.rb M src/api/spec/controllers/webui/download_on_demand_controller_spec.rb M src/api/spec/factories/download_repository_factory.rb M src/api/spec/factories/repository.rb Log Message: ----------- [webui] Ensure existence of repository architecture when updating new DoD repositories And remove workaround added in 091cfab. Commit: 1a9e5d00316719b4d9179539bf00af8268ce6345 https://github.com/openSUSE/open-build-service/commit/1a9e5d00316719b4d91795... Author: Moisés Déniz Alemán <mdeniz@users.noreply.github.com> Date: 2016-04-26 (Tue, 26 Apr 2016) Changed paths: M src/api/app/assets/javascripts/webui/application/repository_tab.js M src/api/app/controllers/webui/download_on_demand_controller.rb M src/api/app/controllers/webui/project_controller.rb M src/api/app/models/repository.rb M src/api/app/views/layouts/webui/_flash.html.erb M src/api/app/views/layouts/webui/webui.html.erb M src/api/app/views/webui/download_on_demand/_form.html.erb M src/api/app/views/webui/download_on_demand/_index.html.erb A src/api/app/views/webui/project/_dod_repository_form.haml M src/api/app/views/webui/project/_repository_entry.haml A src/api/app/views/webui/project/create_dod_repository.js.erb M src/api/app/views/webui/project/repositories.haml M src/api/config/routes.rb M src/api/spec/controllers/webui/download_on_demand_controller_spec.rb M src/api/spec/factories/download_repository_factory.rb M src/api/spec/factories/repository.rb M src/api/spec/features/webui/projects_spec.rb A src/api/test/fixtures/backend/download_on_demand/project_with_several_dod.xml M src/api/test/functional/webui/download_on_demand_controller_test.rb Log Message: ----------- Merge pull request #1727 from bgeuken/update_dod_view LGTM :+1: Compare: https://github.com/openSUSE/open-build-service/compare/fb82587d8e48...1a9e5d...
participants (1)
-
Moisés Déniz Alemán