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

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Libraries
    • Labels:

      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

            Assignee:
            dpalou Dani Palou
            Reporter:
            fred Frédéric Massart
            Peer reviewer:
            Juan Leyva Juan Leyva
            Integrator:
            Juan Leyva Juan Leyva
            Tester:
            Juan Leyva Juan Leyva
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              31/Jul/15