martinlanghoff [Mon, 22 Nov 2004 02:36:14 +0000 (02:36 +0000)]
Enrol/LDAP - DB Patches + version bump
These patches add an 'enrol' column to the user_students and user_teachers tables for the enrolment plugins to be able to keep track of source of the enrolments. Follows similar conventions to the user table with its 'auth' field.
This is a merge of the following patches:
arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-187
arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-192
mjollnir_ [Mon, 22 Nov 2004 01:40:18 +0000 (01:40 +0000)]
On enrol students to a course page, force searching if too many users to display (controlled by MAX_USERS_PER_PAGE - not previously used and bumped up to 1000 as a more reasonable limit) - trying to put 30,000 users in a drop down menu crashes some browsers
defacer [Fri, 19 Nov 2004 02:41:32 +0000 (02:41 +0000)]
Tweaked class MoodleBlock some. Removed a useless function (how did it get in here?)
and renamed handle_config(), print_config() to config_save(), config_print() for
consistency with the new instance_ functions().
defacer [Fri, 19 Nov 2004 02:32:48 +0000 (02:32 +0000)]
First version of the Developer Documentation: Blocks how-to.
Still a bit rough around the edges and definitely will see refining.
Almost killed me, though. I hope it turns out to be useful.
martinlanghoff [Thu, 18 Nov 2004 02:55:06 +0000 (02:55 +0000)]
Merged from MOODLE_14_STABLE moodle--eduforge--1.3.3--patch-335 Now memory_limit can be overriden by higher config settings from php.ini, commandline, httpd.conf, .htaccess
mjollnir_ [Thu, 18 Nov 2004 02:42:33 +0000 (02:42 +0000)]
Replaced prefix_ with CFG->prefix for DROP of indexes before creation because of being inside execute_sql rather than modify_database - exercise module
mjollnir_ [Thu, 18 Nov 2004 02:40:24 +0000 (02:40 +0000)]
Replaced prefix_ with CFG->prefix for DROP of indexes before creation because of being inside execute_sql rather than modify_database - dialogue module
mjollnir_ [Thu, 18 Nov 2004 02:35:42 +0000 (02:35 +0000)]
Replaced prefix_ with CFG->prefix for DROP of indexes before creation because of being inside execute_sql rather than modify_database - attendance module
mjollnir_ [Thu, 18 Nov 2004 02:33:49 +0000 (02:33 +0000)]
Replaced prefix_ with CFG->prefix for DROP of indexes before creation because of being inside execute_sql rather than modify_database - assignment module
martinlanghoff [Thu, 18 Nov 2004 02:31:53 +0000 (02:31 +0000)]
Merged from MOODLE_14_STABLE moodle--eduforge--1.3.3--patch-222 - SQL improvements\n Better SQL performance for get_courses() and get_courses_page() calls, specially from the categories page. This gives much better performance when browsing existing courses
mjollnir_ [Wed, 17 Nov 2004 06:57:28 +0000 (06:57 +0000)]
Merged from MOODLE_14_STABLE:
Fixes to fix_course_sortorder() and course/category.php pages. (martinlanghoff)
arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-160
Minor fix: moodle would crash on high number of courses when doing course creation -- should be more scalable now
arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-164
Fix a bug I have introduced in fix_course_sortorder() - v2
arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-210
Fixed nested transaction in fix_course_sortorder()
arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-215
Performance and memory usage fixes for re-sort courses function
arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-268
Major performance and correctness improvements in the functions that move courses up and down, reorder by name, and in fix_course_sortorder(). All now assume course-sortorder is unique (this is enforced at the DB)
arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-332
fix_coursesortorder() bugfixes and logic simplification
arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-333
courses listing enhancements: bugfix on re-ordering, keep the right page on actions
michaelpenne [Wed, 17 Nov 2004 01:05:39 +0000 (01:05 +0000)]
updated lesson_calculate_ongoing_score to match the grading algorithm used in view.php. Also suppressed a warning in lesson_print_tree_link_menu function.
michaelpenne [Wed, 17 Nov 2004 01:02:14 +0000 (01:02 +0000)]
Changed the grading algorithm. Now it divides points earned by total points possible. Before was dividing points earned by max grade. Also updated essay grading to work much more reliably and fixed some formatting problems with essay emails.
stronk7 [Tue, 16 Nov 2004 17:30:45 +0000 (17:30 +0000)]
Now hidden sections are hidden completely from student view if
"invisible sections" are configured in course settings.
Patch sent by Geoff Wilbert. Thanks!
See Bug 2185
(http://moodle.org/bugs/bug.php?op=show&bugid=2185)
kaipe [Sat, 13 Nov 2004 19:25:13 +0000 (19:25 +0000)]
The previous update was supposed to be an enlargement of answer in quiz_responses (not quiz_answers)
It is now correct and the mistake never made it to the stable version :-)
kaipe [Sat, 13 Nov 2004 18:29:25 +0000 (18:29 +0000)]
Changed to absolute path for reaching the questiontype dependent editing page layout file.
This should increase robustness - some installations have faced problems with the previously used relative references.
This fix should be merged with the stable branch asap
defacer [Fri, 12 Nov 2004 18:39:25 +0000 (18:39 +0000)]
Pages/blocks code updates:
NEW: The code now supports dynamically plugging your own Pages and block position
identifiers into Moodle without messing with the main libraries at all.
UPDATE: Many functions in blocklib now use pass-by-reference for speed.
UPDATE: Class MoodlePage has been made more presentable and robust.