685 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
ee1235e7af Merge branch 'backup-convert' of git://github.com/mudrd8mz/moodle 2011-06-14 22:38:27 +02:00
Dongsheng Cai
b1627a92e5 MDL-26105 Block settings should contains less options, and be more user friendly
AMOS BEGIN
    MOV [page-blog-index, pagetype], [page-blog-index, blog]
    MOV [page-blog-x, pagetype], [page-blog-x, blog]
    MOV [page-tag-x, pagetype], [page-tag-x, tag]
    MOV [page-course-view-weeks, pagetype], [page-course-view-weeks, format_weeks]
    MOV [page-course-view-weeks-x, pagetype], [page-course-view-weeks-x, format_weeks]
    MOV [page-course-view-topics, pagetype], [page-course-view-topics, format_topics]
    MOV [page-course-view-topics-x, pagetype], [page-course-view-topics-x, format_topics]
AMOS END
2011-06-09 13:51:14 +08:00
David Mudrak
4ece48dc36 MDL-22414 Fixed the order of course modules in the restored course
During the restore, the section's sequence field is ignored and the
order of modules is controlled by the order of the <contents> activity
elements. This patch makes sure that the modules are listed in that
section in the right order.

Also, the patch removes the obsolete stash sectionidslist which was
introduced when the method get_stash_itemids() had not existed yet.
2011-06-09 02:41:27 +02:00
David Mudrak
fe50f530fd MDL-27379 Backup conversion logging facilities 2011-06-06 13:56:06 +02:00
David Mudrak
85d91b6a1b MDL-27448 Do not stop conversion because of missing course files 2011-06-04 22:11:03 +02:00
David Mudrak
baa44e3d3d MDL-27448 Simplified migration of the files embedded in the resources HTML texts 2011-06-04 21:13:56 +02:00
David Mudrak
351bf4826c MDL-27448 Improved resource module converter 2011-06-04 20:03:28 +02:00
David Mudrak
9e3e8c8004 MDL-27448 Changed the interface of resource module successors to make it clear they are a special case 2011-06-04 16:11:59 +02:00
David Mudrak
b2e905102a MDL-27448 Pretty pedantic fix of using spaces in the code 2011-06-04 14:42:07 +02:00
David Mudrak
904888daee MDL-27448 Resource intro (legacy summary) field converted consistently by the resource handler 2011-06-04 13:24:03 +02:00
David Mudrak
069b5b80c4 MDL-27448 Fixed copyright and phpdoc info 2011-06-04 13:24:03 +02:00
Andrew Davis
5da3af58a0 MDL-27448 resource conversion support to restore 1.9 backup to 2.1 2011-06-04 13:24:03 +02:00
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
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
3d8f1d3abc MDL-26616 fix broken resource modinfo caused by invalid sortorder upgrade 2011-02-27 22:54:41 +01:00
Petr Skoda
f3a7f485c4 MDL-26452 fix resource mod regression breaking upgrade on Windows 2011-02-16 21:41:04 +01:00
David Mudrak
d5b7f35d65 MDL-17357 Removed duplicate string definitions 2011-02-07 15:08:07 +01:00
Petr Skoda
8afc38bd39 Merge branch 'MDL-25708' of git://github.com/stronk7/moodle 2011-01-31 14:21:53 +01:00
Petr Skoda
ae36bc3dd8 MDL-26117 skip invalid resource records during upgrade 2011-01-26 13:24:33 +01:00
Eloy Lafuente (stronk7)
8ce9a2b26d MDL-25708 recordsets - resource module 2011-01-25 19:59:01 +01:00
Helen Foster
e6f6fa179b MDL-21250 capital letters removal 2010-12-02 16:48:22 +00:00
Petr Skoda
516c5eca68 MDL-24698 hopefully fixed all completion_info problems 2010-11-17 06:23:56 +00:00
Eloy Lafuente
0f66acede0 MDL-22135 - logs restore, course and activities + cleanup 2010-11-11 19:46:04 +00:00
Petr Skoda
9815cceee8 improved coding style of last commit 2010-10-18 11:43:09 +00:00
Petr Skoda
fe3c5daede adding support for directory links in file resource 2010-10-18 11:41:11 +00:00
Petr Skoda
b4ff85aa38 fixed incorrect comparison 2010-10-18 10:52:57 +00:00
Petr Skoda
ce459060fe MDL-14627 new mod/resource:view capability 2010-10-14 19:36:19 +00:00
Petr Skoda
f6cf17c025 MDL-24339 fix for old mysql invalid NULLs in resource options field 2010-10-01 19:44:23 +00:00
Petr Skoda
de79c941b1 MDL-24339 fix for old mysql invalid NULLs in resource popup field 2010-10-01 18:43:19 +00:00
Petr Skoda
39790bd805 MDL-24321 switching to stdClass in /mod/ 2010-09-21 08:37:36 +00:00
Petr Skoda
034ef76129 improved spelling 2010-09-18 12:31:20 +00:00
Andrew Davis
4eaa964f24 filter MDL-23810 adding a flag to indicate when we're working in an embedded resource to prevent winding up with nested Moodles 2010-09-16 07:06:29 +00:00
Rossiani Wijaya
3a42ad126c MDL-23870: Replace flash and mp3 multimedia filter with flowplayer. 2010-09-09 11:30:06 +00:00
Petr Skoda
b8ea3041eb MDL-23184 activity names are now either PARAM_TEXT or PARAM_CLEANHTML, this should be more accurate 2010-09-02 18:29:39 +00:00
Rossiani Wijaya
3542707903 MDL-10906 - unset config 'resource_allowlocalfiles'. 2010-08-30 02:31:11 +00:00
Ashley Holman
d57a462103 MDL-23905 fix regression in mod_resource pluginfile.php migration 2010-08-25 01:40:10 +00:00
David Mudrak
370d793c98 MDL-23318 Consistent usage of 'pluginadministration' string for the Settings block
AMOS BEGIN
 MOV [assignmentadministration,mod_assignment],[pluginadministration,mod_assignment]
 MOV [dataadministration,mod_data],[pluginadministration,mod_data]
 MOV [feedbackadministration,mod_feedback],[pluginadministration,mod_feedback]
 MOV [folderadministration,mod_folder],[pluginadministration,mod_folder]
 MOV [forumadministration,mod_forum],[pluginadministration,mod_forum]
 MOV [glossaryadministration,mod_glossary],[pluginadministration,mod_glossary]
 MOV [chatadministration,mod_chat],[pluginadministration,mod_chat]
 MOV [choiceadministration,mod_choice],[pluginadministration,mod_choice]
 MOV [imscpadministration,mod_imscp],[pluginadministration,mod_imscp]
 MOV [labeladministration,mod_label],[pluginadministration,mod_label]
 MOV [lessonadministration,mod_lesson],[pluginadministration,mod_lesson]
 MOV [pageadministration,mod_page],[pluginadministration,mod_page]
 MOV [quizadministration,mod_quiz],[pluginadministration,mod_quiz]
 MOV [resourceadministration,mod_resource],[pluginadministration,mod_resource]
 MOV [scormadministration,mod_scorm],[pluginadministration,mod_scorm]
 MOV [surveyadministration,mod_survey],[pluginadministration,mod_survey]
 MOV [urladministration,mod_url],[pluginadministration,mod_url]
 MOV [wikiadministration,mod_wiki],[pluginadministration,mod_wiki]
 MOV [workshopadministration,mod_workshop],[pluginadministration,mod_workshop]
