1. 21 May, 2022 1 commit
  2. 20 May, 2022 1 commit
  3. 08 May, 2022 1 commit
    • Eloy Lafuente's avatar
      MDL-74413 phpunit: Move more tests to use correct names and namespaces · caf55abf
      Eloy Lafuente authored
      Applied the following changes to various testcase classes:
      
      - Namespaced with component[\level2-API]
      - Moved to level2-API subdirectory when required.
      - Fixed incorrect use statements with leading backslash.
      - Remove file phpdoc block
      - Remove MOODLE_INTERNAL if not needed.
      - Changed code to point to global scope when needed.
      - Fix some relative paths and comments here and there.
      - All them passing individually.
      - Complete runs passing too.
      
      Special mention to:
      
      - Moved to the level2 "privacy" namespace:
        - \mod_assign\privacy\feedback_legacy_polyfill_test
        - \mod_assign\privacy\submission_legacy_polyfill_test
      
      - Moved to the level2 "task" namespace:
        - \core_message\task\migrate_message_data_test
        - \ltiservice_gradebookservices\task\cleanup_test
        - \message_email\task\send_email_test
        - \mod_lti\task\clean_access_tokens_test
        - \mod_workshop\task\cron_task_test
      
      - Moved to the level2 "event" namespace:
        - \core_h5p\event\deleted_test
        - \core_h5p\event\viewed_test
      
      - Renamed to a better name:
        - backup_forum_activity_task_test.php (missing "task")
      caf55abf
  4. 06 May, 2022 6 commits
  5. 04 May, 2022 2 commits
  6. 03 May, 2022 6 commits
  7. 29 Apr, 2022 2 commits
  8. 28 Apr, 2022 1 commit
  9. 26 Apr, 2022 1 commit
  10. 23 Apr, 2022 2 commits
    • Eloy Lafuente's avatar
    • Eloy Lafuente's avatar
      MDL-74320 lesson: Remove tested elsewhere parts of the scenario · b952441d
      Eloy Lafuente authored
      The scenario has not only grades related completion conditions
      but also timing conditions or reach the end conditions that
      shouldn't be tested by a grades feature.
      
      More yet, those completion conditions are already tested by
      other feature files, namely:
      - reach the end: completion_condition_end_reached.feature
      - visit and timing: lesson_activity_completion.feature
      
      So we have removed all those parts that are being tested
      by other features.
      
      Specially the visit and timing ones, because they lead to
      random failures in slow environments and they have been
      fixed in the lesson_activity_completion.feature scenarios
      by MDL-72698.
      b952441d
  11. 22 Apr, 2022 1 commit
    • Laurent David's avatar
      MDL-74514 mod_bigbluebuttonbn: BBB server is polled too often · 7c0b2d4f
      Laurent David authored
      * Fix issue with the roomupdater that should not force the updatecache flag
      for get_meeting_info API
      * Fix issue when meeting is not started (and does not exist) and bigbluebutton_proxy::get_meeting_info
      throws an exception, skipping the cache and then polling the server every second.
      7c0b2d4f
  12. 14 Apr, 2022 5 commits
  13. 13 Apr, 2022 1 commit
  14. 12 Apr, 2022 1 commit
    • Tim Hunt's avatar
      MDL-74470 quiz: put back random Q description on the Question page · 2e1a6323
      Tim Hunt authored
      This got lost in the 4.0 question bank work.
      
      We are trying to phase out qtype_random, that is where the old
      code and lang strings for describing random questions is, so
      OK to add back a call to it. When we get better qbank filtering
      we can replace this again.
      
      Note, the asserts in the Behat were copied from my 3.11, checkout,
      to really verify we are restoring the previous behaviour.
      2e1a6323
  15. 11 Apr, 2022 1 commit
  16. 08 Apr, 2022 6 commits
  17. 07 Apr, 2022 2 commits
    • Laurent David's avatar
      MDL-74339 mod_bigbluebuttonbn: Fix upgrade recording from 2.4 · 8d3f6e71
      Laurent David authored
      * Only delete "Create" or "Update" logs when a recording has been effectively created
      * Reschedule task if fail or logs are left over
      * One task per meetingid
      8d3f6e71
    • Odei Alba's avatar
      MDL-74329 mod_quiz: scroll to top and to question container · 9446af72
      Odei Alba authored
      When reviewing the answers:
      1- When there are all the questions in one page and you click in the first question,
      it will scroll to the first question.
      2- When there is one question per page and you click in the question number,
      it will go to that question page and scroll to the top.
      If you click again the question number, it will scroll to the question container.
      9446af72