]>
git.mjollnir.org Git - moodle.git/log
toyomoyo [Thu, 27 Sep 2007 03:02:01 +0000 (03:02 +0000)]
fixing a typo
toyomoyo [Thu, 27 Sep 2007 02:29:46 +0000 (02:29 +0000)]
when no gradebook roles is set, there are lots of sql breakages so we should check gradebookroles first
toyomoyo [Thu, 27 Sep 2007 01:46:41 +0000 (01:46 +0000)]
modifying get_user_by_capability to handle requests on frontpage courses and sub contexts. MDL-11143
tjhunt [Wed, 26 Sep 2007 21:31:54 +0000 (21:31 +0000)]
MDL-11466 - failing to check for the case $rs = false in the accesslib performance improvements. Credit for the fix goes to Gareth Morgan.
tjhunt [Wed, 26 Sep 2007 20:45:23 +0000 (20:45 +0000)]
MDL-9331 - Problem with the tables on the quiz index page. Merged from MOODLE_18_STABLE.
tjhunt [Wed, 26 Sep 2007 20:13:47 +0000 (20:13 +0000)]
MDL-5086 - Improve the formatting of the question import and export help so that the code samples fit. Merged from MOODLE_18_STABLE.
tjhunt [Wed, 26 Sep 2007 20:10:08 +0000 (20:10 +0000)]
Tweak the styles for <pre> tags in help files. These are mostly used for code samples, and they have a grey background and are shown in a different font, so the indent I am getting rid of is not necessarly to make the structure of the document clearn, and usually just means that the code sample does not fit. Merged from MOODLE_18_STABLE.
skodak [Wed, 26 Sep 2007 19:34:54 +0000 (19:34 +0000)]
MDL-10985 improved form validation in xml grade import
skodak [Wed, 26 Sep 2007 19:25:50 +0000 (19:25 +0000)]
MDL-11460
tjhunt [Wed, 26 Sep 2007 18:15:31 +0000 (18:15 +0000)]
MDL-8682: Pressing enter when answering a short answer question can submit the wrong one. To fix this, I have disabled the enter key unless the keyboard focus is on a submit button (or inside a text box or HTML editor).
MDL-9451: Quiz answers can be lost if user navigates before page reloads. I am not totally sure I have fixed this, but I hope so. I moved the printing of the hidden form field with the list of questions on the page to the end of the form, so no answers will be processed unless the whole form loaded. Note that you could still lose data, but only if the page takes a really long time to load and you answer the first question and click submit before the whole quiz is loaded.
MDL-11463: The quiz uses two different timers, which is silly. I have removed the javascript that was ocasionally used to put a timer in the browser's title bar. Now we only use the one in the page for all cases.
Because MDL-8682 also needed javascript, I renamed timer.js to quiz.js so it could be a library of all the quiz's JavaScript, and started including it properly with require_js.
skodak [Wed, 26 Sep 2007 18:11:48 +0000 (18:11 +0000)]
MDL-10985 merged the xml and xmlurl grade import plug-in
tjhunt [Wed, 26 Sep 2007 17:48:27 +0000 (17:48 +0000)]
Comment out an if (ajaxenabled()) check that was stopping any javascript included with require_js before print_header from being included, (but not js included afterwareds). See
http://moodle.org/mod/forum/discuss.php?d=81050 for discussion.
skodak [Wed, 26 Sep 2007 17:30:24 +0000 (17:30 +0000)]
fix of disabledIf fix :-(
skodak [Wed, 26 Sep 2007 16:53:26 +0000 (16:53 +0000)]
MDL-11460 new function moodleform->get_file_content($elname) in case we need to get content of uploaded files
skodak [Wed, 26 Sep 2007 16:49:37 +0000 (16:49 +0000)]
fixed disabledif conditions
tjhunt [Wed, 26 Sep 2007 16:10:38 +0000 (16:10 +0000)]
MDL-11398 - Random questions sometimes ended up with names different from the cateogry they were actually picking from. Also, the same random questoin could be used in more than one quiz, in which case editing that question would change two quizzes unexpectedly. The fix is:
* Don't let the user set the name for random questions.
* Instead force the name to be "Random (catname)" (localised) whever the question is created or saved.
* When a category is renamed, rename all the random questions in it.
* Remove the restriction that Jamie seems to have added in 1.9 that was preventing the category of random questions from being edited.
nfreear [Wed, 26 Sep 2007 12:53:04 +0000 (12:53 +0000)]
Follow-up for MDL-1149 Accessibility: Current week/topic is NOT indicated non-visually. Reorder.
nfreear [Wed, 26 Sep 2007 12:44:35 +0000 (12:44 +0000)]
Fixes "Notice: Undefined property: stdClass::$hideactivitytypenavlink..."
nicolasconnault [Wed, 26 Sep 2007 12:25:16 +0000 (12:25 +0000)]
Fixing OU report issues
moodler [Wed, 26 Sep 2007 11:42:36 +0000 (11:42 +0000)]
Not a pretty fix but it gets the preferences out of the way where users won't keep hitting the wrong submit
moodler [Wed, 26 Sep 2007 11:21:54 +0000 (11:21 +0000)]
Fixed the HTML editor being too wide for the messaging window MDL-11242
sam_marshall [Wed, 26 Sep 2007 11:19:41 +0000 (11:19 +0000)]
MDL-11455 renamed function I just added, to make it more consistent (sorry)
sam_marshall [Wed, 26 Sep 2007 11:13:09 +0000 (11:13 +0000)]
MDL-11455 Added function and option to grouplib (also corrected another comment)
skodak [Wed, 26 Sep 2007 11:02:36 +0000 (11:02 +0000)]
MDL-9636 fixed many sql injections in grade import code
nfreear [Wed, 26 Sep 2007 10:57:46 +0000 (10:57 +0000)]
Follow-up for MDL-1149 Accessibility: Current week/topic is NOT indicated non-visually, only in styling. Prefer "This week" to "Current week"
skodak [Wed, 26 Sep 2007 10:54:09 +0000 (10:54 +0000)]
MDL-9636 grade_items are now limited to current course only - can not import into other courses anymore
sam_marshall [Wed, 26 Sep 2007 10:16:25 +0000 (10:16 +0000)]
Corrected inaccurate comment (said 'group IDs' when it actually returns group objects)
tjhunt [Wed, 26 Sep 2007 10:13:23 +0000 (10:13 +0000)]
Add $Id$ tags.
tjhunt [Wed, 26 Sep 2007 10:11:13 +0000 (10:11 +0000)]
Get rid of duplicate $Id$ tags.
tjhunt [Wed, 26 Sep 2007 10:02:00 +0000 (10:02 +0000)]
MDL-11446 - when a set of radio buttons is a required field, don't colour the lables of all the individual radio buttons red.
skodak [Wed, 26 Sep 2007 10:00:51 +0000 (10:00 +0000)]
MDL-9636 corrected the creation of new manual grade items, added source parameter
skodak [Wed, 26 Sep 2007 09:42:28 +0000 (09:42 +0000)]
MDL-10985 import from remote xml file with key login option
tjhunt [Wed, 26 Sep 2007 09:40:28 +0000 (09:40 +0000)]
MDL-11454 - hard-coded mdl_ prefix. Also, wrong logic in is_siteadmin in accesslib.php.
gbateson [Wed, 26 Sep 2007 07:22:06 +0000 (07:22 +0000)]
change CONTEXT_MODULE to CONTEXT_COURSE in order to fix "Invalid context creation for level 50 instance" error on "mod/hotpot/index.php" caused by get_context_instance(CONTEXT_MODULE, $course->id) in "mod/hotpot/lib.php"
toyomoyo [Wed, 26 Sep 2007 07:19:30 +0000 (07:19 +0000)]
get_default_frontpage_role_access() should prolly not load overrides below course level
toyomoyo [Wed, 26 Sep 2007 07:12:38 +0000 (07:12 +0000)]
MDL-11143, adding a new setting "defaultfrontpageroleid" where you choose a role for all users on the front page
moodler [Wed, 26 Sep 2007 02:33:43 +0000 (02:33 +0000)]
Allow the Admin tree block to be displayed on the My Moodle page.
Reported in NZ workshop. MDL-11450
gbateson [Tue, 25 Sep 2007 21:43:39 +0000 (21:43 +0000)]
corrected include path for "moodleform_mod.php"; changed $course->id to $COURSE->id;
nicolasconnault [Tue, 25 Sep 2007 19:32:29 +0000 (19:32 +0000)]
Fixing OU report issues
tjhunt [Tue, 25 Sep 2007 17:18:08 +0000 (17:18 +0000)]
MDL-10402 - udpate the Main glossary help file, to clarify the position with Main glossaries since Moodle 1.7.
sam_marshall [Tue, 25 Sep 2007 15:52:33 +0000 (15:52 +0000)]
MDL-11443 Added groups_get_grouping_name to match groups_get_group_name
nfreear [Tue, 25 Sep 2007 15:15:07 +0000 (15:15 +0000)]
Fix MDL-7436 Accessibility "Indicate type of resource in the name of the resource"
nfreear [Tue, 25 Sep 2007 14:59:16 +0000 (14:59 +0000)]
Fix MDL-7436 Accessibility "Indicate type of resource in the name of the resource"
tjhunt [Tue, 25 Sep 2007 14:44:53 +0000 (14:44 +0000)]
MDL-10898 - Option to back up only selected role assignements when backing up a course with users.
nicolasconnault [Tue, 25 Sep 2007 14:40:49 +0000 (14:40 +0000)]
MDL-11433 Implemented grade_items.decimals instead of user preference in grader report.
tjhunt [Tue, 25 Sep 2007 14:39:42 +0000 (14:39 +0000)]
Remove spurious characters from some SQL statements.
skodak [Tue, 25 Sep 2007 14:34:13 +0000 (14:34 +0000)]
MDL-11415 fixed our non-standard lang attributes in html purifier
skodak [Tue, 25 Sep 2007 14:02:53 +0000 (14:02 +0000)]
MDL-11413 I hope now it is correct solution
skodak [Tue, 25 Sep 2007 12:31:39 +0000 (12:31 +0000)]
MDL-11440 working fix for require_user_key_login()
nfreear [Tue, 25 Sep 2007 12:05:36 +0000 (12:05 +0000)]
MDL-1149 Accessibility: Current week/topic is NOT indicated non-visually, only in styling.
nfreear [Tue, 25 Sep 2007 12:00:51 +0000 (12:00 +0000)]
MDL-1149 Accessibility: Current week is NOT indicated non-visually, only in styling.
nfreear [Tue, 25 Sep 2007 11:34:40 +0000 (11:34 +0000)]
MDL-11436, Encapsulate "accesshide" HTML class in function, and use. Merged.
nfreear [Tue, 25 Sep 2007 11:33:30 +0000 (11:33 +0000)]
MDL-11436, Encapsulate "accesshide" HTML class in function.
skodak [Tue, 25 Sep 2007 11:02:12 +0000 (11:02 +0000)]
no text formating in grade xml export for now - we need the original values for reimport
nicolasconnault [Tue, 25 Sep 2007 09:47:40 +0000 (09:47 +0000)]
MDL-11433 Correcting non-null and default value (Default will be NULL)
skodak [Tue, 25 Sep 2007 09:37:58 +0000 (09:37 +0000)]
MDL-11434 $CFG->filelifetime = 0 has no effect; patch by Chris Fryer
nicolasconnault [Tue, 25 Sep 2007 08:35:16 +0000 (08:35 +0000)]
MDL-11433 Added decimals field to grade_items table
nicolasconnault [Tue, 25 Sep 2007 08:22:20 +0000 (08:22 +0000)]
Replacing GRADE_REPORT_GRADE_DISPLAY_TYPE... by GRADE_DISPLAY_TYPE...
stronk7 [Mon, 24 Sep 2007 22:32:31 +0000 (22:32 +0000)]
group/db isn't a source of xml files anymore. MDL-11431
stronk7 [Mon, 24 Sep 2007 22:20:37 +0000 (22:20 +0000)]
Second pass. Questions. Some more default comments are out. MDL-11385
stronk7 [Mon, 24 Sep 2007 22:17:05 +0000 (22:17 +0000)]
Second pass. Modules. Some more default comments are out. MDL-11385
stronk7 [Mon, 24 Sep 2007 22:10:13 +0000 (22:10 +0000)]
Second pass. Some more default comments are out. MDL-11385
mattc-catalyst [Mon, 24 Sep 2007 21:55:15 +0000 (21:55 +0000)]
MDL-11419 - groups: interface enhancements + new features:
* Display the grouping a course module belongs to on the course page - for course managers only.
* When adding users to groups, display the groups a user already belongs to.
* Added an overview report that shows groupings, groups and members for a course.
* Added a dialogue to automatically create groups and assign members based on either the number of desired groups or the number of desired users per group.
stronk7 [Mon, 24 Sep 2007 19:36:24 +0000 (19:36 +0000)]
One more default and useless comment deleted. MDL-11385
skodak [Mon, 24 Sep 2007 19:18:48 +0000 (19:18 +0000)]
MDL-10781 reimplemented tags upgrade code: uses recordsets; no calls to tag/lib.php functions - those would break if we changed db structure; no ordering in blog tags - we did not respect the tag order before, this way it is much faster
stronk7 [Mon, 24 Sep 2007 19:08:00 +0000 (19:08 +0000)]
First pass. Deleting some default comments. MDL-11385
skodak [Mon, 24 Sep 2007 19:00:39 +0000 (19:00 +0000)]
fixed notice during upgrade from 1.8
stronk7 [Mon, 24 Sep 2007 18:40:49 +0000 (18:40 +0000)]
Deleting some default comments that the XMLDB editor was
generating here and there. Only the table one remains. MDL-11385
nfreear [Mon, 24 Sep 2007 17:26:40 +0000 (17:26 +0000)]
Partial fix of reopened MDL-7436 Accessibility: "Indicate type of resource in the name of the resource"
skodak [Mon, 24 Sep 2007 17:20:08 +0000 (17:20 +0000)]
very minor - fixing incorrect include_once('tabs.php') - this is not a library file
skodak [Mon, 24 Sep 2007 17:12:56 +0000 (17:12 +0000)]
MDL-10729 Active tabs are now marked active
nfreear [Mon, 24 Sep 2007 17:09:37 +0000 (17:09 +0000)]
Partial fix for reopened MDL-7474, Accessibility: "Provide alt text for ascending/ descending icons in glossary"
nfreear [Mon, 24 Sep 2007 16:39:05 +0000 (16:39 +0000)]
Partial fix reopened for MDL-7493, Accessibility: Make sure 'Show hide block' button-link visible under Windows High Contrast.
skodak [Mon, 24 Sep 2007 15:50:34 +0000 (15:50 +0000)]
MDL-10833 some more course theme fixes; merged from MOODLE_18_STABLE
tjhunt [Mon, 24 Sep 2007 15:45:29 +0000 (15:45 +0000)]
Whitespace cleanup.
skodak [Mon, 24 Sep 2007 15:39:29 +0000 (15:39 +0000)]
MDL-10833 course theme in live logs fixed
skodak [Mon, 24 Sep 2007 15:24:21 +0000 (15:24 +0000)]
MDL-11413 revisited
skodak [Mon, 24 Sep 2007 15:07:00 +0000 (15:07 +0000)]
MDL-11071 Added disabledif logic to groupings/groups common dialogue
tjhunt [Mon, 24 Sep 2007 14:18:47 +0000 (14:18 +0000)]
Related to MDL-10916 - saving Cloze questions in Moodle 1.9 generates Notices because of changes to questionstupe_base::save_question.
tjhunt [Mon, 24 Sep 2007 14:17:23 +0000 (14:17 +0000)]
MDL-10916 - Import and Export of Cloze question misses out "generalfeedback" column. Merged from MOODLE_17_STABLE.
jamiesensei [Mon, 24 Sep 2007 13:23:58 +0000 (13:23 +0000)]
MDL-11423 removed a stray print_object call
skodak [Mon, 24 Sep 2007 11:11:48 +0000 (11:11 +0000)]
MDL-11422 fixed duplicate title attribute
urs_hunkler [Mon, 24 Sep 2007 11:08:02 +0000 (11:08 +0000)]
MDL-11370 :: added a global var $THEME->customcornersopen to track properly closed custom corners divs. In function print_footer I added a check if some custom_corneres divs are still open and eventually close them.
ikawhero [Mon, 24 Sep 2007 03:02:16 +0000 (03:02 +0000)]
Fixing typo.
skodak [Sun, 23 Sep 2007 16:05:41 +0000 (16:05 +0000)]
MDL-11358 final grade from gradebook is now shown in assignments - students see only final grades from gradebook
skodak [Sun, 23 Sep 2007 15:57:36 +0000 (15:57 +0000)]
MDL-11417 usermodified now stored properly in grade_grades table when update_(raw|final)_grade() used
skodak [Sun, 23 Sep 2007 15:54:33 +0000 (15:54 +0000)]
MDL-11416 support for nonsortable columns in table lib
skodak [Sun, 23 Sep 2007 15:51:21 +0000 (15:51 +0000)]
MDL-11357, MDL-11358 adding formating of numeric final grade (for now takes the setting from user report), adding usermodified field to returned grading info
skodak [Sun, 23 Sep 2007 15:47:26 +0000 (15:47 +0000)]
MDL-11415 imported htmlpurifier 2.1.2
skodak [Sun, 23 Sep 2007 13:13:13 +0000 (13:13 +0000)]
MDL-11414 fixed handling of log urls (problem reported by Andreas Nolden)
skodak [Sun, 23 Sep 2007 12:28:03 +0000 (12:28 +0000)]
MDL-11413 improved text cleaning (problem reported by Andreas Nolden)
skodak [Sun, 23 Sep 2007 12:20:29 +0000 (12:20 +0000)]
MDL-11413 improved text cleaning (problem reported by Andreas Nolden)
skodak [Sun, 23 Sep 2007 12:09:16 +0000 (12:09 +0000)]
prevent error when somebody changes scale or grading type - old value does not fit the new scale
skodak [Sat, 22 Sep 2007 21:39:28 +0000 (21:39 +0000)]
overridden flag is now used to track the last time of modification - going to use it in assignments to print the correct time/date
skodak [Sat, 22 Sep 2007 20:21:44 +0000 (20:21 +0000)]
MDL-11357, MDL-11358 cleanup and improvements in public grade API - new function grade_get_grades() that returns all grading information (grade item data, outcomes and user grades); other minor improvements and bugfixes; updated assignment to use new grade API
skodak [Sat, 22 Sep 2007 18:50:46 +0000 (18:50 +0000)]
MDL-11363 minor doc improvement
skodak [Sat, 22 Sep 2007 18:46:51 +0000 (18:46 +0000)]
MDL-11363 fixing defaults of new optional fields of grade classes - now properly applied when creating new instances too
skodak [Sat, 22 Sep 2007 11:39:59 +0000 (11:39 +0000)]
MDL-11363 merged tables grade_grades with grade_grades_text - it is now possible to define fields as required and optional
finally fixed formula validation in calculation edit form
stronk7 [Sat, 22 Sep 2007 09:52:35 +0000 (09:52 +0000)]
Deleting the Db migrate to UTF-8 button. It isn't there anymore.
tjhunt [Fri, 21 Sep 2007 18:28:45 +0000 (18:28 +0000)]
MDL-11316 - Extra slashes appearing in the correct answer of shortanswer questions when they contain a slash. Merged from MOODLE_18_STABLE.