Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2 Penguins
    • Fix Version/s: 2.6 Penguins
    • Labels:
      None
    • Sprint:
      2.6 Penguins

      Description

      As a User I'd like to be able to Sign Up directly in Antarcticle without going to JC or Poulpe

      Acceptance Criteria available for DEV instance

      • A Sign Up button/link should appear in the right top corner
      • By pressing it, user is redirected to Sign Up page which has URL e.g. qa.jtalks.org/antarcticle/signup (see screenshot).
      • Sign Up Page should demand username, password and e-mail
        • Username field should accept from 1 to 25 symbols (space, latin, cyryllic letters, numbers, special characters, ASCII etc.)
          Text of validation message: Username length must be between 1 and 25 characters
        • Username field should accept only values that don't exist
          Text of validation message: User with the username already exists
        • Password field should accept from 1 to 50 symbols (space, latin, cyryllic letters, numbers, special characters, ASCII etc.)
          Text of validation message: Password length must be between 1 and 50 characters
        • Email field validation must be as template mail@mail.ru
          Text of validation message: An email format should be like mail@mail.ru
        • Email field should accept only values that don't exist
          Text of validation message: User with the email already exists.
        • Email field should be less than 50 characters
          Text of validation message: Email field should not contain more than 50 symbols.
      • User should get notification message on her email address.
      • Notification message should include activation link (e.g. http://http://articles.javatalks.ru/user/activate/44e06d29-9c38-4102-8a9b-b6260a3320d8)
      • If user goes through activation link in email message she should be redirected to Antarcticle and should be automatically logged in.
      • If user goes through activation link 2nd time, she should be directed to the main page with no messages showed up. She should remain logged out if she was logged out or logged in if she was logged in.
      • Text of notification message:
        English

        Dear username!
        This mail is to confirm your registration at Site Name.
        Please follow the link below to activate your account http://articles.javatalks.ru/login
        Best regards,
        Site Name.

      NB:

        Attachments

          Issue Links

          Structure

          (does not include ANTARCTICLE-248)
          History

            Activity

            Hide
            Muzhichok Alexandr Muzhichok added a comment - - edited

            Environment: 2.6.570.5b480a3

            Some tests in Structure (with view "Antarcticle-248") were failed and description of them see below:

            1. Summary: It is possible to open sign up page on QA instance via direct link
            Steps to reproduce: Type direct link to signup page in browser (http://qa.jtalks.org/antarcticle/signup) and press enter
            Actual result: Sign up page is opened
            Expected result: Page with 404 error is opened
            2. Summary: Incorrect error message about email field during registration with empty fields
            Steps to reproduce:
            1. Open Antarcticle page, click on the button "Sign up"
            2. On the sign up page leave all fields empty and click on the button "Sign Up"
            Actual result: Error message appears "Email is not valid email address"
            Expected result: Error massage appears "An email format should be like mail@mail.ru"
            3. Summary: There is no checking on existing usernames and emails during registration
            Steps to reproduce:
            1. Sign up new user (for example with username = UD and email = UD@jtalks.org)
            2. Open sign up page, type username and email of just registered user (leave password field empty) and press "Sign Up" button
            Actual result: There are no error messages about existing username and email
            Expected result: Error message appears about existing username: "User with the username already exists" and error message appears about existing email: "User with the email already exists"

            In this case the story needs to be reopen

            Show
            Muzhichok Alexandr Muzhichok added a comment - - edited Environment : 2.6.570.5b480a3 Some tests in Structure (with view "Antarcticle-248") were failed and description of them see below: 1. Summary : It is possible to open sign up page on QA instance via direct link Steps to reproduce : Type direct link to signup page in browser ( http://qa.jtalks.org/antarcticle/signup ) and press enter Actual result : Sign up page is opened Expected result : Page with 404 error is opened 2. Summary : Incorrect error message about email field during registration with empty fields Steps to reproduce : 1. Open Antarcticle page, click on the button "Sign up" 2. On the sign up page leave all fields empty and click on the button "Sign Up" Actual result : Error message appears "Email is not valid email address" Expected result : Error massage appears "An email format should be like mail@mail.ru" 3. Summary : There is no checking on existing usernames and emails during registration Steps to reproduce : 1. Sign up new user (for example with username = UD and email = UD@jtalks.org) 2. Open sign up page, type username and email of just registered user (leave password field empty) and press "Sign Up" button Actual result : There are no error messages about existing username and email Expected result : Error message appears about existing username: "User with the username already exists" and error message appears about existing email: "User with the email already exists" In this case the story needs to be reopen
            Hide
            Muzhichok Alexandr Muzhichok added a comment - - edited

            After discussion with Stanislav Bashkyrtsev (despite the first comment) it was decided that non-activated user is not removed from database after 24 hours

            Show
            Muzhichok Alexandr Muzhichok added a comment - - edited After discussion with Stanislav Bashkyrtsev (despite the first comment ) it was decided that non-activated user is not removed from database after 24 hours
            Hide
            Muzhichok Alexandr Muzhichok added a comment -

            Environment: 2.6.571.bbf934d

            Some tests in Structure (with view "Antarcticle-248") were failed and description of them see below:

            1. Summary: Impossible to register with valid email
            Steps to reproduce:
            1. Open Antarcticle page, click on the button "Sign up"
            2. On the sign up page, type email as email@123.123.123.123 and click on the button "Sign Up"
            Actual result: Error massage appears "An email format should be like mail@mail.ru"
            Expected result: There is no error message about email format
            2. Summary: Possible to register with invalid emails
            Steps to reproduce:
            1. Open Antarcticle page, click on the button "Sign up"
            2. On the sign up page type email as email@.domain.com and click on the button "Sign Up"
            Actual result: Error message does not appear about email format
            Expected result: Error massage appears "An email format should be like mail@mail.ru"
            Note: The same problem with emails as: email@domain..com, email..email@domain.com, email.@domain.com, email@-domain.com

            In this case the story needs to be reopen

            Show
            Muzhichok Alexandr Muzhichok added a comment - Environment : 2.6.571.bbf934d Some tests in Structure (with view "Antarcticle-248") were failed and description of them see below: 1. Summary : Impossible to register with valid email Steps to reproduce : 1. Open Antarcticle page, click on the button "Sign up" 2. On the sign up page, type email as email@123.123.123.123 and click on the button "Sign Up" Actual result : Error massage appears "An email format should be like mail@mail.ru" Expected result : There is no error message about email format 2. Summary : Possible to register with invalid emails Steps to reproduce : 1. Open Antarcticle page, click on the button "Sign up" 2. On the sign up page type email as email@.domain.com and click on the button "Sign Up" Actual result : Error message does not appear about email format Expected result : Error massage appears "An email format should be like mail@mail.ru" Note : The same problem with emails as: email@domain..com, email..email@domain.com, email.@domain.com, email@-domain.com In this case the story needs to be reopen
            Hide
            Muzhichok Alexandr Muzhichok added a comment -

            Honeypots anti-bot for registration form would be implemented as separate task

            Show
            Muzhichok Alexandr Muzhichok added a comment - Honeypots anti-bot for registration form would be implemented as separate task
            Hide
            Muzhichok Alexandr Muzhichok added a comment -

            Environment: 2.6.572.758c3bd

            All tests in Structure are PASS

            Issue can be

            CLOSED

            Show
            Muzhichok Alexandr Muzhichok added a comment - Environment : 2.6.572.758c3bd All tests in Structure are PASS Issue can be CLOSED

              People

              • Assignee:
                Muzhichok Alexandr Muzhichok
                Reporter:
                ctapobep Stanislav Bashkyrtsev
              • Votes:
                0 Vote for this issue
                Watchers:
                Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Structure Helper Panel