Issue Details (XML | Word | Printable)

Key: CONTRIB-1403
Type: New Feature New Feature
Status: Open Open
Priority: Minor Minor
Assignee: Jose Cedeno
Reporter: Helen Foster
Votes: 1
Watchers: 4
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Non-core contributed modules

Create a timeline course format

Created: 08/Jul/09 12:36 AM   Updated: 17/Aug/09 05:31 PM
Return to search
Component/s: Course format: Timeline
Affects Version/s: 1.9
Fix Version/s: None

File Attachments: 1. Zip Archive timeline.zip (7 kB)

Issue Links:
Relates

Participants: Anthony Borrow, Helen Foster and Jose Cedeno
Security Level: None
Affected Branches: MOODLE_19_STABLE

Sub-Tasks  All   Open   
 Sub-Task Progress: 


 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Anthony Borrow added a comment - 08/Jul/09 01:01 AM
Linking back to the initial issue used to develop the specs and UI for the proposed course format which will be resolved as fixed. The actual coding work will be tracked under CONTRIB-1403. Let me know if there are any questions. Peace - Anthony

Anthony Borrow made changes - 08/Jul/09 01:01 AM
Field Original Value New Value
Link This issue has a non-specific relationship to CONTRIB-1404 [ CONTRIB-1404 ]
Jose Cedeno added a comment - 08/Jul/09 05:58 PM
attaching first draft of the course format. I disabled ajax to work on a js bug. The other functionality should be present.

Jose Cedeno made changes - 08/Jul/09 05:58 PM
Attachment timeline.zip [ 17843 ]
Anthony Borrow added a comment - 10/Jul/09 02:07 AM
Jose - Sorry, I did not see that you had uploaded the code as I was not watching this issue. Peace - Anthony

arborrow committed 7 files to 'Contrib CVS' - 10/Jul/09 02:12 AM
Anthony Borrow added a comment - 10/Jul/09 02:17 AM
Jose - I have added the code to contrib/plugins/course/format/timeline. Could you fill out a request for CVS write access to that directory at http://moodle.org/cvs. Then I will approve that so you can make any modifications. What you may end up doing is continue to use GIT as you work with ML and then once you are finished or occasionally choose to update what is in CVS. In any case, let me know if you have any questions or need anything further and best of luck with your continued work. I checked out the course format very superficially but so far it looks good. Keep up the good work! Peace - Anthony

Helen Foster made changes - 18/Jul/09 06:00 PM
Link This issue has been marked as being related by MDLSITE-773 [ MDLSITE-773 ]
Helen Foster added a comment - 18/Jul/09 06:12 PM
Everyone, please help with testing the timeline course format:

http://test.moodle.org/timeline/ - login with username teacher, password teacher

then provide feedback in the forum discussion http://moodle.org/mod/forum/discuss.php?d=128384


Tim Hunt made changes - 21/Jul/09 02:37 PM
Attachment timeline.zip [ 17843 ]
Jose Cedeno added a comment - 21/Jul/09 02:44 PM
Uploading a new version of the patch. The course format now contains a fix for js sorting of sections, a fix that didn't allow users to view a single section, and a php execution error that users found during testing.

Jose Cedeno made changes - 21/Jul/09 02:44 PM
Attachment timeline.zip [ 17947 ]
Anthony Borrow added a comment - 21/Jul/09 07:59 PM
Jose - I am not sure how you and ML are using this issue. You can upload various versions of the timeline.zip or simply make the changes directly to CVS. We can then use the CVS history which actually provides more utility for seeing what was changed, when and why than just uploading various zip files that would have to be compared. My preference would be to just go ahead and change what needs to be changed and then commit those changes to CVS but I know that ML has you working with GIT so it may be better to just continue what you are doing and commit all the changes at the end of the summer rather than trying to keep up with two systems. Peace - Anthony

Jose Cedeno added a comment - 21/Jul/09 11:47 PM
Thanks for the feedback Anthony. I will commit the changes to CVS so that they can more easily be tracked in this issue. ML and I have a meeting tomorrow and I'll bring up the issue of how to manage cvs and this issue.

Jose Cedeno committed 1 file to 'Contrib CVS' - 28/Jul/09 05:14 PM
CONTRIB-1403 - Adding a readme file so that people new to this course format. It specifies what the course format does.
MODIFY plugins/course/format/timeline/README.txt   Rev. 1.2    (+7 -0 lines)
Jose Cedeno committed 1 file to 'Contrib CVS' - 28/Jul/09 05:15 PM
CONTRIB-1403 - fixing a bug where the first page was blank if the user chose to view a section in the second page.
MODIFY plugins/course/format/timeline/format.php   Rev. 1.3    (+7 -1 lines)
Jose Cedeno committed 1 file to 'Contrib CVS' - 28/Jul/09 05:24 PM
CONTRIB-1403 - enabling ajax, but this course format requires some changes to the lib/ajax files. Those files make the assumptions about the list of sections. Those asumptions are not true for the timeline course format.
MODIFY plugins/course/format/timeline/ajax.php   Rev. 1.2    (+2 -2 lines)
Jose Cedeno committed 2 files to 'Contrib CVS' - 10/Aug/09 04:23 PM
CONTRIB-1403 - Using a redirect to tell the user that the new section was added successfully. This gets around the issue where the back button would have caused a new post submission.
MODIFY plugins/course/format/timeline/format.php   Rev. 1.6    (+4 -5 lines)
MODIFY plugins/course/format/timeline/lib.php   Rev. 1.3    (+9 -5 lines)
Jose Cedeno committed 4 files to 'Contrib CVS' - 10/Aug/09 04:26 PM
CONTRIB-1403 - displaying a show most recent sections button when the user is viewing all the sections. It made no sense to have a 'show all sections' button when the teacher is currently viewing all the sections.
MODIFY plugins/course/format/timeline/styles.php   Rev. 1.2    (+2 -2 lines)
MODIFY plugins/course/format/timeline/format.php   Rev. 1.7    (+10 -3 lines)
MODIFY plugins/course/format/timeline/lang/en_utf8/format_timeline.php   Rev. 1.2    (+1 -0 lines)
MODIFY plugins/course/format/timeline/lib.php   Rev. 1.4    (+12 -4 lines)
Jose Cedeno added a comment - 17/Aug/09 05:31 PM
Links to my git repository (mydev => 1.9.x moodle with timeline course format; timeline-moodle2.0 => 2.0 moodle with timeline format)
http://repo.or.cz/w/moodle-blog-course-format.git

