skodak [Wed, 10 Oct 2007 16:09:17 +0000 (16:09 +0000)]
preparation for 1.9 beta 2 - setting correct requires in mods and plugins
stronk7 [Wed, 10 Oct 2007 16:06:12 +0000 (16:06 +0000)]
Bump to beta 2 (real branch)
jmg324 [Wed, 10 Oct 2007 16:02:45 +0000 (16:02 +0000)]
MDL-10296 adding in the global for https
tjhunt [Wed, 10 Oct 2007 15:26:45 +0000 (15:26 +0000)]
MDL-11703 - escaped *'s in shortanswer answers were not matching properly. Merged from MOODLE_18_STABLE.
jamiesensei [Wed, 10 Oct 2007 15:23:24 +0000 (15:23 +0000)]
fix for MDL-11692. There were notices about subquestions not being defined. This seems to indicate that there is a problem elsewhere that somehow matching questions without subquestions are in the site db. But suppressed the notice by testing to see if subquestions is set before looping through the questions.
moodler [Wed, 10 Oct 2007 14:57:39 +0000 (14:57 +0000)]
Merged Urs fixes from 1.8 stable and reformatted a bit
moodler [Wed, 10 Oct 2007 14:31:27 +0000 (14:31 +0000)]
Merged the flexible column patch from Urs (1.11.2.3) to HEAD
moodler [Wed, 10 Oct 2007 14:20:38 +0000 (14:20 +0000)]
new string merged from stable
tjhunt [Wed, 10 Oct 2007 14:00:41 +0000 (14:00 +0000)]
MDL-11699 - Make build_navigation more helpful by having it optionally build the activity and activityinstance links too, if you pass a $cm object. Note that this only does extra DB queries if you do pass a $cm object, and it does not have all the required fields, but in this case it will winge at you in developer debug mode. If you get your $cm using get_coursemodule_from_instance or get_coursemodule_from_id, which is best practice these days, then you won't have a problem.
skodak [Wed, 10 Oct 2007 13:14:56 +0000 (13:14 +0000)]
MDL-8248 savepoints in main upgrade.php
skodak [Wed, 10 Oct 2007 12:19:27 +0000 (12:19 +0000)]
MDL-11432 eliminated majority of RecordCount uses, added several missing rs_close() - this should help improve perf on some platforms - Eloy says ;-)
skodak [Wed, 10 Oct 2007 11:03:00 +0000 (11:03 +0000)]
MDL-11694 adding error displaying into installer, it does not affect the debug and error displaying in final installation
MDL-11432 eliminated RecordCount
wildgirl [Wed, 10 Oct 2007 09:37:35 +0000 (09:37 +0000)]
MDL-10713 additional description added to help file
skodak [Wed, 10 Oct 2007 09:21:13 +0000 (09:21 +0000)]
MDL-11432 rs->EOF wrapper function
moodler [Wed, 10 Oct 2007 09:16:43 +0000 (09:16 +0000)]
Implemented typo fixes described by ermanno bagnai in MDL-11689
toyomoyo [Wed, 10 Oct 2007 09:03:01 +0000 (09:03 +0000)]
changing CONTEXT_GROUP to CONTEXT_COURSE for calendar:manageentries capability
skodak [Wed, 10 Oct 2007 08:43:25 +0000 (08:43 +0000)]
add proper rs_close() into cleanup_contexts() - we have to close even when now records returned
wildgirl [Wed, 10 Oct 2007 08:39:59 +0000 (08:39 +0000)]
MDL-6096 help file re-wording
skodak [Wed, 10 Oct 2007 08:33:06 +0000 (08:33 +0000)]
MDL-11688 makes sure all course and user contexts exist during upgrade (all contexts when going from in 1.6) - this is needed for grade_letter upgrade; other minor tweaks - the USER->access is now loaded automatically, feedback parameters added
toyomoyo [Wed, 10 Oct 2007 08:28:43 +0000 (08:28 +0000)]
MDL-11510, adding missing backup/restore gradebook fields
wildgirl [Wed, 10 Oct 2007 08:28:29 +0000 (08:28 +0000)]
MDL-7610 help file re-wording
moodler [Wed, 10 Oct 2007 08:18:59 +0000 (08:18 +0000)]
Just a small fix that would make this SQL work ... no idea what bug it would fix. It's not MDL-9059
skodak [Wed, 10 Oct 2007 07:53:35 +0000 (07:53 +0000)]
MDL-11686 dropped obsoleted grade tables, removed context_rel related upgrade code
toyomoyo [Wed, 10 Oct 2007 07:25:41 +0000 (07:25 +0000)]
MDL-11510, missing gradebook fields in backup
toyomoyo [Wed, 10 Oct 2007 07:08:50 +0000 (07:08 +0000)]
MDL-11510, adding missing fields
toyomoyo [Wed, 10 Oct 2007 07:05:48 +0000 (07:05 +0000)]
MDL-11510, referencing to wrong fields
toyomoyo [Wed, 10 Oct 2007 06:43:23 +0000 (06:43 +0000)]
MDL-11667, adding 2 global variables to set default export decimal point and display format. During export there are 2 new settings for decimal points and display format, default to site setting. Removed letter option because it is a format that you can choose now.
nicolasconnault [Wed, 10 Oct 2007 06:34:20 +0000 (06:34 +0000)]
Added copyright notice
nicolasconnault [Wed, 10 Oct 2007 06:21:37 +0000 (06:21 +0000)]
MDL-11543 Printing nice list of categories for parent category drop-down
moodler [Wed, 10 Oct 2007 06:16:12 +0000 (06:16 +0000)]
Tidied up border around category listing
nicolasconnault [Wed, 10 Oct 2007 06:04:14 +0000 (06:04 +0000)]
MDL-11543 format_string(parent category name)
nicolasconnault [Wed, 10 Oct 2007 06:01:54 +0000 (06:01 +0000)]
MDL-11543 Refactored editcategory and form
nicolasconnault [Wed, 10 Oct 2007 05:25:14 +0000 (05:25 +0000)]
Updated copyright notice in header
nicolasconnault [Wed, 10 Oct 2007 04:59:35 +0000 (04:59 +0000)]
MDL-11608 Removed stripslashes_safe($rename) and changed PARAM_RAW to PARAM_TEXT for rename param
nicolasconnault [Wed, 10 Oct 2007 04:53:32 +0000 (04:53 +0000)]
MDL-11543 Replacing "Site" with "Top" in the list of available parent categories
moodler [Wed, 10 Oct 2007 04:39:18 +0000 (04:39 +0000)]
Automatic installer.php lang files by installer_builder (
20071010)
moodler [Wed, 10 Oct 2007 04:05:46 +0000 (04:05 +0000)]
Miscellaneous fixes for MDL-11543
- added button to edit current category
- removed old mini-forms to do the same
- tidied up various things and CSS as well
moodler [Wed, 10 Oct 2007 02:52:25 +0000 (02:52 +0000)]
Added a timemodified field to forum_queue, and we now delete records
that are older than a week before processing digests.
After upgrade it's possible that some posts will be lost this way but
on the other hand it ensures that sites with problems like moodle.org
had will start working again.
We still need a recordset added to the digestposts loop.
MDL-11657
iarenaza [Tue, 9 Oct 2007 21:43:28 +0000 (21:43 +0000)]
Fix MDL-11632: Multiple files with emtpy lines outside PHP open/close tags
There are multiple issues with Moodle files containing empty or blank lines
(lines consisting of white spaces or tabs only) and/or white space before or
after the PHP open and close tags, notably with config.php and theme files.
nicolasconnault [Tue, 9 Oct 2007 17:22:10 +0000 (17:22 +0000)]
MDL-11543 Temporary solution originally proposed by Martin
sam_marshall [Tue, 9 Oct 2007 16:56:00 +0000 (16:56 +0000)]
MDL-11681 Changed it so current tab no longer is a link to #
skodak [Tue, 9 Oct 2007 16:46:04 +0000 (16:46 +0000)]
MDL-11674 fixed mysql incompatible SQL in chat cron
skodak [Tue, 9 Oct 2007 16:27:49 +0000 (16:27 +0000)]
MDL-11660 user_lastaccess cleanup
skodak [Tue, 9 Oct 2007 16:07:15 +0000 (16:07 +0000)]
MDL-11660
* user_lastaccess deleted when deleting course
* rewritten deleting of contexts - does not use get_context_instance() anymore because it is much more strict now
* added deleting of grade_letters and settings when deleting course
nfreear [Tue, 9 Oct 2007 15:48:48 +0000 (15:48 +0000)]
Fixes MDL-11676, Skip block links are broken in Internet Explorer 6.
tjhunt [Tue, 9 Oct 2007 15:44:06 +0000 (15:44 +0000)]
MDL-9076 - Move the 'Add 3 more overall feedbacks' button inside that group of elements on the quiz settings form.
To make this possible, I added an extra argument to the repeat_elements method, which other people may find helpful on other forms.
tjhunt [Tue, 9 Oct 2007 15:19:07 +0000 (15:19 +0000)]
MDL-11617 - 'Student may review' heading on quiz settings form is now misleading. I have fixed some lang strings and improved the help. Also, finish off the clarification of how various capabilites affect quiz review that was started in MDL-11580.
skodak [Tue, 9 Oct 2007 15:11:29 +0000 (15:11 +0000)]
fixed yet more undefined $sqls
nicolasconnault [Tue, 9 Oct 2007 14:08:05 +0000 (14:08 +0000)]
MDL-11608 The $rename param was obtained with PARAM_NOTAG, I changed that to PARAM_RAW. I also changed the rename field's value to htmlspecialchars($category->name)
skodak [Tue, 9 Oct 2007 13:43:51 +0000 (13:43 +0000)]
do not optimise the $USER fetching - it was broken by mnethostid and would be again in future
skodak [Tue, 9 Oct 2007 13:10:55 +0000 (13:10 +0000)]
fixed undefined $modcontext
skodak [Tue, 9 Oct 2007 13:04:33 +0000 (13:04 +0000)]
fixed missing $sql warning
nicolasconnault [Tue, 9 Oct 2007 12:53:24 +0000 (12:53 +0000)]
MDL-11543 Temporary solution originally proposed by Martin
skodak [Tue, 9 Oct 2007 12:49:54 +0000 (12:49 +0000)]
MDL-11640
* improved handling of dirty contexts in general - caching, switching in cron, marking, loading, etc.
* role_assing() and role_unassign() now marks dirty contexts because we use has_capability() in this function - we can not do it later outside to speedup bulk operations
* fixed some inline docs
* fixed notice from rs closing
* removed cached $CONTEXT from has_capability() - $context is now required parameter; this was hiding serious bugs when context did not exist or ppl passed false as parameter
* removed some ===, we can not use these on function parameters - we must support ints, strings, '', nulls, etc. - this could be a source of really dangerous bugs in future
* some other improvements and fixes - documented inline
thepurpleblob [Tue, 9 Oct 2007 10:26:09 +0000 (10:26 +0000)]
MDL-11514:
Link to missing word information and help file removed. There
was no extra help.
thepurpleblob [Tue, 9 Oct 2007 10:22:40 +0000 (10:22 +0000)]
MDL-11515:
Help file is not used.
Merged from STABLE_18
thepurpleblob [Tue, 9 Oct 2007 10:16:01 +0000 (10:16 +0000)]
MDL-11425:
Process the text properly for the category path.
Merged from STABLE_18.
skodak [Tue, 9 Oct 2007 09:29:45 +0000 (09:29 +0000)]
inherit by default decimal points in ranges and averages on grader report
moodler [Tue, 9 Oct 2007 09:16:44 +0000 (09:16 +0000)]
Added CSS classes to totals columns (cat and course) so that styles can be applied.
Made them bold by default in standard anc custom_corners.
MDL-11666
toyomoyo [Tue, 9 Oct 2007 08:56:56 +0000 (08:56 +0000)]
fixing a typo and some half finished comment
toyomoyo [Tue, 9 Oct 2007 08:51:49 +0000 (08:51 +0000)]
MDL-11669, adding a new export setting (for xml atm), so that we can choose to export only updated grades
toyomoyo [Tue, 9 Oct 2007 05:43:35 +0000 (05:43 +0000)]
MDL-11665, users with no grade:viewhidden capability gets a wrong upgrade count because after deletion of a grade, the grade can be NULL and not hidden at the same time
toyomoyo [Tue, 9 Oct 2007 04:02:43 +0000 (04:02 +0000)]
MDL-10048, revert some changes in courses regaring coloring of courses
stronk7 [Tue, 9 Oct 2007 00:11:07 +0000 (00:11 +0000)]
Modify notify_login_failures() for better scale. MDL-11661
skodak [Mon, 8 Oct 2007 23:09:10 +0000 (23:09 +0000)]
MDL-11578 , MDL-11578 , MDL-11573 :
* renamed Preferences to "My report preferences"
* renamed Site defaults to "Report defaults"
* rename Change site defaults to "Change report defaults"
* reintroduced Inherit option to Grader preferences - Nicolas was right, it is not possible to implement preference overrides without it with our current get_pref inplementation
* new separate option in plugin selector "Course settings"
* moved displaytype, decimals and aggregation position to "Course settings"
* created new table grade_settings + related functions grade_get/set_preference()
* user report now uses grade_seq class instead of grade_item::fetch_all(); added preloading of grade items into grade_grade instances
* other minor bugfixing/cleanup/improvements
Please note that the Grader report preferences and its defaults must be resaved again - sorry.
stronk7 [Mon, 8 Oct 2007 17:42:46 +0000 (17:42 +0000)]
ANSI join ON clauses should contain only the join condition. Also,
added prefix to the ORDER BY to prevent duplicate names.
skodak [Mon, 8 Oct 2007 17:27:42 +0000 (17:27 +0000)]
MDL-11653 undefined rcache in /lib/dmllib.php during upgrades
stronk7 [Mon, 8 Oct 2007 16:33:49 +0000 (16:33 +0000)]
Bump. MDL-11605
stronk7 [Mon, 8 Oct 2007 16:33:29 +0000 (16:33 +0000)]
Adding one new index to cache_text table. User to make cron deletion
of expired records faster. MDL-11605
nfreear [Mon, 8 Oct 2007 13:55:53 +0000 (13:55 +0000)]
Fixes MDL-11648, "Required" is inappropriate text for legend in user profile edit form.
nicolasconnault [Mon, 8 Oct 2007 09:54:51 +0000 (09:54 +0000)]
Creating course grade_category and course grade_item when not yet created and overview report is accessed
nicolasconnault [Mon, 8 Oct 2007 09:53:43 +0000 (09:53 +0000)]
Making the overview report viewable by student role by default
toyomoyo [Mon, 8 Oct 2007 08:51:59 +0000 (08:51 +0000)]
dropping context_rel table
ikawhero [Mon, 8 Oct 2007 08:10:45 +0000 (08:10 +0000)]
Only include data from field types that are "small"
moodler [Mon, 8 Oct 2007 07:26:29 +0000 (07:26 +0000)]
Some fixes to make preferences work correctly (if not set then they are 0) and so now ranges and averages show correctly on grader report when these are set to defaults in preferences MDL-11618
ikawhero [Mon, 8 Oct 2007 07:23:18 +0000 (07:23 +0000)]
Include custom profile fields when setting up a user object
ikawhero [Mon, 8 Oct 2007 07:21:32 +0000 (07:21 +0000)]
New function to return a partial user object with the custom profile fields
set.
moodler [Mon, 8 Oct 2007 07:11:22 +0000 (07:11 +0000)]
Cleaner saving of grader report prefs
ikawhero [Mon, 8 Oct 2007 06:59:00 +0000 (06:59 +0000)]
Check to ensure custom profile fields do not have same name as current
fields in the $USER record
moodler [Mon, 8 Oct 2007 06:55:34 +0000 (06:55 +0000)]
Re-ordered some preferences to be a bit more logical
toyomoyo [Mon, 8 Oct 2007 06:52:39 +0000 (06:52 +0000)]
MDL-11633, changing import to use $mform->getdata() instead of data_submitted()
gbateson [Mon, 8 Oct 2007 06:45:27 +0000 (06:45 +0000)]
added escaping of quotes in TimesUp message, so that apostrophes do not cause Javascript errors
moodler [Mon, 8 Oct 2007 05:11:15 +0000 (05:11 +0000)]
Fixed typo from MDL-11642, thanks Gary
toyomoyo [Mon, 8 Oct 2007 02:34:04 +0000 (02:34 +0000)]
MDL-11616, adding activity link back for hidden grade items
toyomoyo [Mon, 8 Oct 2007 00:42:41 +0000 (00:42 +0000)]
using correct capability for displaying activity report link in print_user()
diml [Sun, 7 Oct 2007 20:15:32 +0000 (20:15 +0000)]
fixes a bug in resource_get_physical_file(...) when making a ResourceDocument object.
diml [Sun, 7 Oct 2007 20:14:17 +0000 (20:14 +0000)]
add an override for system limits (execution time / memory limit) for long
reindexation works (big documents). Set statically to 300 sec and 48M.
TODO : get possibly admin defined values for these limits.
diml [Sun, 7 Oct 2007 19:44:59 +0000 (19:44 +0000)]
changing access resolution for buttons labels
diml [Sun, 7 Oct 2007 19:44:18 +0000 (19:44 +0000)]
unconsistent file
diml [Sun, 7 Oct 2007 19:40:47 +0000 (19:40 +0000)]
string nl translations for search block
diml [Sun, 7 Oct 2007 19:40:15 +0000 (19:40 +0000)]
string fr translations for search block
diml [Sun, 7 Oct 2007 19:39:42 +0000 (19:39 +0000)]
string en translations for search block
diml [Sun, 7 Oct 2007 19:36:01 +0000 (19:36 +0000)]
adding dutch translation for search engine
diml [Sun, 7 Oct 2007 19:34:59 +0000 (19:34 +0000)]
fix access check function for documents bug $context->instance to $context->instanceid
skodak [Sun, 7 Oct 2007 18:15:57 +0000 (18:15 +0000)]
MDL-11618 removed the inherit override from decimals and gradetype used on grader report preferences + several bug fixes + settings improvements
stronk7 [Sun, 7 Oct 2007 17:28:46 +0000 (17:28 +0000)]
Adding some traces here and there
moodler [Sun, 7 Oct 2007 14:53:13 +0000 (14:53 +0000)]
More passing around of context information to speed up things
moodler [Sun, 7 Oct 2007 14:52:29 +0000 (14:52 +0000)]
Added some hooks to increase debugging in admin/cron.php
$CFG->showcronsql
$CFG->showcrondebugging
skodak [Sun, 7 Oct 2007 14:08:37 +0000 (14:08 +0000)]
MDL-11448 FirstClass Authentication does not hold settings and has cosmetic and info leakage issues, patch by Dan Trockman
skodak [Sun, 7 Oct 2007 14:01:36 +0000 (14:01 +0000)]
fixed defaults and hardcoded lang strings in performance settings