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
diml
f651fb3980
unconsistent file
2007-10-07 19:44:18 +00:00
diml
a76b196392
string nl translations for search block
2007-10-07 19:40:47 +00:00
diml
351708dcbb
string fr translations for search block
2007-10-07 19:40:15 +00:00
diml
9424e7e0b5
string en translations for search block
2007-10-07 19:39:42 +00:00
diml
404b5d334e
adding dutch translation for search engine
2007-10-07 19:36:01 +00:00
diml
39cfb0b068
fix access check function for documents bug $context->instance to $context->instanceid
2007-10-07 19:34:59 +00:00
skodak
d622930b39
MDL-11618 removed the inherit override from decimals and gradetype used on grader report preferences + several bug fixes + settings improvements
2007-10-07 18:15:57 +00:00
stronk7
f1dc7614b5
Adding some traces here and there
2007-10-07 17:28:46 +00:00
moodler
9f2ded7678
More passing around of context information to speed up things
2007-10-07 14:53:13 +00:00
moodler
63a11f3c95
Added some hooks to increase debugging in admin/cron.php
...
$CFG->showcronsql
$CFG->showcrondebugging
2007-10-07 14:52:29 +00:00
skodak
e5245c73a5
MDL-11448 FirstClass Authentication does not hold settings and has cosmetic and info leakage issues, patch by Dan Trockman
2007-10-07 14:08:37 +00:00
skodak
1bc8aab1c5
fixed defaults and hardcoded lang strings in performance settings
2007-10-07 14:01:36 +00:00
skodak
1d19804aa3
MDL-11568 prevent warning from $USER->mnehostid when not logged in
2007-10-07 13:46:46 +00:00
skodak
8ce8fc85fc
MDL-11304 remerging fixes
2007-10-07 13:31:41 +00:00
moodler
4924f1d280
Removed some blank lines MDL-11632
2007-10-07 13:18:05 +00:00