Skip to content

feat: 🍰Implement Registration Slider

Hannes Heine requested to merge 4092-implement-new-registration into master

Created by: Tirokk

🍰 Pullrequest

Implement registration with slider.

Link for:

  • invite code: http://localhost:3000/registration?method=invite-code&inviteCode=AAAAAA
  • invite e-mail: http://localhost:3000/registration?method=invite-mail&email=wolle.huss%40pjannto.com&nonce=64853

Issues

Test manually

Public registration

  • Cypher for query nonce by e-mail: MATCH (email:EmailAddress {email: "wolle.huss@pjannto.com"}) RETURN email;

Should be tested, because of partial code connections:

  • change e-mail
    • Cypher for query nonce for change: MATCH (email:UnverifiedEmailAddress {email: "github@pjannto.com"}) RETURN email;
  • change password
  • admin invite
    • Cypher for query nonce by e-mail: MATCH (email:EmailAddress {email: "wolle.huss@pjannto.com"}) RETURN email;

Todo

  • frontend
    • change nonce length to 5
    • implement new nonce query
    • slider: public registration not possible
    • invent env INVITE_REGISTRATION
    • removed about you
    • remove some agreements which the user has to agree to
    • translate No Public Registration
    • webapp/components/EnterNonce/EnterNonce.vue
      • locale enter-invite.form.validations mentions 6 characters …
    • webapp/components/EnterNonce/EnterNonce.vue
      • show example code
      • locale enter-nonce.form.validations mentions 6 characters …
      • show example code
      • should be 5
    • have toaster for wrong invite code and wrong nonce
    • remove main headline and put it on the first slider
    • delete all old registration possibilities:
      • file: webapp/pages/registration/create-user-account.vue
      • file: webapp/pages/registration/enter-nonce.vue
      • file: webapp/pages/registration/signup.vue
      • file: webapp/components/Registration/CreateUserAccount.spec.js
      • file: webapp/components/Registration/CreateUserAccount.story.js
      • file: webapp/components/Registration/CreateUserAccount.vue
    • more files … ?
    • delete locales as well
      • termsAndConditions.termsAndConditionsConfirmed
      • components.registration.signup.form.data-privacy
      • components.registration.signup.form.minimum-age
      • components.registration.signup.form.no-commercial
      • components.registration.signup.form.no-political
    • keep files, because they are used:
      • used in password-reset webapp/pages/password-reset/enter-nonce.vue:
        • file: webapp/components/EnterNonce/EnterNonce.vue
      • used in admin/invite webapp/pages/admin/invite.vue:
        • file: webapp/components/Registration/Signup.spec.js
        • file: webapp/components/Registration/Signup.vue
    • (create issue) write frontend tests (see issue #4311 )
    • (create issue) use make password visible like in LoginForm? (see issue #4312 (closed) )
  • backend
    • invent env INVITE_REGISTRATION
    • implement test for mutation SignupVerification with inviteCode (see issue #4313 )
    • fix backend test in slugifyMiddleware
      • seems a flaky test?
  • e-mails
    • change admin e-mail invite to http://localhost:3000/registration?method=invite-mail&email=wolle.huss%40pjannto.com&nonce=64853
    • change public registration e-mail to http://localhost:3000/registration?method=invite-mail&email=wolle.huss%40pjannto.com&nonce=64853
    • check e-mail content is the nonce visible enough?
  • general
    • remove SignupByInvitation
  • deployment
  • invent env INVITE_REGISTRATION

Merge request reports