28866 Commits

Author SHA1 Message Date
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
thepurpleblob
a7bf255c50 MDL-11514:
Link to missing word information and help file removed. There
was no extra help.
2007-10-09 10:26:09 +00:00
thepurpleblob
f182f58099 MDL-11515:
Help file is not used.

Merged from STABLE_18
2007-10-09 10:22:40 +00:00
thepurpleblob
6f8481ec0a MDL-11425:
Process the text properly for the category path.

Merged from STABLE_18.
2007-10-09 10:16:01 +00:00
skodak
d763511fdd inherit by default decimal points in ranges and averages on grader report 2007-10-09 09:29:45 +00:00
moodler
dff9d94d6e 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
2007-10-09 09:16:44 +00:00
toyomoyo
eb44aee406 fixing a typo and some half finished comment 2007-10-09 08:56:56 +00:00
toyomoyo
59a7447a70 MDL-11669, adding a new export setting (for xml atm), so that we can choose to export only updated grades 2007-10-09 08:51:49 +00:00
toyomoyo
b11d9a9139 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 2007-10-09 05:43:35 +00:00
toyomoyo
e3bb6401e1 MDL-10048, revert some changes in courses regaring coloring of courses 2007-10-09 04:02:43 +00:00
stronk7
4b3f69957e Modify notify_login_failures() for better scale. MDL-11661 2007-10-09 00:11:07 +00:00
skodak
e072450699 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.
2007-10-08 23:09:10 +00:00
stronk7
115a43113a ANSI join ON clauses should contain only the join condition. Also,
added prefix to the ORDER BY to prevent duplicate names.
2007-10-08 17:42:46 +00:00
skodak
aa87d82cec MDL-11653 undefined rcache in /lib/dmllib.php during upgrades 2007-10-08 17:27:42 +00:00
stronk7
1f5c4ad105 Bump. MDL-11605 2007-10-08 16:33:49 +00:00
stronk7
cef1ea8e8e Adding one new index to cache_text table. User to make cron deletion
of expired records faster. MDL-11605
2007-10-08 16:33:29 +00:00
nfreear
c8149f0f4f Fixes MDL-11648, "Required" is inappropriate text for legend in user profile edit form. 2007-10-08 13:55:53 +00:00
nicolasconnault
e699389e47 Creating course grade_category and course grade_item when not yet created and overview report is accessed 2007-10-08 09:54:51 +00:00
nicolasconnault
d0b83b0033 Making the overview report viewable by student role by default 2007-10-08 09:53:43 +00:00
toyomoyo
a506e40c9f dropping context_rel table 2007-10-08 08:51:59 +00:00