Details

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

      Description

      As an Owner I'd like to be secured from bots so that I'm not flooded with spam

      Honeypot is a popular technique that works like that:

      • We put an invisible field on form (display: none)
      • If the field was filled, then it's a bot that fills all the fields on form

      Acceptance Criteria:

      • There is invisible field in both registration forms (pop up and registration page).
      • If the bot is detected (invisible field is filled with some data), user sees a pop up message like "Invalid request!". Bot is redirected to the main page.
      • Info about bot (IP, email and user-agent) is wrote to the application log (to prevent bot activity in future).

        Attachments

          Issue Links

            Activity

            Hide
            julik Julia Atlygina added a comment -

            Artem R please take a look also on this story as a owner

            Show
            julik Julia Atlygina added a comment - Artem R please take a look also on this story as a owner
            Hide
            Keiran Keiran added a comment - - edited

            For editing page source code use FireBug plugin for Firefox or press F12 for Chrome

            Pre-condition:

            1. Registration form is opened
            2. Edit source code element:
               <div class="hide-element"> 

              to

               <div class="control-group"> 

            Test scenario

            1. Fill all input fields with correct data
            2. Enter in 'Please leave this field empty' any text
            3. Click 'Sign Up'

            ER=AR: Error message 'Invalid registration request.', information added to jcommune-application.log

            Pre-condition:

            1. Registration pop-up form is opened
            2. Edit source code element:
               'class="input-xlarge hide-element" 

              to

               class="input-xlarge" 

            Test scenario

            1. Fill all input fields with correct data
            2. Enter in 'Please leave this field empty' any text
            3. Click 'Sign Up'

            ER=AR: Error message 'Invalid registration request.', information added to jcommune-application.log

            Checked for all langauge. All tests pass

            Regression testing:

            test result
            Register user, correct data pass
            Register user, existing username pass
            Register user, existing e-mail pass
            Registeruser, empty fields (login/e-mail/password/confirm password/captcha) pass
            Acrivate user pass
            Login user pass
            Logout pass

            Test results: all tests passed

            Note:

            1. There is no dot at the end of all old error messages, but all new once do have this dot.
            2. In Ukranian error message text is 'Невірний запит під час режстраціх.'. It must be 'Невірний запит під час реєстрації'
            Show
            Keiran Keiran added a comment - - edited For editing page source code use FireBug plugin for Firefox or press F12 for Chrome Pre-condition: Registration form is opened Edit source code element: <div class= "hide-element" > to <div class= "control-group" > Test scenario Fill all input fields with correct data Enter in 'Please leave this field empty' any text Click 'Sign Up' ER = AR : Error message 'Invalid registration request.', information added to jcommune-application.log Pre-condition: Registration pop-up form is opened Edit source code element: 'class= "input-xlarge hide-element" to class= "input-xlarge" Test scenario Fill all input fields with correct data Enter in 'Please leave this field empty' any text Click 'Sign Up' ER = AR : Error message 'Invalid registration request.', information added to jcommune-application.log Checked for all langauge. All tests pass Regression testing: test result Register user, correct data pass Register user, existing username pass Register user, existing e-mail pass Registeruser, empty fields (login/e-mail/password/confirm password/captcha) pass Acrivate user pass Login user pass Logout pass Test results: all tests passed Note: There is no dot at the end of all old error messages, but all new once do have this dot. In Ukranian error message text is 'Невірний запит під час режстраціх.'. It must be 'Невірний запит під час реєстрації'
            Hide
            Keiran Keiran added a comment -

            All tests passed, issue closed

            Show
            Keiran Keiran added a comment - All tests passed , issue closed
            Hide
            julik Julia Atlygina added a comment -

            Keiran, what about notes? were they fixed?

            Show
            julik Julia Atlygina added a comment - Keiran , what about notes? were they fixed?
            Hide
            Keiran Keiran added a comment -

            Second note is fixed. First is invisible for normal users.

            Show
            Keiran Keiran added a comment - Second note is fixed. First is invisible for normal users.

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 0.45h
                  0.45h

                    Structure Helper Panel