Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9
    • Component/s: Gradebook
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      Like, MDL-10984, this could be part of the base class so all import plugins get it if they want to, but if this is hard then all we need for 1.9 is for the XML import plugin to have it.

      Firstly, the file picker needs to have an extra field added under it as an alternative, where you can paste in a URL to a file which is on the web somewhere. (Most likely this will be an export like MDL-10984)

      If this is selected, then there should be additional options:

      Import this file regularly: [X]
      Every day at: [14]:[30]
      Send notifications of problems to: [ martin@example.com ]

      Then there would be a cron() hook in grade/import/xml that keeps track of the time with plugin config variables and runs it at the correct time ... and there needs to be a loop written in grade_cron() in gradelib.php to search for and call these cron functions in all the export and import plugins.

      Now, we assume that everything is set up correctly. If the incoming data does not have a matching idnumber or userid then we simply ignore it and report the problems to the given email address. Otherwise the data should be inserted as a normal file upload would.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                skodak Petr Skoda
                Reporter:
                dougiamas Martin Dougiamas
                Tester:
                Nobody
                Participants:
                Component watchers:
                Jake Dallimore, Jun Pataleta
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  3/Mar/08