Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 062b3f235fbb97a6058e96bfeddecadd40fdaa59
https://github.com/openSUSE/open-build-service/commit/062b3f235fbb97a6058e96...
Author: Lukas Krause
Date: 2021-03-19 (Fri, 19 Mar 2021)
Changed paths:
M src/api/app/controllers/webui/users_controller.rb
M src/api/app/models/user.rb
A src/api/app/services/user_service/involved.rb
M src/api/app/views/webui/user/user_profile_redesign/_involvement.html.haml
M src/api/app/views/webui/user/user_profile_redesign/_involvement_and_activity.html.haml
M src/api/app/views/webui/users/show.html.haml
Log Message:
-----------
Move involved packages/projects logic to an service object
The logic to show and filter involved packages and projects
of a user was spread across controller and models.
In order to increase maintainability and to ease testing,
it's better to keep all the logic centralized in an service
object.
Related to #10324
Commit: a558458619ce1dd63b2340740e55ff1bffd02c36
https://github.com/openSUSE/open-build-service/commit/a558458619ce1dd63b2340...
Author: Lukas Krause
Date: 2021-03-19 (Fri, 19 Mar 2021)
Changed paths:
M src/api/spec/controllers/webui/users_controller_spec.rb
A src/api/spec/services/user_service/involved_spec.rb
Log Message:
-----------
Create rspec tests for user involved items service class
Commit: 9ad6e58f299815f25b347ac0b1725d86e5665b04
https://github.com/openSUSE/open-build-service/commit/9ad6e58f299815f25b347a...
Author: Lukas Krause
Date: 2021-03-19 (Fri, 19 Mar 2021)
Changed paths:
M src/api/app/controllers/webui/users_controller.rb
M src/api/app/models/user.rb
A src/api/app/services/user_service/involved.rb
M src/api/app/views/webui/user/user_profile_redesign/_involvement.html.haml
M src/api/app/views/webui/user/user_profile_redesign/_involvement_and_activity.html.haml
M src/api/app/views/webui/users/show.html.haml
M src/api/spec/controllers/webui/users_controller_spec.rb
A src/api/spec/services/user_service/involved_spec.rb
Log Message:
-----------
Merge pull request #10911 from krauselukas/issue_10324
Move involved packages/projects logic to an service object
Compare: https://github.com/openSUSE/open-build-service/compare/370ba614852d...9ad6e5...