Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-778 META: Migrate to Ionic
  3. MOBILE-1021

Consider making $mmFilepool automatically handle plugin files

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0
    • 2.0
    • Libraries

    Description

      When I developed the filepool I thought that it would be better to keep out the logic about converting the plugin files. Especially that we need the site token in order to convert to a pluginfile.

      However, the site ID is passed to all methods, and so can be used to retrieve the site token. This adds promises to the be resolved, but it removes the confusion when dealing with the filepool.

      At the moment I am leaning towards making the pluginfile handling magic in the filepool.

      This issue can be dealt with later.

      Reference of work where this appears to be useful: MOBILE-999, MOBILE-1006.

      Attachments

        Activity

          People

            dpalou Dani Palou
            fred Frédéric Massart
            Juan Leyva Juan Leyva
            Juan Leyva Juan Leyva
            Juan Leyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              31/Jul/15