12317 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
c08a5622b8 Merge branch 'w47_MDL-29450_m22_removecoursecontent' of git://github.com/skodak/moodle 2011-11-23 23:01:27 +01:00
Petr Skoda
16ef46e7b6 MDL-29450 improve and cleanup course content removal
New keep roles/enrolments and groups/groupings options, notification CSS fixed, standardised notification texts, added missing delete of module blocks, fixed file deleting and some other minor issues.
2011-11-23 18:37:36 +01:00
Eloy Lafuente (stronk7)
8ccbf8d1e5 Merge branch 'MDL-30409-master' of git://github.com/sammarshallou/moodle 2011-11-23 13:33:39 +01:00
Eloy Lafuente (stronk7)
1bb98bd7a4 Merge branch 'wip-mdl-28947' of git://github.com/rajeshtaneja/moodle 2011-11-23 11:37:34 +01:00
Aparup Banerjee
c32e3a0a0a Merge branch 'MDL-30026_sqlsrv' of git://github.com/stronk7/moodle 2011-11-23 14:34:34 +08:00
Aparup Banerjee
9d06eb139c MDL-29995 Filters - added MDL issue number to Todo. 2011-11-23 13:51:11 +08:00
Aparup Banerjee
d7de1c8a62 Merge branch 'MDL-29995' of git://github.com/stronk7/moodle 2011-11-23 13:47:52 +08:00
Aparup Banerjee
4cff8cb550 Merge branch 'MDL-28562_wip' of https://github.com/jamiepratt/moodle 2011-11-23 12:36:35 +08:00
Aparup Banerjee
03848c4568 MDL-30335 formslib : phpdoc improvement 2011-11-23 11:47:06 +08:00
Aparup Banerjee
5cde86faa9 Merge branch 'MDL-30335' of git://github.com/timhunt/moodle 2011-11-23 11:41:58 +08:00
Eloy Lafuente (stronk7)
7722bb5df8 Merge branch 'MDL-27045' of git://github.com/timhunt/moodle 2011-11-23 03:01:50 +01:00
Eloy Lafuente (stronk7)
689461f4d8 Merge branch 'MDL-30259-master' of git://github.com/sammarshallou/moodle 2011-11-23 02:00:53 +01:00
Eloy Lafuente (stronk7)
0f6cc7a7cc Merge branch 'MDL-30203-master' of git://github.com/sammarshallou/moodle 2011-11-23 01:44:49 +01:00
Eloy Lafuente (stronk7)
1316fc8af9 Merge branch 'MDL-30306b' of git://github.com/timhunt/moodle 2011-11-23 01:18:00 +01:00
Eloy Lafuente (stronk7)
8ea233e7ad Merge branch 'MDL-30381-dataroot-install' of git://github.com/mudrd8mz/moodle 2011-11-23 01:11:01 +01:00
Sam Hemelryk
f2d11739a8 Merge branch 'MDL-30393_2' of git://git.catalyst.net.nz/moodle-r2 2011-11-23 12:41:24 +13:00
Sam Hemelryk
b2d3e5cc49 Merge branch 'w46_MDL-30303_m22_mimeinfo' of git://github.com/skodak/moodle 2011-11-23 12:17:14 +13:00
sam marshall
3d8138bbd2 MDL-30409 moodlelib syntax errors 'throw coding_exception' 2011-11-22 16:33:23 +00:00
Aparup Banerjee
525e45795a Merge branch 'wip-mdl-29396' of git://github.com/rajeshtaneja/moodle 2011-11-22 16:08:57 +08:00
Rajesh Taneja
ade30ad3c4 MDL-29396 core: ip blocking will be bypassed for cli scripts - Thanks Petr 2011-11-22 16:02:02 +08:00
Jonathan Harker
95641b4529 MDL-30393 lib/bennu minor fixes for RFC-2445 and PHP 5.x support. 2011-11-22 17:26:49 +13:00
Aparup Banerjee
3a9e6be55a Merge branch 'w46_MDL-30349_m22_filestatcaching' of git://github.com/skodak/moodle 2011-11-22 11:33:55 +08:00
Rajesh Taneja
187672608e MDL-28947 lib: print_object cleans html special chars before printing 2011-11-22 09:28:54 +08:00
Eloy Lafuente (stronk7)
df17785210 fix permissions 2011-11-22 01:51:06 +01:00
David Mudrak
fbe33209ce MDL-30381 install_init_dataroot() now creates temp and cache
This prevents PHP warnings displayed due to recent modifications in
make_temp_dir() and make_cache_dir(). These functions now expect that
the root temp/cache dir already exists. So they must be available before
the lang_installer installs the lang pack during install.
2011-11-21 23:56:05 +01:00
Aparup Banerjee
3a59d04c65 MDL-30268 Web service : resolved version number conflict 2011-11-21 14:47:23 +08:00
Aparup Banerjee
338b9cab83 Merge branch 'w46_MDL-21617_m22_xhack' of git://github.com/skodak/moodle 2011-11-21 11:28:27 +08:00
Eloy Lafuente (stronk7)
6b532f5d4d Merge branch 'w46_MDL-30147_m22_tablenotexists' of git://github.com/skodak/moodle 2011-11-21 02:30:19 +01:00
Sam Hemelryk
67c768dbe8 Merge branch 'w46_MDL-30308_m22_reqstrict' of git://github.com/skodak/moodle 2011-11-21 12:39:42 +13:00
Sam Hemelryk
4f0596f874 Merge branch 'plagiarismbranch' of git://github.com/peterbulmer/moodle 2011-11-21 12:23:32 +13:00
Petr Skoda
32322d8680 MDL-30308 outputrequirementslib.php breaks xhtml validation
Credit goes to Matthew Davidson.
2011-11-19 18:43:55 +01:00
Petr Skoda
7f86bee330 MDL-30303 fix media playback from URLs with ? query parts
Credit for the rawurlencode() fix goes to Eloy.
2011-11-19 18:17:37 +01:00
Petr Skoda
544832790d MDL-30327 standardise block deletion process 2011-11-19 16:56:11 +01:00
Petr Skoda
4e8d084bc9 MDL-21617 remove problematic attempt to remove script events from random text
This "feature" was used to partially eliminate XSS attacks on vulnerable code. Developers MUST use clean_text() on HTML text fragments only, it can not be used on random html tag attributes.

