toyomoyo
2d95f70258
merged, fixing capabilities of block context
2006-11-06 06:16:00 +00:00
skodak
ffbf004fa1
MDL-7176 fixed comment; merged from MOODLE_17_STABLE
2006-11-05 18:28:03 +00:00
moodler
4ff95223ad
Merged changes for lang string fixes MDL-7263
2006-11-05 12:59:09 +00:00
moodler
397ebf4ef4
Merged MDL-7266 from stable. Thanks, Dan!
2006-11-05 12:27:12 +00:00
stronk7
3eda2b3a7e
modify_database() will show the deprecated debugging after 2006101007
...
(Moodle 1.7 release version) MDL-5919
2006-11-05 09:45:19 +00:00
stronk7
6c279afaef
Now all the get_records() functions support only one field
...
to be specified in the SELECT clause. Not needed anymore to
write double "SELECT id, id..." queries. Results returned
follow exactly the same structure than normal recordsets
(first field = key) MDL-5877
Merged from MOODLE_17_STABLE
2006-11-04 17:01:34 +00:00
stronk7
bb5b7329bb
Deprecating modify_database(). It shows debugging info
...
if release > 2006101004 (Beta2 +01) MDL-5919
Merged from MOODLE_17_STABLE
2006-11-04 16:22:49 +00:00
sam_marshall
2af5513789
MDL-7346 Changed enablerecordcache to be a limit for the size of cache, not just an on/off switch.
2006-11-03 17:29:15 +00:00
moodler
71483894b2
Petr's patch for MDL-7327 to modify require_capability login a bit (merged from stable)
2006-11-02 08:12:54 +00:00
toyomoyo
82749af726
merged fix for MDL-7112 select distinct on text field
2006-11-02 02:02:41 +00:00
toyomoyo
c768b61057
merged fix for MDL-6928, LDAP course creation error
2006-11-01 03:51:04 +00:00
skodak
7aa3e196a3
fixed gradebookroles cfg default value MDL-7253; merged from MOODLE_17_STABLE
2006-10-31 21:52:22 +00:00
skodak
b4a1805ab0
fixed group related typo in has_capability(); merged from MOODLE_17_STABLE
2006-10-31 20:24:57 +00:00
stronk7
7b3cf45951
Transform TOKEN searches into STRING searches and trim +- chars. MDL-7312
...
Merged from MOODLE_17_STABLE
2006-10-31 20:17:03 +00:00
stronk7
6bb0f67f53
Prevent +/- operators (REGEXP) on course searches for MSSQL and Oracle. MDL-7312
...
Merged from MOODLE_17_STABLE
2006-10-31 19:54:46 +00:00
tjhunt
dfa924cc99
Make the close_window function better. Merged from MOODLE_17_STABLE.
2006-10-31 11:59:54 +00:00
tjhunt
d48b2c3f32
Add return option to notify(). Merged from MOODLE_17_STABLE.
2006-10-31 10:47:26 +00:00
skodak
3c0f610636
Change name when file name contains more of a point MDL-6897 - patch submitted by Toni Mas; merged from MOODLE_17_STABLE
2006-10-31 10:16:26 +00:00
skodak
5a8ab2e9df
adding of user events into calendar and posting of blogs is now enabled by default - MDL-7297 and MDL-7245; merged from MOODLE_17_STABLE
2006-10-31 09:09:40 +00:00
martinlanghoff
e7812e9c62
lib/textlib.class: Cache dir is now created correctly, allowing speed increase (SR# 595)
...
Previous logic had dir created only when mbstring wasn't used, but the
typo3 lib needs to cache some data regardless, for the specCharsToASCII
function, which uses internal translation tables.
Author: Luke Hudson <luke@catalyst.net.nz>
2006-10-31 05:03:54 +00:00
moodler
459e27f3a0
Killed infinite loop when upgrading teachers! (merge from stable)
2006-10-31 04:38:39 +00:00
stronk7
6df56bc473
Oracle optimization. Texts under 4000cc can be handled directly as varchar2,
...
so they don't need the 2-phase (insert/update) handling of LOBs
Merged from MOODLE_17_STABLE
2006-10-30 23:13:48 +00:00
stronk7
18fcece954
Fixed one bug on Oracle produced when we were inserting
...
records with returnid disabled and containing LOBs
Merged from MOODLE_17_STABLE
2006-10-30 22:59:49 +00:00
stronk7
8b497bbce3
Prevent Oracle to fail when inserting records with log->info empty
...
(will be solved once we got all those NOT NULL fields fixed)
Merged from MOODLE_17_STABLE
2006-10-30 19:53:40 +00:00
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