Links to cvs contrib repo
http://cvs.moodle.org/contrib/plugins/course/format/timeline/


Jose Cedeno committed 1 file to 'Contrib CVS' - 22/Aug/09 04:30 PM
CONTRIB-1403 - fixing a typo in one of the parameters. The parameter is there in case we needed in the future. Since there was a typo meaning it was always getting the default value.
MODIFY plugins/course/format/timeline/format.php   Rev. 1.8    (+2 -2 lines)
Jose Cedeno committed 2 files to 'Contrib CVS' - 22/Aug/09 04:33 PM
 CONTRIB-1403 - When a user is viewing a course initialy only 1 section (the most recent) is displayed. The user can click the 'expand' icon to view the rest of the sections and the paginated sections. If the user is editing a course when they first view a course the paginated sections are displayed. If the user has just created the coure and they are viewing it for the first time or there are not visible sections in the course, the first section in the course is displayed.
MODIFY plugins/course/format/timeline/format.php   Rev. 1.9    (+4 -6 lines)
MODIFY plugins/course/format/timeline/lib.php   Rev. 1.5    (+23 -2 lines)
Jose Cedeno committed 6 files to 'Contrib CVS' - 22/Aug/09 04:40 PM
CONTRIB-1403 - Cleaning up the patches. The ajax patch was updated with one fix to the ajax sorting of sections. The two course-edit form patches were combined into a single patch. The readme file was updated to reflect these changes.
ADD plugins/course/format/timeline/patches/course-edit.patch   Rev. 1.1    (+0 -0 lines)
DEL plugins/course/format/timeline/patches/Attic/0003-ajax-fixes.patch   Rev. 1.2    (+0 -0 lines)
MODIFY plugins/course/format/timeline/README.txt   Rev. 1.4    (+2 -2 lines)
DEL plugins/course/format/timeline/patches/Attic/0002-MDL-19336-We-show-the-numsections-5-as-well-so-that.patch   Rev. 1.2    (+0 -0 lines)
ADD plugins/course/format/timeline/patches/ajax-fixes.patch   Rev. 1.1    (+0 -0 lines)
DEL plugins/course/format/timeline/patches/Attic/0001-MDL-19336-Basically-before-we-check-if-the-user-is-e.patch   Rev. 1.2    (+0 -0 lines)
Jose Cedeno committed 3 files to 'Contrib CVS' - 22/Aug/09 04:41 PM
CONTRIB-1403 - MartinL pointed out that hints should be easy to differentiate from the rest of the text around them. Hints displayed to the user are now in italics.
MODIFY plugins/course/format/timeline/lib.php   Rev. 1.6    (+1 -1 lines)
MODIFY plugins/course/format/timeline/styles.php   Rev. 1.3    (+3 -0 lines)
MODIFY plugins/course/format/timeline/format.php   Rev. 1.10    (+3 -3 lines)
Jose Cedeno committed 2 files to 'Contrib CVS' - 22/Aug/09 04:46 PM
CONTRIB-1403 - After some testing the a/ and b/ that git diff users was causing problems when I used the diff utility.
MODIFY plugins/course/format/timeline/patches/course-edit.patch   Rev. 1.2    (+2 -2 lines)
MODIFY plugins/course/format/timeline/patches/ajax-fixes.patch   Rev. 1.2    (+4 -4 lines)
Jose Cedeno committed 2 files to 'Contrib CVS' - 17/Sep/09 04:51 PM
 CONTRIB-1403 - making it so that after a course is created using the timeline format at least the first section is made visible.
MODIFY plugins/course/format/timeline/format.php   Rev. 1.11    (+7 -2 lines)
MODIFY plugins/course/format/timeline/lib.php   Rev. 1.7    (+17 -0 lines)
Jose Cedeno committed 2 files to 'Contrib CVS' - 17/Sep/09 04:52 PM
CONTRIB-1403 - the pagination links are only displayed if there is more than 1 page to view.
MODIFY plugins/course/format/timeline/format.php   Rev. 1.12    (+1 -3 lines)
MODIFY plugins/course/format/timeline/lib.php   Rev. 1.8    (+17 -14 lines)
Jose Cedeno committed 2 files to 'Contrib CVS' - 17/Sep/09 04:53 PM
CONTRIB-1403 - moving the left, right and main col output into functions.
MODIFY plugins/course/format/timeline/format.php   Rev. 1.13    (+10 -269 lines)
MODIFY plugins/course/format/timeline/lib.php   Rev. 1.9    (+279 -0 lines)