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
ikawhero
91cddbc454
Only include data from field types that are "small"
2007-10-08 08:10:45 +00:00
moodler
4354a3e563
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
2007-10-08 07:26:29 +00:00
ikawhero
323ccc26b6
Include custom profile fields when setting up a user object
2007-10-08 07:23:18 +00:00
ikawhero
66643c0aa8
New function to return a partial user object with the custom profile fields
...
set.
2007-10-08 07:21:32 +00:00
moodler
d9c1a97188
Cleaner saving of grader report prefs
2007-10-08 07:11:22 +00:00
ikawhero
cfdb170609
Check to ensure custom profile fields do not have same name as current
...
fields in the $USER record
2007-10-08 06:59:00 +00:00
moodler
4baf254f5a
Re-ordered some preferences to be a bit more logical
2007-10-08 06:55:34 +00:00
toyomoyo
f0b9c95bf7
MDL-11633, changing import to use $mform->getdata() instead of data_submitted()
2007-10-08 06:52:39 +00:00
gbateson
68a5a1244d
added escaping of quotes in TimesUp message, so that apostrophes do not cause Javascript errors
2007-10-08 06:45:27 +00:00
moodler
69d0f96a53
Fixed typo from MDL-11642, thanks Gary
2007-10-08 05:11:15 +00:00
toyomoyo
1b39b03a84
MDL-11616, adding activity link back for hidden grade items
2007-10-08 02:34:04 +00:00
toyomoyo
a21fed9df5
using correct capability for displaying activity report link in print_user()
2007-10-08 00:42:41 +00:00
diml
2f33e8f031
fixes a bug in resource_get_physical_file(...) when making a ResourceDocument object.
2007-10-07 20:15:32 +00:00
diml
b0c3d06acc
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.
2007-10-07 20:14:17 +00:00
diml
84257f3fe1
changing access resolution for buttons labels
2007-10-07 19:44:59 +00:00