Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 815fed707c6b80c297b497f375168fc47ff71748
https://github.com/openSUSE/open-build-service/commit/815fed707c6b80c297b497...
Author: Björn Geuken
Date: 2015-10-09 (Fri, 09 Oct 2015)
Changed paths:
M src/api/app/controllers/person_controller.rb
M src/api/test/functional/person_controller_test.rb
Log Message:
-----------
[api][ci] Add tests for updating project watchlist via API
Also invalidate cache when updating watchlist.
Commit: 8a4c7acbb825146329c701f252859f7e6556324a
https://github.com/openSUSE/open-build-service/commit/8a4c7acbb825146329c701...
Author: Björn Geuken
Date: 2015-10-09 (Fri, 09 Oct 2015)
Changed paths:
M src/api/test/functional/person_controller_test.rb
Log Message:
-----------
[ci] person_controller: Add a test for changing watched projects
When a user tries to add a not existing project the API should respond
with a 404. This commit adds a test for this.
Commit: b3ea7652bfb8f0e30068090d507779e379ab509b
https://github.com/openSUSE/open-build-service/commit/b3ea7652bfb8f0e3006809...
Author: Björn Geuken
Date: 2015-10-09 (Fri, 09 Oct 2015)
Changed paths:
M src/api/app/controllers/person_controller.rb
M src/api/test/functional/person_controller_test.rb
Log Message:
-----------
[api] Include user's watchlist when admin requests user data (issue#1204)
Other users are not supposed to see a user's projects watchlist. Though if an
admin requests user data via the API (/person/$user), he should be able to see it.
Otherwise there is a risk that an admin unintenionally deletes this data, eg. when
editing user data via osc (see issue#1204).
Commit: 57cd63e59fae48e9d8b32ac90e6424efb1256a93
https://github.com/openSUSE/open-build-service/commit/57cd63e59fae48e9d8b32a...
Author: Henne Vogelsang
Date: 2015-10-12 (Mon, 12 Oct 2015)
Changed paths:
M src/api/app/controllers/person_controller.rb
M src/api/test/functional/person_controller_test.rb
Log Message:
-----------
Merge pull request #1206 from bgeuken/user_watchlist_tests
Add tests for updating project watchlist via API and address issue 1204
Compare: https://github.com/openSUSE/open-build-service/compare/936d0b3e1733...57cd63...