[obs-commits] [openSUSE/open-build-service] 47ca34: Add contribution graphs with BsRequests to user page
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 47ca34554c4e7699c3ae0e0c6c04393cf1be0d42 https://github.com/openSUSE/open-build-service/commit/47ca34554c4e7699c3ae0e... Author: Stephan Kulow <coolo@suse.de> Date: 2019-05-20 (Mon, 20 May 2019) Changed paths: M src/api/app/assets/stylesheets/webui2/user.scss M src/api/app/controllers/webui/user_controller.rb M src/api/app/helpers/webui/user_helper.rb M src/api/app/models/user.rb A src/api/app/views/webui2/webui/user/_activity.html.haml M src/api/app/views/webui2/webui/user/show.html.haml Log Message: ----------- Add contribution graphs with BsRequests to user page Implement a contribution graph that allow to see what a user has done, recognising this way his contributions. This will encourage people to contribute more, the more you contribute the more pink you get in your profile! For now only BsRequests created are shown in the graph. Co-authored-by: Ana María Martínez Gómez <anamaria@martinezgomez.name> Commit: 24db080b3fac375a73e0ac63b462906950b65e0a https://github.com/openSUSE/open-build-service/commit/24db080b3fac375a73e0ac... Author: Stephan Kulow <coolo@suse.de> Date: 2019-05-20 (Mon, 20 May 2019) Changed paths: M src/api/app/models/user.rb Log Message: ----------- Add Reviews and Comments to the contributions graph Make the contribution graph more accurate. Co-authored-by: Ana María Martínez Gómez <anamaria@martinezgomez.name> Commit: fe71e1a00fde391a514310e88d974696321b1864 https://github.com/openSUSE/open-build-service/commit/fe71e1a00fde391a514310... Author: Stephan Kulow <coolo@suse.de> Date: 2019-05-20 (Mon, 20 May 2019) Changed paths: M src/api/app/controllers/webui/user_controller.rb M src/api/app/models/user.rb A src/api/app/models/user/contributions.rb Log Message: ----------- Refactor user contributions into its own service class The number of functions and variables grew a little and a new class makes it a little clearer what the purpose of the individual functions is. Co-authored-by: Ana María Martínez Gómez <anamaria@martinezgomez.name> Commit: 796c63b9cd826e2cfbfbdbc53f61e8cf8ff2472e https://github.com/openSUSE/open-build-service/commit/796c63b9cd826e2cfbfbdb... Author: Stephan Kulow <coolo@suse.de> Date: 2019-05-20 (Mon, 20 May 2019) Changed paths: A src/api/app/helpers/webui/user_activity_helper.rb M src/api/app/helpers/webui/user_helper.rb Log Message: ----------- Split the activity functions from UserHelper The user helper gets too long (and Rubocop complains otherwise). Co-authored-by: Ana María Martínez Gómez <anamaria@martinezgomez.name> Commit: 3406e13d203c4ae3545ea0c38a19d8f9b3402dfd https://github.com/openSUSE/open-build-service/commit/3406e13d203c4ae3545ea0... Author: Stephan Kulow <coolo@suse.de> Date: 2019-05-20 (Mon, 20 May 2019) Changed paths: A src/api/spec/bootstrap/features/webui/users_spec.rb A src/api/spec/helpers/webui/user_activity_helper_spec.rb Log Message: ----------- Add tests for user graph activity Add helper test and feature test for user activities. Co-authored-by: Ana María Martínez Gómez <anamaria@martinezgomez.name> Commit: 5a872eaa8417580cbaf51432b39f5210ce42bb8d https://github.com/openSUSE/open-build-service/commit/5a872eaa8417580cbaf514... Author: Ana María Martínez Gómez <anamaria@martinezgomez.name> Date: 2019-05-20 (Mon, 20 May 2019) Changed paths: M src/api/app/assets/stylesheets/webui2/user.scss M src/api/app/controllers/webui/user_controller.rb A src/api/app/helpers/webui/user_activity_helper.rb A src/api/app/models/user/contributions.rb A src/api/app/views/webui2/webui/user/_activity.html.haml M src/api/app/views/webui2/webui/user/show.html.haml A src/api/spec/bootstrap/features/webui/users_spec.rb A src/api/spec/helpers/webui/user_activity_helper_spec.rb Log Message: ----------- Merge pull request #7588 from coolo/ar Add contributors graph to user show Compare: https://github.com/openSUSE/open-build-service/compare/f4e7c095236b...5a872e...
participants (1)
-
Ana María Martínez Gómez