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

Remove Chat and Survey from core in Moodle 5.0

XMLWordPrintable

    • MOODLE_500_STABLE
    • MOODLE_500_STABLE
    • MDL-82457-main
    • Hide

      Testing scenario 1. Upgrade without the Chat and survey module present

      1. Start with a non-patched version of Moodle (main branch commit #088a6d324)
      2. Alternatively: use the test scenario attached (

        php admin/tool/generator/cli/runtestscenario.php --feature=`pwd`/MDL-82452-testing.feature

        Or:

        1. Enable "Chat" and "Survey" modules in Site Administration >Activity modules > Manage activities
        2. Create a sample course C1 with Chat activity and Survey activity
      1. Apply the patch of this issue
      2. Upgrade Moodle
      3. Login as an admin
      4. Go to C1
      5. Check that you cannot see the Chat or survey activity.
      6. Go to "Site administration > Plugins > Plugins overview".
      7. Confirm there is no longer a mention of 'Chat' or 'Survey'.

      Testing scenario 2. Upgrade with the Chat and survey module present

      1. Start with a non-patched version of Moodle (main branch commit #088a6d324)
      2. Alternatively: use the test scenario attached (

        php admin/tool/generator/cli/runtestscenario.php --feature=`pwd`/MDL-82452-testing.feature

        Or:

        1. Enable "Chat" and "Survey" modules in Site Administration >Activity modules > Manage activities
        2. Create a sample course C1 with Chat activity and Survey activity
      1. Install the main branch of the following plugin: https://github.com/moodlehq/moodle-mod_survey:

        git clone https://github.com/moodlehq/moodle-mod_survey.git survey

      2. Install the main branch of the following plugin: https://github.com/moodlehq/moodle-mod_chat

        git clone https://github.com/moodlehq/moodle-mod_chat.git chat

      3. Upgrade Moodle
      4. Login as an admin
      5. Go to C1
      6. Confirm that you can still see the Chat and survey previously created
      7. Confirm you can add Chat and Survey activities to the course and they work correctly
      8. Open the Chat window and confirm that the right panel has a white background (see screenshot). This confirms that the modules css are applied.
      9. Open the Survey and check that confirm lines are grayed (see screenshot)


       

      Show
      Testing scenario 1. Upgrade without the Chat and survey module present Start with a non-patched version of Moodle (main branch commit #088a6d324 ) Alternatively: use the test scenario attached ( php admin/tool/generator/cli/runtestscenario.php --feature=`pwd`/MDL- 82452 -testing.feature Or: Enable "Chat" and "Survey" modules in Site Administration >Activity modules > Manage activities Create a sample course C1 with Chat activity and Survey activity Apply the patch of this issue Upgrade Moodle Login as an admin Go to C1 Check that you cannot see the Chat or survey activity. Go to "Site administration > Plugins > Plugins overview". Confirm there is no longer a mention of 'Chat' or 'Survey'. Testing scenario 2. Upgrade with the Chat and survey module present Start with a non-patched version of Moodle (main branch commit #088a6d324 ) Alternatively: use the test scenario attached ( php admin/tool/generator/cli/runtestscenario.php --feature=`pwd`/MDL- 82452 -testing.feature Or: Enable "Chat" and "Survey" modules in Site Administration >Activity modules > Manage activities Create a sample course C1 with Chat activity and Survey activity Install the main branch of the following plugin: https://github.com/moodlehq/moodle-mod_survey : git clone https: //github.com/moodlehq/moodle-mod_survey.git survey Install the main branch of the following plugin: https://github.com/moodlehq/moodle-mod_chat git clone https: //github.com/moodlehq/moodle-mod_chat.git chat Upgrade Moodle Login as an admin Go to C1 Confirm that you can still see the Chat and survey previously created Confirm you can add Chat and Survey activities to the course and they work correctly Open the Chat window and confirm that the right panel has a white background (see screenshot). This confirms that the modules css are applied. Open the Survey and check that confirm lines are grayed (see screenshot)  
    • Hide

      Code verified against automated checks with warnings.

      Checked MDL-82457 using repository: https://github.com/laurentdavid/moodle.git

      Should these errors be fixed?

      Built on: Tue 10 Dec 2024 09:50:23 AM UTC

      Show
      Code verified against automated checks with warnings. Checked MDL-82457 using repository: https://github.com/laurentdavid/moodle.git main (0 errors / 1 warnings) [branch: MDL-82457-main | CI Job ] overview (0/0) , phplint (0/0) , phpcs (0/0) , js (0/0) , css (0/0) , phpdoc (0/0) , commit (0/1) , savepoint (0/0) , thirdparty (0/0) , externalbackup (0/0) , grunt (0/0) , shifter (0/0) , mustache (0/0) , gherkin (0/0) , Should these errors be fixed? Built on: Tue 10 Dec 2024 09:50:23 AM UTC
    • Show
      Launching automatic jobs for branch MDL-82457 -main https://ci.moodle.org/view/Testing/job/DEV.02%20-%20Developer-requested%20PHPUnit/17438/ PHPUnit (sqlsrv) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/59475/ Behat (NonJS - boost and classic) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/59476/ Behat (Firefox - boost) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/59477/ Behat (Firefox - classic) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/59478/ App tests (stable app version) Built on: Wed Nov 20 12:30:51 PM UTC 2024
    • 5
    • HQ 2024 Sprint I4.1 Moppies

      As it was announced on moodle.org for  Chat and Survey:

      With this level of usage the decision has been made to remove the Survey tool and Chat from Core Moodle and move them to the Plugins directory. They will remain available to be installed but no longer maintained by Moodle HQ.

      The deprecation schedule will be:

      • Moodle 4.4 - Survey tool and Chat will be disabled for all new installs by default.
      • Moodle 4.5 - No further changes
      • Moodle 5.0 - Survey tool and chat will be removed from core and migrated to the plugins database. 

       

      This issue is to:

      • Remove Chat and Survey from core in Moodle 5.0.
      • Add them to the plugins directory.
      • Define the content in the plugin check before upgrading to Moodle 5.0.
      • Remove the notification that was added in MDL-82297.

        1. (1) 8 Passed -- (Main)MDL-82457.png
          111 kB
          Kim Jared Lucas
        2. (2) 10 Passed -- (Main)MDL-82457.png
          123 kB
          Kim Jared Lucas
        3. (2) 7 Passed -- (Main)MDL-82457.png
          57 kB
          Kim Jared Lucas
        4. (2) 8 Passed -- (Main)MDL-82457.png
          86 kB
          Kim Jared Lucas
        5. (2) 9 Passed -- (Main)MDL-82457.png
          37 kB
          Kim Jared Lucas
        6. image-2024-10-31-11-08-01-185.png
          58 kB
          Laurent David
        7. image-2024-10-31-11-09-05-949.png
          84 kB
          Laurent David
        8. image-2024-10-31-11-10-15-505.png
          267 kB
          Laurent David
        9. image-2024-11-07-10-32-43-188.png
          159 kB
          Laurent David
        10. image-2024-11-18-09-54-32-204.png
          210 kB
          Laurent David
        11. INSTALL.txt
          0.6 kB
          Laurent David
        12. MDL-82452-testing.feature
          0.9 kB
          Laurent David
        13. screenshot-1.png
          36 kB
          Mikel Martín Corrales
        14. screenshot-2.png
          76 kB
          Mikel Martín Corrales
        15. screenshot-3.png
          171 kB
          Mikel Martín Corrales
        16. screenshot-4.png
          20 kB
          Laurent David

            laurent.david@moodle.com Laurent David
            sarjona Sara Arjona (@sarjona)
            Mikel Martín Corrales Mikel Martín Corrales
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:

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

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