Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 2de157375987999b8f229f7dafa8201f1dbe4f11
https://github.com/openSUSE/open-build-service/commit/2de157375987999b8f229f...
Author: Rubhan Azeem
Date: 2022-01-24 (Mon, 24 Jan 2022)
Changed paths:
M src/api/app/components/copy_to_clipboard_input_component.html.haml
M src/api/app/components/copy_to_clipboard_input_component.rb
M src/api/app/components/token_card_component.html.haml
M src/api/app/controllers/webui/users/tokens_controller.rb
M src/api/app/policies/token_policy.rb
M src/api/app/views/webui/users/tokens/_actions.html.haml
M src/api/app/views/webui/users/tokens/_breadcrumb_items.html.haml
R src/api/app/views/webui/users/tokens/_create.js.erb
M src/api/app/views/webui/users/tokens/edit.html.haml
M src/api/app/views/webui/users/tokens/new.html.haml
A src/api/app/views/webui/users/tokens/show.html.haml
Log Message:
-----------
Add show token view
We have been reusing the tokens#new view as show page this is confusing
and it makes the token creation process difficult. We have added this new token#show view to simplify the process and to follow rails conventions.
Co-authored-by: Dany Marcoux
Commit: b075963dca54749499ea560dbb55717e550c3cbb
https://github.com/openSUSE/open-build-service/commit/b075963dca54749499ea56...
Author: Rubhan Azeem
Date: 2022-01-24 (Mon, 24 Jan 2022)
Changed paths:
M src/api/spec/controllers/webui/users/tokens_controller_spec.rb
M src/api/spec/policies/token_policy_spec.rb
Log Message:
-----------
Update specs to check redirection to show page after successful token creation and to check policy to grant permission to have trigger token action
Commit: ca2ac70b6f5668c2248c373f991da73e93a9c8cb
https://github.com/openSUSE/open-build-service/commit/ca2ac70b6f5668c2248c37...
Author: Dany Marcoux
Date: 2022-01-24 (Mon, 24 Jan 2022)
Changed paths:
M src/api/app/components/copy_to_clipboard_input_component.html.haml
M src/api/app/components/copy_to_clipboard_input_component.rb
M src/api/app/components/token_card_component.html.haml
M src/api/app/controllers/webui/users/tokens_controller.rb
M src/api/app/policies/token_policy.rb
M src/api/app/views/webui/users/tokens/_actions.html.haml
M src/api/app/views/webui/users/tokens/_breadcrumb_items.html.haml
R src/api/app/views/webui/users/tokens/_create.js.erb
M src/api/app/views/webui/users/tokens/edit.html.haml
M src/api/app/views/webui/users/tokens/new.html.haml
A src/api/app/views/webui/users/tokens/show.html.haml
M src/api/spec/controllers/webui/users/tokens_controller_spec.rb
M src/api/spec/policies/token_policy_spec.rb
Log Message:
-----------
Merge pull request #12104 from rubhanazeem/token-show
Simplify token creation code
Compare: https://github.com/openSUSE/open-build-service/compare/f6670eef2df4...ca2ac7...