174 Commits

Author SHA1 Message Date
Damyon Wiese
c98ee8cdc0 Merge branch 'MDL-43371-master' of git://github.com/FMCorz/moodle 2014-01-14 13:59:26 +08:00
Frederic Massart
582ba677fd MDL-43371 mod_lesson: Remove files upon page or module deletion 2014-01-09 16:20:20 +01:00
Mark Nelson
00c027c7e3 MDL-40054 mod_lesson: replaced 'end' add_to_log call with an event 2014-01-02 19:52:49 -08:00
Mark Nelson
9c192d812b MDL-40054 mod_lesson: replaced 'start' add_to_log call with an event 2014-01-02 19:52:48 -08:00
Prateek Sachan
3266d14bbe MDL-38850: Fixed Horizontal bar issue in lesson 2013-10-28 11:03:17 +08:00
Sam Hemelryk
206f18c836 Merge branch 'MDL-40420' of https://github.com/prateeksachan/moodle 2013-08-06 17:31:14 +12:00
Damyon Wiese
afe36b8411 MDL-35851 Lesson: Check/fix the page order every time the pages are loaded 2013-07-17 13:04:04 +08:00
prateeksachan
9ac3d68648 MDL-40420: timemodified field update when lesson_page is updated 2013-07-17 07:22:37 +05:30
Damyon Wiese
d33d712541 MDL-35851 lesson: removed expensive upgrade step.
Just deal with the bad data when displaying the lesson instead.

Conflicts:

	mod/lesson/db/upgrade.php
2013-07-16 14:05:07 +08:00
Rossiani Wijaya
a015bc030c MDL-39369: Lesson module: fix setType() properly 2013-06-13 15:26:13 +08:00
Eloy Lafuente (stronk7)
fc076898c7 Merge branch 'MDL-39437' of git://github.com/rwijaya/moodle 2013-05-07 15:50:29 +02:00
Rossiani Wijaya
7f8ce0257b MDL-39437 lesson mod: rename add a question page section name to avoid conflict in behat 2013-05-07 11:05:58 +08:00
Rossiani Wijaya
747d5b1cf6 MDL-38714 Lesson module: add setType for hidden and text inputs 2013-05-01 11:39:31 +08:00
Rossiani Wijaya
ecea65cace MDL-38429 Lesson Module: improve lesson code by reseting NULL value to use lowercase. 2013-03-25 14:07:18 +08:00
Rossiani Wijaya
b0ff0e9aae MDL-34050 Lesson Module: Fixed spacing and removed array_unique() for responses 2013-01-15 11:17:55 +08:00
Rossiani Wijaya
fcb88d7d6d MDL-34050 Lesson module: Fixed undefined variable for $qtype 2013-01-14 10:16:35 +08:00
Joseph Rézeau
58b72abc6a MDL-34050: Lesson module: fixed matching answer format to use text 2013-01-14 10:16:34 +08:00
Dan Poltawski
0e35ba6ffc MDL-36357 cleanup - remove double semicolons 2012-11-15 09:51:26 +08:00
Ankit Agarwal
5918e3715e MDL-34467 lesson: Repalce all instances of get_context_instanc() with respective context_XXX::instance() 2012-07-27 13:26:35 +08:00
Andrew Davis
1812ea3e06 MDL-27156 repositories: switched some spots over to using get_user_max_upload_file_size() instead of get_max_upload_file_size() 2012-06-14 09:19:25 +07:00
Dan Poltawski
a225149c9a Merge branch 'MDL-24401' of git://github.com/rwijaya/moodle 2012-05-14 14:12:30 +08:00
sam marshall
8b7d95b625 MDL-29624 Media embedding system, part 3: resource module (and URL, lesson)
This change makes the resource module use the new API when it embeds media
files (audio/video/Flash), and removes the resourcelib library functions
which were previously used for this.

The old API is still used for embedding non-media files such as PDFs and
HTML.

The URL and Lesson module both used copy/paste duplicates of a section of
resource module code which called the removed functions. I have changed
these too. As a bonus this significantly reduces the duplication involved.
2012-05-09 18:29:31 +01:00
Rossiani Wijaya
272bc0a6ed MDL-24401: fixed string for adding content page 2012-05-09 14:19:49 +08:00
Rossiani Wijaya
0f6e2f02aa MDL-32172 Lesson Module: add variable initialization for 2012-03-23 15:36:39 +08:00
Petr Skoda
0ed6f71232 MDL-32094 fix E_STRICT issues in lesson API
It is not possible to change method signatures in PHP...
2012-03-18 18:36:04 +01:00
Rossiani Wijaya
05db3cc7e5 MDL-29542 lesson module: changing qtype param type to INT 2011-10-21 12:38:29 +08:00
Sam Hemelryk
1bbe222d53 Merge branch 'MDL-29296' of git://github.com/rwijaya/moodle 2011-10-03 17:08:21 +13:00
Aparup Banerjee
260316ce48 Merge branch 'MDL-29230' of git://github.com/rwijaya/moodle 2011-09-27 14:52:00 +08:00
Rossiani Wijaya
0343553fbc MDL-29296 lesson mod: fixed regression for continue button on last lesson page. 2011-09-26 16:41:49 +08:00
Petr Skoda
aff24313be MDL-29401 introduce new frankenstyle PARAM types
New PARAM_COMPONENT, PARAM_AREA and PARAM_PLUGIN + fixing of hopefully all current incorrect parameter types. This should help with diagnosing of incorrectly named 3rd party plugins too.
2011-09-25 09:59:55 +02:00
Rossiani Wijaya
6d84e82f3a MDL-29230 lesson_module: fixed question's answer to have 0 value. 2011-09-23 14:02:46 +08:00
Rossiani Wijaya
abd5c24e28 MDL-27955 lesson module: fixed error for reviewing lesson and update string to continue or finish reviewing 2011-06-29 18:18:52 +08:00
Rossiani Wijaya
560f549593 MDL-27922 lesson mod: fixed string for activity link 2011-06-24 16:50:31 +08:00
Rossiani Wijaya
f672e3e920 MDL-26788 - grading in lesson containing essays (head) 2011-04-29 18:20:19 +08:00
Sam Hemelryk
65f2fad9a0 mod-lesson MDL-26599 Fixed echo causing incorrect nesting. 2011-04-11 10:16:35 +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
99d19c13ae MDL-25855 some more missing filelib includes 2011-01-23 18:34:41 +01: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
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
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
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
Sam Hemelryk
b0ee180239 mod-lesson MDL-24270 Fixed undefined variable $nretakes. 2010-09-20 01:39:39 +00:00
Petr Skoda
64a3ce8c5b improved coding style - mostly variable initialisation + some fixing and spelling 2010-09-18 13:27:21 +00:00
Petr Skoda
3983f2dcef added missing globals, strange this seemed to work.... 2010-09-18 13:04:10 +00:00
Aparup Banerjee
89970a1368 lesson MDL-24174 fixed image urls to rewrite in answer feedback pages. 2010-09-15 06:58:39 +00:00
Petr Skoda
7a0873d11d MDL-24009 fixed wrong file url rewriting and removing cleaning from lesson page contexts - this is marked with RISK_XSS 2010-09-04 20:35:30 +00:00
Petr Skoda
8d1a39637a MDL-23781 migrated old non-standard moddata lesson files and fixed media files migration 2010-08-12 16:05:41 +00:00