Moodle

Improve Flexibility of Question Category Sharing and Permissions

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9
  • Fix Version/s: None
  • Component/s: Questions, Quiz
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE

Description

See http://docs.moodle.org/en/Development:Plan_to_Improve_Flexibility_of_Question_Category_Sharing_and_Permissions

I'm going to keep track of what I need to do on a day to day basis by creating and assigning myself tasks.

  1. index.php
    08/Aug/07 12:11 AM
    3 kB
    Jamie Pratt
  2. langquestion.patch
    08/Aug/07 9:34 PM
    16 kB
    Jamie Pratt
  3. langquestion.patch
    08/Aug/07 9:29 PM
    5 kB
    Jamie Pratt
  4. questcode_lang.patch
    29/May/07 7:57 PM
    8 kB
    Jamie Pratt

Issue Links

Progress
Resolved Sub-Tasks Unresolved Sub-Tasks

Sub-Tasks

Activity

Hide
Jamie Pratt added a comment -

Sub task 1 and 2 went into HEAD already.

Other tasks are being committed to MOODLE_19_QUESTIONS

Show
Jamie Pratt added a comment - Sub task 1 and 2 went into HEAD already. Other tasks are being committed to MOODLE_19_QUESTIONS
Hide
Jamie Pratt added a comment -

Attaching patch file for lang/en_utff8

Show
Jamie Pratt added a comment - Attaching patch file for lang/en_utff8
Hide
Jamie Pratt added a comment - - edited

To test this code check out a copy of HEAD. Then switch the following to the MOODLE_19_QUESTIONS branch :

  • Directories :
    • mod/quiz/
    • question/
  • Files :
    • backup/backup_check.html
    • backup/backuplib.php
    • backup/restorelib.php
    • lib/questionlib.php
    • lib/db/access.php
    • lib/form/questioncategory.php

Apply the attached path to your lang/en_utf8/ directories.

Show
Jamie Pratt added a comment - - edited To test this code check out a copy of HEAD. Then switch the following to the MOODLE_19_QUESTIONS branch :
  • Directories :
    • mod/quiz/
    • question/
  • Files :
    • backup/backup_check.html
    • backup/backuplib.php
    • backup/restorelib.php
    • lib/questionlib.php
    • lib/db/access.php
    • lib/form/questioncategory.php
Apply the attached path to your lang/en_utf8/ directories.
Hide
Jamie Pratt added a comment -

Now also working on the following files on the MOODLE_19_QUESTIONS branch :

    • backup/backup_form.html
    • backup/backup_scheduled.php
    • backup/backup.php
    • backup/lib.php
    • backup/restore_check.html
    • backup/restore_form.html
    • backup/version.php
Show
Jamie Pratt added a comment - Now also working on the following files on the MOODLE_19_QUESTIONS branch :
    • backup/backup_form.html
    • backup/backup_scheduled.php
    • backup/backup.php
    • backup/lib.php
    • backup/restore_check.html
    • backup/restore_form.html
    • backup/version.php
Hide
Jamie Pratt added a comment - - edited

Attached \admin\report\question\index.php which is a report about random questions picking from sub categories with different sharing status.

Show
Jamie Pratt added a comment - - edited Attached \admin\report\question\index.php which is a report about random questions picking from sub categories with different sharing status.
Hide
Tim Hunt added a comment -

Can I suggest that you change that path to something a bit more specific. 'question' is a very generic word. We might want some other 'question' report later. Mind you, I can't think of a better name.

Show
Tim Hunt added a comment - Can I suggest that you change that path to something a bit more specific. 'question' is a very generic word. We might want some other 'question' report later. Mind you, I can't think of a better name.
Hide
Tim Hunt added a comment -

As I am sure you know. When you merge this branch in, you will have to be careful about bug fixes that have been made on head since you branched.

Show
Tim Hunt added a comment - As I am sure you know. When you merge this branch in, you will have to be careful about bug fixes that have been made on head since you branched.
Hide
Jamie Pratt added a comment -

My idea for the report would be that the report reports possible problems in the question database. We could use the same report script to perform a number of different tests depending on the version of Moodle installed. So there would be one page to check on any possible problems in the question engine. Then the 'question' report name makes sense.

Show
Jamie Pratt added a comment - My idea for the report would be that the report reports possible problems in the question database. We could use the same report script to perform a number of different tests depending on the version of Moodle installed. So there would be one page to check on any possible problems in the question engine. Then the 'question' report name makes sense.
Hide
Jamie Pratt added a comment -

I attach an up to date patch with all the new language strings for the question code.

Show
Jamie Pratt added a comment - I attach an up to date patch with all the new language strings for the question code.
Hide
Jamie Pratt added a comment -

oops this (langquestion.patch) is the latest patch including all the latest lang strings.

Show
Jamie Pratt added a comment - oops this (langquestion.patch) is the latest patch including all the latest lang strings.
Hide
Tim Hunt added a comment -

I'll comment here too, as well as in the forum: http://moodle.org/mod/forum/discuss.php?d=77564. I am happy for Jamie to merge his development branch into head before Moodle 1.9 beta.

Show
Tim Hunt added a comment - I'll comment here too, as well as in the forum: http://moodle.org/mod/forum/discuss.php?d=77564. I am happy for Jamie to merge his development branch into head before Moodle 1.9 beta.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: