Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: b63f40af76ec28dc0b80ccaae46a0cd52084f49e https://github.com/openSUSE/open-build-service/commit/b63f40af76ec28dc0b80cc... Author: Stephan Kulow <coolo@suse.de> Date: 2019-05-13 (Mon, 13 May 2019) Changed paths: M src/api/app/views/layouts/webui/_announcement.html.haml M src/api/app/views/layouts/webui/_header.html.haml M src/api/app/views/layouts/webui/_personal_navigation.html.haml M src/api/app/views/layouts/webui/_watch_and_search.html.haml M src/api/app/views/layouts/webui/webui.html.erb M src/api/app/views/layouts/webui2/_announcement.html.haml M src/api/app/views/layouts/webui2/_footer.html.haml M src/api/app/views/layouts/webui2/_logged_in_user_navigation.html.haml M src/api/app/views/layouts/webui2/_navigation.html.haml M src/api/app/views/layouts/webui2/_personal_navigation.html.haml M src/api/app/views/layouts/webui2/_watchlist_dropdown.html.haml M src/api/app/views/layouts/webui2/webui.html.haml M src/api/app/views/shared/_involved_users.html.haml M src/api/app/views/webui/announcements/show.html.haml M src/api/app/views/webui/attribute/_attributes.html.haml M src/api/app/views/webui/comment/_links.html.haml M src/api/app/views/webui/comment/_new.html.haml M src/api/app/views/webui/groups/show.html.haml M src/api/app/views/webui/image_templates/index.html.haml M src/api/app/views/webui/kiwi/images/_base_info.html.haml M src/api/app/views/webui/main/index.html.haml M src/api/app/views/webui/package/_branch_dialog.html.erb M src/api/app/views/webui/package/_files_view.html.erb M src/api/app/views/webui/package/_live_log_controls.html.erb M src/api/app/views/webui/package/binaries.html.erb M src/api/app/views/webui/package/meta.html.erb M src/api/app/views/webui/package/rdiff.html.erb M src/api/app/views/webui/package/show.html.erb M src/api/app/views/webui/package/view_file.html.erb M src/api/app/views/webui/patchinfo/show.html.haml M src/api/app/views/webui/project/_incident_request_dialog.html.erb M src/api/app/views/webui/project/_packages_table.html.erb M src/api/app/views/webui/project/list.html.erb M src/api/app/views/webui/project/maintained_projects.html.erb M src/api/app/views/webui/project/new.html.erb M src/api/app/views/webui/project/prjconf.html.erb M src/api/app/views/webui/project/show.html.erb M src/api/app/views/webui/project/status.html.erb M src/api/app/views/webui/project/subprojects.html.haml M src/api/app/views/webui/projects/meta/show.html.erb M src/api/app/views/webui/projects/project_configuration/show.html.erb M src/api/app/views/webui/repositories/_repository_entry.html.haml M src/api/app/views/webui/repositories/index.html.haml M src/api/app/views/webui/repositories/state.html.haml M src/api/app/views/webui/request/_add_role_request_dialog.html.erb M src/api/app/views/webui/theme/bento/layouts/webui/_header.html.haml M src/api/app/views/webui/user/_password_dialog.html.haml M src/api/app/views/webui/user/_save_dialog.html.haml M src/api/app/views/webui/user/show.html.haml M src/api/app/views/webui/users/tasks/_breadcrumb_items.html.haml M src/api/app/views/webui/users/tasks/index.html.haml M src/api/app/views/webui2/shared/user_or_groups_roles/_index.html.haml M src/api/app/views/webui2/shared/user_or_groups_roles/_list.html.haml M src/api/app/views/webui2/webui/announcements/show.html.haml M src/api/app/views/webui2/webui/comment/_new.html.haml M src/api/app/views/webui2/webui/comment/_reply.html.haml M src/api/app/views/webui2/webui/main/_user_proceed-list.html.haml M src/api/app/views/webui2/webui/main/index.html.haml M src/api/app/views/webui2/webui/package/_bottom_actions.html.haml M src/api/app/views/webui2/webui/package/_branch_dialog.html.haml M src/api/app/views/webui2/webui/package/_files_view.html.haml M src/api/app/views/webui2/webui/package/_live_build_log_controls.html.haml M src/api/app/views/webui2/webui/package/binaries.html.haml M src/api/app/views/webui2/webui/package/meta.html.haml M src/api/app/views/webui2/webui/package/rdiff.html.haml M src/api/app/views/webui2/webui/package/show.html.haml M src/api/app/views/webui2/webui/package/view_file.html.haml M src/api/app/views/webui2/webui/patchinfo/show.html.haml M src/api/app/views/webui2/webui/project/_bottom_actions.html.haml M src/api/app/views/webui2/webui/project/_project_packages.html.haml M src/api/app/views/webui2/webui/project/_status_comment.html.haml M src/api/app/views/webui2/webui/project/list.html.haml M src/api/app/views/webui2/webui/project/prjconf.html.haml M src/api/app/views/webui2/webui/project/show.html.haml M src/api/app/views/webui2/webui/project/side_links/_incident_project.html.haml M src/api/app/views/webui2/webui/project/status.html.haml M src/api/app/views/webui2/webui/project/subprojects.html.haml M src/api/app/views/webui2/webui/projects/meta/show.html.haml M src/api/app/views/webui2/webui/projects/project_configuration/show.html.haml M src/api/app/views/webui2/webui/repositories/_dod_repository_card_content.html.haml M src/api/app/views/webui2/webui/repositories/_repository_card_content.html.haml M src/api/app/views/webui2/webui/repositories/state.html.haml M src/api/app/views/webui2/webui/request/_add_role_request_dialog.html.haml M src/api/app/views/webui2/webui/request/show.html.haml M src/api/app/views/webui2/webui/staging/excluded_requests/index.html.haml M src/api/app/views/webui2/webui/users/tasks/index.html.haml Log Message: ----------- Switch to new User api within the views If the view requires a user to function, it needs to use User.session! to access it - if it's just checking permissions User.possibly_nobody is the proper option (if not using pundit yet) and to check if a user is logged in at all, User.session will return nil if not Commit: a711a28d56300e6117ffe585fd5ce75e1c28d0cd https://github.com/openSUSE/open-build-service/commit/a711a28d56300e6117ffe5... Author: Ana María Martínez Gómez <anamaria@martinezgomez.name> Date: 2019-05-13 (Mon, 13 May 2019) Changed paths: M src/api/app/views/layouts/webui/_announcement.html.haml M src/api/app/views/layouts/webui/_header.html.haml M src/api/app/views/layouts/webui/_personal_navigation.html.haml M src/api/app/views/layouts/webui/_watch_and_search.html.haml M src/api/app/views/layouts/webui/webui.html.erb M src/api/app/views/layouts/webui2/_announcement.html.haml M src/api/app/views/layouts/webui2/_footer.html.haml M src/api/app/views/layouts/webui2/_logged_in_user_navigation.html.haml M src/api/app/views/layouts/webui2/_navigation.html.haml M src/api/app/views/layouts/webui2/_personal_navigation.html.haml M src/api/app/views/layouts/webui2/_watchlist_dropdown.html.haml M src/api/app/views/layouts/webui2/webui.html.haml M src/api/app/views/shared/_involved_users.html.haml M src/api/app/views/webui/announcements/show.html.haml M src/api/app/views/webui/attribute/_attributes.html.haml M src/api/app/views/webui/comment/_links.html.haml M src/api/app/views/webui/comment/_new.html.haml M src/api/app/views/webui/groups/show.html.haml M src/api/app/views/webui/image_templates/index.html.haml M src/api/app/views/webui/kiwi/images/_base_info.html.haml M src/api/app/views/webui/main/index.html.haml M src/api/app/views/webui/package/_branch_dialog.html.erb M src/api/app/views/webui/package/_files_view.html.erb M src/api/app/views/webui/package/_live_log_controls.html.erb M src/api/app/views/webui/package/binaries.html.erb M src/api/app/views/webui/package/meta.html.erb M src/api/app/views/webui/package/rdiff.html.erb M src/api/app/views/webui/package/show.html.erb M src/api/app/views/webui/package/view_file.html.erb M src/api/app/views/webui/patchinfo/show.html.haml M src/api/app/views/webui/project/_incident_request_dialog.html.erb M src/api/app/views/webui/project/_packages_table.html.erb M src/api/app/views/webui/project/list.html.erb M src/api/app/views/webui/project/maintained_projects.html.erb M src/api/app/views/webui/project/new.html.erb M src/api/app/views/webui/project/prjconf.html.erb M src/api/app/views/webui/project/show.html.erb M src/api/app/views/webui/project/status.html.erb M src/api/app/views/webui/project/subprojects.html.haml M src/api/app/views/webui/projects/meta/show.html.erb M src/api/app/views/webui/projects/project_configuration/show.html.erb M src/api/app/views/webui/repositories/_repository_entry.html.haml M src/api/app/views/webui/repositories/index.html.haml M src/api/app/views/webui/repositories/state.html.haml M src/api/app/views/webui/request/_add_role_request_dialog.html.erb M src/api/app/views/webui/theme/bento/layouts/webui/_header.html.haml M src/api/app/views/webui/user/_password_dialog.html.haml M src/api/app/views/webui/user/_save_dialog.html.haml M src/api/app/views/webui/user/show.html.haml M src/api/app/views/webui/users/tasks/_breadcrumb_items.html.haml M src/api/app/views/webui/users/tasks/index.html.haml M src/api/app/views/webui2/shared/user_or_groups_roles/_index.html.haml M src/api/app/views/webui2/shared/user_or_groups_roles/_list.html.haml M src/api/app/views/webui2/webui/announcements/show.html.haml M src/api/app/views/webui2/webui/comment/_new.html.haml M src/api/app/views/webui2/webui/comment/_reply.html.haml M src/api/app/views/webui2/webui/main/_user_proceed-list.html.haml M src/api/app/views/webui2/webui/main/index.html.haml M src/api/app/views/webui2/webui/package/_bottom_actions.html.haml M src/api/app/views/webui2/webui/package/_branch_dialog.html.haml M src/api/app/views/webui2/webui/package/_files_view.html.haml M src/api/app/views/webui2/webui/package/_live_build_log_controls.html.haml M src/api/app/views/webui2/webui/package/binaries.html.haml M src/api/app/views/webui2/webui/package/meta.html.haml M src/api/app/views/webui2/webui/package/rdiff.html.haml M src/api/app/views/webui2/webui/package/show.html.haml M src/api/app/views/webui2/webui/package/view_file.html.haml M src/api/app/views/webui2/webui/patchinfo/show.html.haml M src/api/app/views/webui2/webui/project/_bottom_actions.html.haml M src/api/app/views/webui2/webui/project/_project_packages.html.haml M src/api/app/views/webui2/webui/project/_status_comment.html.haml M src/api/app/views/webui2/webui/project/list.html.haml M src/api/app/views/webui2/webui/project/prjconf.html.haml M src/api/app/views/webui2/webui/project/show.html.haml M src/api/app/views/webui2/webui/project/side_links/_incident_project.html.haml M src/api/app/views/webui2/webui/project/status.html.haml M src/api/app/views/webui2/webui/project/subprojects.html.haml M src/api/app/views/webui2/webui/projects/meta/show.html.haml M src/api/app/views/webui2/webui/projects/project_configuration/show.html.haml M src/api/app/views/webui2/webui/repositories/_dod_repository_card_content.html.haml M src/api/app/views/webui2/webui/repositories/_repository_card_content.html.haml M src/api/app/views/webui2/webui/repositories/state.html.haml M src/api/app/views/webui2/webui/request/_add_role_request_dialog.html.haml M src/api/app/views/webui2/webui/request/show.html.haml M src/api/app/views/webui2/webui/staging/excluded_requests/index.html.haml M src/api/app/views/webui2/webui/users/tasks/index.html.haml Log Message: ----------- Merge pull request #7544 from coolo/user_api_in_views Switch to new User api within the views Compare: https://github.com/openSUSE/open-build-service/compare/19d4872280a1...a711a2...