288 Commits

Author SHA1 Message Date
mark-nielsen
ab8e5428b5 Merged bug fix for MDL-6325 2006-08-28 20:02:49 +00:00
mark-nielsen
c87a341cb9 Merged bug fix for bug MDL-6323 2006-08-25 22:53:17 +00:00
mark-nielsen
2fc13bc767 Merged differences from MOODLE_16_STABLE into HEAD 2006-08-25 18:33:50 +00:00
stronk7
a5ea2dc334 Solved one wrong field declaration in lesson_grades 2006-08-25 17:02:04 +00:00
stronk7
401846cca7 XMLDB schema initial commit for the lesson module 2006-08-11 17:56:18 +00:00
moodler
dabfd0ed85 Removed tabs 2006-08-09 13:45:49 +00:00
skodak
f9d5371b28 new function get_coursemodule_from_id() is now used for obtaining of valid $cm from coursemodule id SC#283 2006-08-08 22:09:55 +00:00
moodler
bbbf2d4015 ROLES AND PERMISSIONS - FIRST CHECK-IN
=======================================

WARNING:  DEV IS CURRENTLY VERY UNSTABLE.

This is a mega-checkin of the new Roles system.   A lot of changes have
been made in core and modules.

Currently there are a lot of rough edges and known problems.  We are
working hard on these .. .the reason for getting this into HEAD at this
stage is enable us to move faster (our branch was diverging from HEAD
too much).

Please keep an eye on http://docs.moodle.org/en/Roles for current status
and information for developers on how to use the new Roles system.
2006-08-08 05:13:06 +00:00
skodak
a8ff58dd2c merging changes from MOODLE_16_STABLE 2006-07-31 18:10:02 +00:00
skodak
5109569b69 Bug #5988 - Branch Tables in 1.6+ (Lesson Module); merged from MOODLE_16_STABLE 2006-07-10 22:39:58 +00:00
skodak
46341ab710 Bug #5732 - Lesson Scores "out of XX" marks report incorrect mark; merged from MOODLE_16_STABLE 2006-07-10 21:52:12 +00:00
skodak
f0e52f67df Bug #5444 - Import PowerPoint - PHP5 clone bug; merged from MOODLE_16_STABLE 2006-06-06 08:53:54 +00:00
toyomoyo
3280c9fcc4 merged fix for 5648, utf8 migration problem 2006-05-30 02:51:52 +00:00
skodak
2042e021be sanitize submitted numerical values; merged from MOODLE_16_STABLE 2006-05-26 11:47:22 +00:00
skodak
de5f96195c Bug #5566 - wrong display of student's answers in MATCHING question type; merged from MOODLE_16_STABLE 2006-05-25 08:13:41 +00:00
mark-nielsen
88427c077b [Merged][BugFix] Bug #5405 - made a new function that grades a lesson for a specific user's attempt. This is then used for grading lessons at the end of a lesson, for ongoing score feature and for updating the grade for essay question grading.
This new grading algorithm now enforces the lesson setting Max attempts when custom scoring is turned Off

Changed the reporting of minquestions setting to match the help file.  Now it is question based instead of attempt based.

Changed the reporting of ongoing score to use the new grade function.
2006-05-19 01:05:13 +00:00
martinlanghoff
2a0f40e98c mod/choice mod/lesson mod/scorm moodle16cleanup: Added notification
for cleanup that may fail if one is starting fresh from moodle 1.5.3+,
previous cleanup before 1.5.3 is not needed
2006-05-17 06:42:57 +00:00
martinlanghoff
7a3a4cff54 moodle16cleanup: mod/lesson drop unused table lesson_essay, set the
correct column datatype and default value
2006-05-17 06:34:50 +00:00
mark-nielsen
74e3524216 [Merged][BugFix] Bug 5485 - problem with regular expressions with simple analysis 2006-05-16 03:06:28 +00:00
mark-nielsen
a1d0b3eb81 [BugFix] Bug 5505 - function lesson_print_tree now checks for teacher editing priv before printing editing icons. Had to change arguments for this function as well which is the edit in view.php.
lesson.php how checks for teacher editing priv for all actions except for continue.  This is just in case the user hacks the URL.
2006-05-15 19:14:22 +00:00
mark-nielsen
432c2219f5 [BugFix] Bug #5396 - Found that the css float was causing the odd problem. Removed extra styles for the button layout and changed the divs around the buttons to spans
Also improved some logic in the button processing for branch tables
2006-05-02 17:05:29 +00:00
michaelpenne
02f071d147 lesson_default table had become out of synch with the lesson table. Needed to add new columns.
Updated backup and restore to include the new values

Fixed a bug in restore where it would restore 1 lesson_default per lesson.  Now only stores one per course.

