797 Commits

Author SHA1 Message Date
Sam Hemelryk
2b04c41c58 MDL-27471 Adding mandatory component & ratingarea to the ratings API + other fixes
* Added the component and ratingarea fields and implemented it throughout
  the rating API as mandatory fields
* Cleanup rating indexes
* Upgrade forum/data/glossary ratings
* Moved the logic in the render_rating method to methods of the rating object.
* Added new callback for checking ratingareas
* Cleaned comments here and there
* Mark the xxx_get_participants methods as deprecated
* Refactor rate_ajax and ratingsuser_can_view_aggregate methods
* Cleaned up rating/index.php to use html_table object and moved inline styles to CSS.
* Added missing properties of the rating object that were being set throughout the rating
  API.
2011-05-23 12:35:39 +02:00
Eloy Lafuente (stronk7)
4d7e02616b Merge branch 'MDL-27386_HEAD2' of git://github.com/rwijaya/moodle 2011-05-17 14:19:23 +02:00
Eloy Lafuente (stronk7)
94a74f549a MDL-26704 gradebook: adding TODO comment to avoid forgetting 2011-05-17 11:58:22 +02:00
Rossiani Wijaya
4bb7783ef1 MDL-27386: fixed mform for lesson essay grading (head) 2011-05-13 14:14:19 +08:00
Aparup Banerjee
b38f0baad4 MDL-27386 lesson fix mform->score not saving (wip) 2011-05-12 16:00:18 +08:00
Andrew Davis (andyjdavis)
4433f871f2 MDL-26704 gradebook: added some intelligence to the dates displayed on the user outline activity report 2011-05-10 11:14:16 +08:00
Rossiani Wijaya
f672e3e920 MDL-26788 - grading in lesson containing essays (head) 2011-04-29 18:20:19 +08:00
Eloy Lafuente (stronk7)
9ff913b716 Merge branch 'MDL-26778-master' of git://github.com/sammarshallou/moodle 2011-04-11 17:48:29 +02:00
sam marshall
6553cda7c9 MDL-26778 Change to completion should immediately affect nav block
Includes change so that updating completion resets the cache, and a debugging
warning if any module calls the completion viewed thing after it's already
printed navigation (which will mean navigation obviously doesn't update right
away). All existing modules that currently update after printing navigation
were updated.
2011-04-11 12:40:13 +01:00
Sam Hemelryk
65f2fad9a0 mod-lesson MDL-26599 Fixed echo causing incorrect nesting. 2011-04-11 10:16:35 +08:00
Petr Skoda
dca072aedc Merge branch 'MDL-26571_lesson_scale' of git://github.com/andyjdavis/moodle 2011-03-21 14:52:11 +01:00
Petr Skoda
e5be555c27 Merge branch 'MDL-26768_0_grade' of git://github.com/andyjdavis/moodle 2011-03-21 14:49:18 +01:00
Andrew Davis (andyjdavis)
f51cda3d09 lesson MDL-26571 made lesson accept a custom scale 2011-03-16 17:27:59 +08:00
Andrew Davis (andyjdavis)
76027a9f65 lesson MDL-26768 lesson was inserting a grade of 0 when a user id and a null raw grade were supplied 2011-03-16 10:26:12 +08:00
Petr Skoda
fcd2cbaf1f MDL-26697 multiple media filtering fixes and improvements
Bug fixes:
    * fixed broken flash resizing via URL
    * upgraded Flowplayer
    * fixed invalid context in format_text()
    * all media related CSS moved from themes to filter and resources
    * fixed automatic pdf resizing in resources

Changes:
    * reworked filter_mediaplugin system settings - grouped by player type instead of individual extensions, added more information
    * improved regex url matching
    * removed old unused players, Eolas fix and UFO embedding
    * image embedding moved to filter_urltolink
    * new Flowplayer embedding API
    * accessibility and compatibility tweaks in Flowplayer
    * SWF embedding now works only in trusted texts, it is now enabled by default (works everywhere if "Allow EMBED and OBJECT tags" enabled)
    * new default video width and height

New features:
    * automatic Flash video resizing using information from video metadata
    * Flash HD video support (*.f4v)
    * Flash video embedding with HTML5 fallback - compatible with iOS and other mobile devices
    * Vimeo embedding
    * no-cookie YouTube site supported
    * HTML 5 audio and video with multiple source URLs and QuickTime fallback
    * more video and audio extensions in filelib.php
    * MP3 player colours customisable via CSS in themes
    * nomediaplugin class in a tag prevents media embedding
