Commit graph

6298 commits

Author SHA1 Message Date
skodak
a6bbcb9897 MDL-19718 fixed critical race condition when deleting posts - credit goes to Ashley Holman; backported from MOODLE_19_STABLE 2009-09-27 09:48:12 +00:00
gbateson
668bcd59ed stricter checking of null fields when restoring HotPots in order to avoid unwanted chars being inserted into empty char fields on PostgreSQL sites 2009-09-25 06:24:23 +00:00
moodler
4c1f29b738 resource/file MDL-20327 force target attributes on frame navigation for non-JS 2009-09-24 03:54:56 +00:00
gbateson
8b32c9da25 HotPot module: differentiate between "guesses-correct" (JCloze) and "guess-correct" (JCross, JMatch, JMix, JQuiz) in HotPot xml files and fix PreloadImages function for multiple images 2009-08-28 08:04:17 +00:00
gbateson
ff2294aa8c add hotpot_encode_content_links() and hotpot_decode_content_links() to HotPot's backuplib.php and restorelib.php respectively 2009-08-25 01:22:02 +00:00
samhemelryk
7368e5197b resource MDL-18691 Implemented resource_get_name in one more place for dropdowns 2009-06-09 05:26:42 +00:00
gbateson
cb19514522 fixes for XHTML strict: add <fieldset> arround hidden form fields, use "id" instead of "name" to locate forms, use HTML entities in button captions <= and => 2009-05-24 10:20:46 +00:00
gbateson
ffe7588d45 when searhcing for urls of next quiz, remove requirement for navigation buttons to have class="NavButton" 2009-05-07 23:01:19 +00:00
ericmerrill
6939b5c1a4 MDL-19092 Fixed the user login view, which was incomplete and broken on some browsers 2009-05-07 12:21:20 +00:00
stronk7
4d2cf40ef9 MDL-14463 search/order - comments cleanup + make it cross-db + delete unused column from query ; backported from HEAD 2009-05-06 17:26:34 +00:00
stronk7
bee3f66eb0 MDL-18243, MDL-16961 data module filter - make it cross-db by using sql_compare_text() 2009-05-06 15:54:04 +00:00
stronk7
42a7f43ee2 MDL-18058 glossary rates - secured ; backported from HEAD 2009-05-06 09:33:06 +00:00
gbateson
30ca2004f6 MDL-18880: only insert media players for swf URLs if $CFG->filter_mediaplugin_enable_swf is set 2009-04-19 23:51:09 +00:00
dongsheng
c917b1a105 "MDL-6926, fix php notice and replace double quote with single quote to reduce memory usage, thanks, Anthony" 2009-04-06 06:12:29 +00:00
skodak
1aa4084b07 MDL-18771 fixed db quoting; backported from MOODLE_19_STABLE 2009-04-05 20:26:50 +00:00
gbateson
e45cfdec20 when search for media players, remove requirment for <object> tag to contain a space, and make closing </A> tag lowercase 2009-03-30 07:11:51 +00:00
fmarier
7d6b6b1a16 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:27:19 +00:00
tjhunt
d5c0dec1cd quiz: MDL-18635 log every single hit to mod/quiz/attempts.php
I don't know why the quiz only logged every 10 minutes. No other part of Moodle worked like that. However, it has always been like that and I did not have a good reason to change it until now.

