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

Site Registration: Add plugin usage

XMLWordPrintable

    • MOODLE_405_STABLE
    • MDL-82347-main
    • Hide

      There is a unit test for the new method which collects the plugin usage data.

      Setup

      1. Use a Moodle site that has not been registered yet.
      2. Use Ngrok or similar to create a publicly accessible Moodle site.

      Manual testing

      1. Checkout the 'main' branch (don't use this patch yet).
      2. Log in as admin
      3. Go to Site admin -> General -> Registration
      4. Fill out the form and register your site
      5. Ensure that your site is now registered before proceeding.
      6. Apply this patch and purge your caches.
      7. Go to the registration page again.
      8. CONFIRM there is a banner stating 'Registration information has been changed ...'
      9. Expand the 'More information' section
      10. CONFIRM there is a new list item regarding plugin usage and that it is highlighted.
      11. Click the 'Update registration' button
      12. CONFIRM you see a banner stating 'Site registration updated'
      Show
      There is a unit test for the new method which collects the plugin usage data. Setup Use a Moodle site that has not been registered yet. Use Ngrok or similar to create a publicly accessible Moodle site. Manual testing Checkout the 'main' branch (don't use this patch yet). Log in as admin Go to  Site admin -> General -> Registration Fill out the form and register your site Ensure that your site is now registered before proceeding. Apply this patch and purge your caches. Go to the registration page again. CONFIRM there is a banner stating 'Registration information has been changed ...' Expand the 'More information' section CONFIRM there is a new list item regarding plugin usage and that it is highlighted. Click the 'Update registration' button CONFIRM you see a banner stating 'Site registration updated'
    • 2
    • Team Hedgehog 2024 Review 2, Team Hedgehog 2024 Sprint 3.1

      Add plugin usage data to the site registration data.
      This will need to be displayed in the data section of the site registration form, in a similar fashion to existing data.

      Registered sites provide key (anonymous) information to Moodle HQ to help with product development. Adding basic plugin usage will help us better understand the needs of organisations using Moodle.

      Like other registration data we collect, there is no personal identifiable information to be included. Just the raw data about the plugins.

      This may need a change to the receiving "hub" code to be able to accept this data.
      For blocks and activities include the number of instances of each. Functionally this will be very similar to the data displayed to admins at: /admin/plugins.php

        1. usage-2.png
          usage-2.png
          170 kB
        2. data-example.txt
          62 kB
        3. image-2024-08-20-09-03-13-436.png
          image-2024-08-20-09-03-13-436.png
          179 kB
        4. MDL-82347_highlight.png
          MDL-82347_highlight.png
          156 kB
        5. MDL-82347_newregistration.png
          MDL-82347_newregistration.png
          34 kB
        6. MDL-82347_registration_info.png
          MDL-82347_registration_info.png
          51 kB
        7. MDL-82347_updated.png
          MDL-82347_updated.png
          72 kB

            david.woloszyn@moodle.com David Woloszyn
            matt.porritt@moodle.com Matt Porritt
            Stevani Andolo Stevani Andolo
            Huong Nguyen Huong Nguyen
            Meirza Meirza
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 7 hours, 14 minutes
                1d 7h 14m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.