1. 22 Mar, 2022 1 commit
  2. 15 Mar, 2022 1 commit
    • Tim Hunt's avatar
      MDL-74130 question behat: rename behat_question -> behat_core_question · 9c65fe8b
      Tim Hunt authored
      This is the expected naming for a Behat file for a core component.
      Note, there are no acutal references to the deprecated class name
      in core, but there might be in plugins, so we added a
      backwards compatibility class with the old name. Thanks to
      Andrew Lyons for hints about how to do that.
  3. 03 Feb, 2022 1 commit
    • Guillermo Gomez's avatar
      MDL-71696 core_question: Changes for versioning · c6cfca2a
      Guillermo Gomez authored
      This commit adds the changes in questiontype base
      to work with new question tables and the new structure in the
      databse. Also needed for versioning.
      This implementation will also introduct the question status
      which allows a question to be in draft and ready status.
      I also introduces changes to the base view where it shows
      the latest version of the questions. The view of versions
      for a question is not implemented in this commit.
      This implementation will also introduce changes in the core
      qtype plugins to support versioning and the changed
      db schema.
  4. 22 Nov, 2021 1 commit
  5. 04 Oct, 2021 1 commit
    • Safat Shahin's avatar
      MDL-71679 mod_quiz: Updates for new qbank api · f9fc355e
      Safat Shahin authored
      This implementation will introduct changes to
      the mod_quiz to implement the new qbank api
      for view. Major changes are introduced in
      the custom view and also all the legacy points
      to the old qbank are changed to qbank plugins
      where needed. It also deprecated and deletes
      classes and scripts which were kept not to
      break mod_quiz for the new api implementation.
  6. 08 Sep, 2021 1 commit
    • Safat Shahin's avatar
      MDL-71614 qbank_previewquestion: Add Preview question plugin to core · 0d55b26d
      Safat Shahin authored
      This implementation will introduce a qbank plugin "previewquestion"
      which will view the preview question action in the question bank
      actions by replacing the core classes, scripts and yui modules.
      This plugin will also replace the preview option in the edit
      question form. Having this plugin will give users the
      flexibility of enabling or disabling this feature from
      the question bank view.
      This change will also allow other qbank plugins to add
      elements or information in the preview question page
      by implementing a callback. It also changes the pop
      up to page redirect from base view page to make sure
      any changes in preview reflects in the base view, for
      example, comments added and the number of comments in
      the comments colum changes while back from the preview
      page. Other locations like edit and qtype plugins where
      the preview is implemented, stays the same.
      Co-Authored-By: default avatarGuillermo Gomez Arias <guillermogomez@catalyst-au.net>
      Co-Authored-By: default avatarSafat Shahin <safatshahin@catalyst-au.net>
  7. 06 Sep, 2021 2 commits
  8. 02 Sep, 2021 1 commit
    • Safat Shahin's avatar
      MDL-71639 qbank_exporttoxml: Add Export to xml plugin to core · c1797c6c
      Safat Shahin authored
      This implementation will introduce a qbank plugin "exporttoxml"
      which will implement the export to xml action in the question
      bank view by replacing the core class. Having this plugin will
      give users the flexibility of enabling or disabling this action.
  9. 16 Aug, 2021 1 commit
    • safatshahin's avatar
      MDL-71516 core_question: Class movement for moodle autoloading · 86bdf879
      safatshahin authored
      Movement of classes to classes/local/bank and additional
      todo addition to all the existing ones to align with
      future tracker for class renaming. This commit does not
      contain any class renaming of the old or deprecated
      classes. MDL-72004 will be used to rename, remove or
      deprecate old classes after integrating all the qbank
  10. 19 May, 2020 1 commit
  11. 19 Feb, 2020 1 commit
  12. 18 Oct, 2019 1 commit
  13. 11 Oct, 2019 1 commit
  14. 01 Apr, 2019 1 commit
  15. 19 Mar, 2019 1 commit
  16. 06 Mar, 2019 1 commit
  17. 02 May, 2018 1 commit
  18. 23 Sep, 2016 1 commit
  19. 26 Nov, 2015 1 commit
  20. 27 Mar, 2015 1 commit
    • Tim Hunt's avatar
      MDL-40992 question engine: new ways modify question usages · f6579bea
      Tim Hunt authored
      * A method to change the max mark for one question_attempt in the usage
      * A method to replace one question in a usage with another, moving the
      old question_attempt to the end.
      * Methods to set and get metadata (string name value pairs) for each
      question_attempt in the usage. This gets stored in the first step in a
      way that should not interfere with anything else.
  21. 17 Nov, 2014 2 commits
  22. 08 Sep, 2014 1 commit
  23. 30 Jun, 2014 1 commit
  24. 05 Feb, 2014 1 commit
  25. 31 Jan, 2014 1 commit
  26. 10 Jan, 2014 2 commits
  27. 26 Sep, 2013 1 commit
    • Dan Poltawski's avatar
      MDL-41885 modules now declare use of question bank · b07ef13b
      Dan Poltawski authored
      * FEATURE_USES_QUESTION_BANK is now a module_supports flag which declares
        that an activity uses the question engine.
      * question_module_uses_questions can be used to determine if a module
        uses the question bank.
  28. 26 Jul, 2013 1 commit
    • Tim Hunt's avatar
      MDL-35053 questions: question files outside an attempt. · 181393aa
      Tim Hunt authored
      Sometimes it is necssary to display parts of a question outside of an
      attempt. For example for staff review. When displaying the question, we
      need to handle images in the question text. In the past there was a
      mechanism for this that could only cope with the question text.
      This commit introduces a new method that can handle displaying any
      part of the question content.
      This commit intentionally does not upgrade the parts of the system that
      use the mecanism. That is so that this commit can be used to demonstrate
      that backwards-compatibility works. The next commit will upgrade the