Moodle

Would be useful if mixed content exports could specify multiple content types rather than just FORMAT_FILE

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: None
  • Component/s: Portfolio API
  • Labels:
    None
  • Affected Branches:
    MOODLE_20_STABLE

Description

For example, google docs can receive html/pdf and images. But not zip files.

So a forum thread with image attachments could be exported happily, but this is not possible by defaulting to FORMAT_FILE

Issue Links

Activity

Hide
Penny Leach added a comment -

I had a brainstorm in my moleskine about this on the tube - Dan can we make a time to talk about it maybe using skype?

Show
Penny Leach added a comment - I had a brainstorm in my moleskine about this on the tube - Dan can we make a time to talk about it maybe using skype?
Hide
Dan Poltawski added a comment -

Yep, sure, when?

Show
Dan Poltawski added a comment - Yep, sure, when?
Hide
Penny Leach added a comment -

i'll ping you if i'm online over the weekend, i have a visitor so will be scarce, failing that monday will be ok for me.

Show
Penny Leach added a comment - i'll ping you if i'm online over the weekend, i have a visitor so will be scarce, failing that monday will be ok for me.
Hide
Penny Leach added a comment -

I'm just committing a large rework of the formats stuff into HEAD now which contains:

1. richhtml and plainhtml are split (the first contains attachments). Mahara is no longer gong to support richhtml as by moodle 2.0 we'll have LEAP which makes much more sense. This means that when attachments are sent to things like box.net they go into a folder.

2. The caller base has many new helper methods, and two member vars, singlefile and multifiles which subclasses should dump into. I will update docs about this.

Still TODO:

1. perform full mimecheck in the plugins and bail for a mismatch for singlefile, and warn the user if a mismatch for multifiles.
2. update box.net plugin to create subdirectories for site_files (for eg - richhtml format calls the subdirectory)

assignment, data mod & forum have been updated to use the new format stuff as these are the only ones really affected. chat, resource, glossary are all either some native file (uploaded resource, glossary csv) or plainhtml (chat).

Show
Penny Leach added a comment - I'm just committing a large rework of the formats stuff into HEAD now which contains: 1. richhtml and plainhtml are split (the first contains attachments). Mahara is no longer gong to support richhtml as by moodle 2.0 we'll have LEAP which makes much more sense. This means that when attachments are sent to things like box.net they go into a folder. 2. The caller base has many new helper methods, and two member vars, singlefile and multifiles which subclasses should dump into. I will update docs about this. Still TODO: 1. perform full mimecheck in the plugins and bail for a mismatch for singlefile, and warn the user if a mismatch for multifiles. 2. update box.net plugin to create subdirectories for site_files (for eg - richhtml format calls the subdirectory) assignment, data mod & forum have been updated to use the new format stuff as these are the only ones really affected. chat, resource, glossary are all either some native file (uploaded resource, glossary csv) or plainhtml (chat).
Hide
Penny Leach added a comment -

Dan can we close this? I think the mime stuff was all done ages ago.

Show
Penny Leach added a comment - Dan can we close this? I think the mime stuff was all done ages ago.
Hide
Penny Leach added a comment -

Daaaaaaaaaaaaaaaaaaaaaaaaaaaan review ping!

Show
Penny Leach added a comment - Daaaaaaaaaaaaaaaaaaaaaaaaaaaan review ping!
Hide
Dan Poltawski added a comment -

re-ping myself

Show
Dan Poltawski added a comment - re-ping myself
Hide
Dan Poltawski added a comment -

Yep closing - The only thing left is MDL-20896 about the mimetypes, i've commented there.

Show
Dan Poltawski added a comment - Yep closing - The only thing left is MDL-20896 about the mimetypes, i've commented there.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: