jamiesensei
6f9ce92696
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.
2007-10-10 15:23:24 +00:00
moodler
ba4418ad4e
Merged Urs fixes from 1.8 stable and reformatted a bit
2007-10-10 14:57:39 +00:00
moodler
355bf90704
Merged the flexible column patch from Urs (1.11.2.3) to HEAD
2007-10-10 14:31:27 +00:00
moodler
801070c4c5
new string merged from stable
2007-10-10 14:20:38 +00:00
tjhunt
1ba3ad7df5
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.
2007-10-10 14:00:41 +00:00
skodak
8ddcdd86cb
MDL-8248 savepoints in main upgrade.php
2007-10-10 13:14:56 +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
41aa843717
MDL-11694 adding error displaying into installer, it does not affect the debug and error displaying in final installation
...
MDL-11432 eliminated RecordCount
2007-10-10 11:03:00 +00:00
wildgirl
a77679e775
MDL-10713 additional description added to help file
2007-10-10 09:37:35 +00:00
skodak
a7709f02b6
MDL-11432 rs->EOF wrapper function
2007-10-10 09:21:13 +00:00
moodler
d45181e38d
Implemented typo fixes described by ermanno bagnai in MDL-11689
2007-10-10 09:16:43 +00:00
toyomoyo
d142077ef1
changing CONTEXT_GROUP to CONTEXT_COURSE for calendar:manageentries capability
2007-10-10 09:03:01 +00:00
skodak
3f7d592598
add proper rs_close() into cleanup_contexts() - we have to close even when now records returned
2007-10-10 08:43:25 +00:00
wildgirl
77be46fdee
MDL-6096 help file re-wording
2007-10-10 08:39:59 +00:00
skodak
8a4d32d8a3
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
2007-10-10 08:33:06 +00:00
toyomoyo
9031e46f94
MDL-11510, adding missing backup/restore gradebook fields
2007-10-10 08:28:43 +00:00
wildgirl
f19204c83d
MDL-7610 help file re-wording
2007-10-10 08:28:29 +00:00
moodler
f6ee5e041c
Just a small fix that would make this SQL work ... no idea what bug it would fix. It's not MDL-9059
2007-10-10 08:18:59 +00:00
skodak
eeccaea183
MDL-11686 dropped obsoleted grade tables, removed context_rel related upgrade code
2007-10-10 07:53:35 +00:00
toyomoyo
1c03128e06
MDL-11510, missing gradebook fields in backup
2007-10-10 07:25:41 +00:00
toyomoyo
e66481e1eb
MDL-11510, adding missing fields
2007-10-10 07:08:50 +00:00
toyomoyo
313fcb6aea
MDL-11510, referencing to wrong fields
2007-10-10 07:05:48 +00:00
toyomoyo
864d1f8c2c
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.
2007-10-10 06:43:23 +00:00
nicolasconnault
8ad36f4cc3
Added copyright notice
2007-10-10 06:34:20 +00:00
nicolasconnault
39536381d5
MDL-11543 Printing nice list of categories for parent category drop-down
2007-10-10 06:21:37 +00:00
moodler
26ce730504
Tidied up border around category listing
2007-10-10 06:16:12 +00:00
nicolasconnault
2c23af9d87
MDL-11543 format_string(parent category name)
2007-10-10 06:04:14 +00:00
nicolasconnault
9c536df7c4
MDL-11543 Refactored editcategory and form
2007-10-10 06:01:54 +00:00
nicolasconnault
b7064779f5
Updated copyright notice in header
2007-10-10 05:25:14 +00:00
nicolasconnault
150f64e661
MDL-11608 Removed stripslashes_safe($rename) and changed PARAM_RAW to PARAM_TEXT for rename param
2007-10-10 04:59:35 +00:00
nicolasconnault
cd405db239
MDL-11543 Replacing "Site" with "Top" in the list of available parent categories
2007-10-10 04:53:32 +00:00
moodler
04e60f045b
Automatic installer.php lang files by installer_builder (20071010)
2007-10-10 04:39:18 +00:00
moodler
09deab0661
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
2007-10-10 04:05:46 +00:00
moodler
f3c3a4d3b1
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
2007-10-10 02:52:25 +00:00
iarenaza
0baafc173a
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.
2007-10-09 21:43:28 +00:00
nicolasconnault
1f682581a7
MDL-11543 Temporary solution originally proposed by Martin
2007-10-09 17:22:10 +00:00
sam_marshall
ca3b6e52d1
MDL-11681 Changed it so current tab no longer is a link to #
2007-10-09 16:56:00 +00:00
skodak
4388027c37
MDL-11674 fixed mysql incompatible SQL in chat cron
2007-10-09 16:46:04 +00:00
skodak
8600cadaea
MDL-11660 user_lastaccess cleanup
2007-10-09 16:27:49 +00:00
skodak
b51ece5b3b
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
2007-10-09 16:07:15 +00:00
nfreear
e09586c589
Fixes MDL-11676, Skip block links are broken in Internet Explorer 6.
2007-10-09 15:48:48 +00:00
tjhunt
6f3b54c8aa
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.
2007-10-09 15:44:06 +00:00
tjhunt
e2833e8700
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.
2007-10-09 15:19:07 +00:00
skodak
4400acd2fb
fixed yet more undefined $sqls
2007-10-09 15:11:29 +00:00
nicolasconnault
62ecaed9df
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)
2007-10-09 14:08:05 +00:00
skodak
a86840ecc9
do not optimise the $USER fetching - it was broken by mnethostid and would be again in future
2007-10-09 13:43:51 +00:00
skodak
922ddcad2c
fixed undefined $modcontext
2007-10-09 13:10:55 +00:00
skodak
6ceb40ad9d
fixed missing $sql warning
2007-10-09 13:04:33 +00:00
nicolasconnault
86830be66e
MDL-11543 Temporary solution originally proposed by Martin
2007-10-09 12:53:24 +00:00
skodak
128f098418
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
2007-10-09 12:49:54 +00:00