tjhunt
e7b818807c
get_string: MDL-13816 allow third-partly modules to register sub-plugin types that have their own lang files.
...
I suppose to be really useful we should deal with database, capabiltities, etc. too in due course. Still, this is a start.
2009-03-30 06:13:35 +00:00
tjhunt
e79079deae
help.php: related to MDL-13816. Clean up the URLs used for help files by removing unused parameters.
2009-03-30 06:11:32 +00:00
dongsheng
c3935adbe7
"MDL-18540, fixed default value of memorylimit"
2009-03-30 04:42:55 +00:00
tjhunt
bb45fe62c4
get_string: Refactoring, performance improvements, bug fixes and unit tests
...
MDL-18669 get_string refactored to elimiate duplicate code and make it easier to understand.
MDL-17763 parent language not processed correctly when getting a plugin string.
MDL-16181 more intelligent caching to avoid repeated file_exists checks.
MDL-12434 move values to array keys to improve lookup times.
The main part of the refactoring is to create a singleton string_manager class to encapsulate the cached data and the processing, while breaking the code up into more smaller methods.
Other performance improvements include:
* Cache results of plugin name -> locations to search array.
* Cache parent lang lookup.
* Skip eval if the string does not contain $ \ or %.
* Remove the unnecessary sprintf from the eval.
There is a performance testing script in lib/simpletest/getstringperformancetester.php. For now this script has the old get_string implementation copied and pasted to the end, and renamed to old_get_string to allow for comparitive timings.
There are now some unit tests for get_string in lib/simpletest/teststringmanager.php. I think I have managed to cover most of the tricky cases.
2009-03-30 02:21:27 +00:00
tjhunt
edbc93a7e4
Remove failing unit tests. (We are going to remove enum support from the database layer anyway.)
2009-03-30 01:57:47 +00:00
moodlerobot
2f084ba12c
Updated the HEAD build version to 20090330
2009-03-30 00:40:05 +00:00
agrabs
c65e59bae9
MDL-18716 - ALL Notification E-Mails are sent to System Admins
2009-03-29 01:30:38 +00:00
moodlerobot
a7b10bdfea
Updated the HEAD build version to 20090329
2009-03-29 00:35:19 +00:00
skodak
b7bad38b37
DML fix
2009-03-28 22:18:53 +00:00
skodak
add560f300
MDL-14591 adding standard access control
2009-03-28 22:15:12 +00:00
skodak
98335b2da8
MDL-14591 adding standard access control
2009-03-28 22:02:00 +00:00
skodak
3283378835
MDL-18733 adding note - we need to use user keys instead of cookies here
2009-03-28 21:45:54 +00:00
skodak
76b7b5925d
MDL-14679 fixed DML
2009-03-28 15:59:26 +00:00
skodak
1b3f759ae2
MDL-18163 removed bogus archive
2009-03-28 15:57:16 +00:00
skodak
e9a0ee701d
MDL-18727 param types ARE required
2009-03-28 15:51:42 +00:00
skodak
08a09f54ed
MDL-18729 param types ARE required
2009-03-28 15:46:34 +00:00
skodak
47d01e097b
MDL-18728 dml cleanup
2009-03-28 15:45:41 +00:00
skodak
6d266ca3c9
MDL-18163 noting arrayview.php design is not acceptable in official moodle
2009-03-28 15:39:31 +00:00
skodak
24a88abd00
MDL-18726 dml cleanup
2009-03-28 15:18:38 +00:00
skodak
fa4556c54f
MDL-17458 prevent trailing whitespace problems in config.php
2009-03-28 15:15:22 +00:00
skodak
05c0f5240c
MDL-14589 removed obsoleted comments
2009-03-28 15:07:24 +00:00
moodlerobot
e96c386424
Updated the HEAD build version to 20090328
2009-03-27 23:33:47 +00:00
jerome
9c539ead6f
web service MDL-12886 remove some old comments
2009-03-27 04:38:47 +00:00
fmarier
13ca1e06b8
mod/resource: MDL-18691 allow custom resource types to specify their name in their own lang directory
...
Before this change, the full name of the resource type had to be stored in the "resource" namespace (for example in /mod/resource/lang/en_utf8/resource.php).
Now it can be put in the "resource_foo" namespace:
e.g. in /mod/resource/type/foo/lang/en_utf8/resource_foo.php:
<?php
$string['resourcetypefoo'] = 'Link to a Foo Bar document';
?>
2009-03-27 03:21:10 +00:00
danmarsden
66c7d3731f
SCORM MDL-18626 - fix SCORM navigation breadcrumbs
2009-03-27 01:46:39 +00:00
moodlerobot
2fbb7bf843
Updated the HEAD build version to 20090327
2009-03-26 23:34:39 +00:00
stronk7
0c156fe05e
MDL-18552 TeX filter - add string ; merged from 19_STABLE
2009-03-26 21:34:59 +00:00
danmarsden
4b5ee1bf34
Choice MDL-18600 fix sort to be sorted by surname,firstname - thanks to Mihai Sucan for the fix
2009-03-26 21:23:25 +00:00
skodak
342650a7aa
MDL-18417 fixed DML conversion
2009-03-26 21:15:12 +00:00
skodak
fe772c2aa7
MDL-18472 fixed missing argument in deprecated function, thanks Gordon Bateson
2009-03-26 20:53:03 +00:00
danmarsden
0362f01320
AICC MDL-18702 Completion Logic incorrect - thanks to Martin Holden for the fix!
2009-03-26 20:22:43 +00:00
skodak
1619d1098f
MDL-18676 auth plugins should run before enrol because it may create new users - proposed by Jason Hardin
2009-03-26 19:56:11 +00:00
skodak
ece874b5d1
MDL-18686 removing ancient readme file
2009-03-26 19:46:15 +00:00
stronk7
e42398e409
MDL-18552 TeX filter - blacklist unsecure commands + protect texdebug ; merged from 19_STABLE
2009-03-26 19:17:25 +00:00
dongsheng
a774767903
"MDL-17966, fixed installation blocker, merged from 1.9"
2009-03-26 13:32:28 +00:00
poltawski
ffeadcd485
course overview report: MDL-18286 - verson number bump wasn't merged properly
...
Grrrrrrrrrrrrrrrrr Petr! ;-)
2009-03-26 10:57:18 +00:00
dongsheng
b2bf016e1b
"ADMINLIB/MDL-17966, overwrite write_setting to update settings instead execute sql execute in get_settings, this will not hurt performance, merged from 1.9"
2009-03-26 08:56:08 +00:00
tjhunt
3240fd9609
questions: unit tests for default_questiontype::compare_responses.
2009-03-26 08:42:23 +00:00
dongsheng
8d96a7b4e6
"EDITOR/MDL-16698, replace htmleditor element with editor element in forum, move draft files to correct file area"
2009-03-26 02:52:59 +00:00
dongsheng
145c285b43
"ADMINLIB/MDL-17966, update after writing settings, fix dml calls"
2009-03-26 02:39:35 +00:00
dongsheng
dbeb0aa7f2
"ADMINLIB/MDL-17966, update after writing settings, merged from 1.9"
2009-03-26 02:34:42 +00:00
dongsheng
ff601bf011
"ADMINLIB/MDL-17966, update after writing settings, merged from 1.9"
2009-03-26 02:25:46 +00:00
dongsheng
7022dd3930
"MEMORY/MDL-18540,remove hard-coded php memory limit, added system setting for it, create a function reduce_memory_limit to reduce memroy limit and respect php.ini setting in the meanwhile, merged from 1.9"
2009-03-26 02:09:28 +00:00
jerome
add1a6da62
web service MDL-12886 fix syntax error for description generation
2009-03-26 01:54:56 +00:00
tjhunt
574c37507f
random essay questions: MDL-8648 fix merge problem.
2009-03-26 01:54:40 +00:00
tjhunt
dab9be1ad1
quiz manual grading: MDL-17586 'Grade all 4 ungraded attempts' acutally does the opposite'
2009-03-26 01:50:22 +00:00
moodlerobot
09bfa3d58b
Updated the HEAD build version to 20090326
2009-03-25 23:33:40 +00:00
diml
d8f209e84d
MDL-18672 and MDL-18679 fixed. DIRECTORY_SEPARATOR / PATH_SEPARATOR mismatch
2009-03-25 21:28:43 +00:00
poltawski
3ad2bfedfc
Fix 'progile' typo MDL-18312
...
merged from MOODLE_19_STABLE
2009-03-25 09:46:12 +00:00
poltawski
db935a79f0
Fix 'drow-down' typo MDL-18320
...
merged from MOODLE_19_STABLE
2009-03-25 09:43:19 +00:00