This change may simplify a bit exploiting of vulnerable code, but every XSS cheat sheet contains information how to work around this outdated anti-XSS measure.

Please note this change fixes many problems with valid uses of language= or onXXXXX= such as in urls, tex, code samples, etc.
2011-11-19 13:22:33 +01:00
Petr Skoda
0b9f2a02ab MDL-30349 make sure file stat cache is reset properly after each remove_dir()
Typo3 does this, maybe it works around some PHP bugs…
2011-11-19 10:36:37 +01:00
Petr Skoda
fed02be153 MDL-30147 do not expect text comparison exceptions when not in debug mode
Unfortunately the column type fetching is too expensive, we do extra verification in debug mode only.
2011-11-19 09:44:33 +01:00
Petr Skoda
a453ec079f MDL-30147 optional verification if dml exception when table missing 2011-11-19 09:39:07 +01:00
Eloy Lafuente (stronk7)
870896eca1 MDL-30147 dml - mysql and no params now behaving "standard" 2011-11-19 09:27:10 +01:00
Eloy Lafuente (stronk7)
a8097d6dda MDL-30147 dml - one more test behavior without params 2011-11-19 09:27:09 +01:00
Eloy Lafuente (stronk7)
8f201c9ded MDL-30147 dml - added some tests demoing bad get_columns() behavior 2011-11-19 09:27:09 +01:00
Petr Skoda
69ac5d478f MDL-30147 do not rely on dml exception type outside of dml layer
The trouble is that dml driver methods (insert, update, select) are not guaranteed to return the same exception class for various db problems and coding style issues. The recommended practice is to catch dml_exception only.
2011-11-19 09:25:11 +01:00
Petr Skoda
c04e80e328 MDL-30147 detect missing table when processing query conditions 2011-11-19 09:16:51 +01:00
Tim Hunt
fc2dafcff5 MDL-30306 get_string developer warning. Help lazy developers. 2011-11-18 16:00:33 +00:00
Eloy Lafuente (stronk7)
f8cd596aae MDL-30026 dml - fix sqlsrv support for session locks 2011-11-18 13:02:24 +01:00
Eloy Lafuente (stronk7)
dd3fafbda5 MDL-29995 filters - consider leacy filters and locations deprecated in 2.2
Support for them will be dropped in 2.3 thanks to MDL-29996
2011-11-18 13:00:57 +01:00
Eloy Lafuente (stronk7)
8a9426bc17 MDL-29350 Prevent memory/time problems if there are zillions of combinations 2011-11-17 20:10:02 +01:00
Tim Hunt
8f6384a9ec MDL-27045 formslib: fix disabledif for advcheckbox
This is based on earlier work by Henning Bostelmann and Tom Potts.
2011-11-17 17:57:27 +00:00
Tim Hunt
fa2fa5c698 MDL-30335 formslib: fix repeat_elements for groups that don't appendName 2011-11-17 16:42:13 +00:00
Eloy Lafuente (stronk7)
408ea3b547 Merge branch 'MDL-29350-master-2' of git://git.luns.net.uk/moodle 2011-11-17 17:15:00 +01:00
Peter Bulmer
bfad2f2fff MDL-30313 plagiarism support for unformated rsults
support for obtaining plagiarism detection results without
html formatting
2011-11-17 14:12:03 +13:00