Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-7339

Change 'Open to Google' setting to 'Open to search engines'

    XMLWordPrintable

Details

    • MOODLE_17_STABLE, MOODLE_27_STABLE, MOODLE_29_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
    • MOODLE_38_STABLE
    • MDL-7339-master
    • Hide
      Setup (Do this section for Tests 1 and 2)
      1. If your moodle instance is currently installed, uninstall it.
      2. Checkout the 3.7.0 tag:

        git checkout v3.7.0

      3. Install your site.
      Test 1 (no existing value set, or set to unchecked)
      1. Navigate to Site administration > Security > Site security settings.
      2. Make sure that the "Open to Google" (opentogoogle) checkbox is unchecked.
      3. Checkout the master branch

        git checkout master

      4. Go to the site admin page.
      5. CONFIRM You are prompted to upgrade.
      6. Complete the upgrade, CONFIRMING you do receive a page prompting you to set a new config value "Open to search engines".
      7. Navigate to Site administration > Security > Site security settings.
      8. CONFIRM you now see "Open to search engines" (opentowebcrawlers) instead of the previous opentogoogle setting.
      9. CONFIRM that setting is still not ticked.
      Test 2 (existing value set)
      1. Navigate to Site administration > Security > Site security settings.
      2. Tick the "Open to Google" (opentogoogle) checkbox and click save changes.
      3. Checkout the master branch

        git checkout master

      4. Go to the site admin page.
      5. CONFIRM You are prompted to upgrade.
      6. Complete the upgrade, CONFIRMING you do not receive a page prompting you to set a new config value "Open to search engines".
      7. Navigate to Site administration > Security > Site security settings.
      8. CONFIRM you now see "Open to search engines" (opentowebcrawlers) instead of the previous opentogoogle setting.
      9. CONFIRM that setting is ticked.
      Test 3 (Security overview report)
      1. Navigate to Site administration > Reports > Security overview.
      2. Open another browser tab (tab 2) and navigate to Site administration and search for opentowebcrawlers. (So you can easily change this and save for the next test steps)
      3. Open another browser tab (tab 3) and navigate to Site administration and search for guestloginbutton. (So you can easily change this and save for the next test steps)
      4. Go to tab 2 and tab 3 and set the following combinations of opentowebcrawlers and guestloginbutton settings and refresh the Security overview tab for each combination:
        Case opentowebcrawlers guestloginbutton
        1 Yes Show
        2 No Show
        3 Yes Hide
        4 No Hide
      5. Check the "Open to search engines" row on the Security overview page.
      6. CONFIRM that there is no reference to Google on the page in all of the above cases.
      7. CONFIRM that you see the following information for following cases
        Case Status Description
        1 Information Search engines may enter as guests.
        2 OK Search engine access is not enabled.
        3 Serious Search engine access is allowed but guest access is disabled.
        4 OK Search engine access is not enabled.
      8. In each of the above case, click the "Open to search engines" link.
      9. CONFIRM the overview page that loads only refers to "search engines" and there is no reference to Google.
      Show
      Setup (Do this section for Tests 1 and 2) If your moodle instance is currently installed, uninstall it. Checkout the 3.7.0 tag: git checkout v3.7.0 Install your site. Test 1 (no existing value set, or set to unchecked) Navigate to Site administration > Security > Site security settings. Make sure that the "Open to Google" ( opentogoogle ) checkbox is unchecked. Checkout the master branch git checkout master Go to the site admin page. CONFIRM You are prompted to upgrade. Complete the upgrade, CONFIRMING you do receive a page prompting you to set a new config value "Open to search engines". Navigate to Site administration > Security > Site security settings. CONFIRM you now see "Open to search engines" ( opentowebcrawlers ) instead of the previous opentogoogle setting. CONFIRM that setting is still not ticked. Test 2 (existing value set) Navigate to Site administration > Security > Site security settings. Tick the "Open to Google" ( opentogoogle ) checkbox and click save changes. Checkout the master branch git checkout master Go to the site admin page. CONFIRM You are prompted to upgrade. Complete the upgrade, CONFIRMING you do not receive a page prompting you to set a new config value "Open to search engines". Navigate to Site administration > Security > Site security settings. CONFIRM you now see "Open to search engines" ( opentowebcrawlers ) instead of the previous opentogoogle setting. CONFIRM that setting is ticked. Test 3 (Security overview report) Navigate to Site administration > Reports > Security overview. Open another browser tab (tab 2) and navigate to Site administration and search for opentowebcrawlers . (So you can easily change this and save for the next test steps) Open another browser tab (tab 3) and navigate to Site administration and search for guestloginbutton . (So you can easily change this and save for the next test steps) Go to tab 2 and tab 3 and set the following combinations of opentowebcrawlers and guestloginbutton settings and refresh the Security overview tab for each combination: Case opentowebcrawlers guestloginbutton 1 Yes Show 2 No Show 3 Yes Hide 4 No Hide Check the "Open to search engines" row on the Security overview page. CONFIRM that there is no reference to Google on the page in all of the above cases. CONFIRM that you see the following information for following cases Case Status Description 1 Information Search engines may enter as guests. 2 OK Search engine access is not enabled. 3 Serious Search engine access is allowed but guest access is disabled. 4 OK Search engine access is not enabled. In each of the above case, click the "Open to search engines" link. CONFIRM the overview page that loads only refers to "search engines" and there is no reference to Google.
    • Internationals - 3.8 Sprint 1

    Description

      Just seen what the opentogoogle configuration option actually does under the hood, and I think Google might well have a word or two to say about it in future, as its not limited to the Google search engine.

      Might be worth thinking about this at least in the lang strings, particularly in light of things like this: http://googleblog.blogspot.com/2006/10/do-you-google.html

      Attachments

        Activity

          People

            michaelh Michael Hawkins
            poltawski Dan Poltawski
            David Mudrák (@mudrd8mz) David Mudrák (@mudrd8mz)
            Jun Pataleta Jun Pataleta
            Gladys Basiana Gladys Basiana
            David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              18/Nov/19

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 43 minutes
                1d 43m