Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 33f4c928c5b4ef0764e72225692225ffa80e86ed
https://github.com/openSUSE/open-build-service/commit/33f4c928c5b4ef0764e722...
Author: Björn Geuken
Date: 2015-11-23 (Mon, 23 Nov 2015)
Changed paths:
M src/api/app/controllers/webui/package_controller.rb
Log Message:
-----------
[webui] DRY error handling in submit_request action
Commit: c69104d210317be2e89793a60c0a02a4e57bf82b
https://github.com/openSUSE/open-build-service/commit/c69104d210317be2e89793...
Author: Björn Geuken
Date: 2015-11-23 (Mon, 23 Nov 2015)
Changed paths:
M src/api/test/functional/webui/package_controller_test.rb
Log Message:
-----------
[ci][webui] Provide tests for sending submit requests (submit_request action)
Commit: 55a0ba2551ea51c7144dae3f24316b4d9d9ed642
https://github.com/openSUSE/open-build-service/commit/55a0ba2551ea51c7144dae...
Author: Björn Geuken
Date: 2015-11-23 (Mon, 23 Nov 2015)
Changed paths:
M src/api/app/controllers/webui/package_controller.rb
M src/api/test/functional/webui/package_controller_test.rb
Log Message:
-----------
[webui] Prevent package submit requests from failing because of trailing whitespaces, issue#1248
When a user accidentally adds a trailing or leading whitespace in the targetpackage field,
OBS was running into an exception during creation of the submit request. This commit causes
OBS to remove trailing and leading whitespaces before passing the data to the BsRequest class.
Ideally there would be some javascript to prevent such user in put, but we currently
don't have that.
Commit: 814c71d03a945807f934503ef17b1e803074f799
https://github.com/openSUSE/open-build-service/commit/814c71d03a945807f93450...
Author: Björn Geuken
Date: 2015-11-23 (Mon, 23 Nov 2015)
Changed paths:
M src/api/test/functional/webui/package_controller_test.rb
Log Message:
-----------
[ci][webui] Provide a test for submit request to not existing projects
Commit: 471f5b99f05975b56ce1b0c807bb0fe47149ae31
https://github.com/openSUSE/open-build-service/commit/471f5b99f05975b56ce1b0...
Author: Björn Geuken
Date: 2015-11-23 (Mon, 23 Nov 2015)
Changed paths:
M src/api/app/controllers/webui/package_controller.rb
M src/api/test/functional/webui/package_controller_test.rb
Log Message:
-----------
[ci][webui] Prevent package submit requests failures because of trailing whitespaces
Sanitize project name in submit_request action, similar to package name sanitation in cee3d3ec906894fbc3cf
Commit: d839f3d6dd0c3fd0411d8e968963b9a31e745369
https://github.com/openSUSE/open-build-service/commit/d839f3d6dd0c3fd0411d8e...
Author: Adrian Schröter
Date: 2015-11-23 (Mon, 23 Nov 2015)
Changed paths:
M src/api/app/controllers/webui/package_controller.rb
M src/api/test/functional/webui/package_controller_test.rb
Log Message:
-----------
Merge pull request #1396 from bgeuken/issue_1248
Fix issue 1248
Compare: https://github.com/openSUSE/open-build-service/compare/503bcd0f69cb...d839f3...