Went through all the backuplib.php, restorelib.php, mysql.sql and postgres7.sql to make sure everything was in synch and being backed up and restored.
2006-05-01 19:02:38 +00:00
mark-nielsen
be1af5b770 Moved the require login and isteacher checks to infront of the form data processing 2006-04-29 07:37:52 +00:00
mark-nielsen
31eb5b5335 [Removed] the Delete user attempts option in the Lesson settings (changes to mod and lib)
[Added] new functionality to report.php to delete individual student attempts
[Fixed] High scores text in view.php when no high scores were recorded needed to be centered
2006-04-29 01:37:50 +00:00
mark-nielsen
718dbada67 [Fix] Notices were being printed in PHP5 for NULL objects. Checking for NULL now before using in multichoice and truefalse questions 2006-04-27 16:48:38 +00:00
mark-nielsen
066c0af9bf [Fix] Error with PHP5. Needed to clone the lesson object before saving the $default object 2006-04-27 16:20:55 +00:00
vyshane
670b1364a0 Fixed inserts for log_display. 2006-04-24 08:26:33 +00:00
vyshane
998cc5b645 Added default values for not nulls. 2006-04-13 03:19:00 +00:00
vyshane
d3fa8cfb9d Added default values for not nulls 2006-04-13 03:16:41 +00:00
vyshane
5e3572ff0b Added default values for not nulls. 2006-04-13 03:11:32 +00:00
stronk7
1b1858d260 htmlentities() to s() 2006-04-11 16:09:52 +00:00
urs_hunkler
9c5cec188f corrected font-style: none to normal 2006-04-08 15:53:28 +00:00
mark-nielsen
31f6b26d4f [BugFix] Action was using global variables - now is fetched with optional_param 2006-04-06 23:03:08 +00:00
gustav_delius
87b18f4ab7 Fixed call to required_param() 2006-04-05 07:46:52 +00:00
stronk7
2070370cfa Typo. 2006-03-28 23:31:12 +00:00
michaelpenne
a7ae1ad3fd [BugFix] Multiple essays were not showing for grading: http://moodle.org/mod/forum/discuss.php?d=41999#195580 2006-03-28 00:30:24 +00:00
mark-nielsen
90455bb3ab [Fixed] Import. Updated code to work with /question instead of /mod/quiz. Lead to a few interal bug fixes. Also moved two hard coded strings to the lang file. 2006-03-26 00:10:39 +00:00
mark-nielsen
97d2756c65 [New Feature] Tabbed navigation added to lesson (similar to quiz)
[Added] Graceful fails added to view.php, essay grading, and reports
[Changed] got rid of a lot of references to $_POST/GET/REQUEST
[Fixed] In reports, it required teacheredit, should only be teacher
[Changed] High scores - teachers can actually see them!  Also, improved output by using print_table and print_heading
[Changed] Grade essays now uses fullname() to print user names
2006-03-25 21:38:57 +00:00
mark-nielsen
8bd7bacd14 [Fixed] this page was shooting of warnings for unset variable score. Now checks to make sure score is set before using it. 2006-03-19 02:16:00 +00:00
mark-nielsen
aeade7e227 cleaned up the left menu feature output by removing an unused form and several unnecessary string concatenations 2006-03-19 02:08:37 +00:00
mark-nielsen
289218844a [Changed] The print_simple_box_start/stop changes conflicted greatly with the display of branch table buttons (the box printed above the buttons some how :( ) To fix this, the tables were taken out and divs were used instead to display and arrange the buttons. This turns out to be a good thing because now the user has more control over the buttons via style sheet. Also did some extra clean up in the section of code printing the branch table.
[Added] new styles to styles.php to help display the buttons correctly.
2006-03-19 01:53:50 +00:00
mark-nielsen
0646963948 [Changed] function execute_teacherwarning to function lesson_display_teacher_warning because it was violating the function naming policy 2006-03-17 03:37:31 +00:00
mark-nielsen
4b55d2aff2 [Added] added phpdoc comments to locallib.php 2006-03-17 03:31:19 +00:00
michaelpenne
c5b71097bc [BugFix] Bug #4852 - HTML editor problems 2006-03-11 00:23:21 +00:00
patrickslee
cb8229d0a8 UTF8 migration - now supporting PostgreSQL 2006-03-10 03:43:33 +00:00
vyshane
05da418753 Added $CFG->pagepath so that the Moodle Doc URLs are generated properly for
this section.
2006-03-09 07:53:14 +00:00
michaelpenne
eee850986f [Added] Added function lesson_delete_course() to clean up the lesson_default table 2006-03-09 02:26:20 +00:00
skodak
38b7336ed1 short php tags 2006-03-07 21:35:13 +00:00
skodak
1b1d34225b incorrect usage of clean_filename() replaced with clean_param($text, PARAM_SAFEDIR) 2006-03-04 12:37:29 +00:00
michaelpenne
6094f43dd5 [Fix] Removed htmlentities on student answer. 2006-02-24 21:31:23 +00:00