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

Course information missing from Group rooms naming in communication API

XMLWordPrintable

    • MOODLE_404_STABLE
    • MOODLE_404_STABLE
    • MDL-81333-main
    • Hide

      Setup

       # Clone Andrew's helper repository:

      git clone https://github.com/andrewnicols/moodle-synapse
      cd moodle-synapse
      chmod 777 *_data
      

       # Run the docker-compose up command:

      docker compose up -d
      

       # Wait for about 10 seconds for the first run to complete
       # Run the setup script:

      ./setup.sh
      

       # Copy the command it outputs
       # Change into your Moodle directory
       # Paste in the command, for EXAMPLE:

      cd path/to/moodle
      sed -i '/^require_once.*lib.*setup.php.*$/i require_once("/Users/nicols/git/moodlehq/synapse/moodle-config.php");' config.php
      cd -
      

       # If you have not done so already, edit your /etc/hosts file to add:

      127.0.0.1 element.container.docker.internal element
      127.0.0.1 synapse.container.docker.internal synapse
      127.0.0.1 keycloak.container.docker.internal keycloak
      

       # Follow the instructions at https://github.com/andrewnicols/moodle-synapse#trusting to trust the root CA that is used for this.

      Testing scenario

      1. Log in as an admin
      2. Create a course called 'Course A' and enable group mode (separate groups)
      3. Create a group called 'Group 1'
      4. Go to More -> Communication
      5. Set the provider to Matrix
      6. Leave 'Room name' blank and save changes.
      7. Run cron
      8. Log in to your element client.
      9. CONFIRM there is a new room called 'Group 1 (Course A)'
      10. Go back to Moodle and change the group name to 'Group 2'
      11. Run cron
      12. Go back to your Element client
      13. CONFIRM the room has been updated to 'Group 2 (Course A)'
      14. Go back to Moodle and navigate to the courses communication settings (More -> Communication)
      15. Update the room name to 'Course B'
      16. Run cron
      17. Go back to your Element client
      18. CONFIRM the room has been updated to 'Group 2 (Course B)'
      Show
      Setup  # Clone Andrew's helper repository: git clone https://github.com/andrewnicols/moodle-synapse cd moodle-synapse chmod 777 *_data  # Run the docker-compose up command: docker compose up -d  # Wait for about 10 seconds for the first run to complete  # Run the setup script: ./setup.sh  # Copy the command it outputs  # Change into your Moodle directory  # Paste in the command, for EXAMPLE : cd path/to/moodle sed -i '/^require_once.*lib.*setup.php.*$/i require_once("/Users/nicols/git/moodlehq/synapse/moodle-config.php");' config.php cd -  # If you have not done so already, edit your /etc/hosts file to add: 127.0.0.1 element.container.docker.internal element 127.0.0.1 synapse.container.docker.internal synapse 127.0.0.1 keycloak.container.docker.internal keycloak  # Follow the instructions at https://github.com/andrewnicols/moodle-synapse#trusting to trust the root CA that is used for this. Testing scenario Log in as an admin Create a course called 'Course A' and enable group mode (separate groups) Create a group called 'Group 1' Go to More -> Communication Set the provider to Matrix Leave 'Room name' blank and save changes. Run cron Log in to your element client. CONFIRM there is a new room called 'Group 1 (Course A)' Go back to Moodle and change the group name to 'Group 2' Run cron Go back to your Element client CONFIRM the room has been updated to 'Group 2 (Course A)' Go back to Moodle and navigate to the courses communication settings ( More -> Communication ) Update the room name to 'Course B' Run cron Go back to your Element client CONFIRM the room has been updated to 'Group 2 (Course B)'
    • 2
    • Team Hedgehog 2024 Sprint 1.3, Team Hedgehog 2024 Sprint 1.4
    • Small

      When group mode is enabled, communication API creates a room for the group.

      In some cases, courses have groups using general names, for ex, Group A, Group B, etc.

      Now if there are groups with specific names, it's not possible to identify which course this group room is related to.

      We should add some sort of information for the group room related to the course so that it is possible to trace back.

      Possible solutions might be:

      Group room name (Course name)

      Group room name (Course short name)

      (Course name) Group room name

      (Course short name) Group name

       

      Or,

      Room name: Group name

      Room topic (for matrix specific): Course name

       

      I can keep going but it's pretty clear now what we should try to achieve.

       

        1. Screen Shot 2024-03-26 at 1.26.04 pm.png
          Screen Shot 2024-03-26 at 1.26.04 pm.png
          32 kB
        2. error.png
          error.png
          92 kB
        3. MDL-81333-13.png
          MDL-81333-13.png
          13 kB
        4. MDL-81333-18.png
          MDL-81333-18.png
          12 kB
        5. MDL-81333-9.png
          MDL-81333-9.png
          12 kB

            david.woloszyn@moodle.com David Woloszyn
            safat.shahin@moodle.com Safat Shahin
            Stevani Andolo Stevani Andolo
            Huong Nguyen Huong Nguyen
            Kevin Percy Kevin Percy
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 4 hours, 2 minutes
                2d 4h 2m

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