Commit Graph

61 Commits

Author SHA1 Message Date
mark-nielsen 13b92708d2 lesson grading: MDL-17101 The lesson module was sending the incorrect raw grade values. Correcting the values by calculating the actual raw grade before sending to gradebook. Merged from MOODLE_19_STABLE and updated for trunk. 2009-03-06 19:03:46 +00:00
skodak 9c82ff2acd MDL-17457 migrated all modules to new db/install.php; added upgrade.txt file for devs converting contrib modules 2009-01-12 21:13:28 +00:00
skodak 1045a0074c MDL-17849 sql queries not printed by default during upgrade anymore, there is a new config.php only setting $CFG->upgradeshowsql instead 2009-01-12 16:52:53 +00:00
tjhunt 19f5b2dbee accesslib: MDL-17626 delete the context whenever a block is deleted. This includes a new helper function blocks_delete_all_on_page. 2009-01-09 06:16:36 +00:00
thepurpleblob 4d22ec8144 MDL-11090
Passwords are now held in clear text so you can see what the password
is on the config screen.
Still backward compatible with old md5 passwords (which are still not displayed
of course)

Merged from STABLE_19
2008-11-26 14:34:40 +00:00
mudrd8mz 91ca18e847 MDL-16355 Do not set lesson maxgrade to 100 but use the real value without multfactor. Merged from 1.9 2008-09-15 11:57:53 +00:00
skodak 775f811a66 MDL-16002 rewritten upgrade locking and better upgrade progress tracking; MDL-16070 Do not use $a[0] syntax in lang packs + various other upgrade improvements and fixes 2008-08-16 12:16:01 +00:00
moodler 120b375891 MDL-10107 Fixed the definition of message providers ... it now works through files very similar to those for events and capabilities, which makes them easy to add/remove/change as necessary 2008-07-31 08:01:46 +00:00
sam_marshall 18a2a0cb3a MDL-15498: Completion: added support for basic completion-on-view and on grade (where applicable) to assignment, choice, data, glossary, lesson, and resource. 2008-07-29 17:22:47 +00:00
sam_marshall 96fa52a47c MDL-15877: Lesson query breaks dml rule about reusing named params (sorry missed a bit) 2008-07-29 16:44:09 +00:00
sam_marshall b920f6e84a MDL-15877: Lesson query breaks dml rule about reusing named params 2008-07-29 16:42:12 +00:00
skodak f432bebff2 MDL-11421 context levels fixed in capability definitions, sorting of caps by name, plug-ins may report used core caps, fixed some risks; merged from MOODLE_19_STABLE 2008-07-24 21:59:13 +00:00
moodler 3b120e464f MDL-10107 - First check-in of Messaging 2.0 code from Luis Rodrigues, GSOC student.
This new messaging system replaces all the various email_to_user() calls.
They are now replaced by events triggers, and the messages are then
processed centrally according to user preferences and sent to one or more
processors (email, popup, jabber etc...)

This code is not finished yet, a lot of work still has to be done on the
interface.  However, the basic structure is there and should be working.
Luis and I will be reviewing and polishing this heavily in the next few weeks.
2008-07-24 08:38:03 +00:00
skodak 318e374544 MDL-15112 converted some skipped dml stuff 2008-06-09 12:29:40 +00:00
jerome e57bc529da MDL-15112 lesson dml conversion 2008-06-09 02:08:59 +00:00
jerome 646fc29036 MDL-15112 lesson dml conversion 2008-06-06 04:03:40 +00:00
skodak c18269c7e5 MDL-14679 towards modform conversion 2008-06-01 21:36:11 +00:00
skodak dd97c32868 MDL-12945 a slightly bigger patch for performance in recent activity and various group related issues + some other fixes - see list of subtasks in tracker; merged from MOODLE_19_STABLE 2008-01-24 20:33:50 +00:00
skodak eafb9d9eda MDL-12458 fixed gradebook upgrade/update problems when not grades yet in activities; merged from MOODLE_19_STABLE 2007-12-25 20:51:23 +00:00
skodak 0b5a80a1a5 MDL-7028 rewritten course reset + forum role_unassign cleanup fixes; merged from MOODLE_19_STABLE 2007-11-29 14:43:04 +00:00
skodak 03cedd6283 MDL-11432 eliminated majority of RecordCount uses, added several missing rs_close() - this should help improve perf on some platforms - Eloy says ;-) 2007-10-10 12:19:27 +00:00
skodak b0663fd8ed MDL-9550 minor cleanup 2007-08-10 21:03:23 +00:00
mark-nielsen 862bd9cd9c Attempting to make the form more compact by merging yes/no fields as an enable checkbox after another field to enable/disable the feature 2007-07-24 08:12:12 +00:00
mark-nielsen acf85537ee Implemented MDL-10558 - Also took this as an opportunity to create two new methods to reduce code redundancy in the lesson save routines. 2007-07-24 06:33:53 +00:00
mark-nielsen 4342dc32c5 Implemented feature request MDL-10568 - lesson_print_overview() hook 2007-07-24 05:23:54 +00:00
skodak ac9b080524 MDL-10202 merge raw and final grade tables 2007-06-20 23:06:29 +00:00
skodak 92bcca38cd MDL-9550 Implement calls of grade_update() function in Lesson 2007-06-11 11:25:24 +00:00
mark-nielsen 888f0c5460 Adding blocks to lesson
* added pagelib.php with lesson_page class definition
 * Lesson view now uses standard page layout classes