What was a problem becuase it made it harder to catch people doing a primitive DOS attack against the server by hitting Reload repeatedly.
2009-03-23 01:59:24 +00:00
danmarsden
b3f87b6b1a MDL-18460 - SCORM Report - remove duplicated header - thanks Vlas Voloshin for the report. - merged from HEAD 2009-03-11 01:19:35 +00:00
piers
306e9a5057 MDL-18412 - fixed incorrect config var name. thanks Anthony. backport 1.8. 2009-03-02 23:23:19 +00:00
piers
a7e39a4f82 MDL-18148 - AICC compliance fixes from Martin Holden. backport 1.8. 2009-02-26 16:39:40 +00:00
piers
10b7c5f95c MDL-18212 - switch to addslashes_js - thanks Tim. Backport 1.8. 2009-02-25 23:13:53 +00:00
stronk7
168bbfa435 MDL-18227 - Ignoring all non numeric rates. 2009-02-13 11:02:12 +00:00
piers
d104b078a4 MDL-17832 - consistent adding and removing of slashes for track data. backport 1.8. 2009-02-04 19:01:43 +00:00
piers
40ab2ed04b MDL-18023 - add type check to check against default to avoid 0 error. backport 1.8. 2009-02-04 18:43:00 +00:00
tjhunt
7731eb7005 quiz overview report: MDL-18122 stray AS kills Oracle
Thanks to Adolfo Muñoz Aguilar for finding and fixing this.
2009-02-04 06:54:30 +00:00
piers
c97c2b4ae9 MDL-17821 - fix incorrect data validation regexs for 2004. thanks Peter Chamberlin. backport to 1.8. fix typing error on patch. 2009-01-28 19:24:54 +00:00
piers
bec2148597 MDL-17821 - fix incorrect data validation regexs for 2004. thanks Peter Chamberlin. backport to 1.8. 2009-01-28 19:23:38 +00:00
stronk7
b18525e3d4 MDL-17365 forum rate - fix error message. 2009-01-27 18:06:25 +00:00
stronk7
461ca1b47e MDL-17365 forum rate - validate rating against scale values. Backported from HEAD 2009-01-27 17:55:35 +00:00
gbateson
96ff52548d MDL-17679: implement course reset for HotPot module (thanks to Albert Gasset) 2009-01-27 08:29:55 +00:00
dongsheng
ee5719014c "MDL-6926, force language in forum module" 2009-01-14 04:53:44 +00:00
jerome
1c081ac632 resource: MDL-10021 upload file resource: change "keep navigation visible" into a select box. Choice are now: No - Yes, with frame - Yes, without frame 2009-01-08 02:55:03 +00:00
jerome
e2c9778fe7 database: MDL-16999 move the warning message from the environment check page to a normal upgrade page 2009-01-08 01:09:46 +00:00
gbateson
3d9e194de6 MDL-6467 add "swf" and "flv" to the list of files for which relative urls are converted to absolute urls 2008-12-21 01:47:06 +00:00
piers
80b4f1e8d2 MDL-17572 - remove php short tags. backport to 1.8. 2008-12-09 22:04:48 +00:00
stronk7
e31d919deb MDL-17518 resource names filter: Improve handling when name contains htmlentities() chars. Backported from HEAD 2008-12-07 18:48:15 +00:00
tjhunt
713324b8c4 quiz settings: MDL-16781 Avoid concatenating and calling strtolower on language strings. 2008-12-05 04:20:13 +00:00
danmarsden
81bd4c1d1a MDL-17115 - no point in waiting for SCORM API to load when we know JS is disabled. merged from HEAD 2008-11-28 06:50:34 +00:00
tjhunt
8b28857e69 fix notices: MDL-15974 Some systems that were upgraded have nullable columns, leading to notices
A new install has NOT NULL DEFAULT 0.
2008-11-27 05:07:36 +00:00
tjhunt
4baced6731 quiz item analysis report: MDL-13427 <br> tags in the headers of some columns. 2008-11-27 04:48:05 +00:00
tjhunt
f5661d4525 quiz overview report: MDL-17235 SQL error was breaking 'Show all students' in quizzes with feedback.
Thanks to Juan Leyva for finding the problem and suggesting the fix.
2008-11-27 04:11:45 +00:00
jerome
e9a84e1016 database: MDL-16999 fix "Required Entries" and "Required Entries before viewing" settings. Display a warning message during upgrade process if the fields were set previously (partially merged from 1.9) 2008-11-21 07:11:01 +00:00
stronk7
c5d843ede8 MDL-17227 forum: seekey-ize forum prune (split). Backported from HEAD 2008-11-16 22:47:54 +00:00
iarenaza
55e92195ba file resources: MDL-14541 Object tag embedding PDF's and nested Flash objects does not work reliably
Merged from MOODLE_19_STABLE.

Credit goes to David Boyer for reporting and suggesting the fix for PDF files,
and Jon Witts & Mauno Korpelainen for proving a way to reproduce the Flash
issue and tips to fix it.
2008-11-15 12:31:29 +00:00
stronk7
871ba32077 MDL-17227 forum: add sesskey to post/discussion deletion. Backported from HEAD 2008-11-14 08:53:41 +00:00
piers
b9aa74c7f5 MDL-16949 - fix wrong addition of times in SCORM API, thanks Xabi Martin. backport 1.8. 2008-11-14 00:10:10 +00:00
jerome
e06c28f04a MDL-10021: display iframe when the resource is on another domain, merged from 19 2008-11-04 05:15:55 +00:00
jerome
5a3288003e MDL-10021: fix xhtml/javascript 2008-11-04 02:23:27 +00:00
piers
516ca02e7e MDL-7068 - SCORM 2004 compliance - fix mod/scorm to handle core data elements correctly - now passes test DMI. backport 1.8. 2008-10-31 23:05:46 +00:00