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

Global on/off switch for analytics

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Install a new site
      2. Log in as admin
      3. You SHOULD see an Analytics category under Site administration with three nodes below it Site information, Analytics settings and Analytics models
      4. Go to Site admin > Advanced features
      5. You SHOULD see a new Enable analytics option, with its default value to enabled (latest setting).
      6. Disable Enable analytics
      7. You SHOULD NOT see an Analytics category under Site administration
      8. Go to admin/tool/analytics/index.php
      9. You SHOULD get a Section error! error
      10. Go to report/insights/insights.php?contextid=1
      11. You SHOULD get a Analytics is disabled. You can enable it in "Site administration > Advanced features". notification with a Continue button
      12. Go to CLI and execute php admin/tool/analytics/cli/evaluate_model.php
      13. You SHOULD get a Analytics is disabled. You can enable it in "Site administration > Advanced features". message
      Show
      Install a new site Log in as admin You SHOULD see an Analytics category under Site administration with three nodes below it Site information , Analytics settings and Analytics models Go to Site admin > Advanced features You SHOULD see a new Enable analytics option, with its default value to enabled (latest setting). Disable Enable analytics You SHOULD NOT see an Analytics category under Site administration Go to admin/tool/analytics/index.php You SHOULD get a Section error! error Go to report/insights/insights.php?contextid=1 You SHOULD get a Analytics is disabled. You can enable it in "Site administration > Advanced features". notification with a Continue button Go to CLI and execute php admin/tool/analytics/cli/evaluate_model.php You SHOULD get a Analytics is disabled. You can enable it in "Site administration > Advanced features". message
    • Affected Branches:
      MOODLE_38_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-65585_master

      Description

      Analytics models work like scheduled tasks, they can be disabled manually. The tasks that execute analytics processes can also be disabled. A global on/off switch still seems needed for people that wants to completely switch them off.

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours
                3h