Other fixes:
 * minor fix to mod settings form
 * fixed function names (some were missing lesson_ prefix)
2007-03-24 23:07:59 +00:00
mark-nielsen 512ce79274 Merged changes from MOODLE_17_STABLE for MDL-7707 2006-11-28 05:54:43 +00:00
jamiesensei e24b7f851a some restructuring of formslib - moving moodleform_mod definition to new file course\moodleform_mod.php and some changes to moodleform_mod standard elements setup and moodleform disabledIf API 2006-11-24 06:39:15 +00:00
jamiesensei 5f649aaa79 migrated mod/lesson/mod.html to formslib 2006-11-15 07:44:33 +00:00
mark-nielsen 5491947aa1 NO CODE CHANGES. Just added PHPdoc comments at the top of lesson files. 2006-09-30 19:49:40 +00:00
mark-nielsen 31b50f6442 Fix for MDL-6628: the lesson object was not being cloned correctly. 2006-09-23 19:57:35 +00:00
mark-nielsen f15eb92c2c Removed essay grading code from view.php into essay.php. 2006-09-09 01:58:48 +00:00
skodak 2042e021be sanitize submitted numerical values; merged from MOODLE_16_STABLE 2006-05-26 11:47:22 +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 066c0af9bf [Fix] Error with PHP5. Needed to clone the lesson object before saving the $default object 2006-04-27 16:20:55 +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
michaelpenne 62eda6ea18 NEW: Progress bar option. Now a progress bar can be optionally displayed at the bottom of the lesson page.
NEW: Display Left Menu IF.  The left menu will only display if the student has a grade better than the one set in the lesson settings.  This is nice to allow only students who are reviewing the lesson to have access to the left menu.

BUG FIX: In Windows IE, the content was being aligned center.  Now, the content is explicitly aligned to left as default.
BUG FIX: High Scores variable was not spelled correctly at the End of Lesson.

ADDED: Div tags around branch tables.  This will allow users to choose to display them or not or move them around

CHANGED: converted more of the links to the stylized button.  Also, removed a lot of forms and javascript and replaced it with links with the variables in the href.
CHANGED: the slide show styles have been moved to the style sheet.
CHANGED: removed the CDC comments

Other minor changes have been made to the code as well.
2005-10-24 23:06:43 +00:00
mjollnir_ f3221af9e5 Initial checkin of stats (from processing the log table).
I will write up some information about it for the developers wiki.
2005-09-01 04:14:31 +00:00
michaelpenne ee3f227560 New Feature: Lesson Dependency
In a lesson's settings one can now set the current lesson to be dependent on another lesson in the same course.  Then, the user can set the conditions for the dependency.  Currently the conditions are time spent, grade better than X, and completed (yes/no).
2005-06-30 21:11:02 +00:00
stronk7 271fea974f Tabs are out.
(all the module was using them, please change your editor settings to 4 spaces)
2005-05-16 22:41:19 +00:00
stronk7 0a2c2599b6 Now lesson->name supports filterall 2005-04-24 16:46:51 +00:00
stronk7 0679acbe14 Events created by the lesson module were double-slashed. 2005-04-24 16:10:50 +00:00
michaelpenne 97c4410778 added calendar event code to add, update, and delete instance 2005-04-08 21:38:09 +00:00
michaelpenne 011cfc95ed updated lesson_delete_instance to delete records from timer, branch, and high_scores tables 2005-03-10 22:43:00 +00:00
stronk7 ac8e16be13 Bye. Now all those tabs are out 2005-03-05 00:09:39 +00:00
michaelpenne b0ec882fc1 delete user attempts now deletes a users grades, attempts, and time recrods. The email it sends is nicer as well 2005-02-25 19:28:51 +00:00
stronk7 95e72c12d0 Now retrieving only needed fields! 2005-02-13 00:42:29 +00:00
michaelpenne 9959aab238 on line #277, return null instead of throwing an error 2004-11-01 20:25:42 +00:00