Commit Graph

294 Commits

Author SHA1 Message Date
Aparup Banerjee 717c3395be Merge branch 'wip-MDL-29189-m21' of git://github.com/samhemelryk/moodle into MOODLE_21_STABLE 2011-09-13 11:45:51 +08:00
Petr Skoda 94a720f287 MDL-28595 explain the need to install into new db if something fails during the initial install 2011-09-11 00:08:23 +02:00
Petr Skoda f6090a3531 MDL-28595 do not print continue link if install fails 2011-09-11 00:08:20 +02:00
Sam Hemelryk 34c46428f1 MDL-29189 mutlilang Reviewed the uses of course shortname and ensured things are being formatted consistently 2011-09-08 09:30:10 +12:00
Sam Hemelryk a640301b81 MDL-28043 user Fixed context hack in pluginfile for user pics leading to init of page, theme and output for redirect 2011-09-06 11:29:44 +12:00
David Mudrak a056d4fa9e MDL-28168 Multi-language support for custom_menu reimplemented
This is a reimplementation of the multi-language support for the
custom_menu class. The menu items now accept the forth optional
parameter with the explicit list of languages the item is valid for. If
no languages are listed, the item is valid for any language. The caller
of the custom_menu constructor must provide the user's current language
or null if the multi-language should not be supported (all items are
valid for any language then, regardless the definition).

See the attached unit tests for the examples of usage.
2011-07-05 12:22:26 +02:00
David Mudrak 88d9d9fba5 MDL-28168 Improved custom_menu constructor
This improves custom_menu constructor by dropping support for useless
$text parameter and replacing it with the menu definition. This makes
custom_menu instance independent on the place where the menu is defined
($CFG->custommenuitems) and can be unit-tested. Also, multiple instances
of custom_menu can be instantiated now which can be interesting in the
future.
2011-07-05 10:26:01 +02:00
John Beedell cab2c7ea6e MDL-27431 adjust help icon alt to be same as title for accessibility 2011-06-28 15:54:14 +01:00
Sam Hemelryk e5824bb9c6 MDL-25394 Tidied up several things in order to get this integrated 2011-05-31 14:28:03 +08:00
Anthony Forth 37959dd471 MDL-25394 Improved support for mobile and device themes 2011-05-31 14:25:52 +08: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
Aparup Banerjee 32561cafd4 MDL-27428 accessibility : made navigation and settings menu category span nodes navigable using tabs with tabindex=0 2011-05-23 11:12:53 +08:00
Andrew Davis (andyjdavis) 2c2ff8d5fc MDL-26838 rating: remove logged in users ability to sidestep rating validity checks 2011-05-01 18:50:13 +08:00
Eloy Lafuente (stronk7) f50a61fb47 MDL-26167 lib/form: minor coding tweaks 2011-04-18 11:42:27 +02:00
Aaron Wells 4b72f9eb78 MDL-26167 lib/form: Altering Javascript so that "disabledIf" will disable the "Choose" button for a filepicker 2011-04-15 09:59:46 +12:00
David Mudrak a12cd69c9e MDL-26964 URL anchor support for single_button and single_select
If the single_button or single_select use HTTP method 'get' then the
eventual anchor part of the URL is used.
2011-03-24 14:51:39 +01:00
Eloy Lafuente (stronk7) e5e64a4886 Merge branch 'w11_MDL-26697_20_media' of git://github.com/skodak/moodle
Conflicts:
	theme/formal_white/config.php
