skodak [Fri, 22 Jun 2007 08:57:39 +0000 (08:57 +0000)]
MDL-10223 Implement locking of grades and grade items - cron support still not implemented;
this patch also contains improvements in handling of needsupdate, though it is not yet fully working for calculated grades
tjhunt [Wed, 20 Jun 2007 16:18:37 +0000 (16:18 +0000)]
Put information about which quiz and page in the URL for attempt.php, instead of in hidden form fields. Merged from OU Moodle.This makes things a little more robust in some situations, for example you can bookmark a page half way through a quiz attempt to make it easier to get back later.
tjhunt [Wed, 20 Jun 2007 15:12:36 +0000 (15:12 +0000)]
MDL-10198 - New code to allow files from quiestion attempts to be stored in moodledata and later downloaded. Code thanks to Adriane Boyd, but checked and modified by me, so we share the blame;-)
mchurch [Tue, 19 Jun 2007 20:38:27 +0000 (20:38 +0000)]
MDL-10161 - Since get_course_... (users, students, teachers) is still being used by a number of functions (such as groups), trying to make them work with the SITE course the way they did pre-1.7, with $CFG->allusersarestudents set to TRUE. This will also have a configuration option that can be used to disable returning large amounts of users for the site course, if a site happens to be using this functionality and they have a large number of users.
skodak [Mon, 18 Jun 2007 13:43:40 +0000 (13:43 +0000)]
MDL-9137 various grading improvements
1/ initial support for migration of old grade_items and categories (not tested)
2/ rewritten grade update and calculation logic
3/ initial support for calculation formulas
4/ minor API refactoring and cleanup
5/ various small bugfixes
6/ fixed use of grademax with scales
7/ fixed some unit tests
TODO:
* implement proper locking of grades - needs discussion
* force recalculation of all formulas after adding/removing/changing of grade items
* better delete flag support
* support for NULLs n backup - Eloy already proposed a solution
* support for NULLs in set_field()
* speedup
* more unit tests nd functional tests
mudrd8mz [Sun, 17 Jun 2007 02:14:31 +0000 (02:14 +0000)]
Repeating the skodak's commit 1.95 (MDL-9647 simplify dealing with headers/footers in admin sections) - evidently too late for me tonight... doing more CVS mistakes :-(
mudrd8mz [Sun, 17 Jun 2007 02:05:18 +0000 (02:05 +0000)]
* To choose a file to edit, popup_form() is used now. It saves some space on the screen.
* Started to work on GUI improvements. Menu tabs introduced. Heading to fix MDL-8012
* "Number of missing strings" or "No missing strings" displayed in the missing mode. Fixes MDL-7029
This commit covers changes from 1.88.2.5 to 1.88.2.8 which were accidentally done on MOODLE_18_STABLE instead of HEAD.
nicolasconnault [Sat, 16 Jun 2007 21:20:57 +0000 (21:20 +0000)]
MDL-9506 MDL-9629 Added code to grade_category::delete so that its children have their categoryid/parent field updated. However, the query used sets the fields to an empty string instead of a null value. The unit test for grade_categories fails.
stronk7 [Wed, 13 Jun 2007 19:43:56 +0000 (19:43 +0000)]
Added entities_to_utf8() function to textlib, suitable to convert
any entity (numerical and html) to utf-8, providing a PHP4 and PH5
way to do the work.
Also, added the code2utf8() function to convert Unicode code numbers
to UTF-8 chars.
toyomoyo [Wed, 13 Jun 2007 09:06:44 +0000 (09:06 +0000)]
backup will not back up grade categories and grades if some grade items are not backed up. restore will not resotre grade categories and grades if some grade items are not being restored