2011-03-12 17:42:52 +01:00
Petr Skoda
431ac39634 MDL-26623 fix file permissions
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
David Mudrak
ffdf7f8a24 MDL-25899 Lesson: fixed page content rendering
Form element 'header' used to be used for rendering the page contents.
This led to layout problems in non-gecko browsers. This patch fixes the
issue by using raw 'html' element to render the page contents.
2011-02-18 11:43:24 +01:00
Joseph Rezeau
c76cd2ede1 MDL-26113 Lesson: temporary fix of page content alignment
That rendering method should not use cell style attribute at all.
Instead, the alignment should be controlled by CSS. However, this will
require more massive changes in the Lesson code to be done by the module
maintainer. As a temporary fix, left alignment is set as it usually
matches the layout that students see.
2011-02-18 10:43:25 +01:00
Petr Skoda
cbbc272542 Merge branch 'MDL-26371_distinct_text' of git://github.com/stronk7/moodle 2011-02-14 21:19:35 +01:00
Petr Skoda
995b6ff605 Merge branch 'MDL-26229_restore_attempts_wip' of git://github.com/stronk7/moodle 2011-02-14 21:02:49 +01:00
Eloy Lafuente (stronk7)
e07c51c481 MDL-26371 sql - avoid distinct + text in lesson essay & report 2011-02-12 17:34:03 +01:00
Eloy Lafuente (stronk7)
bd9e662953 MDL-25553 lesson restore - add missing jumpto remapping. Credit goes to Mike Churchward 2011-02-12 04:02:10 +01:00
Eloy Lafuente (stronk7)
7cff4927be MDL-26229 backup & restore - fix quiz & lesson conflicts 2011-02-12 03:03:26 +01:00
Sam Hemelryk
1ca95a13f3 Merge branch 'MDL-25874' of git://git.luns.net.uk/moodle 2011-02-07 14:01:00 +08:00
Eloy Lafuente (stronk7)
a8307c22c2 MDL-25708 recordsets - imscp and lesson modules 2011-01-25 19:59:01 +01:00
Sam Hemelryk
912d099cc9 Merge branch 'MDL-25637' 2011-01-24 16:20:51 +08:00
Aparup Banerjee
2b9ce62e23 performance MDL-25637 converted tabs to spaces 2011-01-24 15:49:18 +08:00
Aparup Banerjee
f179cdb73e performance MDL-25637 some of more similar performance tweaks to come 2011-01-24 14:51:21 +08:00
Petr Skoda
99d19c13ae MDL-25855 some more missing filelib includes 2011-01-23 18:34:41 +01:00
Daren Chandisingh
fe4457ae29 [MDL-25874] Handle 'Cancel' action when editing lessons 2011-01-20 11:07:14 +00:00
Petr Skoda
1310964bb3 Merge branch 'MDL-24860_messaging_providers' of git://github.com/andyjdavis/moodle
Conflicts:
	mod/lesson/version.php
2010-12-27 13:39:20 +01:00
andyjdavis
54672f15b4 lesson MDL-24860 added mod/lesson/db/messages.php 2010-12-22 12:12:35 +08:00
andyjdavis
d8f1412819 message MDL-24860 fixed messaging code in mod_lesson and marked spots that are directly sending email 2010-12-22 12:05:49 +08:00
Petr Skoda
ab6e79718c Merge branch 'MDL-25632' of git://github.com/samhemelryk/moodle 2010-12-20 19:21:20 +01:00
Tim Hunt
d9c26e2174 blocklib MDL-25654 fix API inconsistency be renaming add_pretend_block to add_fake_block.
I added a deprecated method add_pretend_block that forwards to add_fake_block, so old code should be break. However, I aslo updated all the callers in core code.
2010-12-20 18:22:37 +01:00
Sam Hemelryk
86d99db3a0 mod-lesson MDL-25632 Fixed incorrect comment in matching question code. 2010-12-15 13:12:33 +08:00
Sam Hemelryk
26063f4b55 mod-lesson MDL-25632 Fixed bug where the number of attempts on a question for the current lesson attempt was being wrongly calculated. 2010-12-15 13:12:33 +08:00
Sam Hemelryk
981debb706 mod-lesson MDL-25632 Fixed bug whereby excess answers were being created when creating a page and then when updating it 2010-12-15 13:12:33 +08:00
Sam Hemelryk
1c510e2ee1 mod-lesson MDL-25632 Added support for displaying and progressing through a question page with no answers 2010-12-15 13:12:33 +08:00
Sam Hemelryk
36a60f0ff6 mod-lesson MDL-25632 Added upgrade code to correct page jumps for matching questions after Moodle 1.9 upgrade. 2010-12-15 13:12:33 +08:00
Sam Hemelryk
9170dea7d6 mod-lesson MDL-25632 Set a default jump to display when a question has no answers (after 1.9 upgrade) 2010-12-15 13:12:33 +08:00
Sam Hemelryk
2a03a824c4 mod-lesson MDL-25632 Fixed undefined var notice for responseformat in the lesson report. 2010-12-15 13:12:33 +08:00
Helen Foster
ae1790109d MDL-21250 capital letters removal 2010-12-02 16:18:41 +00:00
Helen Foster
2a1a268136 MDL-25426 typo fix 2010-11-29 15:39:10 +00:00
Helen Foster
ca6dd3edc5 MDL-24405 reverting lang strings thanks to Chris Collman for review 2010-11-15 12:19:37 +00:00
Helen Foster
7796f9b56e MDL-24405 lang string rewording and removing capitalization 2010-11-12 20:40:37 +00:00
Eloy Lafuente
0f66acede0 MDL-22135 - logs restore, course and activities + cleanup 2010-11-11 19:46:04 +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
Petr Skoda
510f8b0e5c MDL-22290 stadnardised the cancel button on lesson password page 2010-10-26 15:16:11 +00:00
Petr Skoda
39790bd805 MDL-24321 switching to stdClass in /mod/ 2010-09-21 08:37:36 +00:00