Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: e754533f6a0ce8fddd8d6ef85422ef56495c854a
https://github.com/openSUSE/open-build-service/commit/e754533f6a0ce8fddd8d6e...
Author: Stephan Kulow
Date: 2019-04-29 (Mon, 29 Apr 2019)
Changed paths:
M src/api/app/controllers/application_controller.rb
M src/api/app/controllers/build/file_controller.rb
M src/api/app/controllers/build_controller.rb
M src/api/app/controllers/cloud/upload_jobs_controller.rb
M src/api/app/controllers/person_controller.rb
M src/api/app/controllers/source_controller.rb
M src/api/app/controllers/source_project_package_meta_controller.rb
M src/api/app/controllers/webui/repositories_controller.rb
M src/api/app/controllers/webui/user_controller.rb
M src/api/app/controllers/webui/webui_controller.rb
M src/api/app/helpers/validation_helper.rb
M src/api/app/helpers/webui/group_helper.rb
M src/api/app/helpers/webui/webui_helper.rb
M src/api/app/models/bs_request.rb
M src/api/app/models/bs_request_permission_check.rb
M src/api/app/models/project.rb
M src/api/app/models/project/update_from_xml_command.rb
M src/api/app/models/relationship.rb
M src/api/app/models/unregistered_user.rb
M src/api/app/models/user.rb
M src/api/app/policies/project_policy.rb
M src/api/app/views/webui/download_on_demand/_index.html.haml
M src/api/app/views/webui/groups/show.html.haml
M src/api/app/views/webui/main/_status_messages.html.haml
M src/api/app/views/webui/main/index.html.haml
M src/api/app/views/webui/project/new.html.erb
M src/api/app/views/webui/repositories/index.html.haml
M src/api/app/views/webui/user/edit.html.haml
M src/api/app/views/webui2/status_messages/_item.html.haml
M src/api/app/views/webui2/webui/groups/_breadcrumb_items.html.haml
M src/api/app/views/webui2/webui/main/_proceed-list.html.haml
M src/api/app/views/webui2/webui/main/_status_messages.html.haml
M src/api/app/views/webui2/webui/main/index.html.haml
M src/api/app/views/webui2/webui/repositories/index.html.haml
M src/api/app/views/webui2/webui/user/edit.html.haml
Log Message:
-----------
Introduce User.admin_session?
User.current.is_admin? may crash if User.current is not there,
so it needs to be guarded, which is a lot of duplicated code
Commit: 0be1a606f5e23023844d1d6d17554348ce350145
https://github.com/openSUSE/open-build-service/commit/0be1a606f5e23023844d1d...
Author: Stephan Kulow
Date: 2019-04-29 (Mon, 29 Apr 2019)
Changed paths:
M src/api/app/controllers/application_controller.rb
M src/api/app/controllers/build/file_controller.rb
M src/api/app/controllers/build_controller.rb
M src/api/app/controllers/cloud/upload_jobs_controller.rb
M src/api/app/controllers/person_controller.rb
M src/api/app/controllers/source_controller.rb
M src/api/app/controllers/source_project_package_meta_controller.rb
M src/api/app/controllers/webui/repositories_controller.rb
M src/api/app/controllers/webui/user_controller.rb
M src/api/app/controllers/webui/webui_controller.rb
M src/api/app/helpers/validation_helper.rb
M src/api/app/helpers/webui/group_helper.rb
M src/api/app/helpers/webui/webui_helper.rb
M src/api/app/models/bs_request.rb
M src/api/app/models/bs_request_permission_check.rb
M src/api/app/models/project.rb
M src/api/app/models/project/update_from_xml_command.rb
M src/api/app/models/relationship.rb
M src/api/app/models/unregistered_user.rb
M src/api/app/models/user.rb
M src/api/app/policies/project_policy.rb
M src/api/app/views/webui/download_on_demand/_index.html.haml
M src/api/app/views/webui/groups/show.html.haml
M src/api/app/views/webui/main/_status_messages.html.haml
M src/api/app/views/webui/main/index.html.haml
M src/api/app/views/webui/project/new.html.erb
M src/api/app/views/webui/repositories/index.html.haml
M src/api/app/views/webui/user/edit.html.haml
M src/api/app/views/webui2/status_messages/_item.html.haml
M src/api/app/views/webui2/webui/groups/_breadcrumb_items.html.haml
M src/api/app/views/webui2/webui/main/_proceed-list.html.haml
M src/api/app/views/webui2/webui/main/_status_messages.html.haml
M src/api/app/views/webui2/webui/main/index.html.haml
M src/api/app/views/webui2/webui/repositories/index.html.haml
M src/api/app/views/webui2/webui/user/edit.html.haml
Log Message:
-----------
Merge pull request #7493 from coolo/add_admin_session
Introduce User.admin_session?
Compare: https://github.com/openSUSE/open-build-service/compare/87edd9571154...0be1a6...