2011-03-15 15:21:02 +01:00
Petr Skoda 69542fb3af MDL-26698 use https for help ajax loginhttps pages 2011-03-13 17:08:50 +01: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 d480b970b7 MDL-25991 add icon when action_link used in navigation
Alos removing old TODO.
2011-02-11 10:01:06 +01:00
Sam Hemelryk 625943586b navigation MDL-25991 Fixed reference to output in core_renderer 2011-02-11 16:26:20 +08:00
Petr Skoda 8a7703ce53 MDL-25973 add missing charset 2011-01-14 09:32:17 +01:00
Eloy Lafuente (stronk7) 6af80cae01 MDL-24600 profiling - add xhprof integration 2010-12-20 21:41:45 +01:00
Sam Hemelryk 90e920c7f4 output MDL-25597 Added three new config settings that allow you to add additional HTML to every page. 2010-12-07 08:48:38 +00:00
Sam Hemelryk 83da094204 NOBUG: Removed unused variable 2010-12-06 03:21:01 +00:00
Sam Hemelryk 2138d893f8 output MDL-25445 Corrected standard_end_of_body_html, returns rather than echoes now as suggested by docs and use. Kudos Urs for spotting. 2010-12-01 06:04:05 +00:00
Sam Marshall 15e48a1a49 Forum MDL-25170 Discussion move feature should have button so you don't do it by accident (again) 2010-11-15 10:41:26 +00:00
Petr Skoda 6bd8d7e737 NOBUG fixed infinite loop when zlib compression enabled revisited 2010-11-05 08:44:51 +00:00
Petr Skoda 2cadd443df NOBUG fixed infinite loop when zlib compression enabled 2010-11-05 08:32:36 +00:00
Petr Skoda 2b27ae7274 MDL-24878 fixed missing returns in cli fatal_error rendering 2010-10-27 07:48:19 +00:00
Sam Hemelryk f2a04fc197 list-blocks MDL-24517 Altered class on list block contents so that bullet points aren't added (1.9 functionality) 2010-10-25 07:32:51 +00:00
jerome mouneyrac ba5c144c0b image gallery MDL-24773 remove YUI 3 external lightbox module 2010-10-25 06:00:14 +00:00
David Mudrak d63c507370 MDL-24777 new renderable component pix_emoticon 2010-10-23 18:39:23 +00:00
Petr Skoda 2778744bf9 MDL-20051 removing login links from login page 2010-10-16 17:43:04 +00:00
Petr Skoda fb0f16a7c8 MDL-24650 xhtml strict fix of hidden "Go" buttons 2010-10-13 17:32:33 +00:00
Andrew Davis 42c32efdf2 rating MDLSITE-1028 when no ratings have been submitted the aggregate is now output as an empty string rather than a hyphen 2010-10-13 06:05:13 +00:00
Andrew Davis 68bf577bdf rating MDL-24513 made help_icon_scale() flip the scale id so that a database look up will work 2010-10-11 06:23:03 +00:00
Rossiani Wijaya 29cf6631d8 MDL-20034: add title attribute to user profile (image tag). 2010-10-11 05:46:58 +00:00
jerome mouneyrac 010e02b46d outpurenderer MDL-24560 $OUTPUT->doc_link() support icon only (no link text) but trigger warning and wrong xhtml_strict code => fixed 2010-10-07 04:04:38 +00:00
Sam Hemelryk c6de9cefc5 ratings MDLSITE-1028 Added additional structure to the ratings renderer output 2010-10-06 05:50:45 +00:00
Dongsheng Cai 831399c404 MDL-24497, hide message when maxbytes option is not explicit defined in moodle form 2010-10-04 10:03:52 +00:00
Dongsheng Cai 513aed3cf9 MDL-24497, fixed maxbytes in user editing form 2010-10-04 03:09:58 +00:00
Dongsheng Cai 26c137b19c MDL-23693, filepicker form element change <button> to <input type="button" /> 2010-10-01 11:09:21 +00:00
Dongsheng Cai b817205bec MDL-24382, fixed display of file size limit in filepicker 2010-09-30 03:36:38 +00:00
Anthony Borrow eb5570025f MDL-24224 fixing one more typo 2010-09-19 19:09:48 +00:00
Petr Skoda 5eef02f8f1 MDL-24224 fixed more 'mod_form' typos, thanks Anthony! 2010-09-19 16:06:39 +00:00
Petr Skoda 2343f963da removed undefined function call 2010-09-18 11:18:06 +00:00
Petr Skoda 79beb849bd fixed json error reporting problem 2010-09-17 08:02:32 +00:00
Petr Skoda e1a5a9cccb fixed spacer regression 2010-09-17 08:01:16 +00:00
Petr Skoda 8f0fe0b8b1 fixed missing global causing regression 2010-09-17 08:00:29 +00:00