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
Sam Hemelryk
97b4ec5e20
mod lesson MDL-23753 Fixed use of $this outside object scope
2010-08-11 08:39:11 +00:00
Aparup Banerjee
ef4ba975f9
lesson MDL-23525 changed attempts retrieval from db to intuitional (code assumes it too) first->last attempt order
2010-08-04 02:26:46 +00:00
Petr Skoda
44cb7e6364
MDL-23541 missing define for fixed jump defaults
2010-07-28 13:45:01 +00:00
Petr Skoda
cb2c196306
MDL-23542 adding support for cols and rows in textarea editor, fixing lesson to use smaller text areas
2010-07-28 13:23:51 +00:00
Andrew Davis
6999d9cf75
lesson MDL-23456 in lesson module glossary autolinking was happening in question answers but not the questions themselves
2010-07-27 02:10:59 +00:00
Petr Skoda
3d1b745283
MDL-22639 fixed meadiafile support - unfortunately all old media files are lost, upgrade again from 1.9.....
2010-07-25 12:39:32 +00:00
Petr Skoda
cc3dbaaa30
MDL-21249 improved php docs package+subpackage info in mod/lesson
2010-07-25 10:54:39 +00:00
Petr Skoda
52b2f0baae
MDL-23193 editpage button works again
2010-07-25 10:10:49 +00:00
Petr Skoda
7b30b24ba6
MDL-23485 fixed branchtables regression
2010-07-25 09:45:16 +00:00
Petr Skoda
3fa2f030c3
MDL-23264 page title and content now required + fixed wrong cleaning - noclean must be used with PARAM_RAW
2010-07-25 09:11:17 +00:00
Petr Skoda
a675ada572
MDL-23499 fixed multiple regressions in multichoice lesson page + simplified code logic
2010-07-24 20:21:19 +00:00
Petr Skoda
ff85f9022c
fixed comment typos
2010-07-24 19:03:37 +00:00
Petr Skoda
1e7f8ea232
MDL-23510 lib.php files have to be as small as possible, the actual implementation should be in locallib.php if possible === less used memory, fewer includes, ....; + coding style cleanup
2010-07-24 18:56:56 +00:00
Petr Skoda
d333dc2003
fixed file component regression
2010-07-20 07:14:02 +00:00
Petr Skoda
64f93798d4
MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment
2010-07-03 13:37:13 +00:00
Petr Skoda
9b56a34f7d
MDL-16089 some resource lib and lang pack cleanup
...
AMOS START
MOV [displayauto,mod_resource],[resourcedisplayauto,core]
MOV [displaydownload,mod_resource],[resourcedisplaydownload,core]
MOV [displayembed,mod_resource],[resourcedisplayembed,core]
MOV [displayframe,mod_resource],[resourcedisplayframe,core]
MOV [displaynew,mod_resource],[resourcedisplaynew,core]
MOV [displayopen,mod_resource],[resourcedisplayopen,core]
MOV [displaypopup,mod_resource],[resourcedisplaypopup,core]
AMOS END
2010-05-22 13:54:41 +00:00
Sam Hemelryk
6605ff8cda
themes MDL-22358 Renamed sideblock class to block
2010-05-06 06:16:07 +00:00
Patrick Malley
a82fb0b629
Adding classes to lesson module
2010-05-03 17:35:21 +00:00