Commit graph

12403 commits

Author SHA1 Message Date
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
Sam Hemelryk
28ab9dbe98 Merge branch 'MDL-29893-master' of git://github.com/ankitagarwal/moodle 2011-11-17 13:11:46 +13:00
Eloy Lafuente (stronk7)
d647c2d608 Merge branch 'MDL-30069' of git://github.com/timhunt/moodle 2011-11-17 00:45:00 +01:00
Ankit Kumar Agarwal
e079e82c08 MDL-29893 Fixing issues with password generation function 2011-11-16 12:01:57 +05:30
Jerome Mouneyrac
af03513f93 MDL-30268 add 'Can download files' field to service 2011-11-16 11:51:03 +08:00
sam marshall
770b7f6c9f MDL-30203 RSS: Remove broken 'podcasting' support that thinks mailto links are attachments 2011-11-15 14:06:15 +00:00
sam marshall
0c9cb1bc19 MDL-30266 completionlib fix unit test breakage (regression) 2011-11-15 14:05:20 +00:00
Tim Hunt
5cc021a00b MDL-30069 Question type icons missing in lots of places. 2011-11-15 11:17:18 +00:00
Henning Bostelmann
6336bd914a MDL-29350 Prevent duplication of groupings when copying activities
This patch also includes a database upgrade to correct data produced as a
result of this bug.
2011-11-15 11:12:40 +00:00
Rod Norfor
ad6fbb6074 MDL-30259 TinyMCE: Add spellchecker language options 2011-11-14 16:26:31 +00:00
Eloy Lafuente (stronk7)
98ca9e8480 MDL-27622 theme_mymobile: add it to core themes 2011-11-14 12:45:48 +01:00
Eloy Lafuente (stronk7)
8d78644bcc Merge branch 'lti' of git://github.com/scriby/moodle 2011-11-14 12:37:43 +01:00
Sam Hemelryk
1ae9aa2b8f Merged MDL-29108 Advanced grading 2011-11-14 22:01:05 +13:00
Marina Glancy
3c2b3cb3ee MDL-29108: added comments, declared functions visibility, renamed variables; also fixed MDL-30240 2011-11-14 14:53:14 +08:00
Sam Hemelryk
6335838604 Merge branch 'wip-MDL-30010' of git://github.com/lazydaisy/moodle 2011-11-14 12:10:17 +13:00