[openSUSE/open-build-service] 30ef79: Introduce tokens in web UI
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 30ef79855aebc2221be166b36a9e9d728fc28056 https://github.com/openSUSE/open-build-service/commit/30ef79855aebc2221be166... Author: Eduardo Navarro <enavarro@suse.com> Date: 2021-07-30 (Fri, 30 Jul 2021) Changed paths: M src/api/app/controllers/webui/users/rss_tokens_controller.rb A src/api/app/controllers/webui/users/tokens_controller.rb A src/api/app/policies/webui/token/rebuild_policy.rb A src/api/app/policies/webui/token/release_policy.rb A src/api/app/policies/webui/token/rss_policy.rb A src/api/app/policies/webui/token/service_policy.rb A src/api/app/policies/webui/token/workflow_policy.rb A src/api/app/policies/webui/token_policy.rb M src/api/app/views/webui/user/_index_actions.html.haml A src/api/app/views/webui/user/index_actions/_manage_tokens.haml A src/api/app/views/webui/users/tokens/_breadcrumb_items.html.haml A src/api/app/views/webui/users/tokens/index.html.haml M src/api/config/routes/webui_routes.rb Log Message: ----------- Introduce tokens in web UI - Add a new option to manage user's tokens from the web-ui: "User Profile", "Manage Your Tokens". - Implement listing and deleting tokens. Commit: 50a994ff4a0b71ccd8aea657af5aa330c602d6aa https://github.com/openSUSE/open-build-service/commit/50a994ff4a0b71ccd8aea6... Author: Eduardo Navarro <enavarro@suse.com> Date: 2021-07-30 (Fri, 30 Jul 2021) Changed paths: M src/api/app/controllers/webui/users/tokens_controller.rb M src/api/app/views/webui/users/tokens/index.html.haml Log Message: ----------- Add pagination to user's tokens using Kaminari gem Commit: 46a423b8a88bdf3a5cf29a6fd5edcc15f1281de2 https://github.com/openSUSE/open-build-service/commit/46a423b8a88bdf3a5cf29a... Author: Eduardo Navarro <enavarro@suse.com> Date: 2021-07-30 (Fri, 30 Jul 2021) Changed paths: M src/api/app/views/webui/users/notifications/_notifications_list.html.haml M src/api/config/locales/kaminari.en.yml Log Message: ----------- Use the humanized class name of objects in ... ... Kaminari collections. This way we can decide to name the entries of the collections or not. Commit: 95a72b0ec1ea0efd45fe8b196bf2ffee4a5bd9e9 https://github.com/openSUSE/open-build-service/commit/95a72b0ec1ea0efd45fe8b... Author: Eduardo Navarro <enavarro@suse.com> Date: 2021-07-30 (Fri, 30 Jul 2021) Changed paths: M src/api/app/controllers/webui/users/tokens_controller.rb M src/api/app/models/token.rb M src/api/app/policies/webui/token_policy.rb A src/api/app/views/webui/users/tokens/_actions.html.haml A src/api/app/views/webui/users/tokens/_create.js.erb M src/api/app/views/webui/users/tokens/index.html.haml A src/api/app/views/webui/users/tokens/new.html.haml M src/api/config/routes/webui_routes.rb Log Message: ----------- Add "Create Token" link Co-authored-by: Lukas Krause <lkrause@suse.de> Commit: 1add96d1caca566db01c4072e44f0dcc70642969 https://github.com/openSUSE/open-build-service/commit/1add96d1caca566db01c40... Author: Eduardo Navarro <enavarro@suse.com> Date: 2021-07-30 (Fri, 30 Jul 2021) Changed paths: M src/api/app/views/webui/users/tokens/index.html.haml Log Message: ----------- Add button classes to delete icon for tokens Commit: e71688b84eff64c347b15e3750a3c89cd7c348d5 https://github.com/openSUSE/open-build-service/commit/e71688b84eff64c347b15e... Author: Eduardo Navarro <enavarro@suse.com> Date: 2021-07-30 (Fri, 30 Jul 2021) Changed paths: M src/api/app/views/webui/users/tokens/new.html.haml Log Message: ----------- Add "Copy to clipboard" for newly created Token Commit: c2f76a00fb7dab8e910136a8aa7ffac2106bc268 https://github.com/openSUSE/open-build-service/commit/c2f76a00fb7dab8e910136... Author: Eduardo Navarro <enavarro@suse.com> Date: 2021-07-30 (Fri, 30 Jul 2021) Changed paths: M src/api/app/assets/javascripts/webui/autocomplete.js M src/api/app/controllers/webui/project_controller.rb M src/api/app/controllers/webui/users/tokens_controller.rb M src/api/app/models/project.rb M src/api/app/views/webui/users/tokens/new.html.haml Log Message: ----------- Add project and package autocomplete on package... ... selection when creating a token. Commit: d72ff2ebe340c93e48cc83c94493ead71dbb60f6 https://github.com/openSUSE/open-build-service/commit/d72ff2ebe340c93e48cc83... Author: Eduardo Navarro <enavarro@suse.com> Date: 2021-07-30 (Fri, 30 Jul 2021) Changed paths: M src/api/app/controllers/webui/users/tokens_controller.rb M src/api/app/models/token.rb M src/api/app/views/webui/users/tokens/_create.js.erb M src/api/spec/controllers/person/token_controller_spec.rb Log Message: ----------- Add scm_token Token and package validations for Token - Add optional package checks in the controller. - Add scm_token validation in the Token model. Co-authored-by: Dany Marcoux <dmarcoux@suse.com> Co-authored-by: Lukas Krause <lkrause@suse.de> Commit: d3c36fb8d618c3c7dd1c52f2097c8444d044d113 https://github.com/openSUSE/open-build-service/commit/d3c36fb8d618c3c7dd1c52... Author: Lukas Krause <lkrause@suse.de> Date: 2021-07-30 (Fri, 30 Jul 2021) Changed paths: M src/api/app/views/webui/users/tokens/new.html.haml Log Message: ----------- Hide package and project form on workflow token Commit: f6b899a127e48de81ed883e20706f544ccc8ae0d https://github.com/openSUSE/open-build-service/commit/f6b899a127e48de81ed883... Author: Eduardo Navarro <enavarro@suse.com> Date: 2021-07-30 (Fri, 30 Jul 2021) Changed paths: M src/api/app/assets/javascripts/webui/autocomplete.js M src/api/app/assets/javascripts/webui/request.js M src/api/app/views/webui/packages/branches/into.html.haml M src/api/app/views/webui/users/tokens/new.html.haml M src/api/spec/features/webui/projects_spec.rb M src/api/spec/features/webui/requests_spec.rb Log Message: ----------- Keep package field disabled as long as project ... ... field is empty. Commit: 653dd123b63214ac0fdb4a786dce28f9f17b825f https://github.com/openSUSE/open-build-service/commit/653dd123b63214ac0fdb4a... Author: Eduardo Navarro <enavarro@suse.com> Date: 2021-07-30 (Fri, 30 Jul 2021) Changed paths: A src/api/spec/controllers/webui/users/tokens_controller_spec.rb Log Message: ----------- Add tests for Webui::Users::TokenController Co-authored-by: Lukas Krause <lkrause@suse.de> Commit: df5dc4084342dc34cbbf046198484d25d36cfdf8 https://github.com/openSUSE/open-build-service/commit/df5dc4084342dc34cbbf04... Author: Eduardo Navarro <enavarro@suse.com> Date: 2021-07-30 (Fri, 30 Jul 2021) Changed paths: M src/api/app/assets/javascripts/webui/autocomplete.js M src/api/app/controllers/webui/users/tokens_controller.rb M src/api/app/models/token.rb M src/api/app/views/webui/users/tokens/new.html.haml M src/api/spec/controllers/webui/users/tokens_controller_spec.rb Log Message: ----------- Remove not necessary Token attribute accessors Commit: 7ffc265b0d67b1852d556c65212611b84e23191b https://github.com/openSUSE/open-build-service/commit/7ffc265b0d67b1852d556c... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2021-07-30 (Fri, 30 Jul 2021) Changed paths: M src/api/app/assets/javascripts/webui/autocomplete.js M src/api/app/assets/javascripts/webui/request.js M src/api/app/controllers/webui/project_controller.rb M src/api/app/controllers/webui/users/rss_tokens_controller.rb A src/api/app/controllers/webui/users/tokens_controller.rb M src/api/app/models/project.rb M src/api/app/models/token.rb A src/api/app/policies/webui/token/rebuild_policy.rb A src/api/app/policies/webui/token/release_policy.rb A src/api/app/policies/webui/token/rss_policy.rb A src/api/app/policies/webui/token/service_policy.rb A src/api/app/policies/webui/token/workflow_policy.rb A src/api/app/policies/webui/token_policy.rb M src/api/app/views/webui/packages/branches/into.html.haml M src/api/app/views/webui/user/_index_actions.html.haml A src/api/app/views/webui/user/index_actions/_manage_tokens.haml M src/api/app/views/webui/users/notifications/_notifications_list.html.haml A src/api/app/views/webui/users/tokens/_actions.html.haml A src/api/app/views/webui/users/tokens/_breadcrumb_items.html.haml A src/api/app/views/webui/users/tokens/_create.js.erb A src/api/app/views/webui/users/tokens/index.html.haml A src/api/app/views/webui/users/tokens/new.html.haml M src/api/config/locales/kaminari.en.yml M src/api/config/routes/webui_routes.rb M src/api/spec/controllers/person/token_controller_spec.rb A src/api/spec/controllers/webui/users/tokens_controller_spec.rb M src/api/spec/features/webui/projects_spec.rb M src/api/spec/features/webui/requests_spec.rb Log Message: ----------- Merge pull request #11399 from eduardoj/webui_for_user_tokens Introduce tokens in web UI Compare: https://github.com/openSUSE/open-build-service/compare/97f7ceed6d90...7ffc26...
participants (1)
-
Henne Vogelsang