Non-core contributed modules

Request: new contrib project for MRCUTE IMS Repository extensions

Details

  • Type: Task Task
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.9, 1.9.1, 2.0
  • Fix Version/s: None
  • Component/s: Patch: MrCute
  • Labels:
    None

Description

This is a request to create a new contrib project for 'MRCUTE' IMS Repository extensions, code to be attached pending advice from Anthony Borrow.

More information on this JISC commission project is found here:
http://www.jisc.ac.uk/whatwedo/programmes/programme_rep_pres/repositories_sue/mrcute.aspx
http://www.wortech.ac.uk/mrcute

Activity

Hide
Alastair Hole added a comment -

MRCUTE code as of 2008-02-15

Show
Alastair Hole added a comment - MRCUTE code as of 2008-02-15
Hide
Anthony Borrow added a comment -

Alastair - With the upcoming focus for Moodle 2.0 on working with file repositories I think this code needs to get into CVS soon as I think there are a number of good ideas in here about tagging resources and promoting the sharing of resources. Hence, I am bumping up the priority and stealing this from MartinD (i.e. reassigning it to myself). I know that you were hoping for a new zip file around March 20th. Let me know when its ready. I'll take the current file for a test drive and comment back here. Peace - Anthony

Show
Anthony Borrow added a comment - Alastair - With the upcoming focus for Moodle 2.0 on working with file repositories I think this code needs to get into CVS soon as I think there are a number of good ideas in here about tagging resources and promoting the sharing of resources. Hence, I am bumping up the priority and stealing this from MartinD (i.e. reassigning it to myself). I know that you were hoping for a new zip file around March 20th. Let me know when its ready. I'll take the current file for a test drive and comment back here. Peace - Anthony
Hide
Anthony Borrow added a comment -

Quick question, is the attached zip designed to work with a particular version of Moodle? I'm going to try it initially with Moodle 1.8.

Show
Anthony Borrow added a comment - Quick question, is the attached zip designed to work with a particular version of Moodle? I'm going to try it initially with Moodle 1.8.
Hide
Anthony Borrow added a comment -

I'm not that familiar with IMS packages. Might there be a couple sample files made available for testing? Also, it is worth noting that http://www.learningobjectivity.com/moodle182/ provides a demo site. Since this currently overwrites some Moodle files it would officially be a patch; however, it could easily be made a plugin by renaming /lang/en_utf8/resource.php /lang/en_utf8/resourceims.php file and changing the code refer to that file rather than resources. Also, a minor point but the zip file had the file listed as /lang/resource.php for the help file rather than /lang/en_utf8. I look forward to seeing and testing the revised code. Peace - Anthony

Show
Anthony Borrow added a comment - I'm not that familiar with IMS packages. Might there be a couple sample files made available for testing? Also, it is worth noting that http://www.learningobjectivity.com/moodle182/ provides a demo site. Since this currently overwrites some Moodle files it would officially be a patch; however, it could easily be made a plugin by renaming /lang/en_utf8/resource.php /lang/en_utf8/resourceims.php file and changing the code refer to that file rather than resources. Also, a minor point but the zip file had the file listed as /lang/resource.php for the help file rather than /lang/en_utf8. I look forward to seeing and testing the revised code. Peace - Anthony
Hide
Alastair Hole added a comment -

Updated zip package

Show
Alastair Hole added a comment - Updated zip package
Hide
Alastair Hole added a comment -

Thanks for your work on this Anthony, I have attached a zip file of the latest code and manuals, which will be RC-1/Final when the manuals are finalised (barring bugs of course.)

The code has been tested with multiple moodle versions including 1.8.*, 1.9 and the dev/2.0 branch and was functional in each. There does however seem to be a bug in <1.8.2 affecting the original IMS module which in turn affects mrcute so 1.8.4 or 1.9 would be ideal.

Also, re. moving to a pure module from a patch there is another core file we have modified to add a search option in addition to the browse: '/lib/form/choosecoursefileorimsrepo.php' so perhaps there is a work around for this also to avoid changing core files.

Thanks again
Alastair

Show
Alastair Hole added a comment - Thanks for your work on this Anthony, I have attached a zip file of the latest code and manuals, which will be RC-1/Final when the manuals are finalised (barring bugs of course.) The code has been tested with multiple moodle versions including 1.8.*, 1.9 and the dev/2.0 branch and was functional in each. There does however seem to be a bug in <1.8.2 affecting the original IMS module which in turn affects mrcute so 1.8.4 or 1.9 would be ideal. Also, re. moving to a pure module from a patch there is another core file we have modified to add a search option in addition to the browse: '/lib/form/choosecoursefileorimsrepo.php' so perhaps there is a work around for this also to avoid changing core files. Thanks again Alastair
Hide
Alastair Hole added a comment -

mrcute-beta-2008-03-27_2.zip - Latest code including 'mrcute' block (basic block with two buttons to access repository browser and searcher)
Also some tweaks to the way we use the roles system - as far as i know we can't add our own capabilities very easily so we just define a comma seperated list of roles that are allowed to edit and approve repository items

Show
Alastair Hole added a comment - mrcute-beta-2008-03-27_2.zip - Latest code including 'mrcute' block (basic block with two buttons to access repository browser and searcher) Also some tweaks to the way we use the roles system - as far as i know we can't add our own capabilities very easily so we just define a comma seperated list of roles that are allowed to edit and approve repository items
Hide
Anthony Borrow added a comment -

