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
poltawski
9b831e01d2
lib/moodlelib.php MDL-18406 - use more robust require path
...
thanks to Daniel Neis
merged from MOODLE_19_STABLE
2009-03-25 09:38:41 +00:00
poltawski
a786341bb9
documentation/workshop MDL-2605 - bad helpfile link
...
merged from MOODLE_19_STABLE
2009-03-25 09:33:06 +00:00
poltawski
eac4623d29
lib/email_to_user MDL-10384 Recipeint names broken
...
When emailcharset is not utf8 the charset conversion was breaking
recipient/replyto names
thanks to Tatsuya Shirai
merged from MOODLE_19_STABLE
2009-03-25 09:18:19 +00:00
tjhunt
c468795ce9
switch roles: MDL-18132 New Role allow switches page finished.
...
I also set up a reasonable set of default allows, including setting up some sensible allow_overrides, whatever the rant in MDL-15841 says.
2009-03-25 04:20:57 +00:00
tjhunt
91eb445ca0
switch roles: MDL-18132 Convert allow override page to use the shared code.
2009-03-25 02:17:14 +00:00
tjhunt
9654643e88
switch roles: MDL-18132 Refactor role allow assign page
...
This is ready to eliminate the duplication between this and role allow override, and the soon-to-be-written role allow switch page.
2009-03-25 01:50:55 +00:00
dongsheng
2d9b3ef2d7
"DATA/MDL-18136, change to moodle coding style and fix incorrect parameter of data_get_field_from_id"
2009-03-25 01:49:52 +00:00
moodlerobot
4a7b0f07f5
Updated the HEAD build version to 20090325
2009-03-24 23:32:49 +00:00
moodlerobot
1e1abf34bc
Automatic installer.php lang files by installer_builder (20090325)
2009-03-24 23:22:43 +00:00
Dan Marsden
8eac4f2418
Fix drift from CVS in git
2009-03-24 11:12:33 +00:00
thepurpleblob
344e15e666
MDL-18542:
...
Just noticed a couple of oddnesses in the diff.....
2009-03-24 11:12:33 +00:00
skodak
cb5f2411d7
MDL-17966 reverting previous commit, solution proposed in tracker
2009-03-24 11:01:45 +00:00
thepurpleblob
f62f7d8f8e
MDL-18542:
...
Reverting various checkins related to this bug.
PLUS... proper 1 line fix included (merged from STABLE19)
2009-03-24 10:52:50 +00:00
jamiesensei
69afc75844
Test client using Flex 3 compiler to produce a Flash 9 client for moodle web services.
2009-03-24 08:19:00 +00:00
tjhunt
72b9b78682
quiz: MDL-18637 fix 1.9-style DB code merged to HEAD by mistake.
2009-03-24 04:15:49 +00:00
moodlerobot
747bc260c8
Updated the HEAD build version to 20090324
2009-03-23 23:33:32 +00:00
diml
8fe956133f
Addresses MDL-18638 (Search code does not follow coding guidelines) and MDL-18474 (global search should use of PATH_SEPARATOR)
2009-03-23 21:35:30 +00:00
diml
cbc5cd4140
Addresses the tracker MDL - 18638 and MDL 18474
2009-03-23 21:09:01 +00:00
diml
63c13a82f1
Addresses the tracker MDL - 18638 and MDL 18474
2009-03-23 21:07:02 +00:00
diml
964a5e92cc
Addresses the tracker MDL - 18638 and MDL 18474
2009-03-23 21:00:30 +00:00
diml
b8fdbda122
Addresses the tracker MDL - 18638 and MDL 18474
2009-03-23 20:54:53 +00:00
diml
4b3d092ec2
Addresses the tracker MDL - 18638
2009-03-23 20:43:38 +00:00
mudrd8mz
3a77043c00
MDL-18644 Add a note about the bug found and upstream bug link
2009-03-23 10:53:10 +00:00
mudrd8mz
0cd25539b9
MDL-18644 Bugs found by syntax checker, merged from MOODLE_19_STABLE
2009-03-23 10:25:52 +00:00
mudrd8mz
081a9b0dad
MDL-18644 Bugs found by syntax checker, merged from MOODLE_19_STABLE
2009-03-23 09:53:02 +00:00
nicolasconnault
9fb1634910
MDL-18402 Merged from MOODLE_19_STABLE
2009-03-23 08:35:06 +00:00
tjhunt
82701e2443
switch roles: MDL-18132 separate database table role_allow_switch instead of re-using role_allow_assign.
...
This is part 1 that does the back-end:
1. New table role_allow_switch.
2. Upgrade that copies all the allows from role_allow_assign, and then drops the old CFG->allowuserswitchrolestheycantassign.
3. Old function get_assignable_roles_for_switchrole renamed to get_switchable_roles and changed to use the new table. Fixes MDL-18604 in HEAD.
4. Switch callers to use the new function name.
5. Unit tests for this new function.
6. To make those unit tests work, new switch_global_user_id and revert_global_user_id methods in UnitTestCaseUsingDatabase for toggling $USER->id.
I still need to do the editing interface under Administration ► Users ► Permissions ► Define roles. That will be done as a second commit.
2009-03-23 08:15:21 +00:00
dongsheng
e437618bdd
"REPOSITORY/MDL-18520, fix undefined warning"
2009-03-23 07:53:32 +00:00
tjhunt
ffdd703a99
MDL-18637 fix Moodle 1.9-style {$CFG->prefix}tablename in HEAD, and a few missing $DB->s.
...
I did not fix all the DB problems in search, there are too many there for me to be prepared to clean up other people's mess.
(For once, it was not me making this mistake ;-))
2009-03-23 05:19:53 +00:00
tjhunt
b695b4e16c
Make accesslib unit tests work once again using the new UnitTestCaseUsingDatabase
2009-03-23 04:18:44 +00:00
tjhunt
f68cb08bbe
unit tests: MDL-18607 new way to do unit tests involving the database.
...
This is not as ambitious as the abortive FakeDBUnitTests scheme, but this one works for simple cases.
There is a new test case class UnitTestCaseUsingDatabase to inherit from. I hope it is sufficiently well documented in its PHPdocs.
* It users $CFG->unittestprefix.
* You can access that database using $this->testdb.
* That database is empty by default, you have to call create_test_table to create the ones you want, and drop_test_table to clean them up in the end. The table definitions are read from the XMLDB file.
* When you are ready to call real Moodle code that users $DB, call switch_to_test_db and then revert_to_real_db when you are done.
* If you forget to call drop_test_table or switch_to_test_db, the class will attempt to clean up after you, but will also print rude developer debug messages telling you not to be stupid.
* There is also a load_test_data method for populating a table from an array.
The is an example of its use in lib/simpletest/testunittestusingdb.php.
2009-03-23 04:12:37 +00:00
tjhunt
67d5e9df39
ddl: New method install_one_table_from_xmldb_file ready for MDL-18607 unit test changes.
...
Plus small refactoring to avoid duplicating code.
2009-03-23 04:04:37 +00:00
tjhunt
02193ad706
accesslib: MDL-18620 - followup - remove the one case of external code using one of the accesslib private globals.
2009-03-23 04:02:28 +00:00