1. 31 Mar, 2021 1 commit
  2. 19 May, 2020 1 commit
  3. 24 Apr, 2020 1 commit
  4. 23 Apr, 2020 1 commit
  5. 03 Feb, 2020 1 commit
  6. 31 Jan, 2020 1 commit
  7. 07 Nov, 2019 1 commit
  8. 29 Apr, 2019 2 commits
  9. 21 Sep, 2018 1 commit
  10. 29 Jul, 2015 1 commit
  11. 21 Oct, 2014 1 commit
  12. 03 Jul, 2014 1 commit
  13. 11 Jun, 2014 1 commit
  14. 02 Apr, 2014 1 commit
  15. 28 Mar, 2014 3 commits
    • Oleg Sychev's avatar
      MDL-24408 extra_question_fields: separate answer data creation code · 92e83e2d
      Oleg Sychev authored
      Now any question using extra_question_fields can overload make_answer
      (just as make_hint), instead of overloading whole initialise_question_answers.
      92e83e2d
    • Oleg Sychev's avatar
      MDL-24408 extra_answer_fields: save_question_answers function · f0c6c181
      Oleg Sychev authored
      question_type::save_question_answers function added, supporting
      saving answers and extra answer fields. It can be called from
      save_question_options function for the questions, using
      question_answers table. Special functions created for overloading
      so that every question could tune it to it's own form.
      
      Shortanswer qtype save_question_options() converted as a proof of
      concept and for testing purposes.
      f0c6c181
    • Oleg Sychev's avatar
      MDL-24408 extra_answer_fields : get answers even if they miss extra data · 62766728
      Oleg Sychev authored
      Extra answer data may be optional, saving DB space - i.e. not every row in
      question_answers will have respective row in extra answers table. Current
      implementation of question_type::get_question_options() won't return such
      answers at all. This commit fix that, changing join type for db query.
      
      Also fixed coding style violation in the variable name in get_question_options.
      62766728
  16. 14 Feb, 2014 1 commit
  17. 24 Jan, 2014 1 commit
  18. 15 Oct, 2013 1 commit
  19. 04 Jul, 2013 1 commit
  20. 07 Jun, 2013 1 commit
    • Oleg Sychev's avatar
      MDL-40013 Easier to override saving question hints · 0b287dd2
      Oleg Sychev authored
      This adds 3 new methods, called from question_type::save_hints,
      to make it easier for different question types to overload this
      functionality without duplicating code.
      
      Question types that will benefit from this change include
      oumultiresponse, ddmarker, preg and correctwriting.
      0b287dd2
  21. 09 Apr, 2013 1 commit
  22. 16 Jan, 2013 1 commit
  23. 11 Jan, 2013 1 commit
  24. 15 Nov, 2012 1 commit
  25. 24 Aug, 2012 2 commits
  26. 24 Jul, 2012 1 commit
  27. 15 Jun, 2012 1 commit
  28. 06 Apr, 2012 1 commit
  29. 29 Mar, 2012 1 commit
  30. 23 Feb, 2012 1 commit
  31. 21 Jan, 2012 1 commit
  32. 15 Dec, 2011 1 commit
  33. 10 Dec, 2011 1 commit
  34. 15 Nov, 2011 1 commit
  35. 11 Nov, 2011 1 commit
    • Tim Hunt's avatar
      MDL-29808 qtypes: use standard pluginname strings and update version.php · 226b3124
      Tim Hunt authored
      AMOS BEGIN
       MOV [calculated,qtype_calculated],[pluginname,qtype_calculated]
       MOV [calculated_help,qtype_calculated],[pluginname_help,qtype_calculated]
       MOV [calculated_link,qtype_calculated],[pluginname_link,qtype_calculated]
       MOV [addingcalculated,qtype_calculated],[pluginnameadding,qtype_calculated]
       MOV [editingcalculated,qtype_calculated],[pluginnameediting,qtype_calculated]
       MOV [calculatedsummary,qtype_calculated],[pluginnamesummary,qtype_calculated]
      
       MOV [calculatedmulti,qtype_calculatedmulti],[pluginname,qtype_calculatedmulti]
       MOV [calculatedmulti_help,qtype_calculatedmulti],[pluginname_help,qtype_calculatedmulti]
       MOV [calculatedmulti_link,qtype_calculatedmulti],[pluginname_link,qtype_calculatedmulti]
       MOV [addingcalculatedmulti,qtype_calculatedmulti],[pluginnameadding,qtype_calculatedmulti]
       MOV [editingcalculatedmulti,qtype_calculatedmulti],[pluginnameediting,qtype_calculatedmulti]
       MOV [calculatedmultisummary,qtype_calculatedmulti],[pluginnamesummary,qtype_calculatedmulti]
      
       MOV [calculatedsimple,qtype_calculatedsimple],[pluginname,qtype_calculatedsimple]
       MOV [calculatedsimple_help,qtype_calculatedsimple],[pluginname_help,qtype_calculatedsimple]
       MOV [calculatedsimple_link,qtype_calculatedsimple],[pluginname_link,qtype_calculatedsimple]
       MOV [addingcalculatedsimple,qtype_calculatedsimple],[pluginnameadding,qtype_calculatedsimple]
       MOV [editingcalculatedsimple,qtype_calculatedsimple],[pluginnameediting,qtype_calculatedsimple]
       MOV [calculatedsimplesummary,qtype_calculatedsimple],[pluginnamesummary,qtype_calculatedsimple]
      
       MOV [description,qtype_description],[pluginname,qtype_description]
       MOV [description_help,qtype_description],[pluginname_help,qtype_description]
       MOV [addingdescription,qtype_description],[pluginnameadding,qtype_description]
       MOV [editingdescription,qtype_description],[pluginnameediting,qtype_description]
       MOV [descriptionsummary,qtype_description],[pluginnamesummary,qtype_description]
      
       MOV [essay,qtype_essay],[pluginname,qtype_essay]
       MOV [essay_help,qtype_essay],[pluginname_help,qtype_essay]
       MOV [essay_link,qtype_essay],[pluginname_link,qtype_essay]
       MOV [addingessay,qtype_essay],[pluginnameadding,qtype_essay]
       MOV [editingessay,qtype_essay],[pluginnameediting,qtype_essay]
       MOV [essaysummary,qtype_essay],[pluginnamesummary,qtype_essay]
      
       MOV [match,qtype_match],[pluginname,qtype_match]
       MOV [match_help,qtype_match],[pluginname_help,qtype_match]
       MOV [match_link,qtype_match],[pluginname_link,qtype_match]
       MOV [addingmatch,qtype_match],[pluginnameadding,qtype_match]
       MOV [editingmatch,qtype_match],[pluginnameediting,qtype_match]
       MOV [matchsummary,qtype_match],[pluginnamesummary,qtype_match]
      
       MOV [missingtype,qtype_missingtype],[pluginname,qtype_missingtype]
       MOV [addingmissingtype,qtype_missingtype],[pluginnameadding,qtype_missingtype]
       MOV [editingmissingtype,qtype_missingtype],[pluginnameediting,qtype_missingtype]
      
       MOV [multianswer,qtype_multianswer],[pluginname,qtype_multianswer]
       MOV [multianswer_help,qtype_multianswer],[pluginname_help,qtype_multianswer]
       MOV [multianswer_link,qtype_multianswer],[pluginname_link,qtype_multianswer]
       MOV [addingmultianswer,qtype_multianswer],[pluginnameadding,qtype_multianswer]
       MOV [editingmultianswer,qtype_multianswer],[pluginnameediting,qtype_multianswer]
       MOV [multianswersummary,qtype_multianswer],[pluginnamesummary,qtype_multianswer]
      
       MOV [multichoice,qtype_multichoice],[pluginname,qtype_multichoice]
       MOV [multichoice_help,qtype_multichoice],[pluginname_help,qtype_multichoice]
       MOV [multichoice_link,qtype_multichoice],[pluginname_link,qtype_multichoice]
       MOV [addingmultichoice,qtype_multichoice],[pluginnameadding,qtype_multichoice]
       MOV [editingmultichoice,qtype_multichoice],[pluginnameediting,qtype_multichoice]
       MOV [multichoicesummary,qtype_multichoice],[pluginnamesummary,qtype_multichoice]
      
       MOV [numerical,qtype_numerical],[pluginname,qtype_numerical]
       MOV [numerical_help,qtype_numerical],[pluginname_help,qtype_numerical]
       MOV [numerical_link,qtype_numerical],[pluginname_link,qtype_numerical]
       MOV [addingnumerical,qtype_numerical],[pluginnameadding,qtype_numerical]
       MOV [editingnumerical,qtype_numerical],[pluginnameediting,qtype_numerical]
       MOV [numericalsummary,qtype_numerical],[pluginnamesummary,qtype_numerical]
      
       MOV [random,qtype_random],[pluginname,qtype_random]
       MOV [random_help,qtype_random],[pluginname_help,qtype_random]
       MOV [editingrandom,qtype_random],[pluginnameediting,qtype_random]
      
       MOV [shortanswer,qtype_shortanswer],[pluginname,qtype_shortanswer]
       MOV [shortanswer_help,qtype_shortanswer],[pluginname_help,qtype_shortanswer]
       MOV [shortanswer_link,qtype_shortanswer],[pluginname_link,qtype_shortanswer]
       MOV [addingshortanswer,qtype_shortanswer],[pluginnameadding,qtype_shortanswer]
       MOV [editingshortanswer,qtype_shortanswer],[pluginnameediting,qtype_shortanswer]
       MOV [shortanswersummary,qtype_shortanswer],[pluginnamesummary,qtype_shortanswer]
      
       MOV [truefalse,qtype_truefalse],[pluginname,qtype_truefalse]
       MOV [truefalse_help,qtype_truefalse],[pluginname_help,qtype_truefalse]
       MOV [truefalse_link,qtype_truefalse],[pluginname_link,qtype_truefalse]
       MOV [addingtruefalse,qtype_truefalse],[pluginnameadding,qtype_truefalse]
       MOV [editingtruefalse,qtype_truefalse],[pluginnameediting,qtype_truefalse]
       MOV [truefalsesummary,qtype_truefalse],[pluginnamesummary,qtype_truefalse]
      AMOS END
      226b3124
  36. 03 Nov, 2011 1 commit