While I did not do the work, my understanding is that it should not be difficult to add some custom capabilities. I know that this happens in the MRBS block that I maintain but someone else wrote the code. You may want to check there and see how it is done. It looks fairly simple. I think it is just a matter of writing an access.php file like:

http://cvs.moodle.org/contrib/plugins/blocks/mrbs/db/access.php?revision=1.1&view=markup

Let me know if you have any questions. I will try to take a look later today or tonight at the code you submitted and see if we can get it added to CVS. Unfortunately I have to work on a take home midterm exam now and cannot spend all my time Moodling.

Peace - Anthony

Show
Anthony Borrow added a comment - While I did not do the work, my understanding is that it should not be difficult to add some custom capabilities. I know that this happens in the MRBS block that I maintain but someone else wrote the code. You may want to check there and see how it is done. It looks fairly simple. I think it is just a matter of writing an access.php file like: http://cvs.moodle.org/contrib/plugins/blocks/mrbs/db/access.php?revision=1.1&view=markup Let me know if you have any questions. I will try to take a look later today or tonight at the code you submitted and see if we can get it added to CVS. Unfortunately I have to work on a take home midterm exam now and cannot spend all my time Moodling. Peace - Anthony
Hide
Alastair Hole added a comment -

We have released RC-1 of the final version of MR-CUTE 1.0, it may be found here:
http://www.wortech.ac.uk/mrcute/Download.htm

Show
Alastair Hole added a comment - We have released RC-1 of the final version of MR-CUTE 1.0, it may be found here: http://www.wortech.ac.uk/mrcute/Download.htm
Hide
Anthony Borrow added a comment -

Thanks for the latest code. I will make a point to look at this new code this weekend. Peace - Anthony

Show
Anthony Borrow added a comment - Thanks for the latest code. I will make a point to look at this new code this weekend. Peace - Anthony
Hide
Anthony Borrow added a comment -

OK, well I did not get a chance over the weekend but I managed to find some time this afternoon to take a quick look. I see nothing that prevents it from being added as a patch. I did notice some notices but they may well be there with the original code. I'll attach a pdf showing what I came across. Also, can we rename the documentation pdfs you included so that they do not contain the word draft. For now I am just going to leave them out of CVS but when you are ready, you should be able to add them once we get access setup. I try to avoid creating "dead" files since there is no way in CVS to delete files or directories. You can prune them so they do not appear in the zips; however, they are still in the system. Peace - Anthony

Show
Anthony Borrow added a comment - OK, well I did not get a chance over the weekend but I managed to find some time this afternoon to take a quick look. I see nothing that prevents it from being added as a patch. I did notice some notices but they may well be there with the original code. I'll attach a pdf showing what I came across. Also, can we rename the documentation pdfs you included so that they do not contain the word draft. For now I am just going to leave them out of CVS but when you are ready, you should be able to add them once we get access setup. I try to avoid creating "dead" files since there is no way in CVS to delete files or directories. You can prune them so they do not appear in the zips; however, they are still in the system. Peace - Anthony
Hide
Anthony Borrow added a comment -

Alastair - I have created a component in the CONTRIB project in the Moodle Tracker called Patch: MrCure where folks can report issues, bugs, suggestions, etc. I have bumped your privileges in the tracker so that you can resolve issues related to this patch. Now I just need you to apply for CVS Write Access via the Moodle.org homepage and indicate that you will be maintaining:

contrib/patches/mrcute

Let me know if you have any questions or need any help. Thanks again for your patience in getting this into CVS. Peace - Anthony

Show
Anthony Borrow added a comment - Alastair - I have created a component in the CONTRIB project in the Moodle Tracker called Patch: MrCure where folks can report issues, bugs, suggestions, etc. I have bumped your privileges in the tracker so that you can resolve issues related to this patch. Now I just need you to apply for CVS Write Access via the Moodle.org homepage and indicate that you will be maintaining: contrib/patches/mrcute Let me know if you have any questions or need any help. Thanks again for your patience in getting this into CVS. Peace - Anthony
Hide
Alastair Hole added a comment -

Excellent news, thanks again for this Anthony.
I've applied for CVS access so when that's gone through I'll get the PDF manuals up there.
Cheers

Show
Alastair Hole added a comment - Excellent news, thanks again for this Anthony. I've applied for CVS access so when that's gone through I'll get the PDF manuals up there. Cheers
Hide
Anthony Borrow added a comment -

OK - CVS write access should be taken care of. Happy Moodling! Also, if I have not mentioned it before, try to comment each commit with a reference to a tracker issue. For example, you will notice that I commented the initial commit with CONTRIB-294 which allows it to be autolinked back to the tracker which greatly helps with documentation. I'm going to create an issue to upload the pdf files which will let you also test that you can manage issues in the tracker. Let me know if you have any questions or need anything else. Peace - Anthony

Show
Anthony Borrow added a comment - OK - CVS write access should be taken care of. Happy Moodling! Also, if I have not mentioned it before, try to comment each commit with a reference to a tracker issue. For example, you will notice that I commented the initial commit with CONTRIB-294 which allows it to be autolinked back to the tracker which greatly helps with documentation. I'm going to create an issue to upload the pdf files which will let you also test that you can manage issues in the tracker. Let me know if you have any questions or need anything else. Peace - Anthony
Hide
Anthony Borrow added a comment -

Closing all of my resolved issues. Peace - Anthony

Show
Anthony Borrow added a comment - Closing all of my resolved issues. Peace - Anthony

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: