Commit graph

10194 commits

Author SHA1 Message Date
David Mudrak
f357d2f8eb Fixed portfolio UI integration in forum thread
There was not enough space to put yet another discussion thread control
widget.
2010-11-11 18:04:43 +00:00
Tim Hunt
a9efae50e3 question upgrade MDL-16094 fix up earlier mistakes in the text format upgrade.
There was a mistake in the text format upgrade in the question bank. The wrong conversions were performed, and the wrong arguments were passed to text_to_html in the conversions that were done.

Also, not all the calls to format_text had been updated to use the values in the new format columns.

I think this change fixes everything, but I have only had very limited time to test it. I am committing it anyway, because that seems to me to be the best way to maximise testing. I think that the new code is certainly better than the old code was.
2010-11-11 17:32:25 +00:00
David Mudrak
104c06ac9d Incorrect order of content processing during forum post portfolio export
During the portfolio export, portfolio_rewrite_pluginfile_urls() must be
called before format_text(). Otherwise some filters can interfere with
internal raw record syntax. For example, the Algebra Notation uses @@
for its own purposes and it used to break @@PLUGINFILE@@ placeholder.
2010-11-11 16:42:53 +00:00
Andrew Davis
d38755249d message MDL-25148 using method on $PAGE to allow or disallow popup notifications 2010-11-11 06:11:43 +00:00
Sam Hemelryk
41a42c1d02 mod-wiki MDL-25003 Wiki history diff view now uses divs for layout rather than table which fixes the nasty overflow problems that were occurring 2010-11-11 04:02:37 +00:00
Petr Skoda
80cfa4537c MDL-24239 scorm upgrade includes handling of extracted archives 2010-11-11 03:43:04 +00:00
Dan Marsden
78b203ca3c SCORM MDL-25124 report attempts correctly for SCORM 1.2 objects that don't return a score.raw - thanks to Greg Franklin for report and fix! 2010-11-10 23:40:00 +00:00
Dan Marsden
c557816312 SCORM 2004 MDL-18756 - only return previous datamodel elements on re-launch if cmi.exit is set to "suspend" 2010-11-10 23:22:31 +00:00
Dan Marsden
564938629d SCORM MDL-24579 remove badly formatted debugging code - thanks to Peter Chamberlain for report. 2010-11-10 21:50:49 +00:00
Dan Marsden
ba1959f8cf SCORM MDL-24579 fix CMILongIdentifier regex (SCORM 2004) - thanks to Peter Chamberlain for report/fix 2010-11-10 21:37:47 +00:00
David Mudrak
cdff9eead3 NOMDL workshop more referential integrity checks
As reported by Trudy Koedooder at http://moodle.org/mod/forum/discuss.php?d=161322
there can be some orphaned grade records without the referenced
assessment. It threw upgrade error. Such grades are now just ignored
during the upgrade.
2010-11-10 16:02:07 +00:00
Sam Marshall
2380ac57d6 Unit tests MDL-24993 Disable obsolete portfolio tests until such time as somebody can fix them 2010-11-10 12:06:24 +00:00
Dongsheng Cai
9bb0a9e7d8 MDL-23587 Italicise the names of unedited pages 2010-11-10 09:40:31 +00:00
Dongsheng Cai
86cfd27314 MDL-25070 fixed Wiki Search results in double breadcrumb node 2010-11-10 09:35:45 +00:00
Dongsheng Cai
d6887efca0 MDL-23636, fixed text when deleting or editing wiki comments 2010-11-10 09:24:57 +00:00
Dongsheng Cai
e0f0c304fc MDL-23677, fixed commenting on creole format wiki page 2010-11-10 09:09:14 +00:00
Dongsheng Cai
b9ec7dd288 MDL-24491, removed print_object in wiki upgrade code 2010-11-10 08:22:16 +00:00
Petr Skoda
72ea011706 MDL-24955 improved add discussion logic for users that are not enrolled yet 2010-11-10 02:49:00 +00:00
Petr Skoda
8e18e1ecdc MDL-24955 improved reply link logic for users that are not enrolled yet 2010-11-10 02:43:56 +00:00
Petr Skoda
45ff8a80d3 MDL-24955 improved detection of available self enrol plugins 2010-11-10 02:14:27 +00:00
Dan Marsden
79ef247aa3 SCORM MDL-25985 wrong key to check $usertracks array - thanks to Valerian for report/fix 2010-11-09 22:55:58 +00:00
Sam Marshall
702a206cd3 Unit tests MDL-24993 Disable obsolete portfolio tests until such time as somebody can fix them 2010-11-09 17:09:13 +00:00
Sam Hemelryk
01d0aceb64 mod-forum MDL-25113 Fixed up navigation for forum when browsing a discussion. 2010-11-09 08:59:53 +00:00
Andrew Davis
99fa98899b forum MDL-24850 added ratings to mod/forum/user.php 2010-11-09 08:34:30 +00:00
Sam Hemelryk
8cda6c2a3a mod-forum MDL-25113 Fixed up navbar display for forum threads 2010-11-09 03:43:40 +00:00
Petr Skoda
54ab8769cd MDL-24955 prevent infinite redirect loop when not enrolled and self enrol not available 2010-11-09 01:53:28 +00:00
Dongsheng Cai
231b0b30c4 MDL-23138 WIKI removed standard_head_html, use standard $OUTPUT->header() 2010-11-08 08:16:26 +00:00
Dongsheng Cai
77b8c5cafe MDL-23134, use foreach to read recordset instead of valid(), next() 2010-11-08 08:05:15 +00:00
Dongsheng Cai
467902f2ef MDL-25097, fixed CSRF in chat_ajax.php 2010-11-08 07:59:55 +00:00
Dongsheng Cai
52f3088482 MDL-23135, added defined('MOODLE_INTERNAL') || die; to old ewiki code 2010-11-08 07:52:54 +00:00
Dongsheng Cai
d2807da895 MDL-23139, fixed CSRF in wiki editing page 2010-11-08 07:43:18 +00:00
Dongsheng Cai
97f2eb45a1 MDL-23395, go straight to page editing page when title is not empyt and forceformat is set 2010-11-08 06:33:00 +00:00
Dongsheng Cai
ae671b6c67 MDL-25069 CHAT added events definition file 2010-11-08 06:03:00 +00:00
Dongsheng Cai
a8e3b008ff MDL-25069 CHAT added event handler to handler user logout event. 2010-11-08 02:54:42 +00:00
Andrew Davis
46505ee75e message MDL-24694 removed references to user->emailstop. the column itself will be removed in a later version 2010-11-05 08:04:40 +00:00
Sam Hemelryk
c48a07c64e mod-forum MDL-24895 Fixed up CSS classes in forum posts 2010-11-05 07:53:08 +00:00
Andrew Davis
cc7719396e rss MDL-25076 made forum rss feeds that are displaying discussions instead of posts correctly set the item titles 2010-11-05 06:13:31 +00:00
Sam Hemelryk
367a75fae4 themes lib MDL-24895 Multiple fixes to better handle overflow.
Major tasks undertaken in this patch:
* New format_text argument, overflowdiv.
* New page layout Report.
* Review of all format_text calls.
* Added support for the report layout to all themes.
* Changed forum post display from tables to divs.
2010-11-05 02:53:47 +00:00
Dongsheng Cai
2412f8b882 MDL-25069, chat, check if user loggedin 2010-11-05 02:41:16 +00:00
Helen Foster
df04f0fe3b cap rewording 2010-11-04 15:11:47 +00:00
David Mudrak
c3a1f30f1c Workshop aggregation is not expected to produce any output, just redirects back to the workshop main page 2010-11-04 14:45:03 +00:00
David Mudrak
e46b01d893 NOMDL Typo3 expects charset names in lower case 2010-11-03 19:33:08 +00:00
Tim Hunt
29946ad595 quiz 'secure' mode MDL-21085 remove popup-blocker check.
It was unnecessary on modern browsers, since they let thought a pop-up if you just clicked on a link, so this check was just causing an annoying and misleading alert.

Since the popupchecker was only used here, and since it was implemented in a way that does not work on all browsers, I just deleted the function. If anyone ever finds that they acutally need this functionality, they can re-implement it in a way that works.
2010-11-02 19:49:09 +00:00
Tim Hunt
222fb6e5fe quiz MDL-24140 navigating to a question that was not first on the page was broken. 2010-11-02 19:20:58 +00:00
Tim Hunt
6723a0390b MDL-24140 Each attempt builds on last setting was being ingored in one place.
The code was behaving as if it was always true.
2010-11-02 19:12:21 +00:00
Sam Marshall
b608881ca4 Unit tests MDL-24981 Fixed portfolio unit test so it at least runs (update: glossary too) 2010-11-02 16:21:34 +00:00
Andrew Davis
4ffa1463ec message MDL-24972 made sure all strings in messages are in the message recipient's language 2010-11-02 07:37:25 +00:00
Dongsheng Cai
980c237e6c MDL-25002, fixed wiki preview 2010-11-02 05:19:37 +00:00
Sam Hemelryk
37a75bee9f mod-wiki MDL-25001 Added missing arguments to optional_param_calls 2010-11-02 03:02:08 +00:00
Eloy Lafuente
384437085a MDL-24996 - make forum_print_post() to specify context on format_text() calls 2010-11-02 01:59:20 +00:00