AMOS END
2010-08-17 17:35:12 +00:00
David Mudrak
a4330d14d0 MDL-22624 mod_resource mod_url: Added help icon for display mode 2010-08-16 11:25:16 +00:00
Helen Foster
49d299e0ed MDL-22624 more information link string 2010-08-16 09:02:09 +00:00
Helen Foster
14e14676f2 MDL-22624 help string thanks to Davo Smith for suggested wording 2010-08-16 08:36:28 +00:00
Petr Skoda
ede7252234 MDL-23784 finally getting rid of all legacy .gif and .png extensions, yay! fixing issues with incorrect &amp; in JS code 2010-08-12 20:37:24 +00:00
Petr Skoda
e948a47b83 MDL-23784 removing obsolete resource images, pix is the only correct dir now 2010-08-12 16:49:48 +00:00
Petr Skoda
c6d75bffa5 MDL-23628 improved log action support - now similar to handling of capabilities 2010-08-03 10:07:18 +00:00
Eloy Lafuente
1737d4dee9 MDL-23479 backup - resource (file) revised and working (but restore logs) 2010-08-02 19:11:29 +00:00
Dan Marsden
86edee3543 MDL-23479 Resource Restore code 2010-07-28 01:51:57 +00:00
Petr Skoda
702ab58c08 MDL-21249 improved php docs and adding copyright blocks in mod/resource 2010-07-25 11:25:02 +00:00
Rossiani Wijaya
3aa11c75c3 MDL-21619 - add label to activities and resources icons. 2010-07-23 02:15:43 +00:00
Petr Skoda
65eda35f33 MDL-23204 convert text to html in resource intro 2010-07-16 09:30:19 +00:00
Petr Skoda
2fd52edc7a simplified upgrade code, the text format of resource intro was always 0==FORMAT_MOODLE 2010-07-15 14:45:19 +00:00
Petr Skoda
dbf9e4bae3 MDL-23234 finally standardised use of settings.php across all plugins - the only partial exceptions now are report and local plugins 2010-07-13 13:56:55 +00:00