Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-14591 META: Develop new Portfolio API
  3. MDL-20896

add a hook for portfolio plugins to check for supported mimetypes.

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: Portfolio
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE

      Gliffy Diagrams

        Attachments

          Activity

          Hide
          poltawski Dan Poltawski added a comment -

          I'm supposed to be testing this aren't I?

          I need to implement file_mime_check() by the looks of it.

          Show
          poltawski Dan Poltawski added a comment - I'm supposed to be testing this aren't I? I need to implement file_mime_check() by the looks of it.
          Hide
          mjollnir Penny Leach added a comment -
          • check mime based on mimetype of format output (eg generated csv) rather than depending on a stored_file object
          Show
          mjollnir Penny Leach added a comment - check mime based on mimetype of format output (eg generated csv) rather than depending on a stored_file object
          Hide
          mjollnir Penny Leach added a comment -

          should be able to test now

          Show
          mjollnir Penny Leach added a comment - should be able to test now
          Hide
          poltawski Dan Poltawski added a comment -

          The hook seems to get called in the case of an image attached to a forum post. But not if I try and save the forum post.

          Show
          poltawski Dan Poltawski added a comment - The hook seems to get called in the case of an image attached to a forum post. But not if I try and save the forum post.
          Hide
          salvetore Michael de Raadt added a comment -

          Thanks for reporting this issue.

          We have detected that this issue has been inactive for over a year. It was reported as affecting versions that are no longer supported.

          If you believe that this issue is still relevant to current versions (2.5 and beyond), please comment on the issue. Issues left inactive for a further month will be closed.

          Michael d.

          TW9vZGxlDQo=

          Show
          salvetore Michael de Raadt added a comment - Thanks for reporting this issue. We have detected that this issue has been inactive for over a year. It was reported as affecting versions that are no longer supported. If you believe that this issue is still relevant to current versions (2.5 and beyond), please comment on the issue. Issues left inactive for a further month will be closed. Michael d. TW9vZGxlDQo=
          Hide
          salvetore Michael de Raadt added a comment -

          I'm closing this issue as it has been inactive for over a year has been recorded as affecting versions that are no longer supported.

          This is being done as part of a bulk annual clean-up of issues.

          If you still believe this is an issue in supported versions, please create a new issue.

          Show
          salvetore Michael de Raadt added a comment - I'm closing this issue as it has been inactive for over a year has been recorded as affecting versions that are no longer supported. This is being done as part of a bulk annual clean-up of issues. If you still believe this is an issue in supported versions, please create a new issue.

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: