Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 2bf5693d90d4485381be347ac3b85789d1ec4ca5
https://github.com/openSUSE/open-build-service/commit/2bf5693d90d4485381be34...
Author: Christian Bruckmayer
Date: 2015-10-30 (Fri, 30 Oct 2015)
Changed paths:
M src/api/app/controllers/webui/package_controller.rb
M src/api/app/models/package.rb
M src/api/lib/opensuse/validator.rb
M src/api/test/functional/webui/package_controller_test.rb
M src/api/test/functional/webui/package_edit_source_test.rb
A src/api/test/texts/aggregate.xml
A src/api/test/texts/broken_link.xml
Log Message:
-----------
[webui] Refactor package save_file
* A new file is an UploadedFile object which caused an Exception in Suse::Validator.validate
because it called to_s on UploadedFile
* Catches and shows now all Excepton
* Some simplifications
* Refactoring and improving of the tests
This closes #1253, closes #1315
Commit: 3d5a575aad437412ce79716f071b55b4c5ec9a36
https://github.com/openSUSE/open-build-service/commit/3d5a575aad437412ce7971...
Author: Christian Bruckmayer
Date: 2015-10-30 (Fri, 30 Oct 2015)
Changed paths:
M src/api/app/views/webui/package/add_file.html.erb
M src/api/test/functional/webui/package_edit_source_test.rb
Log Message:
-----------
[webui] Make filename or file or file_url mandatory
The submit button is disabled as long as not one of the fields is filled out.
Commit: cd48571426c5a11b1bcc860cc9936d7e97fec3c2
https://github.com/openSUSE/open-build-service/commit/cd48571426c5a11b1bcc86...
Author: Henne Vogelsang
Date: 2015-10-30 (Fri, 30 Oct 2015)
Changed paths:
M src/api/app/controllers/webui/package_controller.rb
M src/api/app/models/package.rb
M src/api/app/views/webui/package/add_file.html.erb
M src/api/lib/opensuse/validator.rb
M src/api/test/functional/webui/package_controller_test.rb
M src/api/test/functional/webui/package_edit_source_test.rb
A src/api/test/texts/aggregate.xml
A src/api/test/texts/broken_link.xml
Log Message:
-----------
Merge pull request #1313 from ChrisBr/refactor_save_file
[webui] Refactor package save_file
Compare: https://github.com/openSUSE/open-build-service/compare/f93a907460a9...cd4857...