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

BBB Custom Completion Fixes

    XMLWordPrintable

Details

    • MOODLE_400_STABLE, MOODLE_401_STABLE
    • MOODLE_400_STABLE
    • MDL-74468-400
    • MDL-74468-master
    • Hide

      Note: this test requires that the Moodle is visible from outside and that the Bigbluebutton server is setup to enable analytics events.

      This test is also covered by phpunit and behat test. For the tests to work, the mock server should have been updated (and https://github.com/moodlehq/bigbluebutton_mock/pull/23 merged)

      Testing the completion

      1. Make sure that in Admin > Plugins > Bigbluebutton > Experimental Settings : Register live sessions is checked (bigbluebuttonbn_meetingevents_enabled)
      2. Create a course with completion tracking and enrol a student
      3. Create a Big Blue Button activity in the course and set completion tracking to "show activity as complete when conditions are met" and check the "Chats" and "Require raise hand" condition.
      4. Login as a student in that course
      5. Make the student join the meeting
      6. Raise hand
      7. Add a message in the chat
      8. Exit the meeting
      9. Check that on the BBB server the meeting event is sent (if not force it by going into /usr/local/bigbluebutton/core/scripts and running post_events/post_events_analytics_callback.rb  -m <meetingid>, from the list in /var/bigbluebutton/events/).
      10. Run the cron
      11. Refresh the page.
      12. Ensure that BBB activity is marked as completed for the given criteria (chat and raise hand)in main content AND in courseindex areas

       

      Show
      Note: this test requires that the Moodle is visible from outside and that the Bigbluebutton server is setup to enable analytics events. This test is also covered by phpunit and behat test. For the tests to work, the mock server should have been updated (and https://github.com/moodlehq/bigbluebutton_mock/pull/23 merged) Testing the completion Make sure that in Admin > Plugins > Bigbluebutton > Experimental Settings : Register live sessions is checked (bigbluebuttonbn_meetingevents_enabled) Create a course with completion tracking and enrol a student Create a Big Blue Button activity in the course and set completion tracking to "show activity as complete when conditions are met" and check the "Chats" and "Require raise hand" condition. Login as a student in that course Make the student join the meeting Raise hand Add a message in the chat Exit the meeting Check that on the BBB server the meeting event is sent (if not force it by going into /usr/local/bigbluebutton/core/scripts and running post_events/post_events_analytics_callback.rb  -m <meetingid>, from the list in /var/bigbluebutton/events/). Run the cron Refresh the page. Ensure that BBB activity is marked as completed for the given criteria (chat and raise hand)in main content AND in courseindex areas  

    Description

      This is a split of some of the MDL-74296 patch that deals with custom completion. There are a couple of things that need to be fixed:

      When a user joins a session, in order to mark the BBB activity as complete, the user must stay in the meeting for a duration of time. Right now a user enters a room and that triggers attendance completion. A minimum duration time must be used to check if the activity should be marked complete.

      Attachments

        1. activity_page.PNG
          activity_page.PNG
          96 kB
        2. image-2022-05-20-19-06-04-145.png
          image-2022-05-20-19-06-04-145.png
          45 kB
        3. image-2022-05-20-19-06-46-682.png
          image-2022-05-20-19-06-46-682.png
          23 kB
        4. image-2022-05-20-19-07-19-427.png
          image-2022-05-20-19-07-19-427.png
          25 kB
        5. image-2022-06-09-17-07-43-935.png
          image-2022-06-09-17-07-43-935.png
          10 kB
        6. image-2022-06-09-17-46-55-717.png
          image-2022-06-09-17-46-55-717.png
          35 kB
        7. master_1_MDL-74468.png
          master_1_MDL-74468.png
          51 kB
        8. master_1_MDL-74468-1.png
          master_1_MDL-74468-1.png
          54 kB
        9. master_2_MDL-74468.png
          master_2_MDL-74468.png
          71 kB
        10. master_2_MDL-74468-1.png
          master_2_MDL-74468-1.png
          73 kB
        11. no_conditions.PNG
          no_conditions.PNG
          22 kB
        12. v400_1_MDL-74468.png
          v400_1_MDL-74468.png
          50 kB
        13. v400_1_MDL-74468-1.png
          v400_1_MDL-74468-1.png
          46 kB
        14. v400_2_MDL-74468.png
          v400_2_MDL-74468.png
          62 kB
        15. v400_2_MDL-74468-1.png
          v400_2_MDL-74468-1.png
          70 kB

        Issue Links

          Activity

            People

              lmdavid Laurent DAVID
              shamiso.jaravaza Shamiso Jaravaza
              Shamiso Jaravaza Shamiso Jaravaza
              Andrew Lyons Andrew Lyons
              John Edward Pedregosa John Edward Pedregosa
              Jesus Federico, Laurent DAVID
              Votes:
              1 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/Nov/22

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 8 minutes
                  1d 8m