stronk7
06edab84e1
New function sql_substr() returns the proper substr() function for each DB
...
Merged from MOODLE_17_STABLE
2006-10-30 18:31:08 +00:00
stronk7
db3df7266a
Deprecating sql_as (now the AS keyword is required in COLUMN aliases)
...
Merged from MOODLE_17_STABLE
2006-10-30 17:41:55 +00:00
moodler
75c3849a9e
Merged drag class fixes from stable
2006-10-30 09:41:55 +00:00
toyomoyo
3fae9f5718
merged fixed gradebookroles settings
2006-10-30 08:44:53 +00:00
moodler
49e5fe4733
Merged fixed typo
2006-10-30 07:56:39 +00:00
moodler
479afa41ec
Merged ajax fix for MDL-7281
2006-10-30 07:48:02 +00:00
toyomoyo
39474844cb
merged, do not remove context information when deleting the site course
2006-10-30 06:34:14 +00:00
jamiesensei
5c52df6797
changed focus when there is no error in the page to the first element in a form rather than no focus.
2006-10-30 06:27:15 +00:00
toyomoyo
0d6f531d8f
merged fixing progress count
2006-10-30 05:40:46 +00:00
toyomoyo
b6d9f011e2
merged, ignore site level course teacher assignments when upgrading from 1.6 or below
2006-10-30 05:26:59 +00:00
moodler
8a2cb2fa8d
Merge better gradebookroles default from stable
2006-10-30 03:57:08 +00:00
moodler
6605128ef8
Merged fixes for not-logged-in users from stable
2006-10-29 15:58:21 +00:00
moodler
0909d44eac
Merged fixes for gradebookroles from stable MDL-7253
2006-10-29 15:02:45 +00:00
stronk7
8b755329fa
Adding PIVOT as MSSQL reserved word
...
Merged from MOODLE_17_STABLE
2006-10-28 23:13:26 +00:00
stronk7
b716e2e069
Now record_cache is controlled by $CFG->enablerecordcache
...
Merged from MOODLE_17_STABLE
2006-10-28 19:56:34 +00:00
stronk7
2fd40f8cbe
Moved cache cleaning code near the begin of functions. Sometimes
...
it wasnt' executed due to function ending. MDL-7196
Merged from MOODLE_17_STABLE
2006-10-28 17:53:00 +00:00
stronk7
0163b1d098
Adding one unmerged change from 17_STABLE. Was breaking some things...
2006-10-28 16:50:28 +00:00
stronk7
dddf32590f
Dropping xmldb_dbg($message). Now it has been replaced by a new cleaner
...
debug system, with XMLDB hook for debug enabled by the creation of one
function called: xmldb_debug($message, $object), currently present in
lib/datalib.php MDL-7261
2006-10-28 15:24:04 +00:00
stronk7
62d4e774a3
New xmldb_debug($message, $object) added. It's the official hook
...
provided by XMLDB's debug() function. MDL-7261
2006-10-28 15:20:14 +00:00
stronk7
5bbe483102
Now, on error, the new XMLDB->debug($msg) function is called.
...
It provides the facility to hook to one external function, if
available: xmldb_debug($message, $xmldb_object) to perform
custom debugging/logging. MDL-7261
2006-10-28 15:18:40 +00:00
stronk7
d5c9d49be3
Fix main install.xml file. It was preventing HEAD installation. MDL-7262
2006-10-28 10:47:19 +00:00
stronk7
93f98abdb9
Improve error output of install_from_xmldb_file(). Part of MDL-7262
...
Merged from MOODLE_17_STABLE
2006-10-28 10:37:54 +00:00
skodak
73afaf5b69
Finish strings for graderoles MDL-7253; merged from MOODLE_17_STABLE
2006-10-27 21:07:18 +00:00
stronk7
4bfb64aad2
Counting extra updates performed by Oracle & MSSQL in PERF
2006-10-27 17:49:25 +00:00
stronk7
068744a7a5
I forgot to globalize $record_cache in delete_record_XXX() functions.
...
Merged from MOODLE_17_STABLE
2006-10-27 17:14:58 +00:00
stronk7
9d98635b5e
Minor improvements to the get_record() cache. Part of MDL-7196
...
1) Check the cache issset() before unset() it.
2) In the set_field() function, if fieldX = 'id',
just delete such element from the cache,
else the whole table
3) Add some more unset() operations against the cache in
the delete_xxxx() dmllib functions.
Merged from MOODLE_17_STABLE
2006-10-27 16:56:34 +00:00
sam_marshall
62eb0371dc
MDL-7250 merged from stable
2006-10-27 16:27:28 +00:00
toyomoyo
4bda5c717c
merged, taking care of a warning
2006-10-27 02:15:02 +00:00
moodler
2f32eed1ea
Merged fixes from stable for MDL-7229 (opentogoogle capabilities)
2006-10-26 14:55:45 +00:00
ikawhero
74807b43f3
Adding extra param fields to the user_info_field table to allow field type
...
plugins to store data. Plus a description field.
2006-10-26 11:07:25 +00:00
moodler
922633bd28
Merged from stable
...
Added a top-level cache to has_capability() to make it perform better
in cases where it's called a lot with repetitive values (which happens
a lot in things like forum mailouts) with only a small memory cost.
2006-10-26 09:43:58 +00:00
skodak
58e8f85ba6
Cron.php workaround for IE & RFC2616 - MDL-7221; merged from MOODLE_17_STABLE
2006-10-26 08:55:56 +00:00
moodler
92309430b8
Merged get_record caching from MDL-7196 in stable (thanks sam!)
2006-10-26 07:57:07 +00:00
vyshane
c0a35ad61e
Merged from 1.7
2006-10-26 07:45:00 +00:00
jamiesensei
effa85f482
added new form element class 'format' for adding format drop down box to forms.
2006-10-26 07:02:20 +00:00
martinlanghoff
7ca774ad51
lib/locallib: changed local db upgrades now xmldb friendly (like lib/db)
...
Author: Jonathan Harker <jonathan@catalyst.net.nz>
2006-10-26 04:18:23 +00:00
toyomoyo
efb5888416
merged, fixing a bug where context with an override and assignment is adding up capability
2006-10-26 03:57:34 +00:00
skodak
90bbe68955
MDL-7190 fixed wrong closing ) in cache md5 calculation, sorry! merged from MOODLE_17_STABLE
2006-10-25 23:18:40 +00:00
toyomoyo
5a412dbf8f
merged, added new config variables to control what roles get shown in the grade book
2006-10-25 08:51:26 +00:00
moodler
21c9bace87
Merged some recent changes from stable
2006-10-25 08:38:14 +00:00
toyomoyo
2851ba9b67
merged, using limited fields instead of u.*
2006-10-25 07:20:28 +00:00
toyomoyo
9fccc08003
fix in load_user_capability() merged when 2 contexts in overrides are not related
2006-10-25 03:47:59 +00:00
skodak
d53ca6ad40
Strip ##TRUSTTEXT## when not in developer debug mode MDL-7190; minor format_text speedup; changed in md5 text cache calculation; merged from MOODLE_17_STABLE
2006-10-24 22:19:41 +00:00
skodak
72f9446056
select_color.php popup should specify charset MDL-7193; patch by Hiroto Kagotani; merged from MOODLE_17_STABLE
2006-10-24 21:39:43 +00:00
skodak
00e12c7332
fixed When unassigning a role, forum_role_unassign unsubscribes the user even if you have other roles there MDL-7120; merged from MOODLE_17_STABLE
2006-10-24 20:22:30 +00:00
stronk7
5fd4e46dbd
Dropping some hardocded "mdl" prefixes. MDL-7202
...
Merged from MOODLE_17_STABLE
2006-10-24 18:29:34 +00:00
jamiesensei
2c41289045
added a method to return javascript to select form element with first error for use in focus in print_header
2006-10-24 11:05:50 +00:00
vyshane
ea003a2338
Merged from 1.7.
2006-10-24 09:42:06 +00:00
vyshane
2469f7ea85
Merged from 1.7
2006-10-24 08:11:38 +00:00
skodak
bcdb0f193d
fixed risks associated with main capabilitites MDL-7174; merged from MOODLE_17_STABLE
2006-10-24 08:02:26 +00:00