Move reusable Identity Verification controller code to a base controller
Currently users go through identity verification process as part of the registration process. Moving forward, we want to allow users that have already started using Gitlab to go through identity verification to complete verification methods–phone number and/or credit card verification–that they didn't go through during registration in exchange for in-app benefits (e.g. more CI minutes). Here, we move controller code that are only relevant to identity verification during registration to a new RegistrationsIdentityVerificationController module and move all reusable controller code from IdentityVerificationController to a new BaseIdentityVerificationController module.
显示
- .gitlab/CODEOWNERS 2 个添加, 2 个删除.gitlab/CODEOWNERS
- .rubocop_todo/layout/line_continuation_spacing.yml 0 个添加, 1 个删除.rubocop_todo/layout/line_continuation_spacing.yml
- .rubocop_todo/layout/line_end_string_concatenation_indentation.yml 0 个添加, 1 个删除...todo/layout/line_end_string_concatenation_indentation.yml
- .rubocop_todo/lint/assignment_in_condition.yml 0 个添加, 1 个删除.rubocop_todo/lint/assignment_in_condition.yml
- doc/development/identity_verification.md 1 个添加, 1 个删除doc/development/identity_verification.md
- ee/app/assets/javascripts/pages/users/identity_verification/show/index.js 0 个添加, 3 个删除...vascripts/pages/users/identity_verification/show/index.js
- ee/app/assets/javascripts/pages/users/registrations_identity_verification/arkose_labs_challenge/index.js 0 个添加, 0 个删除...ions_identity_verification/arkose_labs_challenge/index.js
- ee/app/assets/javascripts/pages/users/registrations_identity_verification/show/index.js 0 个添加, 0 个删除...s/users/registrations_identity_verification/show/index.js
- ee/app/controllers/ee/omniauth_callbacks_controller.rb 2 个添加, 2 个删除ee/app/controllers/ee/omniauth_callbacks_controller.rb
- ee/app/controllers/users/base_identity_verification_controller.rb 17 个添加, 128 个删除...ontrollers/users/base_identity_verification_controller.rb
- ee/app/controllers/users/registrations_identity_verification_controller.rb 126 个添加, 0 个删除...s/users/registrations_identity_verification_controller.rb
- ee/app/views/users/registrations_identity_verification/arkose_labs_challenge.html.haml 0 个添加, 0 个删除...ons_identity_verification/arkose_labs_challenge.html.haml
- ee/app/views/users/registrations_identity_verification/show.html.haml 0 个添加, 0 个删除.../users/registrations_identity_verification/show.html.haml
- ee/app/views/users/registrations_identity_verification/success.html.haml 0 个添加, 0 个删除...ers/registrations_identity_verification/success.html.haml
- ee/config/routes/identity_verification.rb 1 个添加, 1 个删除ee/config/routes/identity_verification.rb
- ee/lib/ee/gitlab/etag_caching/router/rails.rb 1 个添加, 1 个删除ee/lib/ee/gitlab/etag_caching/router/rails.rb
- ee/spec/features/users/arkose_content_security_policy_spec.rb 2 个添加, 1 个删除...pec/features/users/arkose_content_security_policy_spec.rb
- ee/spec/requests/users/registrations_identity_verification_controller_spec.rb 14 个添加, 19 个删除...rs/registrations_identity_verification_controller_spec.rb
- ee/spec/views/users/registrations_identity_verification/show.html.haml_spec.rb 2 个添加, 2 个删除...egistrations_identity_verification/show.html.haml_spec.rb
- ee/spec/views/users/registrations_identity_verification/success.html.haml_spec.rb 1 个添加, 1 个删除...strations_identity_verification/success.html.haml_spec.rb
加载中
想要评论请 注册 或 登录