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

Site Registration: Add organisation type

XMLWordPrintable

    • MOODLE_405_STABLE
    • MOODLE_405_STABLE
    • MDL-82346-main
    • Hide

      Manual testing

      1. Use a non-live site (e.g. localhost) for testing this.
      2. Checkout the 'main' branch (don't use this patch yet).
      3. Log in as admin
      4. Go to Site admin -> General -> Registration
      5. Fill out the form and register your site (you will get a 'hub cannot access your site...' warning, but that is ok).
      6. Because we are testing locally, we will need to manually confirm this sites registration. Find the registration_hub database table and update the 'confirmed' value to 1
      7. Refresh your registration page and just ensure that the banner is reporting that your site is now registered.
      8. Apply this patch and purge your caches.
      9. Go to the registration page again.
      10. CONFIRM there is no banner stating 'Registration information has been changed'.
      11. CONFIRM there is a new select field called 'Organisation type'.
      12. Choose an option for 'Organisation type'.
      13. Submit the form (you will get a 'hub cannot access your site... warning, but that is ok).
      14. Go back to the registration form page.
      15. Refresh the page.
      16. CONFIRM that the option for 'Organisation type' is still set to what you chose.
      Show
      Manual testing Use a non-live site (e.g. localhost) for testing this. 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 (you will get a 'hub cannot access your site...' warning, but that is ok). Because we are testing locally, we will need to manually confirm this sites registration. Find the registration_hub database table and update the 'confirmed' value to 1 Refresh your registration page and just ensure that the banner is reporting that your site is now registered. Apply this patch and purge your caches. Go to the registration page again. CONFIRM there is no banner stating 'Registration information has been changed'. CONFIRM there is a new select field called 'Organisation type'. Choose an option for 'Organisation type'. Submit the form (you will get a 'hub cannot access your site... warning, but that is ok). Go back to the registration form page. Refresh the page. CONFIRM that the option for 'Organisation type' is still set to what you chose.
    • 2
    • Team Hedgehog 2024 Review 2, Team Hedgehog 2024 Sprint 3.1

      Add organization type to the site registration form.
      Registered sites provide key (anonymous) information to Moodle HQ to help with product development. Adding organisation type will help us better understand the types of organisations using Moodle and their needs.

      The list of organisations to add are:
      id orgtype
      1 Whole university
      2 University department
      3 College
      4 College department
      5 High school
      6 High school department
      7 Primary school
      8 Independent teacher
      9 Company internal
      10 Company department
      11 Commercial course provider
      12 Other
      13 High school district
      14 Government
      16 Charity or Not For Profit
      17 Charter school
      18 School district
      19 Hospital

      There isn't an ISO standard for org types (bit annoying), however, this list of types is used in other data sources we have. So it makes sense to align them.

      This should be a drop down that requires a selection in the registration form.
      Also we should only apply this to sites updating their registration or sites registering for the first time. We shouldn't force all sites to update their registration.

            david.woloszyn@moodle.com David Woloszyn
            matt.porritt@moodle.com Matt Porritt
            Huong Nguyen Huong Nguyen
            Ilya Tregubov Ilya Tregubov
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours, 11 minutes
                6h 11m

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