1. 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.
      f6579bea
  2. 05 Dec, 2014 1 commit
  3. 03 Jul, 2014 1 commit
  4. 27 Jan, 2014 1 commit
    • Tim Hunt's avatar
      MDL-43874 quiz, teacher comments should respect display options. · e101ec9f
      Tim Hunt authored
      Whether the comments on manually graded questions were visible to
      students should have been controlled by the 'Specific feedback' Review
      option in the quiz settings. However, the quiz was not setting
      $displayoptions->manualcomment, so it did not work.
      e101ec9f
  5. 24 Jan, 2014 1 commit
  6. 23 Jan, 2014 1 commit
  7. 16 Jan, 2014 1 commit
    • Kyle Temkin's avatar
      MDL-39756 add advanced attachment options to essay question type · a4f765eb
      Kyle Temkin authored
      Adds a set of options to the essay question type which implement
      the following new features:
      
      -Adds an input format which accepts only file uploads, and no
       inline text.
      -Adds an option to make the inline text response optional when
       attachments are enabled, so students can choose to upload
       an essay file.
      -Adds an option to make attachments required, so essays without
       attachments will be marked incomplete.
      a4f765eb
  8. 05 Oct, 2013 1 commit
  9. 10 Sep, 2013 1 commit
  10. 02 Aug, 2013 1 commit
    • Ruslan Kabalin's avatar
      MDL-31226: quiz: Fix message for attempts built on previous. · f8e28244
      Ruslan Kabalin authored
      At the moment, when attempt is built on the last one, "not yet answered"
      message is shown, which confuses many people. This patch modifies the state to
      "complete" for attempt based on previous and modifies the output string.
      
      Many thanks to Tim Hunt for guiding me through quiz infrastructure and some code
      suggestions.
      f8e28244
  11. 23 Jul, 2013 1 commit
  12. 17 Jul, 2013 1 commit
  13. 09 Jul, 2013 1 commit
  14. 09 May, 2013 1 commit
  15. 04 Apr, 2013 1 commit
  16. 02 Apr, 2013 1 commit
  17. 29 Mar, 2013 1 commit
    • Tim Hunt's avatar
      MDL-38538 question unit tests: improve things a bit. · eca230b5
      Tim Hunt authored
      1. Split the question_attempt tests into one class per file.
      2. Imporve the API to give tests more control, and to test more of the
         important code. Some of this is not used here, but it is about to be.
      eca230b5
  18. 05 Mar, 2013 1 commit
    • Tim Hunt's avatar
      MDL-38311 questions: manual grading API should accept commentformat · 53b8e256
      Tim Hunt authored
      Comment format (FORMAT_...) was correctly being processed when the
      manual grading happened as the result of a form submission. It was only
      when done using the question_usage or question_attempt API method that
      there was no way to specify the format. (Although I think the only place
      this API as used was in the unit tests.)
      
      Note that question_attempt::manual_grade API had to change, but I don't
      think that is a real API change. Calling code should be using
      question_usage::question_attempt, which is backwards compatible.
      
      Note that now, if you don't pass format, then no error is generated, but
      a developer debugging message is generated.
      53b8e256
  19. 04 Feb, 2013 1 commit
  20. 18 Jan, 2013 1 commit
  21. 24 Jul, 2012 1 commit
  22. 15 Jun, 2012 1 commit
  23. 16 May, 2012 1 commit
  24. 11 May, 2012 1 commit
  25. 11 Apr, 2012 1 commit
  26. 10 Apr, 2012 1 commit
    • Petr Skoda's avatar
      MDL-32323 convert question tests · 603bd001
      Petr Skoda authored
      1/ type/match/tests/walkthrough_test.php - tests are failing randomly, looks like some weird randomisation is going on there - see TODOs
      
      2/ type/multianswer/tests/upgradelibnewqe_test.php contains invalid expected value - see TODO
      603bd001
  27. 29 Mar, 2012 1 commit
  28. 21 Jan, 2012 1 commit
  29. 05 Oct, 2011 1 commit
  30. 04 Oct, 2011 1 commit
  31. 27 May, 2011 2 commits
  32. 19 May, 2011 1 commit
  33. 15 May, 2011 1 commit
  34. 29 Apr, 2011 1 commit
  35. 31 Mar, 2011 1 commit
  36. 25 Feb, 2011 3 commits
  37. 24 Feb, 2011 1 commit