Branch: refs/heads/update_dod_view
Home: https://github.com/openSUSE/open-build-service
Commit: fc59249491b8d11af45832f4ea12f428cb392db9
https://github.com/openSUSE/open-build-service/commit/fc59249491b8d11af45832...
Author: Björn Geuken
Date: 2016-04-18 (Mon, 18 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: 07590567edb460df03fe217037e81beb464878e8
https://github.com/openSUSE/open-build-service/commit/07590567edb460df03fe21...
Author: Björn Geuken
Date: 2016-04-18 (Mon, 18 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: f588a9b4dd24a31ea63c79968a6fd15ea743572f
https://github.com/openSUSE/open-build-service/commit/f588a9b4dd24a31ea63c79...
Author: Björn Geuken
Date: 2016-04-18 (Mon, 18 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: 1ee908733f1f645308228b01705d5fd80e1e51d9
https://github.com/openSUSE/open-build-service/commit/1ee908733f1f645308228b...
Author: Björn Geuken
Date: 2016-04-18 (Mon, 18 Apr 2016)
Changed paths:
M src/api/app/assets/javascripts/webui/application/repository_tab.js
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
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
Compare: https://github.com/openSUSE/open-build-service/compare/fc59249491b8^...1ee908733f1f